Name | Type | Description | Notes |
---|---|---|---|
Created | Pointer to time.Time | When this Domain Record was created. | [optional] [readonly] |
Id | Pointer to int32 | This Record's unique ID. | [optional] [readonly] |
Name | Pointer to string | The name of this Record. For requests, this property's actual usage and whether it is required depends on the type of record this represents: `A` and `AAAA`: The hostname or FQDN of the Record. `NS`: The subdomain, if any, to use with the Domain of the Record. Wildcard NS records (``) are not supported. `MX`: The mail subdomain. For example, `sub` for the address `[email protected]` under the `example.com` Domain. - The left-most subdomain component may be an asterisk (``) to designate a wildcard subdomain. - Other subdomain components must only contain letters, digits, and hyphens, start with a letter, end with a letter or digit, and contain less than 64 characters. - Must be an empty string (`""`) for a Null MX Record. `CNAME`: The hostname. Must be unique. Required. `TXT`: The hostname. `SRV`: Unused. Use the `service` property to set the service name for this record. `CAA`: The subdomain. Omit or enter an empty string (`""`) to apply to the entire Domain. `PTR`: See our guide on how to Configure Your Linode for Reverse DNS (rDNS). | [optional] |
Port | Pointer to int32 | The port this Record points to. Only valid and required for SRV record requests. | [optional] |
Priority | Pointer to int32 | The priority of the target host for this Record. Lower values are preferred. Only valid for MX and SRV record requests. Required for SRV record requests. Defaults to `0` for MX record requests. Must be `0` for Null MX records. | [optional] |
Protocol | Pointer to NullableString | The protocol this Record's service communicates with. An underscore (`_`) is prepended automatically to the submitted value for this property. Only valid for SRV record requests. | [optional] |
Service | Pointer to NullableString | The name of the service. An underscore (`_`) is prepended and a period (`.`) is appended automatically to the submitted value for this property. Only valid and required for SRV record requests. | [optional] |
Tag | Pointer to NullableString | The tag portion of a CAA record. Only valid and required for CAA record requests. | [optional] |
Target | Pointer to string | The target for this Record. For requests, this property's actual usage and whether it is required depends on the type of record this represents: `A` and `AAAA`: The IP address. Use `[remote_addr]` to submit the IPv4 address of the request. Required. `NS`: The name server. Must be a valid domain. Required. `MX`: The mail server. Must be a valid domain unless creating a Null MX Record. Required. - Must have less than 254 total characters. - The left-most domain component may be an asterisk (``) to designate a wildcard domain. - Other domain components must only contain letters, digits, and hyphens, start with a letter, end with a letter or digit, and contain less than 64 characters. - To create a Null MX Record, first remove any additional MX records, then create an MX record with empty strings (`""`) for the `target` and `name`. If a Domain has a Null MX record, new MX records cannot be created. `CNAME`: The alias. Must be a valid domain. Required. `TXT`: The value. Required. `SRV`: The target domain or subdomain. If a subdomain is entered, it is automatically used with the Domain. To configure for a different domain, enter a valid FQDN. For example, the value `www` with a Domain for `example.com` results in a target set to `www.example.com`, whereas the value `sample.com` results in a target set to `sample.com`. Required. `CAA`: The value. For `issue` or `issuewild` tags, the domain of your certificate issuer. For the `iodef` tag, a contact or submission URL (domain, http, https, or mailto). Requirements depend on the tag for this record: - `issue`: The domain of your certificate issuer. Must include a valid domain. May include additional parameters separated with semicolons (`;`), for example: `www.example.com; foo=bar` - `issuewild`: The domain of your wildcard certificate issuer. Must be a valid domain and must not start with an asterisk (``). - `iodef`: Must be either (1) a valid domain, (2) a valid domain prepended with `http://` or `https://`, or (3) a valid email address prepended with `mailto:`. `PTR`: Required. See our guide on how to Configure Your Linode for Reverse DNS (rDNS). With the exception of A, AAAA, and CAA records, this field accepts a trailing period. | [optional] |
TtlSec | Pointer to int32 | "Time to Live" - the amount of time in seconds that this Domain's records may be cached by resolvers or other domain servers. Valid values are 300, 3600, 7200, 14400, 28800, 57600, 86400, 172800, 345600, 604800, 1209600, and 2419200 - any other value will be rounded to the nearest valid value. | [optional] |
Type | Pointer to string | The type of Record this is in the DNS system. For example, A records associate a domain name with an IPv4 address, and AAAA records associate a domain name with an IPv6 address. For more information, see the guides on DNS Record Types. | [optional] |
Updated | Pointer to time.Time | When this Domain Record was last updated. | [optional] [readonly] |
Weight | Pointer to int32 | The relative weight of this Record used in the case of identical priority. Higher values are preferred. Only valid and required for SRV record requests. | [optional] |
func NewGetDomainRecords200ResponseDataInner() *GetDomainRecords200ResponseDataInner
NewGetDomainRecords200ResponseDataInner instantiates a new GetDomainRecords200ResponseDataInner 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 NewGetDomainRecords200ResponseDataInnerWithDefaults() *GetDomainRecords200ResponseDataInner
NewGetDomainRecords200ResponseDataInnerWithDefaults instantiates a new GetDomainRecords200ResponseDataInner 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 *GetDomainRecords200ResponseDataInner) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetIdOk() (*int32, 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.
func (o *GetDomainRecords200ResponseDataInner) SetId(v int32)
SetId sets Id field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasId() bool
HasId returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) 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 *GetDomainRecords200ResponseDataInner) SetName(v string)
SetName sets Name field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasName() bool
HasName returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetPort(v int32)
SetPort sets Port field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasPort() bool
HasPort returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) 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 *GetDomainRecords200ResponseDataInner) SetPriority(v int32)
SetPriority sets Priority field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) SetProtocolNil(b bool)
SetProtocolNil sets the value for Protocol to be an explicit nil
func (o *GetDomainRecords200ResponseDataInner) UnsetProtocol()
UnsetProtocol ensures that no value is present for Protocol, not even an explicit nil
func (o *GetDomainRecords200ResponseDataInner) GetService() string
GetService returns the Service field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetService(v string)
SetService sets Service field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasService() bool
HasService returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) SetServiceNil(b bool)
SetServiceNil sets the value for Service to be an explicit nil
func (o *GetDomainRecords200ResponseDataInner) UnsetService()
UnsetService ensures that no value is present for Service, not even an explicit nil
func (o *GetDomainRecords200ResponseDataInner) GetTag() string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetTag(v string)
SetTag sets Tag field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasTag() bool
HasTag returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) SetTagNil(b bool)
SetTagNil sets the value for Tag to be an explicit nil
func (o *GetDomainRecords200ResponseDataInner) UnsetTag()
UnsetTag ensures that no value is present for Tag, not even an explicit nil
func (o *GetDomainRecords200ResponseDataInner) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetTarget(v string)
SetTarget sets Target field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasTarget() bool
HasTarget returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetTtlSec() int32
GetTtlSec returns the TtlSec field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetTtlSecOk() (*int32, bool)
GetTtlSecOk returns a tuple with the TtlSec field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetTtlSec(v int32)
SetTtlSec sets TtlSec field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasTtlSec() bool
HasTtlSec returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) 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 *GetDomainRecords200ResponseDataInner) SetType(v string)
SetType sets Type field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasType() bool
HasType returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetUpdated() time.Time
GetUpdated returns the Updated field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetUpdatedOk() (*time.Time, bool)
GetUpdatedOk returns a tuple with the Updated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetUpdated(v time.Time)
SetUpdated sets Updated field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasUpdated() bool
HasUpdated returns a boolean if a field has been set.
func (o *GetDomainRecords200ResponseDataInner) GetWeight() int32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *GetDomainRecords200ResponseDataInner) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetDomainRecords200ResponseDataInner) SetWeight(v int32)
SetWeight sets Weight field to given value.
func (o *GetDomainRecords200ResponseDataInner) HasWeight() bool
HasWeight returns a boolean if a field has been set.