Name | Type | Description | Notes |
---|---|---|---|
ClassId | string | The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. | [default to "networkconfig.Policy"] |
ObjectType | string | The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. | [default to "networkconfig.Policy"] |
AlternateIpv4dnsServer | Pointer to string | IP address of the secondary DNS server. | [optional] |
AlternateIpv6dnsServer | Pointer to string | IP address of the secondary DNS server. | [optional] |
DynamicDnsDomain | Pointer to string | The domain name appended to a hostname for a Dynamic DNS (DDNS) update. If left blank, only a hostname is sent to the DDNS update request. | [optional] |
EnableDynamicDns | Pointer to bool | If enabled, updates the resource records to the DNS from Cisco IMC. | [optional] |
EnableIpv4dnsFromDhcp | Pointer to bool | If enabled, Cisco IMC retrieves the DNS server addresses from DHCP. Use DHCP field must be enabled for IPv4 in Cisco IMC to enable it. | [optional] |
EnableIpv6 | Pointer to bool | If enabled, allows to configure IPv6 properties. | [optional] |
EnableIpv6dnsFromDhcp | Pointer to bool | If enabled, Cisco IMC retrieves the DNS server addresses from DHCP. Use DHCP field must be enabled for IPv6 in Cisco IMC to enable it. | [optional] |
PreferredIpv4dnsServer | Pointer to string | IP address of the primary DNS server. | [optional] |
PreferredIpv6dnsServer | Pointer to string | IP address of the primary DNS server. | [optional] |
ApplianceAccount | Pointer to NullableIamAccountRelationship | [optional] | |
Organization | Pointer to NullableOrganizationOrganizationRelationship | [optional] | |
Profiles | Pointer to []PolicyAbstractConfigProfileRelationship | An array of relationships to policyAbstractConfigProfile resources. | [optional] |
func NewNetworkconfigPolicy(classId string, objectType string, ) *NetworkconfigPolicy
NewNetworkconfigPolicy instantiates a new NetworkconfigPolicy 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 NewNetworkconfigPolicyWithDefaults() *NetworkconfigPolicy
NewNetworkconfigPolicyWithDefaults instantiates a new NetworkconfigPolicy 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 *NetworkconfigPolicy) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetClassIdOk() (*string, bool)
GetClassIdOk returns a tuple with the ClassId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *NetworkconfigPolicy) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetObjectTypeOk() (*string, bool)
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *NetworkconfigPolicy) GetAlternateIpv4dnsServer() string
GetAlternateIpv4dnsServer returns the AlternateIpv4dnsServer field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetAlternateIpv4dnsServerOk() (*string, bool)
GetAlternateIpv4dnsServerOk returns a tuple with the AlternateIpv4dnsServer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetAlternateIpv4dnsServer(v string)
SetAlternateIpv4dnsServer sets AlternateIpv4dnsServer field to given value.
func (o *NetworkconfigPolicy) HasAlternateIpv4dnsServer() bool
HasAlternateIpv4dnsServer returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetAlternateIpv6dnsServer() string
GetAlternateIpv6dnsServer returns the AlternateIpv6dnsServer field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetAlternateIpv6dnsServerOk() (*string, bool)
GetAlternateIpv6dnsServerOk returns a tuple with the AlternateIpv6dnsServer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetAlternateIpv6dnsServer(v string)
SetAlternateIpv6dnsServer sets AlternateIpv6dnsServer field to given value.
func (o *NetworkconfigPolicy) HasAlternateIpv6dnsServer() bool
HasAlternateIpv6dnsServer returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetDynamicDnsDomain() string
GetDynamicDnsDomain returns the DynamicDnsDomain field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetDynamicDnsDomainOk() (*string, bool)
GetDynamicDnsDomainOk returns a tuple with the DynamicDnsDomain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetDynamicDnsDomain(v string)
SetDynamicDnsDomain sets DynamicDnsDomain field to given value.
func (o *NetworkconfigPolicy) HasDynamicDnsDomain() bool
HasDynamicDnsDomain returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetEnableDynamicDns() bool
GetEnableDynamicDns returns the EnableDynamicDns field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetEnableDynamicDnsOk() (*bool, bool)
GetEnableDynamicDnsOk returns a tuple with the EnableDynamicDns field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetEnableDynamicDns(v bool)
SetEnableDynamicDns sets EnableDynamicDns field to given value.
func (o *NetworkconfigPolicy) HasEnableDynamicDns() bool
HasEnableDynamicDns returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetEnableIpv4dnsFromDhcp() bool
GetEnableIpv4dnsFromDhcp returns the EnableIpv4dnsFromDhcp field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetEnableIpv4dnsFromDhcpOk() (*bool, bool)
GetEnableIpv4dnsFromDhcpOk returns a tuple with the EnableIpv4dnsFromDhcp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetEnableIpv4dnsFromDhcp(v bool)
SetEnableIpv4dnsFromDhcp sets EnableIpv4dnsFromDhcp field to given value.
func (o *NetworkconfigPolicy) HasEnableIpv4dnsFromDhcp() bool
HasEnableIpv4dnsFromDhcp returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetEnableIpv6() bool
GetEnableIpv6 returns the EnableIpv6 field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetEnableIpv6Ok() (*bool, bool)
GetEnableIpv6Ok returns a tuple with the EnableIpv6 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetEnableIpv6(v bool)
SetEnableIpv6 sets EnableIpv6 field to given value.
func (o *NetworkconfigPolicy) HasEnableIpv6() bool
HasEnableIpv6 returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetEnableIpv6dnsFromDhcp() bool
GetEnableIpv6dnsFromDhcp returns the EnableIpv6dnsFromDhcp field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetEnableIpv6dnsFromDhcpOk() (*bool, bool)
GetEnableIpv6dnsFromDhcpOk returns a tuple with the EnableIpv6dnsFromDhcp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetEnableIpv6dnsFromDhcp(v bool)
SetEnableIpv6dnsFromDhcp sets EnableIpv6dnsFromDhcp field to given value.
func (o *NetworkconfigPolicy) HasEnableIpv6dnsFromDhcp() bool
HasEnableIpv6dnsFromDhcp returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetPreferredIpv4dnsServer() string
GetPreferredIpv4dnsServer returns the PreferredIpv4dnsServer field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetPreferredIpv4dnsServerOk() (*string, bool)
GetPreferredIpv4dnsServerOk returns a tuple with the PreferredIpv4dnsServer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetPreferredIpv4dnsServer(v string)
SetPreferredIpv4dnsServer sets PreferredIpv4dnsServer field to given value.
func (o *NetworkconfigPolicy) HasPreferredIpv4dnsServer() bool
HasPreferredIpv4dnsServer returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetPreferredIpv6dnsServer() string
GetPreferredIpv6dnsServer returns the PreferredIpv6dnsServer field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetPreferredIpv6dnsServerOk() (*string, bool)
GetPreferredIpv6dnsServerOk returns a tuple with the PreferredIpv6dnsServer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetPreferredIpv6dnsServer(v string)
SetPreferredIpv6dnsServer sets PreferredIpv6dnsServer field to given value.
func (o *NetworkconfigPolicy) HasPreferredIpv6dnsServer() bool
HasPreferredIpv6dnsServer returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) GetApplianceAccount() IamAccountRelationship
GetApplianceAccount returns the ApplianceAccount field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetApplianceAccountOk() (*IamAccountRelationship, bool)
GetApplianceAccountOk returns a tuple with the ApplianceAccount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetApplianceAccount(v IamAccountRelationship)
SetApplianceAccount sets ApplianceAccount field to given value.
func (o *NetworkconfigPolicy) HasApplianceAccount() bool
HasApplianceAccount returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) SetApplianceAccountNil(b bool)
SetApplianceAccountNil sets the value for ApplianceAccount to be an explicit nil
func (o *NetworkconfigPolicy) UnsetApplianceAccount()
UnsetApplianceAccount ensures that no value is present for ApplianceAccount, not even an explicit nil
func (o *NetworkconfigPolicy) GetOrganization() OrganizationOrganizationRelationship
GetOrganization returns the Organization field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetOrganizationOk() (*OrganizationOrganizationRelationship, bool)
GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetOrganization(v OrganizationOrganizationRelationship)
SetOrganization sets Organization field to given value.
func (o *NetworkconfigPolicy) HasOrganization() bool
HasOrganization returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) SetOrganizationNil(b bool)
SetOrganizationNil sets the value for Organization to be an explicit nil
func (o *NetworkconfigPolicy) UnsetOrganization()
UnsetOrganization ensures that no value is present for Organization, not even an explicit nil
func (o *NetworkconfigPolicy) GetProfiles() []PolicyAbstractConfigProfileRelationship
GetProfiles returns the Profiles field if non-nil, zero value otherwise.
func (o *NetworkconfigPolicy) GetProfilesOk() (*[]PolicyAbstractConfigProfileRelationship, bool)
GetProfilesOk returns a tuple with the Profiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NetworkconfigPolicy) SetProfiles(v []PolicyAbstractConfigProfileRelationship)
SetProfiles sets Profiles field to given value.
func (o *NetworkconfigPolicy) HasProfiles() bool
HasProfiles returns a boolean if a field has been set.
func (o *NetworkconfigPolicy) SetProfilesNil(b bool)
SetProfilesNil sets the value for Profiles to be an explicit nil
func (o *NetworkconfigPolicy) UnsetProfiles()
UnsetProfiles ensures that no value is present for Profiles, not even an explicit nil