Skip to main content

ApprovalConfigTimeoutConfig

Properties

NameTypeDescriptionNotes
EnabledPointer to boolIndicates if timeout is enabled.[optional] [default to false]
DaysUntilTimeoutPointer to int64Number of days until approval request times out. Max value is 90.[optional]
TimeoutResultPointer to stringResult of timeout.[optional]

Methods

NewApprovalConfigTimeoutConfig

func NewApprovalConfigTimeoutConfig() *ApprovalConfigTimeoutConfig

NewApprovalConfigTimeoutConfig instantiates a new ApprovalConfigTimeoutConfig 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

NewApprovalConfigTimeoutConfigWithDefaults

func NewApprovalConfigTimeoutConfigWithDefaults() *ApprovalConfigTimeoutConfig

NewApprovalConfigTimeoutConfigWithDefaults instantiates a new ApprovalConfigTimeoutConfig 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

GetEnabled

func (o *ApprovalConfigTimeoutConfig) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *ApprovalConfigTimeoutConfig) 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.

SetEnabled

func (o *ApprovalConfigTimeoutConfig) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *ApprovalConfigTimeoutConfig) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetDaysUntilTimeout

func (o *ApprovalConfigTimeoutConfig) GetDaysUntilTimeout() int64

GetDaysUntilTimeout returns the DaysUntilTimeout field if non-nil, zero value otherwise.

GetDaysUntilTimeoutOk

func (o *ApprovalConfigTimeoutConfig) GetDaysUntilTimeoutOk() (*int64, bool)

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

SetDaysUntilTimeout

func (o *ApprovalConfigTimeoutConfig) SetDaysUntilTimeout(v int64)

SetDaysUntilTimeout sets DaysUntilTimeout field to given value.

HasDaysUntilTimeout

func (o *ApprovalConfigTimeoutConfig) HasDaysUntilTimeout() bool

HasDaysUntilTimeout returns a boolean if a field has been set.

GetTimeoutResult

func (o *ApprovalConfigTimeoutConfig) GetTimeoutResult() string

GetTimeoutResult returns the TimeoutResult field if non-nil, zero value otherwise.

GetTimeoutResultOk

func (o *ApprovalConfigTimeoutConfig) GetTimeoutResultOk() (*string, bool)

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

SetTimeoutResult

func (o *ApprovalConfigTimeoutConfig) SetTimeoutResult(v string)

SetTimeoutResult sets TimeoutResult field to given value.

HasTimeoutResult

func (o *ApprovalConfigTimeoutConfig) HasTimeoutResult() bool

HasTimeoutResult returns a boolean if a field has been set.