Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5.06 KB

WritableRegionRequest.md

File metadata and controls

186 lines (101 loc) · 5.06 KB

WritableRegionRequest

Properties

Name Type Description Notes
Name string
Slug string
Parent Pointer to NullableInt32 [optional]
Description Pointer to string [optional]
Tags Pointer to []NestedTagRequest [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewWritableRegionRequest

func NewWritableRegionRequest(name string, slug string, ) *WritableRegionRequest

NewWritableRegionRequest instantiates a new WritableRegionRequest 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

NewWritableRegionRequestWithDefaults

func NewWritableRegionRequestWithDefaults() *WritableRegionRequest

NewWritableRegionRequestWithDefaults instantiates a new WritableRegionRequest 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 *WritableRegionRequest) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetSlug

func (o *WritableRegionRequest) GetSlug() string

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

GetSlugOk

func (o *WritableRegionRequest) 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 *WritableRegionRequest) SetSlug(v string)

SetSlug sets Slug field to given value.

GetParent

func (o *WritableRegionRequest) GetParent() int32

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

GetParentOk

func (o *WritableRegionRequest) 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 *WritableRegionRequest) SetParent(v int32)

SetParent sets Parent field to given value.

HasParent

func (o *WritableRegionRequest) HasParent() bool

HasParent returns a boolean if a field has been set.

SetParentNil

func (o *WritableRegionRequest) SetParentNil(b bool)

SetParentNil sets the value for Parent to be an explicit nil

UnsetParent

func (o *WritableRegionRequest) UnsetParent()

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

GetDescription

func (o *WritableRegionRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *WritableRegionRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *WritableRegionRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

GetCustomFields

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

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

GetCustomFieldsOk

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

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *WritableRegionRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

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