Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Type | RecordType | ||
Class | RecordClass | ||
Ttl | Pointer to int32 | [optional] | |
Data | string |
func NewRecord(name string, type_ RecordType, class RecordClass, data 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() RecordType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Record) 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 *Record) SetType(v RecordType)
SetType sets Type field to given value.
func (o *Record) GetClass() RecordClass
GetClass returns the Class field if non-nil, zero value otherwise.
func (o *Record) 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 *Record) SetClass(v RecordClass)
SetClass sets Class 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) GetData() string
GetData returns the Data field if non-nil, zero value otherwise.
func (o *Record) 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 *Record) SetData(v string)
SetData sets Data field to given value.