Skip to content

Latest commit

 

History

History
87 lines (48 loc) · 2.23 KB

Token.md

File metadata and controls

87 lines (48 loc) · 2.23 KB

Token

Properties

Name Type Description Notes
Token string
Expiration Pointer to NullableTime Token expiration [optional]

Methods

NewToken

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

NewTokenWithDefaults

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

GetToken

func (o *Token) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

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.

SetToken

func (o *Token) SetToken(v string)

SetToken sets Token field to given value.

GetExpiration

func (o *Token) GetExpiration() time.Time

GetExpiration returns the Expiration field if non-nil, zero value otherwise.

GetExpirationOk

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.

SetExpiration

func (o *Token) SetExpiration(v time.Time)

SetExpiration sets Expiration field to given value.

HasExpiration

func (o *Token) HasExpiration() bool

HasExpiration returns a boolean if a field has been set.

SetExpirationNil

func (o *Token) SetExpirationNil(b bool)

SetExpirationNil sets the value for Expiration to be an explicit nil

UnsetExpiration

func (o *Token) UnsetExpiration()

UnsetExpiration ensures that no value is present for Expiration, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]