Skip to content

Latest commit

 

History

History
159 lines (88 loc) · 4.99 KB

CreateZoneRequestModel.md

File metadata and controls

159 lines (88 loc) · 4.99 KB

CreateZoneRequestModel

Properties

Name Type Description Notes
Name string Name of the zone. Each zone within a site must have a unique name. Name is the only required property in creating a new zone.
Description Pointer to NullableString Description of the zone. [optional]
ResourceLocation Pointer to NullableString Resource location associated with the zone. [optional]
Metadata Pointer to []NameValueStringPairModel The metadata of the Zone. [optional]

Methods

NewCreateZoneRequestModel

func NewCreateZoneRequestModel(name string, ) *CreateZoneRequestModel

NewCreateZoneRequestModel instantiates a new CreateZoneRequestModel 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

NewCreateZoneRequestModelWithDefaults

func NewCreateZoneRequestModelWithDefaults() *CreateZoneRequestModel

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

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

GetNameOk

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

SetName sets Name field to given value.

GetDescription

func (o *CreateZoneRequestModel) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *CreateZoneRequestModel) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *CreateZoneRequestModel) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *CreateZoneRequestModel) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetResourceLocation

func (o *CreateZoneRequestModel) GetResourceLocation() string

GetResourceLocation returns the ResourceLocation field if non-nil, zero value otherwise.

GetResourceLocationOk

func (o *CreateZoneRequestModel) GetResourceLocationOk() (*string, bool)

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

SetResourceLocation

func (o *CreateZoneRequestModel) SetResourceLocation(v string)

SetResourceLocation sets ResourceLocation field to given value.

HasResourceLocation

func (o *CreateZoneRequestModel) HasResourceLocation() bool

HasResourceLocation returns a boolean if a field has been set.

SetResourceLocationNil

func (o *CreateZoneRequestModel) SetResourceLocationNil(b bool)

SetResourceLocationNil sets the value for ResourceLocation to be an explicit nil

UnsetResourceLocation

func (o *CreateZoneRequestModel) UnsetResourceLocation()

UnsetResourceLocation ensures that no value is present for ResourceLocation, not even an explicit nil

GetMetadata

func (o *CreateZoneRequestModel) GetMetadata() []NameValueStringPairModel

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *CreateZoneRequestModel) GetMetadataOk() (*[]NameValueStringPairModel, bool)

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

SetMetadata

func (o *CreateZoneRequestModel) SetMetadata(v []NameValueStringPairModel)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *CreateZoneRequestModel) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

SetMetadataNil

func (o *CreateZoneRequestModel) SetMetadataNil(b bool)

SetMetadataNil sets the value for Metadata to be an explicit nil

UnsetMetadata

func (o *CreateZoneRequestModel) UnsetMetadata()

UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil

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