Skip to content

Latest commit

 

History

History
558 lines (305 loc) · 14.7 KB

PatchedWritablePrefix.md

File metadata and controls

558 lines (305 loc) · 14.7 KB

PatchedWritablePrefix

Properties

Name Type Description Notes
Id Pointer to string [optional] [readonly]
Url Pointer to string [optional] [readonly]
Family Pointer to NullableFamilyEnum [optional] [readonly]
Prefix Pointer to string [optional]
Site Pointer to NullableString [optional]
Vrf Pointer to NullableString [optional]
Tenant Pointer to NullableString [optional]
Vlan Pointer to NullableString [optional]
Status Pointer to WritablePrefixStatusEnum [optional]
Role Pointer to NullableString The primary function of this prefix [optional]
IsPool Pointer to bool All IP addresses within this prefix are considered usable [optional]
Description Pointer to string [optional]
Tags Pointer to []TagSerializerField [optional]
CustomFields Pointer to map[string]interface{} [optional]
Created Pointer to string [optional] [readonly]
LastUpdated Pointer to time.Time [optional] [readonly]
ComputedFields Pointer to map[string]interface{} [optional] [readonly]
Display Pointer to string Human friendly display value [optional] [readonly]

Methods

NewPatchedWritablePrefix

func NewPatchedWritablePrefix() *PatchedWritablePrefix

NewPatchedWritablePrefix instantiates a new PatchedWritablePrefix 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

NewPatchedWritablePrefixWithDefaults

func NewPatchedWritablePrefixWithDefaults() *PatchedWritablePrefix

NewPatchedWritablePrefixWithDefaults instantiates a new PatchedWritablePrefix 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 *PatchedWritablePrefix) GetId() string

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

GetIdOk

func (o *PatchedWritablePrefix) 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 *PatchedWritablePrefix) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *PatchedWritablePrefix) HasId() bool

HasId returns a boolean if a field has been set.

GetUrl

func (o *PatchedWritablePrefix) GetUrl() string

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

GetUrlOk

func (o *PatchedWritablePrefix) 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 *PatchedWritablePrefix) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *PatchedWritablePrefix) HasUrl() bool

HasUrl returns a boolean if a field has been set.

GetFamily

func (o *PatchedWritablePrefix) GetFamily() FamilyEnum

GetFamily returns the Family field if non-nil, zero value otherwise.

GetFamilyOk

func (o *PatchedWritablePrefix) GetFamilyOk() (*FamilyEnum, bool)

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

SetFamily

func (o *PatchedWritablePrefix) SetFamily(v FamilyEnum)

SetFamily sets Family field to given value.

HasFamily

func (o *PatchedWritablePrefix) HasFamily() bool

HasFamily returns a boolean if a field has been set.

SetFamilyNil

func (o *PatchedWritablePrefix) SetFamilyNil(b bool)

SetFamilyNil sets the value for Family to be an explicit nil

UnsetFamily

func (o *PatchedWritablePrefix) UnsetFamily()

UnsetFamily ensures that no value is present for Family, not even an explicit nil

GetPrefix

func (o *PatchedWritablePrefix) GetPrefix() string

GetPrefix returns the Prefix field if non-nil, zero value otherwise.

GetPrefixOk

func (o *PatchedWritablePrefix) GetPrefixOk() (*string, bool)

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

SetPrefix

func (o *PatchedWritablePrefix) SetPrefix(v string)

SetPrefix sets Prefix field to given value.

HasPrefix

func (o *PatchedWritablePrefix) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

GetSite

func (o *PatchedWritablePrefix) GetSite() string

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

GetSiteOk

func (o *PatchedWritablePrefix) GetSiteOk() (*string, 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 *PatchedWritablePrefix) SetSite(v string)

SetSite sets Site field to given value.

HasSite

func (o *PatchedWritablePrefix) HasSite() bool

HasSite returns a boolean if a field has been set.

SetSiteNil

func (o *PatchedWritablePrefix) SetSiteNil(b bool)

SetSiteNil sets the value for Site to be an explicit nil

UnsetSite

func (o *PatchedWritablePrefix) UnsetSite()

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

GetVrf

func (o *PatchedWritablePrefix) GetVrf() string

GetVrf returns the Vrf field if non-nil, zero value otherwise.

GetVrfOk

func (o *PatchedWritablePrefix) GetVrfOk() (*string, bool)

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

SetVrf

func (o *PatchedWritablePrefix) SetVrf(v string)

SetVrf sets Vrf field to given value.

HasVrf

func (o *PatchedWritablePrefix) HasVrf() bool

HasVrf returns a boolean if a field has been set.

SetVrfNil

func (o *PatchedWritablePrefix) SetVrfNil(b bool)

SetVrfNil sets the value for Vrf to be an explicit nil

UnsetVrf

func (o *PatchedWritablePrefix) UnsetVrf()

UnsetVrf ensures that no value is present for Vrf, not even an explicit nil

GetTenant

func (o *PatchedWritablePrefix) GetTenant() string

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

GetTenantOk

