Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.87 KB

OAuth.md

File metadata and controls

108 lines (59 loc) · 2.87 KB

OAuth

Properties

Name Type Description Notes
AccessToken Pointer to string This is your OAuth 2.0 Authentication Token. It will be valid for one hour. [optional]
TokenType Pointer to string This is the Authentication Token type. [optional]
ExpiresIn Pointer to string This is when your token will expire. [optional]

Methods

NewOAuth

func NewOAuth() *OAuth

NewOAuth instantiates a new OAuth 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

NewOAuthWithDefaults

func NewOAuthWithDefaults() *OAuth

NewOAuthWithDefaults instantiates a new OAuth 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 *OAuth) GetAccessToken() string

GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.

GetAccessTokenOk

func (o *OAuth) 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 *OAuth) SetAccessToken(v string)

SetAccessToken sets AccessToken field to given value.

HasAccessToken

func (o *OAuth) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

GetTokenType

func (o *OAuth) GetTokenType() string

GetTokenType returns the TokenType field if non-nil, zero value otherwise.

GetTokenTypeOk

func (o *OAuth) 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 *OAuth) SetTokenType(v string)

SetTokenType sets TokenType field to given value.

HasTokenType

func (o *OAuth) HasTokenType() bool

HasTokenType returns a boolean if a field has been set.

GetExpiresIn

func (o *OAuth) GetExpiresIn() string

GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise.

GetExpiresInOk

func (o *OAuth) GetExpiresInOk() (*string, 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.

SetExpiresIn

func (o *OAuth) SetExpiresIn(v string)

SetExpiresIn sets ExpiresIn field to given value.

HasExpiresIn

func (o *OAuth) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

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