Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 6 KB

File metadata and controls

212 lines (115 loc) · 6 KB

GetCache2XXResponseDnsCacheStats

Properties

Name Type Description Notes
Size Pointer to float32 [optional]
MaxSize Pointer to float32 [optional]
Hits Pointer to float32 [optional]
Misses Pointer to float32 [optional]
Failures Pointer to float32 [optional]
Ipv4Fallbacks Pointer to float32 [optional]
HitRate Pointer to float32 [optional]

Methods

NewGetCache2XXResponseDnsCacheStats

func NewGetCache2XXResponseDnsCacheStats() *GetCache2XXResponseDnsCacheStats

NewGetCache2XXResponseDnsCacheStats instantiates a new GetCache2XXResponseDnsCacheStats 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

NewGetCache2XXResponseDnsCacheStatsWithDefaults

func NewGetCache2XXResponseDnsCacheStatsWithDefaults() *GetCache2XXResponseDnsCacheStats

NewGetCache2XXResponseDnsCacheStatsWithDefaults instantiates a new GetCache2XXResponseDnsCacheStats 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

GetSize

func (o *GetCache2XXResponseDnsCacheStats) GetSize() float32

GetSize returns the Size field if non-nil, zero value otherwise.

GetSizeOk

func (o *GetCache2XXResponseDnsCacheStats) GetSizeOk() (*float32, bool)

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

SetSize

func (o *GetCache2XXResponseDnsCacheStats) SetSize(v float32)

SetSize sets Size field to given value.

HasSize

func (o *GetCache2XXResponseDnsCacheStats) HasSize() bool

HasSize returns a boolean if a field has been set.

GetMaxSize

func (o *GetCache2XXResponseDnsCacheStats) GetMaxSize() float32

GetMaxSize returns the MaxSize field if non-nil, zero value otherwise.

GetMaxSizeOk

func (o *GetCache2XXResponseDnsCacheStats) GetMaxSizeOk() (*float32, bool)

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

SetMaxSize

func (o *GetCache2XXResponseDnsCacheStats) SetMaxSize(v float32)

SetMaxSize sets MaxSize field to given value.

HasMaxSize

func (o *GetCache2XXResponseDnsCacheStats) HasMaxSize() bool

HasMaxSize returns a boolean if a field has been set.

GetHits

func (o *GetCache2XXResponseDnsCacheStats) GetHits() float32

GetHits returns the Hits field if non-nil, zero value otherwise.

GetHitsOk

func (o *GetCache2XXResponseDnsCacheStats) GetHitsOk() (*float32, bool)

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

SetHits

func (o *GetCache2XXResponseDnsCacheStats) SetHits(v float32)

SetHits sets Hits field to given value.

HasHits

func (o *GetCache2XXResponseDnsCacheStats) HasHits() bool

HasHits returns a boolean if a field has been set.

GetMisses

func (o *GetCache2XXResponseDnsCacheStats) GetMisses() float32

GetMisses returns the Misses field if non-nil, zero value otherwise.

GetMissesOk

func (o *GetCache2XXResponseDnsCacheStats) GetMissesOk() (*float32, bool)

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

SetMisses

func (o *GetCache2XXResponseDnsCacheStats) SetMisses(v float32)

SetMisses sets Misses field to given value.

HasMisses

func (o *GetCache2XXResponseDnsCacheStats) HasMisses() bool

HasMisses returns a boolean if a field has been set.

GetFailures

func (o *GetCache2XXResponseDnsCacheStats) GetFailures() float32

GetFailures returns the Failures field if non-nil, zero value otherwise.

GetFailuresOk

func (o *GetCache2XXResponseDnsCacheStats) GetFailuresOk() (*float32, bool)

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

SetFailures

func (o *GetCache2XXResponseDnsCacheStats) SetFailures(v float32)

SetFailures sets Failures field to given value.

HasFailures

func (o *GetCache2XXResponseDnsCacheStats) HasFailures() bool

HasFailures returns a boolean if a field has been set.

GetIpv4Fallbacks

func (o *GetCache2XXResponseDnsCacheStats) GetIpv4Fallbacks() float32

GetIpv4Fallbacks returns the Ipv4Fallbacks field if non-nil, zero value otherwise.

GetIpv4FallbacksOk

func (o *GetCache2XXResponseDnsCacheStats) GetIpv4FallbacksOk() (*float32, bool)

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

SetIpv4Fallbacks

func (o *GetCache2XXResponseDnsCacheStats) SetIpv4Fallbacks(v float32)

SetIpv4Fallbacks sets Ipv4Fallbacks field to given value.

HasIpv4Fallbacks

func (o *GetCache2XXResponseDnsCacheStats) HasIpv4Fallbacks() bool

HasIpv4Fallbacks returns a boolean if a field has been set.

GetHitRate

func (o *GetCache2XXResponseDnsCacheStats) GetHitRate() float32

GetHitRate returns the HitRate field if non-nil, zero value otherwise.

GetHitRateOk

func (o *GetCache2XXResponseDnsCacheStats) GetHitRateOk() (*float32, bool)

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

SetHitRate

func (o *GetCache2XXResponseDnsCacheStats) SetHitRate(v float32)

SetHitRate sets HitRate field to given value.

HasHitRate

func (o *GetCache2XXResponseDnsCacheStats) HasHitRate() bool

HasHitRate returns a boolean if a field has been set.

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