Name | Type | Description | Notes |
---|---|---|---|
Ttl | Pointer to int32 | Time in seconds that the token will be active. A value of 0 means that the token has no exipration date. The default is to have no expiration. | [optional] [default to 0] |
func NewTokenCreationPayload() *TokenCreationPayload
NewTokenCreationPayload instantiates a new TokenCreationPayload 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 NewTokenCreationPayloadWithDefaults() *TokenCreationPayload
NewTokenCreationPayloadWithDefaults instantiates a new TokenCreationPayload 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 *TokenCreationPayload) GetTtl() int32
GetTtl returns the Ttl field if non-nil, zero value otherwise.
func (o *TokenCreationPayload) GetTtlOk() (*int32, bool)
GetTtlOk returns a tuple with the Ttl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenCreationPayload) SetTtl(v int32)
SetTtl sets Ttl field to given value.
func (o *TokenCreationPayload) HasTtl() bool
HasTtl returns a boolean if a field has been set.