Nic
Properties
Name | Type | Description | Notes |
---|---|---|---|
Entities | Pointer to NicEntities | [optional] | |
Href | Pointer to string | URL to the object representation (absolute path). | [optional] [readonly] |
Id | Pointer to string | The resource's unique identifier. | [optional] [readonly] |
Metadata | Pointer to DatacenterElementMetadata | [optional] | |
Properties | |||
Type | Pointer to Type | The type of object that has been created. | [optional] |
Methods
NewNic
func NewNic(properties NicProperties, ) *Nic
NewNic instantiates a new Nic 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
NewNicWithDefaults
func NewNicWithDefaults() *Nic
NewNicWithDefaults instantiates a new Nic 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
GetEntities
func (o *Nic) GetEntities() NicEntities
GetEntities returns the Entities field if non-nil, zero value otherwise.
GetEntitiesOk
func (o *Nic) GetEntitiesOk() (*NicEntities, bool)
GetEntitiesOk returns a tuple with the Entities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEntities
func (o *Nic) SetEntities(v NicEntities)
SetEntities sets Entities field to given value.
HasEntities
func (o *Nic) HasEntities() bool
HasEntities returns a boolean if a field has been set.
GetHref
func (o *Nic) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
GetHrefOk
func (o *Nic) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHref
func (o *Nic) SetHref(v string)
SetHref sets Href field to given value.
HasHref
func (o *Nic) HasHref() bool
HasHref returns a boolean if a field has been set.
GetId
func (o *Nic) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *Nic) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetId
func (o *Nic) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *Nic) HasId() bool
HasId returns a boolean if a field has been set.
GetMetadata
func (o *Nic) GetMetadata() DatacenterElementMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
GetMetadataOk
func (o *Nic) GetMetadataOk() (*DatacenterElementMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMetadata
func (o *Nic) SetMetadata(v DatacenterElementMetadata)
SetMetadata sets Metadata field to given value.
HasMetadata
func (o *Nic) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
GetProperties
func (o *Nic) GetProperties() NicProperties
GetProperties returns the Properties field if non-nil, zero value otherwise.
GetPropertiesOk
func (o *Nic) GetPropertiesOk() (*NicProperties, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProperties
func (o *Nic) SetProperties(v NicProperties)
SetProperties sets Properties field to given value.
GetType
func (o *Nic) GetType() Type
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *Nic) GetTypeOk() (*Type, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetType
func (o *Nic) SetType(v Type)
SetType sets Type field to given value.
HasType
func (o *Nic) HasType() bool
HasType returns a boolean if a field has been set.
Last updated