Skip to content

Latest commit

 

History

History
342 lines (185 loc) · 8.39 KB

TXTRecord.md

File metadata and controls

342 lines (185 loc) · 8.39 KB

TXTRecord

Properties

Name Type Description Notes
Value Pointer to TXTRecordValue [optional]
Type Pointer to string [optional] [default to "txt"]
Id Pointer to string [optional] [readonly]
Name Pointer to string [optional]
Ttl Pointer to int32 [optional]
Cloud Pointer to bool [optional] [default to false]
UpstreamHttps Pointer to string [optional]
IpFilterMode Pointer to DnsRecordIpFilterMode [optional]
IsProtected Pointer to bool Protected records cannot be modified or deleted by user. [optional] [readonly] [default to false]
Usage Pointer to []string [optional] [readonly] [default to []]
CreatedAt Pointer to time.Time [optional] [readonly]
UpdatedAt Pointer to time.Time [optional] [readonly]

Methods

NewTXTRecord

func NewTXTRecord() *TXTRecord

NewTXTRecord instantiates a new TXTRecord 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

NewTXTRecordWithDefaults

func NewTXTRecordWithDefaults() *TXTRecord

NewTXTRecordWithDefaults instantiates a new TXTRecord 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

GetValue

func (o *TXTRecord) GetValue() TXTRecordValue

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *TXTRecord) GetValueOk() (*TXTRecordValue, bool)

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValue

func (o *TXTRecord) SetValue(v TXTRecordValue)

SetValue sets Value field to given value.

HasValue

func (o *TXTRecord) HasValue() bool

HasValue returns a boolean if a field has been set.

GetType

func (o *TXTRecord) GetType() string

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

GetTypeOk

func (o *TXTRecord) 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 *TXTRecord) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *TXTRecord) HasType() bool

HasType returns a boolean if a field has been set.

GetId

func (o *TXTRecord) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *TXTRecord) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *TXTRecord) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *TXTRecord) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *TXTRecord) GetName() string

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

GetNameOk

func (o *TXTRecord) 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 *TXTRecord) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *TXTRecord) HasName() bool

HasName returns a boolean if a field has been set.

GetTtl

func (o *TXTRecord) GetTtl() int32

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

GetTtlOk

func (o *TXTRecord) 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 *TXTRecord) SetTtl(v int32)

SetTtl sets Ttl field to given value.

HasTtl

func (o *TXTRecord) HasTtl() bool

HasTtl returns a boolean if a field has been set.

GetCloud

func (o *TXTRecord) GetCloud() bool

GetCloud returns the Cloud field if non-nil, zero value otherwise.

GetCloudOk

func (o *TXTRecord) GetCloudOk() (*bool, bool)

GetCloudOk returns a tuple with the Cloud field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCloud

func (o *TXTRecord) SetCloud(v bool)

SetCloud sets Cloud field to given value.

HasCloud

func (o *TXTRecord) HasCloud() bool

HasCloud returns a boolean if a field has been set.

GetUpstreamHttps

func (o *TXTRecord) GetUpstreamHttps() string

GetUpstreamHttps returns the UpstreamHttps field if non-nil, zero value otherwise.

GetUpstreamHttpsOk

func (o *TXTRecord) GetUpstreamHttpsOk() (*string, bool)

GetUpstreamHttpsOk returns a tuple with the UpstreamHttps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpstreamHttps

func (o *TXTRecord) SetUpstreamHttps(v string)

SetUpstreamHttps sets UpstreamHttps field to given value.

HasUpstreamHttps

func (o *TXTRecord) HasUpstreamHttps() bool

HasUpstreamHttps returns a boolean if a field has been set.

GetIpFilterMode

func (o *TXTRecord) GetIpFilterMode() DnsRecordIpFilterMode

GetIpFilterMode returns the IpFilterMode field if non-nil, zero value otherwise.

GetIpFilterModeOk

func (o *TXTRecord) GetIpFilterModeOk() (*DnsRecordIpFilterMode, bool)

GetIpFilterModeOk returns a tuple with the IpFilterMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIpFilterMode

func (o *TXTRecord) SetIpFilterMode(v DnsRecordIpFilterMode)

SetIpFilterMode sets IpFilterMode field to given value.

HasIpFilterMode

func (o *TXTRecord) HasIpFilterMode() bool

HasIpFilterMode returns a boolean if a field has been set.

GetIsProtected

func (o *TXTRecord) GetIsProtected() bool

GetIsProtected returns the IsProtected field if non-nil, zero value otherwise.

GetIsProtectedOk

func (o *TXTRecord) GetIsProtectedOk() (*bool, bool)

GetIsProtectedOk returns a tuple with the IsProtected field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIsProtected

func (o *TXTRecord) SetIsProtected(v bool)

SetIsProtected sets IsProtected field to given value.

HasIsProtected

func (o *TXTRecord) HasIsProtected() bool

HasIsProtected returns a boolean if a field has been set.

GetUsage

func (o *TXTRecord) GetUsage() []string

GetUsage returns the Usage field if non-nil, zero value otherwise.

GetUsageOk

func (o *TXTRecord) GetUsageOk() (*[]string, bool)

GetUsageOk returns a tuple with the Usage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUsage

func (o *TXTRecord) SetUsage(v []string)

SetUsage sets Usage field to given value.

HasUsage

func (o *TXTRecord) HasUsage() bool

HasUsage returns a boolean if a field has been set.

GetCreatedAt

func (o *TXTRecord) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *TXTRecord) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *TXTRecord) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *TXTRecord) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetUpdatedAt

func (o *TXTRecord) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *TXTRecord) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpdatedAt

func (o *TXTRecord) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *TXTRecord) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

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