Skip to content

Latest commit

 

History

History
132 lines (73 loc) · 4.52 KB

VersionDetailSettings.md

File metadata and controls

132 lines (73 loc) · 4.52 KB

VersionDetailSettings

Properties

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]

Methods

NewVersionDetailSettings

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

NewVersionDetailSettingsWithDefaults

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

GetGeneralDefaultHost

func (o *VersionDetailSettings) GetGeneralDefaultHost() string

GetGeneralDefaultHost returns the GeneralDefaultHost field if non-nil, zero value otherwise.

GetGeneralDefaultHostOk

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.

SetGeneralDefaultHost

func (o *VersionDetailSettings) SetGeneralDefaultHost(v string)

SetGeneralDefaultHost sets GeneralDefaultHost field to given value.

HasGeneralDefaultHost

func (o *VersionDetailSettings) HasGeneralDefaultHost() bool

HasGeneralDefaultHost returns a boolean if a field has been set.

GetGeneralDefaultTTL

func (o *VersionDetailSettings) GetGeneralDefaultTTL() int32

GetGeneralDefaultTTL returns the GeneralDefaultTTL field if non-nil, zero value otherwise.

GetGeneralDefaultTTLOk

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.

SetGeneralDefaultTTL

func (o *VersionDetailSettings) SetGeneralDefaultTTL(v int32)

SetGeneralDefaultTTL sets GeneralDefaultTTL field to given value.

HasGeneralDefaultTTL

func (o *VersionDetailSettings) HasGeneralDefaultTTL() bool

HasGeneralDefaultTTL returns a boolean if a field has been set.

GetGeneralStaleIfError

func (o *VersionDetailSettings) GetGeneralStaleIfError() bool

GetGeneralStaleIfError returns the GeneralStaleIfError field if non-nil, zero value otherwise.

GetGeneralStaleIfErrorOk

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.

SetGeneralStaleIfError

func (o *VersionDetailSettings) SetGeneralStaleIfError(v bool)

SetGeneralStaleIfError sets GeneralStaleIfError field to given value.

HasGeneralStaleIfError

func (o *VersionDetailSettings) HasGeneralStaleIfError() bool

HasGeneralStaleIfError returns a boolean if a field has been set.

GetGeneralStaleIfErrorTTL

func (o *VersionDetailSettings) GetGeneralStaleIfErrorTTL() int32

GetGeneralStaleIfErrorTTL returns the GeneralStaleIfErrorTTL field if non-nil, zero value otherwise.

GetGeneralStaleIfErrorTTLOk

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.

SetGeneralStaleIfErrorTTL

func (o *VersionDetailSettings) SetGeneralStaleIfErrorTTL(v int32)

SetGeneralStaleIfErrorTTL sets GeneralStaleIfErrorTTL field to given value.

HasGeneralStaleIfErrorTTL

func (o *VersionDetailSettings) HasGeneralStaleIfErrorTTL() bool

HasGeneralStaleIfErrorTTL returns a boolean if a field has been set.

Back to API list | Back to README