Name | Type | Description | Notes |
---|---|---|---|
GeneralDefaultHost | Pointer to string | The default host name for the version. | [optional] |
GeneralDefaultTTL | Pointer to int32 | The default time-to-live (TTL) for the version. | [optional] |
GeneralStaleIfError | Pointer to bool | Enables serving a stale object if there is an error. | [optional] [default to false] |
GeneralStaleIfErrorTTL | Pointer to int32 | The default time-to-live (TTL) for serving the stale object for the version. | [optional] [default to 43200] |
func NewVersionDetailSettings() *VersionDetailSettings
NewVersionDetailSettings instantiates a new VersionDetailSettings 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 NewVersionDetailSettingsWithDefaults() *VersionDetailSettings
NewVersionDetailSettingsWithDefaults instantiates a new VersionDetailSettings 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 *VersionDetailSettings) GetGeneralDefaultHost() string
GetGeneralDefaultHost returns the GeneralDefaultHost field if non-nil, zero value otherwise.
func (o *VersionDetailSettings) GetGeneralDefaultHostOk() (*string, bool)
GetGeneralDefaultHostOk returns a tuple with the GeneralDefaultHost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VersionDetailSettings) SetGeneralDefaultHost(v string)
SetGeneralDefaultHost sets GeneralDefaultHost field to given value.
func (o *VersionDetailSettings) HasGeneralDefaultHost() bool
HasGeneralDefaultHost returns a boolean if a field has been set.
func (o *VersionDetailSettings) GetGeneralDefaultTTL() int32
GetGeneralDefaultTTL returns the GeneralDefaultTTL field if non-nil, zero value otherwise.
func (o *VersionDetailSettings) GetGeneralDefaultTTLOk() (*int32, bool)
GetGeneralDefaultTTLOk returns a tuple with the GeneralDefaultTTL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VersionDetailSettings) SetGeneralDefaultTTL(v int32)
SetGeneralDefaultTTL sets GeneralDefaultTTL field to given value.
func (o *VersionDetailSettings) HasGeneralDefaultTTL() bool
HasGeneralDefaultTTL returns a boolean if a field has been set.
func (o *VersionDetailSettings) GetGeneralStaleIfError() bool
GetGeneralStaleIfError returns the GeneralStaleIfError field if non-nil, zero value otherwise.
func (o *VersionDetailSettings) GetGeneralStaleIfErrorOk() (*bool, bool)
GetGeneralStaleIfErrorOk returns a tuple with the GeneralStaleIfError field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VersionDetailSettings) SetGeneralStaleIfError(v bool)
SetGeneralStaleIfError sets GeneralStaleIfError field to given value.
func (o *VersionDetailSettings) HasGeneralStaleIfError() bool
HasGeneralStaleIfError returns a boolean if a field has been set.
func (o *VersionDetailSettings) GetGeneralStaleIfErrorTTL() int32
GetGeneralStaleIfErrorTTL returns the GeneralStaleIfErrorTTL field if non-nil, zero value otherwise.
func (o *VersionDetailSettings) GetGeneralStaleIfErrorTTLOk() (*int32, bool)
GetGeneralStaleIfErrorTTLOk returns a tuple with the GeneralStaleIfErrorTTL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *VersionDetailSettings) SetGeneralStaleIfErrorTTL(v int32)
SetGeneralStaleIfErrorTTL sets GeneralStaleIfErrorTTL field to given value.
func (o *VersionDetailSettings) HasGeneralStaleIfErrorTTL() bool
HasGeneralStaleIfErrorTTL returns a boolean if a field has been set.