Name | Type | Description | Notes |
---|---|---|---|
AccessToken | Pointer to string | The Org Access Token. | [optional] |
TokenType | Pointer to string | The type of the tokens, which is Bearer. | [optional] |
Scope | Pointer to string | The scope of the Org Access Token to limit the app's access to the organization's resources. Note: Currently this property value is empty. The scope of the Org Access Token is based on the permissions granted when the app user installs the app. | [optional] |
ExpiresIn | Pointer to int32 | The time in seconds in which the Org Access Token expires. | [optional] |
RefreshToken | Pointer to string | The Refresh Token, used to obtain a new Org Access Token when the current Org Access Token expires. The expiration time for Refresh Tokens is currently set to 30 days and is subject to change. | [optional] |
func NewGetToken2XXResponse() *GetToken2XXResponse
NewGetToken2XXResponse instantiates a new GetToken2XXResponse 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 NewGetToken2XXResponseWithDefaults() *GetToken2XXResponse
NewGetToken2XXResponseWithDefaults instantiates a new GetToken2XXResponse 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 *GetToken2XXResponse) GetAccessToken() string
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
func (o *GetToken2XXResponse) 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.
func (o *GetToken2XXResponse) SetAccessToken(v string)
SetAccessToken sets AccessToken field to given value.
func (o *GetToken2XXResponse) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (o *GetToken2XXResponse) GetTokenType() string
GetTokenType returns the TokenType field if non-nil, zero value otherwise.
func (o *GetToken2XXResponse) 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.
func (o *GetToken2XXResponse) SetTokenType(v string)
SetTokenType sets TokenType field to given value.
func (o *GetToken2XXResponse) HasTokenType() bool
HasTokenType returns a boolean if a field has been set.
func (o *GetToken2XXResponse) GetScope() string
GetScope returns the Scope field if non-nil, zero value otherwise.
func (o *GetToken2XXResponse) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetToken2XXResponse) SetScope(v string)
SetScope sets Scope field to given value.
func (o *GetToken2XXResponse) HasScope() bool
HasScope returns a boolean if a field has been set.
func (o *GetToken2XXResponse) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.
func (o *GetToken2XXResponse) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetToken2XXResponse) SetExpiresIn(v int32)
SetExpiresIn sets ExpiresIn field to given value.
func (o *GetToken2XXResponse) HasExpiresIn() bool
HasExpiresIn returns a boolean if a field has been set.
func (o *GetToken2XXResponse) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise.
func (o *GetToken2XXResponse) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetToken2XXResponse) SetRefreshToken(v string)
SetRefreshToken sets RefreshToken field to given value.
func (o *GetToken2XXResponse) HasRefreshToken() bool
HasRefreshToken returns a boolean if a field has been set.