Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.13 KB

File metadata and controls

108 lines (59 loc) · 3.13 KB

NetworkSettingsDnsCache

Properties

Name Type Description Notes
Enabled Pointer to bool [optional]
ForceMinTtl Pointer to float32 [optional]
ForceMaxTtl Pointer to float32 [optional]

Methods

NewNetworkSettingsDnsCache

func NewNetworkSettingsDnsCache() *NetworkSettingsDnsCache

NewNetworkSettingsDnsCache instantiates a new NetworkSettingsDnsCache 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

NewNetworkSettingsDnsCacheWithDefaults

func NewNetworkSettingsDnsCacheWithDefaults() *NetworkSettingsDnsCache

NewNetworkSettingsDnsCacheWithDefaults instantiates a new NetworkSettingsDnsCache 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

GetEnabled

func (o *NetworkSettingsDnsCache) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *NetworkSettingsDnsCache) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *NetworkSettingsDnsCache) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *NetworkSettingsDnsCache) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetForceMinTtl

func (o *NetworkSettingsDnsCache) GetForceMinTtl() float32

GetForceMinTtl returns the ForceMinTtl field if non-nil, zero value otherwise.

GetForceMinTtlOk

func (o *NetworkSettingsDnsCache) GetForceMinTtlOk() (*float32, bool)

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

SetForceMinTtl

func (o *NetworkSettingsDnsCache) SetForceMinTtl(v float32)

SetForceMinTtl sets ForceMinTtl field to given value.

HasForceMinTtl

func (o *NetworkSettingsDnsCache) HasForceMinTtl() bool

HasForceMinTtl returns a boolean if a field has been set.

GetForceMaxTtl

func (o *NetworkSettingsDnsCache) GetForceMaxTtl() float32

GetForceMaxTtl returns the ForceMaxTtl field if non-nil, zero value otherwise.

GetForceMaxTtlOk

func (o *NetworkSettingsDnsCache) GetForceMaxTtlOk() (*float32, bool)

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

SetForceMaxTtl

func (o *NetworkSettingsDnsCache) SetForceMaxTtl(v float32)

SetForceMaxTtl sets ForceMaxTtl field to given value.

HasForceMaxTtl

func (o *NetworkSettingsDnsCache) HasForceMaxTtl() bool

HasForceMaxTtl returns a boolean if a field has been set.

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