Record
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewRecord(name string, type_ string, content string, ) *Record
NewRecord instantiates a new Record 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 NewRecordWithDefaults() *Record
NewRecordWithDefaults instantiates a new Record 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 *Record) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Record) 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 *Record) SetName(v string)
SetName sets Name field to given value.
func (o *Record) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Record) GetTypeOk() (*string, 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 *Record) SetType(v string)
SetType sets Type field to given value.
func (o *Record) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
func (o *Record) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Record) SetContent(v string)
SetContent sets Content field to given value.
func (o *Record) GetTtl() int32
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *Record) 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 *Record) SetTtl(v int32)
SetTtl sets Ttl field to given value.
func (o *Record) HasTtl() bool
HasTtl returns a boolean if a field has been set.
func (o *Record) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *Record) GetPriorityOk() (*int32, bool)
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Record) SetPriority(v int32)
SetPriority sets Priority field to given value.
func (o *Record) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *Record) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Record) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Record) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *Record) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
Name
string
Type
string
Holds supported DNS resource record types. In the DNS context a record is a DNS resource record.
Content
string
Ttl
Pointer to int32
Time to live for the record, recommended 3600.
[optional] [default to 3600]
Priority
Pointer to int32
Priority value is between 0 and 65535. Priority is mandatory for MX, SRV and URI record types and ignored for all other types.
[optional]
Enabled
Pointer to bool
When true - the record is visible for lookup.
[optional] [default to true]