Name | Type | Description | Notes |
---|---|---|---|
Token | string | ||
Expiration | Pointer to NullableTime | Token expiration | [optional] |
func NewToken(token string, ) *Token
NewToken instantiates a new Token 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 NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token 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 *Token) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *Token) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetToken(v string)
SetToken sets Token field to given value.
func (o *Token) GetExpiration() time.Time
GetExpiration returns the Expiration field if non-nil, zero value otherwise.
func (o *Token) GetExpirationOk() (*time.Time, bool)
GetExpirationOk returns a tuple with the Expiration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Token) SetExpiration(v time.Time)
SetExpiration sets Expiration field to given value.
func (o *Token) HasExpiration() bool
HasExpiration returns a boolean if a field has been set.
func (o *Token) SetExpirationNil(b bool)
SetExpirationNil sets the value for Expiration to be an explicit nil
func (o *Token) UnsetExpiration()
UnsetExpiration ensures that no value is present for Expiration, not even an explicit nil