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] |
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
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
func (o *PatchedWritableLocationRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetName(v string)
SetName sets Name field to given value.
func (o *PatchedWritableLocationRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *PatchedWritableLocationRequest) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetSlug(v string)
SetSlug sets Slug field to given value.
func (o *PatchedWritableLocationRequest) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (o *PatchedWritableLocationRequest) GetSite() int32
GetSite returns the Site field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetSite(v int32)
SetSite sets Site field to given value.
func (o *PatchedWritableLocationRequest) HasSite() bool
HasSite returns a boolean if a field has been set.
func (o *PatchedWritableLocationRequest) GetParent() int32
GetParent returns the Parent field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetParent(v int32)
SetParent sets Parent field to given value.
func (o *PatchedWritableLocationRequest) HasParent() bool
HasParent returns a boolean if a field has been set.
func (o *PatchedWritableLocationRequest) SetParentNil(b bool)
SetParentNil sets the value for Parent to be an explicit nil
func (o *PatchedWritableLocationRequest) UnsetParent()
UnsetParent ensures that no value is present for Parent, not even an explicit nil
func (o *PatchedWritableLocationRequest) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *PatchedWritableLocationRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *PatchedWritableLocationRequest) GetTenant() int32
GetTenant returns the Tenant field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetTenant(v int32)
SetTenant sets Tenant field to given value.
func (o *PatchedWritableLocationRequest) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *PatchedWritableLocationRequest) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *PatchedWritableLocationRequest) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *PatchedWritableLocationRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *PatchedWritableLocationRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *PatchedWritableLocationRequest) GetTags() []NestedTagRequest
GetTags returns the Tags field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetTags(v []NestedTagRequest)
SetTags sets Tags field to given value.
func (o *PatchedWritableLocationRequest) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *PatchedWritableLocationRequest) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
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.
func (o *PatchedWritableLocationRequest) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *PatchedWritableLocationRequest) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.