73 lines
1.9 KiB
Markdown
73 lines
1.9 KiB
Markdown
# Token
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**AccessToken** | **string** | |
|
|
**TokenType** | **string** | |
|
|
|
|
## Methods
|
|
|
|
### NewToken
|
|
|
|
`func NewToken(accessToken string, tokenType 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
|
|
|
|
### GetAccessToken
|
|
|
|
`func (o *Token) GetAccessToken() string`
|
|
|
|
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
|
|
|
|
### GetAccessTokenOk
|
|
|
|
`func (o *Token) GetAccessTokenOk() (*string, bool)`
|
|
|
|
GetAccessTokenOk returns a tuple with the AccessToken field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetAccessToken
|
|
|
|
`func (o *Token) SetAccessToken(v string)`
|
|
|
|
SetAccessToken sets AccessToken field to given value.
|
|
|
|
|
|
### GetTokenType
|
|
|
|
`func (o *Token) GetTokenType() string`
|
|
|
|
GetTokenType returns the TokenType field if non-nil, zero value otherwise.
|
|
|
|
### GetTokenTypeOk
|
|
|
|
`func (o *Token) GetTokenTypeOk() (*string, bool)`
|
|
|
|
GetTokenTypeOk returns a tuple with the TokenType field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetTokenType
|
|
|
|
`func (o *Token) SetTokenType(v string)`
|
|
|
|
SetTokenType sets TokenType field to given value.
|
|
|
|
|
|
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|