@@ -177,14 +177,18 @@ type AccountSettings struct {
177177 // See
178178 // [Custom Nameservers](https://developers.cloudflare.com/dns/additional-options/custom-nameservers/)
179179 // for more information.
180+ //
181+ // Deprecated in favor of
182+ // [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
180183 DefaultNameservers AccountSettingsDefaultNameservers `json:"default_nameservers"`
181184 // Indicates whether membership in this account requires that Two-Factor
182185 // Authentication is enabled
183186 EnforceTwofactor bool `json:"enforce_twofactor"`
184187 // Indicates whether new zones should use the account-level custom nameservers by
185188 // default.
186189 //
187- // Deprecated in favor of `default_nameservers`.
190+ // Deprecated in favor of
191+ // [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
188192 UseAccountCustomNSByDefault bool `json:"use_account_custom_ns_by_default"`
189193 JSON accountSettingsJSON `json:"-"`
190194}
@@ -217,6 +221,9 @@ func (r accountSettingsJSON) RawJSON() string {
217221// See
218222// [Custom Nameservers](https://developers.cloudflare.com/dns/additional-options/custom-nameservers/)
219223// for more information.
224+ //
225+ // Deprecated in favor of
226+ // [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
220227type AccountSettingsDefaultNameservers string
221228
222229const (
@@ -258,14 +265,18 @@ type AccountSettingsParam struct {
258265 // See
259266 // [Custom Nameservers](https://developers.cloudflare.com/dns/additional-options/custom-nameservers/)
260267 // for more information.
268+ //
269+ // Deprecated in favor of
270+ // [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
261271 DefaultNameservers param.Field [AccountSettingsDefaultNameservers ] `json:"default_nameservers"`
262272 // Indicates whether membership in this account requires that Two-Factor
263273 // Authentication is enabled
264274 EnforceTwofactor param.Field [bool ] `json:"enforce_twofactor"`
265275 // Indicates whether new zones should use the account-level custom nameservers by
266276 // default.
267277 //
268- // Deprecated in favor of `default_nameservers`.
278+ // Deprecated in favor of
279+ // [DNS Settings](https://developers.cloudflare.com/api/operations/dns-settings-for-an-account-update-dns-settings).
269280 UseAccountCustomNSByDefault param.Field [bool ] `json:"use_account_custom_ns_by_default"`
270281}
271282
0 commit comments