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] |
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
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
func (o *CreateZoneRequestModel) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *CreateZoneRequestModel) SetName(v string)
SetName sets Name field to given value.
func (o *CreateZoneRequestModel) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *CreateZoneRequestModel) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateZoneRequestModel) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateZoneRequestModel) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *CreateZoneRequestModel) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *CreateZoneRequestModel) GetResourceLocation() string
GetResourceLocation returns the ResourceLocation field if non-nil, zero value otherwise.
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.
func (o *CreateZoneRequestModel) SetResourceLocation(v string)
SetResourceLocation sets ResourceLocation field to given value.
func (o *CreateZoneRequestModel) HasResourceLocation() bool
HasResourceLocation returns a boolean if a field has been set.
func (o *CreateZoneRequestModel) SetResourceLocationNil(b bool)
SetResourceLocationNil sets the value for ResourceLocation to be an explicit nil
func (o *CreateZoneRequestModel) UnsetResourceLocation()
UnsetResourceLocation ensures that no value is present for ResourceLocation, not even an explicit nil
func (o *CreateZoneRequestModel) GetMetadata() []NameValueStringPairModel
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
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.
func (o *CreateZoneRequestModel) SetMetadata(v []NameValueStringPairModel)
SetMetadata sets Metadata field to given value.
func (o *CreateZoneRequestModel) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *CreateZoneRequestModel) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *CreateZoneRequestModel) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil