Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.05 KB

AuthToken.md

File metadata and controls

82 lines (45 loc) · 2.05 KB

AuthToken

Properties

Name Type Description Notes
Token Pointer to string [optional]
Expires Pointer to int64 [optional]

Methods

NewAuthToken

func NewAuthToken() *AuthToken

NewAuthToken instantiates a new AuthToken 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

NewAuthTokenWithDefaults

func NewAuthTokenWithDefaults() *AuthToken

NewAuthTokenWithDefaults instantiates a new AuthToken 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 *AuthToken) GetToken() string

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

GetTokenOk

func (o *AuthToken) 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 *AuthToken) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *AuthToken) HasToken() bool

HasToken returns a boolean if a field has been set.

GetExpires

func (o *AuthToken) GetExpires() int64

GetExpires returns the Expires field if non-nil, zero value otherwise.

GetExpiresOk

func (o *AuthToken) GetExpiresOk() (*int64, bool)

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

SetExpires

func (o *AuthToken) SetExpires(v int64)

SetExpires sets Expires field to given value.

HasExpires

func (o *AuthToken) HasExpires() bool

HasExpires returns a boolean if a field has been set.

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