Skip to main content

SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration

Properties​

NameTypeDescriptionNotes
ValuePointer to int32The numeric value of the duration.[optional]
TimeUnitPointer to stringThe time unit for the duration.[optional]

Methods​

NewSourceEntitlementAccessRequestConfigMaxPermittedAccessDuration​

func NewSourceEntitlementAccessRequestConfigMaxPermittedAccessDuration() *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration

NewSourceEntitlementAccessRequestConfigMaxPermittedAccessDuration instantiates a new SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration 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

NewSourceEntitlementAccessRequestConfigMaxPermittedAccessDurationWithDefaults​

func NewSourceEntitlementAccessRequestConfigMaxPermittedAccessDurationWithDefaults() *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration

NewSourceEntitlementAccessRequestConfigMaxPermittedAccessDurationWithDefaults instantiates a new SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration 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

GetValue​

func (o *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration) GetValue() int32

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk​

func (o *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration) GetValueOk() (*int32, bool)

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

SetValue​

func (o *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration) SetValue(v int32)

SetValue sets Value field to given value.

HasValue​

func (o *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration) HasValue() bool

HasValue returns a boolean if a field has been set.

GetTimeUnit​

func (o *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration) GetTimeUnit() string

GetTimeUnit returns the TimeUnit field if non-nil, zero value otherwise.

GetTimeUnitOk​

func (o *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration) GetTimeUnitOk() (*string, bool)

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

SetTimeUnit​

func (o *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration) SetTimeUnit(v string)

SetTimeUnit sets TimeUnit field to given value.

HasTimeUnit​

func (o *SourceEntitlementAccessRequestConfigMaxPermittedAccessDuration) HasTimeUnit() bool

HasTimeUnit returns a boolean if a field has been set.