Skip to content

Latest commit

 

History

History
420 lines (227 loc) · 15.2 KB

File metadata and controls

420 lines (227 loc) · 15.2 KB

DnsViewAddInput

Properties

Name Type Description Notes
ServerId Pointer to int32 The database identifier (ID) of the DNS server, a unique numeric key value automatically incremented when you add a DNS server. Use the ID to specify the DNS server of your choice. [optional]
ServerName Pointer to string The name of the DNS server. [optional]
ViewName Pointer to string The name of the DNS view, each DNS view must have a unique name. [optional]
ServerHostaddr Pointer to string The IP address of the DNS server. [optional]
ViewAllowQuery Pointer to string The ACL values associated with the allow-query configuration of the DNS view, as follows: <b>&lt;value1&gt;;&lt;value2&gt;;... </b>. Values may include IP and network addresses, the name of TSIG keys and ACLs, preceded by <b>!</b> if the access is denied. [optional]
ViewAllowRecursion Pointer to string The ACL values associated with the allow-recursion configuration of the DNS view, as follows: <b>&lt;value1&gt;;&lt;value2&gt;;... </b>. Values may include IP and network addresses, the name of TSIG keys and ACLs, preceded by <b>!</b> if the access is denied. [optional]
ViewAllowTransfer Pointer to string The ACL values associated with the allow-transfer configuration of the DNS view, as follows: <b>&lt;value1&gt;;&lt;value2&gt;;... </b>. Values may include IP and network addresses, the name of TSIG keys and ACLs, preceded by <b>!</b> if the access is denied. [optional]
ViewMatchClients Pointer to string The ACL values associated with the match clients configuration of the DNS view, as follows: <b>&lt;value1&gt;;&lt;value2&gt;;...</b> . Values may include IP and network addresses, the name of TSIG keys and ACLs, preceded by <b>!</b> if the access is denied. [optional]
ViewMatchTo Pointer to string The ACL values associated with the match destination configuration of the DNS view, as follows: <b>&lt;value1&gt;;&lt;value2&gt;;...</b> . Values may include IP and network addresses, the name of TSIG keys and ACLs, preceded by <b>!</b> if the access is denied. [optional]
ViewOrder Pointer to int32 The level of the DNS view, where <b>0</b> represents the highest level in the views hierarchy. The parameters <b>dnsview_match_client</b> and <b>view_match_to</b> of each view in a server are reviewed following this order. [optional]
ViewRecursion Pointer to string The recursion status of the DNS view:<table><caption>view_recursion possible values</caption><br/><thead><tr><th>Status</th><th>Description</th></tr><br/></thead><br/><tbody><tr><td >no</td><td >The view only provides iterative query behavior - normally resulting in a referral. If the answer to the query already exists in the cache it will be returned whatever the value of this statement.</td></tr><tr><td >yes</td><td >The view always provides recursive query behavior if requested by the client.</td></tr></tbody></table></p><br/> [optional]
ClassParametersToDelete Pointer to []string class parameters you want to delete from the object [optional]
ViewClassName Pointer to string The name of the class to apply to the object you are adding. You must specify the class file directory, e.g. <b>my_directory/my_class.class</b> . You cannot use the classes <b>global</b> and <b>default</b>, they are reserved by the system. [optional]
ViewClassParameters Pointer to []ApiClassParameterInputEntry class parameters in json format [optional]
Warnings Pointer to string A way to bypass <b>(accept) </b>any enabled rule that would return warning messages. If the service returns an error message, you cannot bypass the enabled rules. [optional]

Methods

NewDnsViewAddInput

func NewDnsViewAddInput() *DnsViewAddInput

NewDnsViewAddInput instantiates a new DnsViewAddInput 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

NewDnsViewAddInputWithDefaults

func NewDnsViewAddInputWithDefaults() *DnsViewAddInput

NewDnsViewAddInputWithDefaults instantiates a new DnsViewAddInput 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

GetServerId

func (o *DnsViewAddInput) GetServerId() int32

GetServerId returns the ServerId field if non-nil, zero value otherwise.

GetServerIdOk

func (o *DnsViewAddInput) GetServerIdOk() (*int32, bool)

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

SetServerId

func (o *DnsViewAddInput) SetServerId(v int32)

