Name | Type | Description | Notes |
---|---|---|---|
Zone | string | Name of the DNS zone to create a record for. | |
Name | string | Name of the DNS record to create. | |
Class | Pointer to RecordClass | [optional] | |
Type | RecordType | ||
Data | string | The data of the record to create, | |
Ttl | Pointer to int32 | The time to live of the record to create. | [optional] |
func NewCreateRecordRequestModel(zone string, name string, type_ RecordType, data string, ) *CreateRecordRequestModel
NewCreateRecordRequestModel instantiates a new CreateRecordRequestModel 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 NewCreateRecordRequestModelWithDefaults() *CreateRecordRequestModel
NewCreateRecordRequestModelWithDefaults instantiates a new CreateRecordRequestModel 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 *CreateRecordRequestModel) GetZone() string
GetZone returns the Zone field if non-nil, zero value otherwise.
func (o *CreateRecordRequestModel) GetZoneOk() (*string, bool)
GetZoneOk returns a tuple with the Zone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRecordRequestModel) SetZone(v string)
SetZone sets Zone field to given value.
func (o *CreateRecordRequestModel) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateRecordRequestModel) 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 *CreateRecordRequestModel) SetName(v string)
SetName sets Name field to given value.
func (o *CreateRecordRequestModel) GetClass() RecordClass
GetClass returns the Class field if non-nil, zero value otherwise.
func (o *CreateRecordRequestModel) GetClassOk() (*RecordClass, bool)
GetClassOk returns a tuple with the Class field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRecordRequestModel) SetClass(v RecordClass)
SetClass sets Class field to given value.
func (o *CreateRecordRequestModel) HasClass() bool
HasClass returns a boolean if a field has been set.
func (o *CreateRecordRequestModel) GetType() RecordType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *CreateRecordRequestModel) GetTypeOk() (*RecordType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRecordRequestModel) SetType(v RecordType)
SetType sets Type field to given value.
func (o *CreateRecordRequestModel) GetData() string
GetData returns the Data field if non-nil, zero value otherwise.
func (o *CreateRecordRequestModel) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRecordRequestModel) SetData(v string)
SetData sets Data field to given value.
func (o *CreateRecordRequestModel) GetTtl() int32
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *CreateRecordRequestModel) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateRecordRequestModel) SetTtl(v int32)
SetTtl sets Ttl field to given value.
func (o *CreateRecordRequestModel) HasTtl() bool
HasTtl returns a boolean if a field has been set.