Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] [readonly] [default to "0"] | |
Name | Pointer to string | [optional] [default to "cache configuration"] | |
CacheType | string | ||
TimeToLiveSeconds | int64 | ||
TimeToIdleSeconds | Pointer to int64 | [optional] | |
DirectoryTimeToLiveSeconds | Pointer to int64 | [optional] | |
EhcacheMaxBytesLocalHeap | Pointer to string | [optional] [default to "null"] | |
CacheUniqueId | string | The default is for Jamf Pro to generate a UUID, so we can only give an example instead. | |
Elasticache | Pointer to bool | [optional] [default to false] | |
MemcachedEndpoints | []MemcachedEndpoints |
func NewCacheSettings(cacheType string, timeToLiveSeconds int64, cacheUniqueId string, memcachedEndpoints []MemcachedEndpoints, ) *CacheSettings
NewCacheSettings instantiates a new CacheSettings 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 NewCacheSettingsWithDefaults() *CacheSettings
NewCacheSettingsWithDefaults instantiates a new CacheSettings 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 *CacheSettings) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CacheSettings) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetId(v string)
SetId sets Id field to given value.
func (o *CacheSettings) HasId() bool
HasId returns a boolean if a field has been set.
func (o *CacheSettings) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CacheSettings) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetName(v string)
SetName sets Name field to given value.
func (o *CacheSettings) HasName() bool
HasName returns a boolean if a field has been set.
func (o *CacheSettings) GetCacheType() string
GetCacheType returns the CacheType field if non-nil, zero value otherwise.
func (o *CacheSettings) GetCacheTypeOk() (*string, bool)
GetCacheTypeOk returns a tuple with the CacheType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetCacheType(v string)
SetCacheType sets CacheType field to given value.
func (o *CacheSettings) GetTimeToLiveSeconds() int64
GetTimeToLiveSeconds returns the TimeToLiveSeconds field if non-nil, zero value otherwise.
func (o *CacheSettings) GetTimeToLiveSecondsOk() (*int64, bool)
GetTimeToLiveSecondsOk returns a tuple with the TimeToLiveSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetTimeToLiveSeconds(v int64)
SetTimeToLiveSeconds sets TimeToLiveSeconds field to given value.
func (o *CacheSettings) GetTimeToIdleSeconds() int64
GetTimeToIdleSeconds returns the TimeToIdleSeconds field if non-nil, zero value otherwise.
func (o *CacheSettings) GetTimeToIdleSecondsOk() (*int64, bool)
GetTimeToIdleSecondsOk returns a tuple with the TimeToIdleSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetTimeToIdleSeconds(v int64)
SetTimeToIdleSeconds sets TimeToIdleSeconds field to given value.
func (o *CacheSettings) HasTimeToIdleSeconds() bool
HasTimeToIdleSeconds returns a boolean if a field has been set.
func (o *CacheSettings) GetDirectoryTimeToLiveSeconds() int64
GetDirectoryTimeToLiveSeconds returns the DirectoryTimeToLiveSeconds field if non-nil, zero value otherwise.
func (o *CacheSettings) GetDirectoryTimeToLiveSecondsOk() (*int64, bool)
GetDirectoryTimeToLiveSecondsOk returns a tuple with the DirectoryTimeToLiveSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetDirectoryTimeToLiveSeconds(v int64)
SetDirectoryTimeToLiveSeconds sets DirectoryTimeToLiveSeconds field to given value.
func (o *CacheSettings) HasDirectoryTimeToLiveSeconds() bool
HasDirectoryTimeToLiveSeconds returns a boolean if a field has been set.
func (o *CacheSettings) GetEhcacheMaxBytesLocalHeap() string
GetEhcacheMaxBytesLocalHeap returns the EhcacheMaxBytesLocalHeap field if non-nil, zero value otherwise.
func (o *CacheSettings) GetEhcacheMaxBytesLocalHeapOk() (*string, bool)
GetEhcacheMaxBytesLocalHeapOk returns a tuple with the EhcacheMaxBytesLocalHeap field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetEhcacheMaxBytesLocalHeap(v string)
SetEhcacheMaxBytesLocalHeap sets EhcacheMaxBytesLocalHeap field to given value.
func (o *CacheSettings) HasEhcacheMaxBytesLocalHeap() bool
HasEhcacheMaxBytesLocalHeap returns a boolean if a field has been set.
func (o *CacheSettings) GetCacheUniqueId() string
GetCacheUniqueId returns the CacheUniqueId field if non-nil, zero value otherwise.
func (o *CacheSettings) GetCacheUniqueIdOk() (*string, bool)
GetCacheUniqueIdOk returns a tuple with the CacheUniqueId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetCacheUniqueId(v string)
SetCacheUniqueId sets CacheUniqueId field to given value.
func (o *CacheSettings) GetElasticache() bool
GetElasticache returns the Elasticache field if non-nil, zero value otherwise.
func (o *CacheSettings) GetElasticacheOk() (*bool, bool)
GetElasticacheOk returns a tuple with the Elasticache field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetElasticache(v bool)
SetElasticache sets Elasticache field to given value.
func (o *CacheSettings) HasElasticache() bool
HasElasticache returns a boolean if a field has been set.
func (o *CacheSettings) GetMemcachedEndpoints() []MemcachedEndpoints
GetMemcachedEndpoints returns the MemcachedEndpoints field if non-nil, zero value otherwise.
func (o *CacheSettings) GetMemcachedEndpointsOk() (*[]MemcachedEndpoints, bool)
GetMemcachedEndpointsOk returns a tuple with the MemcachedEndpoints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CacheSettings) SetMemcachedEndpoints(v []MemcachedEndpoints)
SetMemcachedEndpoints sets MemcachedEndpoints field to given value.