func (o *PatchedWritablePrefix) GetTenantOk() (*string, 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 *PatchedWritablePrefix) SetTenant(v string)

SetTenant sets Tenant field to given value.

HasTenant

func (o *PatchedWritablePrefix) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *PatchedWritablePrefix) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *PatchedWritablePrefix) UnsetTenant()

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

GetVlan

func (o *PatchedWritablePrefix) GetVlan() string

GetVlan returns the Vlan field if non-nil, zero value otherwise.

GetVlanOk

func (o *PatchedWritablePrefix) GetVlanOk() (*string, bool)

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

SetVlan

func (o *PatchedWritablePrefix) SetVlan(v string)

SetVlan sets Vlan field to given value.

HasVlan

func (o *PatchedWritablePrefix) HasVlan() bool

HasVlan returns a boolean if a field has been set.

SetVlanNil

func (o *PatchedWritablePrefix) SetVlanNil(b bool)

SetVlanNil sets the value for Vlan to be an explicit nil

UnsetVlan

func (o *PatchedWritablePrefix) UnsetVlan()

UnsetVlan ensures that no value is present for Vlan, not even an explicit nil

GetStatus

func (o *PatchedWritablePrefix) GetStatus() WritablePrefixStatusEnum

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

GetStatusOk

func (o *PatchedWritablePrefix) GetStatusOk() (*WritablePrefixStatusEnum, 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 *PatchedWritablePrefix) SetStatus(v WritablePrefixStatusEnum)

SetStatus sets Status field to given value.

HasStatus

func (o *PatchedWritablePrefix) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetRole

func (o *PatchedWritablePrefix) GetRole() string

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

GetRoleOk

func (o *PatchedWritablePrefix) GetRoleOk() (*string, 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 *PatchedWritablePrefix) SetRole(v string)

SetRole sets Role field to given value.

HasRole

func (o *PatchedWritablePrefix) HasRole() bool

HasRole returns a boolean if a field has been set.

SetRoleNil

func (o *PatchedWritablePrefix) SetRoleNil(b bool)

SetRoleNil sets the value for Role to be an explicit nil

UnsetRole

func (o *PatchedWritablePrefix) UnsetRole()

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

GetIsPool

func (o *PatchedWritablePrefix) GetIsPool() bool

GetIsPool returns the IsPool field if non-nil, zero value otherwise.

GetIsPoolOk

func (o *PatchedWritablePrefix) GetIsPoolOk() (*bool, bool)

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

SetIsPool

func (o *PatchedWritablePrefix) SetIsPool(v bool)

SetIsPool sets IsPool field to given value.

HasIsPool

func (o *PatchedWritablePrefix) HasIsPool() bool

HasIsPool returns a boolean if a field has been set.

GetDescription

func (o *PatchedWritablePrefix) GetDescription() string

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

GetDescriptionOk

func (o *PatchedWritablePrefix) 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 *PatchedWritablePrefix) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *PatchedWritablePrefix) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

func (o *PatchedWritablePrefix) GetTags() []TagSerializerField

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

GetTagsOk

func (o *PatchedWritablePrefix) GetTagsOk() (*[]TagSerializerField, 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 *PatchedWritablePrefix) SetTags(v []TagSerializerField)

SetTags sets Tags field to given value.

HasTags

func (o *PatchedWritablePrefix) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

func (o *PatchedWritablePrefix) 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 *PatchedWritablePrefix) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *PatchedWritablePrefix) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

GetCreated

func (o *PatchedWritablePrefix) GetCreated() string

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

GetCreatedOk

func (o *PatchedWritablePrefix) GetCreatedOk() (*string, 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 *PatchedWritablePrefix) SetCreated(v string)

SetCreated sets Created field to given value.

HasCreated

func (o *PatchedWritablePrefix) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetLastUpdated

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

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

GetLastUpdatedOk

func (o *PatchedWritablePrefix) 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 *PatchedWritablePrefix) SetLastUpdated(v time.Time)

SetLastUpdated sets LastUpdated field to given value.

HasLastUpdated

func (o *PatchedWritablePrefix) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

GetComputedFields

func (o *PatchedWritablePrefix) GetComputedFields() map[string]interface{}

GetComputedFields returns the ComputedFields field if non-nil, zero value otherwise.

GetComputedFieldsOk

func (o *PatchedWritablePrefix) GetComputedFieldsOk() (*map[string]interface{}, bool)

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

SetComputedFields

func (o *PatchedWritablePrefix) SetComputedFields(v map[string]interface{})

SetComputedFields sets ComputedFields field to given value.

HasComputedFields

func (o *PatchedWritablePrefix) HasComputedFields() bool

HasComputedFields returns a boolean if a field has been set.

GetDisplay

func (o *PatchedWritablePrefix) GetDisplay() string

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

GetDisplayOk

func (o *PatchedWritablePrefix) 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 *PatchedWritablePrefix) SetDisplay(v string)

SetDisplay sets Display field to given value.

HasDisplay

func (o *PatchedWritablePrefix) HasDisplay() bool

HasDisplay returns a boolean if a field has been set.

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