| Name | Type | Description | Notes |
|---|---|---|---|
| Enabled | bool | Whether to cache responses for content not present in the proxied repository | |
| TimeToLive | int32 | How long to cache the fact that a file was not found in the repository (in minutes) |
func NewNegativeCacheAttributes(enabled bool, timeToLive int32, ) *NegativeCacheAttributes
NewNegativeCacheAttributes instantiates a new NegativeCacheAttributes 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 NewNegativeCacheAttributesWithDefaults() *NegativeCacheAttributes
NewNegativeCacheAttributesWithDefaults instantiates a new NegativeCacheAttributes 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 *NegativeCacheAttributes) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *NegativeCacheAttributes) 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.
func (o *NegativeCacheAttributes) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *NegativeCacheAttributes) GetTimeToLive() int32
GetTimeToLive returns the TimeToLive field if non-nil, zero value otherwise.
func (o *NegativeCacheAttributes) GetTimeToLiveOk() (*int32, bool)
GetTimeToLiveOk returns a tuple with the TimeToLive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NegativeCacheAttributes) SetTimeToLive(v int32)
SetTimeToLive sets TimeToLive field to given value.