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] |
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
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
func (o *VLAN) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetId(v int32)
SetId sets Id field to given value.
func (o *VLAN) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *VLAN) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *VLAN) GetSite() NestedSite
GetSite returns the Site field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetSite(v NestedSite)
SetSite sets Site field to given value.
func (o *VLAN) HasSite() bool
HasSite returns a boolean if a field has been set.
func (o *VLAN) SetSiteNil(b bool)
SetSiteNil sets the value for Site to be an explicit nil
func (o *VLAN) UnsetSite()
UnsetSite ensures that no value is present for Site, not even an explicit nil
func (o *VLAN) GetGroup() NestedVLANGroup
GetGroup returns the Group field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetGroup(v NestedVLANGroup)
SetGroup sets Group field to given value.
func (o *VLAN) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (o *VLAN) SetGroupNil(b bool)
SetGroupNil sets the value for Group to be an explicit nil
func (o *VLAN) UnsetGroup()
UnsetGroup ensures that no value is present for Group, not even an explicit nil
func (o *VLAN) GetVid() int32
GetVid returns the Vid field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetVid(v int32)
SetVid sets Vid field to given value.
func (o *VLAN) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetName(v string)
SetName sets Name field to given value.
func (o *VLAN) GetTenant() NestedTenant
GetTenant returns the Tenant field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetTenant(v NestedTenant)
SetTenant sets Tenant field to given value.
func (o *VLAN) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *VLAN) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *VLAN) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *VLAN) GetStatus() CableStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetStatus(v CableStatus)
SetStatus sets Status field to given value.
func (o *VLAN) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *VLAN) GetRole() NestedRole
GetRole returns the Role field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetRole(v NestedRole)
SetRole sets Role field to given value.
func (o *VLAN) HasRole() bool
HasRole returns a boolean if a field has been set.
func (o *VLAN) SetRoleNil(b bool)
SetRoleNil sets the value for Role to be an explicit nil
func (o *VLAN) UnsetRole()
UnsetRole ensures that no value is present for Role, not even an explicit nil
func (o *VLAN) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *VLAN) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *VLAN) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetComments(v string)
SetComments sets Comments field to given value.
func (o *VLAN) HasComments() bool
HasComments returns a boolean if a field has been set.
func (o *VLAN) GetL2vpnTermination() NestedL2VPNTermination
GetL2vpnTermination returns the L2vpnTermination field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetL2vpnTermination(v NestedL2VPNTermination)
SetL2vpnTermination sets L2vpnTermination field to given value.
func (o *VLAN) SetL2vpnTerminationNil(b bool)
SetL2vpnTerminationNil sets the value for L2vpnTermination to be an explicit nil
func (o *VLAN) UnsetL2vpnTermination()
UnsetL2vpnTermination ensures that no value is present for L2vpnTermination, not even an explicit nil
func (o *VLAN) GetTags() []NestedTag
GetTags returns the Tags field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetTags(v []NestedTag)
SetTags sets Tags field to given value.
func (o *VLAN) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *VLAN) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *VLAN) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *VLAN) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *VLAN) SetCreatedNil(b bool)
SetCreatedNil sets the value for Created to be an explicit nil
func (o *VLAN) UnsetCreated()
UnsetCreated ensures that no value is present for Created, not even an explicit nil
func (o *VLAN) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *VLAN) SetLastUpdatedNil(b bool)
SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
func (o *VLAN) UnsetLastUpdated()
UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
func (o *VLAN) GetPrefixCount() int32
GetPrefixCount returns the PrefixCount field if non-nil, zero value otherwise.
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.
func (o *VLAN) SetPrefixCount(v int32)
SetPrefixCount sets PrefixCount field to given value.