latest
Models
Powered By GitBook
Lan

Properties

Name
Type
Description
Notes
Id
Pointer to string
The resource's unique identifier
[optional] [readonly]
Type
Pointer to Type
The type of object that has been created
[optional]
Href
Pointer to string
URL to the object representation (absolute path)
[optional] [readonly]
Metadata
[optional]
Properties
Entities
Pointer to LanEntities
[optional]

Methods

NewLan

func NewLan(properties LanProperties, ) *Lan
NewLan instantiates a new Lan 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

NewLanWithDefaults

func NewLanWithDefaults() *Lan
NewLanWithDefaults instantiates a new Lan 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

GetId

func (o *Lan) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Lan) 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 *Lan) SetId(v string)
SetId sets Id field to given value.

HasId

func (o *Lan) HasId() bool
HasId returns a boolean if a field has been set.

GetType

func (o *Lan) GetType() Type
GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Lan) 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 *Lan) SetType(v Type)
SetType sets Type field to given value.

HasType

func (o *Lan) HasType() bool
HasType returns a boolean if a field has been set.

GetHref

func (o *Lan) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *Lan) 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 *Lan) SetHref(v string)
SetHref sets Href field to given value.

HasHref

func (o *Lan) HasHref() bool
HasHref returns a boolean if a field has been set.

GetMetadata

func (o *Lan) GetMetadata() DatacenterElementMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *Lan) 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 *Lan) SetMetadata(v DatacenterElementMetadata)
SetMetadata sets Metadata field to given value.

HasMetadata

func (o *Lan) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.

GetProperties

func (o *Lan) GetProperties() LanProperties
GetProperties returns the Properties field if non-nil, zero value otherwise.

GetPropertiesOk

func (o *Lan) GetPropertiesOk() (*LanProperties, 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 *Lan) SetProperties(v LanProperties)
SetProperties sets Properties field to given value.

GetEntities

func (o *Lan) GetEntities() LanEntities
GetEntities returns the Entities field if non-nil, zero value otherwise.

GetEntitiesOk

func (o *Lan) GetEntitiesOk() (*LanEntities, 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 *Lan) SetEntities(v LanEntities)
SetEntities sets Entities field to given value.

HasEntities

func (o *Lan) HasEntities() bool
HasEntities returns a boolean if a field has been set.
Last modified 6d ago