Project: ORY Hydra (Provisioning / Key Management)
File: OAuth2TokenExchange.md

Name | Type | Description | Notes | - | - | - AccessToken | Pointer to string | The access token issued by the authorization server. | [optional] ExpiresIn | Pointer to int64 | The lifetime in seconds of the access token. For example, the value \&quot;3600\&quot; denotes that the access token will expire in one hour from the time the response was generated. | [optional] IdToken | Pointer to string | To retrieve a refresh token request the id_token scope. | [optional] RefreshToken | Pointer to string | The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \&quot;offline\&quot; to your access token request. | [optional] Scope | Pointer to string | The scope of the access token | [optional] TokenType | Pointer to string | The type of the token issued | [optional] `func NewOAuth2TokenExchange() *OAuth2TokenExchange` NewOAuth2TokenExchange instantiates a new OAuth2TokenExchange 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 NewOAuth2TokenExchangeWithDefaults() *OAuth2TokenExchange` NewOAuth2TokenExchangeWithDefaults instantiates a new OAuth2TokenExchange 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 *OAuth2TokenExchange) GetAccessToken() string` GetAccessToken returns the AccessToken field if non-nil, zero value otherwise. `func (o OAuth2TokenExchange) 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 *OAuth2TokenExchange) SetAccessToken(v string)` SetAccessToken sets AccessToken field to given value. `func (o *OAuth2TokenExchange) HasAccessToken() bool` HasAccessToken returns a boolean if a field has been set. `func (o *OAuth2TokenExchange) GetExpiresIn() int64` GetExpiresIn returns the ExpiresIn field if non-nil, zero value

`func (o OAuth2TokenExchange) GetExpiresInOk() (int64, 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 *OAuth2TokenExchange) SetExpiresIn(v int64)` SetExpiresIn sets ExpiresIn field to given value. `func (o *OAuth2TokenExchange) HasExpiresIn() bool` HasExpiresIn returns a boolean if a field has been set. `func (o *OAuth2TokenExchange) GetIdToken() string` GetIdToken returns the IdToken field if non-nil, zero value otherwise. `func (o OAuth2TokenExchange) GetIdTokenOk() (string, bool)` GetIdTokenOk returns a tuple with the IdToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. `func (o *OAuth2TokenExchange) SetIdToken(v string)` SetIdToken sets IdToken field to given value. `func (o *OAuth2TokenExchange) HasIdToken() bool` HasIdToken returns a boolean if a field has been set. `func (o *OAuth2TokenExchange) GetRefreshToken() string` GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise. `func (o OAuth2TokenExchange) 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 *OAuth2TokenExchange) SetRefreshToken(v string)` SetRefreshToken sets RefreshToken field to given value. `func (o *OAuth2TokenExchange) HasRefreshToken() bool` HasRefreshToken returns a boolean if a field has been set. `func (o *OAuth2TokenExchange) GetScope() string` GetScope returns the Scope field if non-nil, zero value otherwise. `func (o OAuth2TokenExchange) 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 *OAuth2TokenExchange) SetScope(v string)` SetScope sets Scope field to given value. `func (o *OAuth2TokenExchange) HasScope() bool` HasScope returns a boolean if a field has been set. `func (o *OAuth2TokenExchange) GetTokenType() string` GetTokenType returns the TokenType field if non-nil, zero value otherwise. `func (o OAuth2TokenExchange) 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 *OAuth2TokenExchange) SetTokenType(v string)` SetTokenType sets TokenType field to given value. `func (o *OAuth2TokenExchange) HasTokenType() bool` HasTokenType returns a boolean if a field has been set.