| Name | Type | Description | Notes |
|---|---|---|---|
| Servers | []CustomDnsServer | Private DNS servers. Required, and must contain at least one entry when enabled is true. | |
| SearchDomains | []string | DNS search domains. Required — send an empty array if you have none. Omitting it on update is rejected with 400; a non-empty value fully replaces any existing search domains. | |
| DnsPolicy | Pointer to DnsPolicy | [optional] |
func NewCustomDnsUpdateAttributes(servers []CustomDnsServer, searchDomains []string, ) *CustomDnsUpdateAttributes
NewCustomDnsUpdateAttributes instantiates a new CustomDnsUpdateAttributes 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 NewCustomDnsUpdateAttributesWithDefaults() *CustomDnsUpdateAttributes
NewCustomDnsUpdateAttributesWithDefaults instantiates a new CustomDnsUpdateAttributes 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 *CustomDnsUpdateAttributes) GetServers() []CustomDnsServer
GetServers returns the Servers field if non-nil, zero value otherwise.
func (o *CustomDnsUpdateAttributes) GetServersOk() (*[]CustomDnsServer, bool)
GetServersOk returns a tuple with the Servers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomDnsUpdateAttributes) SetServers(v []CustomDnsServer)
SetServers sets Servers field to given value.
func (o *CustomDnsUpdateAttributes) GetSearchDomains() []string
GetSearchDomains returns the SearchDomains field if non-nil, zero value otherwise.
func (o *CustomDnsUpdateAttributes) GetSearchDomainsOk() (*[]string, bool)
GetSearchDomainsOk returns a tuple with the SearchDomains field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomDnsUpdateAttributes) SetSearchDomains(v []string)
SetSearchDomains sets SearchDomains field to given value.
func (o *CustomDnsUpdateAttributes) GetDnsPolicy() DnsPolicy
GetDnsPolicy returns the DnsPolicy field if non-nil, zero value otherwise.
func (o *CustomDnsUpdateAttributes) GetDnsPolicyOk() (*DnsPolicy, bool)
GetDnsPolicyOk returns a tuple with the DnsPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomDnsUpdateAttributes) SetDnsPolicy(v DnsPolicy)
SetDnsPolicy sets DnsPolicy field to given value.
func (o *CustomDnsUpdateAttributes) HasDnsPolicy() bool
HasDnsPolicy returns a boolean if a field has been set.