This patch re-generates the client code for Cloud Hypervisor with the updated `openapi-generator` v5.2.1. Signed-off-by: Bo Chen <chen.bo@intel.com>
2.0 KiB
NumaDistance
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Destination | int32 | ||
| Distance | int32 |
Methods
NewNumaDistance
func NewNumaDistance(destination int32, distance int32, ) *NumaDistance
NewNumaDistance instantiates a new NumaDistance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewNumaDistanceWithDefaults
func NewNumaDistanceWithDefaults() *NumaDistance
NewNumaDistanceWithDefaults instantiates a new NumaDistance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetDestination
func (o *NumaDistance) GetDestination() int32
GetDestination returns the Destination field if non-nil, zero value otherwise.
GetDestinationOk
func (o *NumaDistance) GetDestinationOk() (*int32, bool)
GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDestination
func (o *NumaDistance) SetDestination(v int32)
SetDestination sets Destination field to given value.
GetDistance
func (o *NumaDistance) GetDistance() int32
GetDistance returns the Distance field if non-nil, zero value otherwise.
GetDistanceOk
func (o *NumaDistance) GetDistanceOk() (*int32, bool)
GetDistanceOk returns a tuple with the Distance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDistance
func (o *NumaDistance) SetDistance(v int32)
SetDistance sets Distance field to given value.