Skip to content

Latest commit

 

History

History
166 lines (89 loc) · 4.45 KB

CreateRecordRequestModel.md

File metadata and controls

166 lines (89 loc) · 4.45 KB

CreateRecordRequestModel

Properties

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]

Methods

NewCreateRecordRequestModel

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

NewCreateRecordRequestModelWithDefaults

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

GetZone

func (o *CreateRecordRequestModel) GetZone() string

GetZone returns the Zone field if non-nil, zero value otherwise.

GetZoneOk

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.

SetZone

func (o *CreateRecordRequestModel) SetZone(v string)

SetZone sets Zone field to given value.

GetName

func (o *CreateRecordRequestModel) GetName() string

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

GetNameOk

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.

SetName

func (o *CreateRecordRequestModel) SetName(v string)

SetName sets Name field to given value.

GetClass

func (o *CreateRecordRequestModel) GetClass() RecordClass

GetClass returns the Class field if non-nil, zero value otherwise.

GetClassOk

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.

SetClass

func (o *CreateRecordRequestModel) SetClass(v RecordClass)

SetClass sets Class field to given value.

HasClass

func (o *CreateRecordRequestModel) HasClass() bool

HasClass returns a boolean if a field has been set.

GetType

func (o *CreateRecordRequestModel) GetType() RecordType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *CreateRecordRequestModel) SetType(v RecordType)

SetType sets Type field to given value.

GetData

func (o *CreateRecordRequestModel) GetData() string

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

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.

SetData

func (o *CreateRecordRequestModel) SetData(v string)

SetData sets Data field to given value.

GetTtl

func (o *CreateRecordRequestModel) GetTtl() int32

GetTtl returns the Ttl field if non-nil, zero value otherwise.

GetTtlOk

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.

SetTtl

func (o *CreateRecordRequestModel) SetTtl(v int32)

SetTtl sets Ttl field to given value.

HasTtl

func (o *CreateRecordRequestModel) HasTtl() bool

HasTtl returns a boolean if a field has been set.

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