Record

Properties

Methods

NewRecord

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

NewRecordWithDefaults

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

GetName

func (o *Record) GetName() string

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

GetNameOk

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.

SetName

func (o *Record) SetName(v string)

SetName sets Name field to given value.

GetType

func (o *Record) GetType() string

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

GetTypeOk

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.

SetType

func (o *Record) SetType(v string)

SetType sets Type field to given value.

GetContent

func (o *Record) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

GetContentOk

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.

SetContent

func (o *Record) SetContent(v string)

SetContent sets Content field to given value.

GetTtl

func (o *Record) GetTtl() int32

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

GetTtlOk

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.

SetTtl

func (o *Record) SetTtl(v int32)

SetTtl sets Ttl field to given value.

HasTtl

func (o *Record) HasTtl() bool

HasTtl returns a boolean if a field has been set.

GetPriority

func (o *Record) GetPriority() int32

GetPriority returns the Priority field if non-nil, zero value otherwise.

GetPriorityOk

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.

SetPriority

func (o *Record) SetPriority(v int32)

SetPriority sets Priority field to given value.

HasPriority

func (o *Record) HasPriority() bool

HasPriority returns a boolean if a field has been set.

GetEnabled

func (o *Record) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

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.

SetEnabled

func (o *Record) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *Record) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

Last updated