SetServerId sets ServerId field to given value.

HasServerId

func (o *DnsViewAddInput) HasServerId() bool

HasServerId returns a boolean if a field has been set.

GetServerName

func (o *DnsViewAddInput) GetServerName() string

GetServerName returns the ServerName field if non-nil, zero value otherwise.

GetServerNameOk

func (o *DnsViewAddInput) GetServerNameOk() (*string, bool)

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

SetServerName

func (o *DnsViewAddInput) SetServerName(v string)

SetServerName sets ServerName field to given value.

HasServerName

func (o *DnsViewAddInput) HasServerName() bool

HasServerName returns a boolean if a field has been set.

GetViewName

func (o *DnsViewAddInput) GetViewName() string

GetViewName returns the ViewName field if non-nil, zero value otherwise.

GetViewNameOk

func (o *DnsViewAddInput) GetViewNameOk() (*string, bool)

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

SetViewName

func (o *DnsViewAddInput) SetViewName(v string)

SetViewName sets ViewName field to given value.

HasViewName

func (o *DnsViewAddInput) HasViewName() bool

HasViewName returns a boolean if a field has been set.

GetServerHostaddr

func (o *DnsViewAddInput) GetServerHostaddr() string

GetServerHostaddr returns the ServerHostaddr field if non-nil, zero value otherwise.

GetServerHostaddrOk

func (o *DnsViewAddInput) GetServerHostaddrOk() (*string, bool)

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

SetServerHostaddr

func (o *DnsViewAddInput) SetServerHostaddr(v string)

SetServerHostaddr sets ServerHostaddr field to given value.

HasServerHostaddr

func (o *DnsViewAddInput) HasServerHostaddr() bool

HasServerHostaddr returns a boolean if a field has been set.

GetViewAllowQuery

func (o *DnsViewAddInput) GetViewAllowQuery() string

GetViewAllowQuery returns the ViewAllowQuery field if non-nil, zero value otherwise.

GetViewAllowQueryOk

func (o *DnsViewAddInput) GetViewAllowQueryOk() (*string, bool)

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

SetViewAllowQuery

func (o *DnsViewAddInput) SetViewAllowQuery(v string)

SetViewAllowQuery sets ViewAllowQuery field to given value.

HasViewAllowQuery

func (o *DnsViewAddInput) HasViewAllowQuery() bool

HasViewAllowQuery returns a boolean if a field has been set.

GetViewAllowRecursion

func (o *DnsViewAddInput) GetViewAllowRecursion() string

GetViewAllowRecursion returns the ViewAllowRecursion field if non-nil, zero value otherwise.

GetViewAllowRecursionOk

func (o *DnsViewAddInput) GetViewAllowRecursionOk() (*string, bool)

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

SetViewAllowRecursion

func (o *DnsViewAddInput) SetViewAllowRecursion(v string)

SetViewAllowRecursion sets ViewAllowRecursion field to given value.

HasViewAllowRecursion

func (o *DnsViewAddInput) HasViewAllowRecursion() bool

HasViewAllowRecursion returns a boolean if a field has been set.

GetViewAllowTransfer

func (o *DnsViewAddInput) GetViewAllowTransfer() string

GetViewAllowTransfer returns the ViewAllowTransfer field if non-nil, zero value otherwise.

GetViewAllowTransferOk

func (o *DnsViewAddInput) GetViewAllowTransferOk() (*string, bool)

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

SetViewAllowTransfer

func (o *DnsViewAddInput) SetViewAllowTransfer(v string)

SetViewAllowTransfer sets ViewAllowTransfer field to given value.

HasViewAllowTransfer

func (o *DnsViewAddInput) HasViewAllowTransfer() bool

HasViewAllowTransfer returns a boolean if a field has been set.

GetViewMatchClients

func (o *DnsViewAddInput) GetViewMatchClients() string

GetViewMatchClients returns the ViewMatchClients field if non-nil, zero value otherwise.

GetViewMatchClientsOk

func (o *DnsViewAddInput) GetViewMatchClientsOk() (*string, bool)

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

SetViewMatchClients

func (o *DnsViewAddInput) SetViewMatchClients(v string)

SetViewMatchClients sets ViewMatchClients field to given value.

HasViewMatchClients

