Skip to content

Latest commit

 

History

History
523 lines (284 loc) · 12.7 KB

VLAN.md

File metadata and controls

523 lines (284 loc) · 12.7 KB

VLAN

Properties

Name Type Description Notes
Id int32 [readonly]
Url string [readonly]
Display string [readonly]
Site Pointer to NullableNestedSite [optional]
Group Pointer to NullableNestedVLANGroup [optional]
Vid int32 Numeric VLAN ID (1-4094)
Name string
Tenant Pointer to NullableNestedTenant [optional]
Status Pointer to CableStatus [optional]
Role Pointer to NullableNestedRole [optional]
Description Pointer to string [optional]
Comments Pointer to string [optional]
L2vpnTermination NullableNestedL2VPNTermination [readonly]
Tags Pointer to []NestedTag [optional]
CustomFields Pointer to map[string]interface{} [optional]
Created NullableTime [readonly]
LastUpdated NullableTime [readonly]
PrefixCount int32 [readonly]

Methods

NewVLAN

func NewVLAN(id int32, url string, display string, vid int32, name string, l2vpnTermination NullableNestedL2VPNTermination, created NullableTime, lastUpdated NullableTime, prefixCount int32, ) *VLAN

NewVLAN instantiates a new VLAN 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

NewVLANWithDefaults

func NewVLANWithDefaults() *VLAN

NewVLANWithDefaults instantiates a new VLAN 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 *VLAN) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *VLAN) GetIdOk() (*int32, 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 *VLAN) SetId(v int32)

SetId sets Id field to given value.

GetUrl

func (o *VLAN) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *VLAN) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUrl

func (o *VLAN) SetUrl(v string)

SetUrl sets Url field to given value.

GetDisplay

func (o *VLAN) GetDisplay() string

GetDisplay returns the Display field if non-nil, zero value otherwise.

GetDisplayOk

func (o *VLAN) GetDisplayOk() (*string, bool)

GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDisplay

func (o *VLAN) SetDisplay(v string)

SetDisplay sets Display field to given value.

GetSite

func (o *VLAN) GetSite() NestedSite

GetSite returns the Site field if non-nil, zero value otherwise.

GetSiteOk

func (o *VLAN) GetSiteOk() (*NestedSite, bool)

GetSiteOk returns a tuple with the Site field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSite

func (o *VLAN) SetSite(v NestedSite)

SetSite sets Site field to given value.

HasSite

func (o *VLAN) HasSite() bool

HasSite returns a boolean if a field has been set.

SetSiteNil

func (o *VLAN) SetSiteNil(b bool)

SetSiteNil sets the value for Site to be an explicit nil

UnsetSite

func (o *VLAN) UnsetSite()

UnsetSite ensures that no value is present for Site, not even an explicit nil

GetGroup

func (o *VLAN) GetGroup() NestedVLANGroup

GetGroup returns the Group field if non-nil, zero value otherwise.

GetGroupOk

func (o *VLAN) GetGroupOk() (*NestedVLANGroup, bool)

GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGroup

func (o *VLAN) SetGroup(v NestedVLANGroup)

SetGroup sets Group field to given value.

HasGroup

func (o *VLAN) HasGroup() bool

HasGroup returns a boolean if a field has been set.

SetGroupNil

func (o *VLAN) SetGroupNil(b bool)

SetGroupNil sets the value for Group to be an explicit nil

UnsetGroup

func (o *VLAN) UnsetGroup()

UnsetGroup ensures that no value is present for Group, not even an explicit nil

GetVid

func (o *VLAN) GetVid() int32

GetVid returns the Vid field if non-nil, zero value otherwise.

GetVidOk

func (o *VLAN) GetVidOk() (*int32, bool)

GetVidOk returns a tuple with the Vid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVid

func (o *VLAN) SetVid(v int32)

SetVid sets Vid field to given value.

GetName

func (o *VLAN) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *VLAN) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *VLAN) SetName(v string)

SetName sets Name field to given value.

GetTenant

func (o *VLAN) GetTenant() NestedTenant

GetTenant returns the Tenant field if non-nil, zero value otherwise.

GetTenantOk

func (o *VLAN) GetTenantOk() (*NestedTenant, bool)

GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTenant

func (o *VLAN) SetTenant(v NestedTenant)

SetTenant sets Tenant field to given value.

HasTenant

