You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// A description for this Domain. This is for display purposes only.
75
-
Descriptionstring`json:"description,omitempty"`
75
+
Description*string`json:"description,omitempty"`
76
76
77
77
// Start of Authority email address. This is required for master Domains.
78
-
SOAEmailstring`json:"soa_email,omitempty"`
78
+
SOAEmail*string`json:"soa_email,omitempty"`
79
79
80
80
// The interval, in seconds, at which a failed refresh should be retried.
81
81
// 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.
82
-
RetrySecint`json:"retry_sec,omitempty"`
82
+
RetrySec*int`json:"retry_sec,omitempty"`
83
83
84
84
// The IP addresses representing the master DNS for this Domain.
85
85
MasterIPs []string`json:"master_ips"`
@@ -91,40 +91,40 @@ type DomainCreateOptions struct {
91
91
Tags []string`json:"tags"`
92
92
93
93
// The amount of time in seconds that may pass before this Domain is no longer authoritative. 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.
94
-
ExpireSecint`json:"expire_sec,omitempty"`
94
+
ExpireSec*int`json:"expire_sec,omitempty"`
95
95
96
96
// The amount of time in seconds before this Domain should be refreshed. 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.
97
-
RefreshSecint`json:"refresh_sec,omitempty"`
97
+
RefreshSec*int`json:"refresh_sec,omitempty"`
98
98
99
99
// "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.
100
-
TTLSecint`json:"ttl_sec,omitempty"`
100
+
TTLSec*int`json:"ttl_sec,omitempty"`
101
101
}
102
102
103
103
// DomainUpdateOptions converts a Domain to DomainUpdateOptions for use in UpdateDomain
104
104
typeDomainUpdateOptionsstruct {
105
105
// The domain this Domain represents. These must be unique in our system; you cannot have two Domains representing the same domain.
106
-
Domainstring`json:"domain,omitempty"`
106
+
Domain*string`json:"domain,omitempty"`
107
107
108
108
// If this Domain represents the authoritative source of information for the domain it describes, or if it is a read-only copy of a master (also called a slave).
109
109
// Enum:"master" "slave"
110
-
TypeDomainType`json:"type,omitempty"`
110
+
Type*DomainType`json:"type,omitempty"`
111
111
112
112
// Deprecated: The group this Domain belongs to. This is for display purposes only.
113
-
Groupstring`json:"group,omitempty"`
113
+
Group*string`json:"group,omitempty"`
114
114
115
115
// Used to control whether this Domain is currently being rendered.
// A description for this Domain. This is for display purposes only.
120
-
Descriptionstring`json:"description,omitempty"`
120
+
Description*string`json:"description,omitempty"`
121
121
122
122
// Start of Authority email address. This is required for master Domains.
123
-
SOAEmailstring`json:"soa_email,omitempty"`
123
+
SOAEmail*string`json:"soa_email,omitempty"`
124
124
125
125
// The interval, in seconds, at which a failed refresh should be retried.
126
126
// 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.
127
-
RetrySecint`json:"retry_sec,omitempty"`
127
+
RetrySec*int`json:"retry_sec,omitempty"`
128
128
129
129
// The IP addresses representing the master DNS for this Domain.
130
130
MasterIPs []string`json:"master_ips"`
@@ -136,13 +136,13 @@ type DomainUpdateOptions struct {
136
136
Tags []string`json:"tags"`
137
137
138
138
// The amount of time in seconds that may pass before this Domain is no longer authoritative. 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.
139
-
ExpireSecint`json:"expire_sec,omitempty"`
139
+
ExpireSec*int`json:"expire_sec,omitempty"`
140
140
141
141
// The amount of time in seconds before this Domain should be refreshed. 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.
142
-
RefreshSecint`json:"refresh_sec,omitempty"`
142
+
RefreshSec*int`json:"refresh_sec,omitempty"`
143
143
144
144
// "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.
145
-
TTLSecint`json:"ttl_sec,omitempty"`
145
+
TTLSec*int`json:"ttl_sec,omitempty"`
146
146
}
147
147
148
148
// DomainType constants start with DomainType and include Linode API Domain Type values
@@ -176,19 +176,19 @@ type DomainImportOptions struct {
176
176
177
177
// GetUpdateOptions converts a Domain to DomainUpdateOptions for use in UpdateDomain
0 commit comments