func (o *DnsViewAddInput) HasViewMatchClients() bool

HasViewMatchClients returns a boolean if a field has been set.

GetViewMatchTo

func (o *DnsViewAddInput) GetViewMatchTo() string

GetViewMatchTo returns the ViewMatchTo field if non-nil, zero value otherwise.

GetViewMatchToOk

func (o *DnsViewAddInput) GetViewMatchToOk() (*string, bool)

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

SetViewMatchTo

func (o *DnsViewAddInput) SetViewMatchTo(v string)

SetViewMatchTo sets ViewMatchTo field to given value.

HasViewMatchTo

func (o *DnsViewAddInput) HasViewMatchTo() bool

HasViewMatchTo returns a boolean if a field has been set.

GetViewOrder

func (o *DnsViewAddInput) GetViewOrder() int32

GetViewOrder returns the ViewOrder field if non-nil, zero value otherwise.

GetViewOrderOk

func (o *DnsViewAddInput) GetViewOrderOk() (*int32, bool)

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

SetViewOrder

func (o *DnsViewAddInput) SetViewOrder(v int32)

SetViewOrder sets ViewOrder field to given value.

HasViewOrder

func (o *DnsViewAddInput) HasViewOrder() bool

HasViewOrder returns a boolean if a field has been set.

GetViewRecursion

func (o *DnsViewAddInput) GetViewRecursion() string

GetViewRecursion returns the ViewRecursion field if non-nil, zero value otherwise.

GetViewRecursionOk

func (o *DnsViewAddInput) GetViewRecursionOk() (*string, bool)

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

SetViewRecursion

func (o *DnsViewAddInput) SetViewRecursion(v string)

SetViewRecursion sets ViewRecursion field to given value.

HasViewRecursion

func (o *DnsViewAddInput) HasViewRecursion() bool

HasViewRecursion returns a boolean if a field has been set.

GetClassParametersToDelete

func (o *DnsViewAddInput) GetClassParametersToDelete() []string

GetClassParametersToDelete returns the ClassParametersToDelete field if non-nil, zero value otherwise.

GetClassParametersToDeleteOk

func (o *DnsViewAddInput) GetClassParametersToDeleteOk() (*[]string, bool)

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

SetClassParametersToDelete

func (o *DnsViewAddInput) SetClassParametersToDelete(v []string)

SetClassParametersToDelete sets ClassParametersToDelete field to given value.

HasClassParametersToDelete

func (o *DnsViewAddInput) HasClassParametersToDelete() bool

HasClassParametersToDelete returns a boolean if a field has been set.

GetViewClassName

func (o *DnsViewAddInput) GetViewClassName() string

GetViewClassName returns the ViewClassName field if non-nil, zero value otherwise.

GetViewClassNameOk

func (o *DnsViewAddInput) GetViewClassNameOk() (*string, bool)

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

SetViewClassName

func (o *DnsViewAddInput) SetViewClassName(v string)

SetViewClassName sets ViewClassName field to given value.

HasViewClassName

func (o *DnsViewAddInput) HasViewClassName() bool

HasViewClassName returns a boolean if a field has been set.

GetViewClassParameters

func (o *DnsViewAddInput) GetViewClassParameters() []ApiClassParameterInputEntry

GetViewClassParameters returns the ViewClassParameters field if non-nil, zero value otherwise.

GetViewClassParametersOk

func (o *DnsViewAddInput) GetViewClassParametersOk() (*[]ApiClassParameterInputEntry, bool)

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

SetViewClassParameters

func (o *DnsViewAddInput) SetViewClassParameters(v []ApiClassParameterInputEntry)

SetViewClassParameters sets ViewClassParameters field to given value.

HasViewClassParameters

func (o *DnsViewAddInput) HasViewClassParameters() bool

HasViewClassParameters returns a boolean if a field has been set.

GetWarnings

func (o *DnsViewAddInput) GetWarnings() string

GetWarnings returns the Warnings field if non-nil, zero value otherwise.

GetWarningsOk

func (o *DnsViewAddInput) GetWarningsOk() (*string, bool)

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

SetWarnings

func (o *DnsViewAddInput) SetWarnings(v string)

SetWarnings sets Warnings field to given value.

HasWarnings

func (o *DnsViewAddInput) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

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