func (o *VLAN) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *VLAN) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *VLAN) UnsetTenant()

UnsetTenant ensures that no value is present for Tenant, not even an explicit nil

GetStatus

func (o *VLAN) GetStatus() CableStatus

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *VLAN) GetStatusOk() (*CableStatus, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *VLAN) SetStatus(v CableStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *VLAN) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetRole

func (o *VLAN) GetRole() NestedRole

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *VLAN) GetRoleOk() (*NestedRole, bool)

GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRole

func (o *VLAN) SetRole(v NestedRole)

SetRole sets Role field to given value.

HasRole

func (o *VLAN) HasRole() bool

HasRole returns a boolean if a field has been set.

SetRoleNil

func (o *VLAN) SetRoleNil(b bool)

SetRoleNil sets the value for Role to be an explicit nil

UnsetRole

func (o *VLAN) UnsetRole()

UnsetRole ensures that no value is present for Role, not even an explicit nil

GetDescription

func (o *VLAN) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *VLAN) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *VLAN) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *VLAN) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetComments

func (o *VLAN) GetComments() string

GetComments returns the Comments field if non-nil, zero value otherwise.

GetCommentsOk

func (o *VLAN) GetCommentsOk() (*string, bool)

GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetComments

func (o *VLAN) SetComments(v string)

SetComments sets Comments field to given value.

HasComments

func (o *VLAN) HasComments() bool

HasComments returns a boolean if a field has been set.

GetL2vpnTermination

func (o *VLAN) GetL2vpnTermination() NestedL2VPNTermination

GetL2vpnTermination returns the L2vpnTermination field if non-nil, zero value otherwise.

GetL2vpnTerminationOk

func (o *VLAN) GetL2vpnTerminationOk() (*NestedL2VPNTermination, bool)

GetL2vpnTerminationOk returns a tuple with the L2vpnTermination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetL2vpnTermination

func (o *VLAN) SetL2vpnTermination(v NestedL2VPNTermination)

SetL2vpnTermination sets L2vpnTermination field to given value.

SetL2vpnTerminationNil

func (o *VLAN) SetL2vpnTerminationNil(b bool)

SetL2vpnTerminationNil sets the value for L2vpnTermination to be an explicit nil

UnsetL2vpnTermination

func (o *VLAN) UnsetL2vpnTermination()

UnsetL2vpnTermination ensures that no value is present for L2vpnTermination, not even an explicit nil

GetTags

func (o *VLAN) GetTags() []NestedTag

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *VLAN) GetTagsOk() (*[]NestedTag, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *VLAN) SetTags(v []NestedTag)

SetTags sets Tags field to given value.

HasTags

func (o *VLAN) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

func (o *VLAN) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

func (o *VLAN) GetCustomFieldsOk() (*map[string]interface{}, bool)

GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCustomFields

func (o *VLAN) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *VLAN) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

GetCreated

func (o *VLAN) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *VLAN) GetCreatedOk() (*time.Time, bool)

GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreated

func (o *VLAN) SetCreated(v time.Time)

SetCreated sets Created field to given value.

SetCreatedNil

func (o *VLAN) SetCreatedNil(b bool)

SetCreatedNil sets the value for Created to be an explicit nil

UnsetCreated

func (o *VLAN) UnsetCreated()

UnsetCreated ensures that no value is present for Created, not even an explicit nil

GetLastUpdated

func (o *VLAN) GetLastUpdated() time.Time

GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.

GetLastUpdatedOk

func (o *VLAN) GetLastUpdatedOk() (*time.Time, bool)

GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLastUpdated

func (o *VLAN) SetLastUpdated(v time.Time)

SetLastUpdated sets LastUpdated field to given value.

SetLastUpdatedNil

func (o *VLAN) SetLastUpdatedNil(b bool)

SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil

UnsetLastUpdated

func (o *VLAN) UnsetLastUpdated()

UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil

GetPrefixCount

func (o *VLAN) GetPrefixCount() int32

GetPrefixCount returns the PrefixCount field if non-nil, zero value otherwise.

GetPrefixCountOk

func (o *VLAN) GetPrefixCountOk() (*int32, bool)

GetPrefixCountOk returns a tuple with the PrefixCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPrefixCount

func (o *VLAN) SetPrefixCount(v int32)

SetPrefixCount sets PrefixCount field to given value.

[Back to Model list] [Back to API list] [Back to README]