Skip to content

Latest commit

 

History

History
284 lines (155 loc) · 8.06 KB

PatchedWritableLocationRequest.md

File metadata and controls

284 lines (155 loc) · 8.06 KB

PatchedWritableLocationRequest

Properties

Name Type Description Notes
Name Pointer to string [optional]
Slug Pointer to string [optional]
Site Pointer to int32 [optional]
Parent Pointer to NullableInt32 [optional]
Status Pointer to string * `planned` - Planned * `staging` - Staging * `active` - Active * `decommissioning` - Decommissioning * `retired` - Retired [optional]
Tenant Pointer to NullableInt32 [optional]
Description Pointer to string [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewPatchedWritableLocationRequest

func NewPatchedWritableLocationRequest() *PatchedWritableLocationRequest

NewPatchedWritableLocationRequest instantiates a new PatchedWritableLocationRequest 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

NewPatchedWritableLocationRequestWithDefaults

func NewPatchedWritableLocationRequestWithDefaults() *PatchedWritableLocationRequest

NewPatchedWritableLocationRequestWithDefaults instantiates a new PatchedWritableLocationRequest 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

GetName

func (o *PatchedWritableLocationRequest) GetName() string

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

GetNameOk

func (o *PatchedWritableLocationRequest) 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 *PatchedWritableLocationRequest) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PatchedWritableLocationRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetSlug

func (o *PatchedWritableLocationRequest) GetSlug() string

GetSlug returns the Slug field if non-nil, zero value otherwise.

GetSlugOk

func (o *PatchedWritableLocationRequest) GetSlugOk() (*string, bool)

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

SetSlug

func (o *PatchedWritableLocationRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

HasSlug

func (o *PatchedWritableLocationRequest) HasSlug() bool

HasSlug returns a boolean if a field has been set.

GetSite

func (o *PatchedWritableLocationRequest) GetSite() int32

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

GetSiteOk

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

SetSite sets Site field to given value.

HasSite

func (o *PatchedWritableLocationRequest) HasSite() bool

HasSite returns a boolean if a field has been set.

GetParent

func (o *PatchedWritableLocationRequest) GetParent() int32

GetParent returns the Parent field if non-nil, zero value otherwise.

GetParentOk

func (o *PatchedWritableLocationRequest) GetParentOk() (*int32, bool)

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

SetParent

func (o *PatchedWritableLocationRequest) SetParent(v int32)

SetParent sets Parent field to given value.

HasParent

func (o *PatchedWritableLocationRequest) HasParent() bool

HasParent returns a boolean if a field has been set.

SetParentNil

func (o *PatchedWritableLocationRequest) SetParentNil(b bool)

SetParentNil sets the value for Parent to be an explicit nil

UnsetParent

func (o *PatchedWritableLocationRequest) UnsetParent()

UnsetParent ensures that no value is present for Parent, not even an explicit nil

GetStatus

func (o *PatchedWritableLocationRequest) GetStatus() string

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

GetStatusOk

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

SetStatus sets Status field to given value.

HasStatus

func (o *PatchedWritableLocationRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetTenant

func (o *PatchedWritableLocationRequest) GetTenant() int32

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

GetTenantOk

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

SetTenant sets Tenant field to given value.

HasTenant

func (o *PatchedWritableLocationRequest) HasTenant() bool

HasTenant returns a boolean if a field has been set.

SetTenantNil

func (o *PatchedWritableLocationRequest) SetTenantNil(b bool)

SetTenantNil sets the value for Tenant to be an explicit nil

UnsetTenant

func (o *PatchedWritableLocationRequest) UnsetTenant()

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

GetDescription

func (o *PatchedWritableLocationRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *PatchedWritableLocationRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

func (o *PatchedWritableLocationRequest) GetTags() []NestedTagRequest

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *PatchedWritableLocationRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

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

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *PatchedWritableLocationRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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