github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/ConnectTokenResponse.md (about) 1 # ConnectTokenResponse 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **AccessToken** | **string** | | 8 **TokenType** | **string** | | 9 **RefreshToken** | **string** | | 10 **ExpiresIn** | **int32** | | 11 **IdToken** | Pointer to **string** | | [optional] 12 **Scope** | **string** | | 13 14 ## Methods 15 16 ### NewConnectTokenResponse 17 18 `func NewConnectTokenResponse(accessToken string, tokenType string, refreshToken string, expiresIn int32, scope string, ) *ConnectTokenResponse` 19 20 NewConnectTokenResponse instantiates a new ConnectTokenResponse object 21 This constructor will assign default values to properties that have it defined, 22 and makes sure properties required by API are set, but the set of arguments 23 will change when the set of required properties is changed 24 25 ### NewConnectTokenResponseWithDefaults 26 27 `func NewConnectTokenResponseWithDefaults() *ConnectTokenResponse` 28 29 NewConnectTokenResponseWithDefaults instantiates a new ConnectTokenResponse object 30 This constructor will only assign default values to properties that have it defined, 31 but it doesn't guarantee that properties required by API are set 32 33 ### GetAccessToken 34 35 `func (o *ConnectTokenResponse) GetAccessToken() string` 36 37 GetAccessToken returns the AccessToken field if non-nil, zero value otherwise. 38 39 ### GetAccessTokenOk 40 41 `func (o *ConnectTokenResponse) GetAccessTokenOk() (*string, bool)` 42 43 GetAccessTokenOk returns a tuple with the AccessToken field if it's non-nil, zero value otherwise 44 and a boolean to check if the value has been set. 45 46 ### SetAccessToken 47 48 `func (o *ConnectTokenResponse) SetAccessToken(v string)` 49 50 SetAccessToken sets AccessToken field to given value. 51 52 53 ### GetTokenType 54 55 `func (o *ConnectTokenResponse) GetTokenType() string` 56 57 GetTokenType returns the TokenType field if non-nil, zero value otherwise. 58 59 ### GetTokenTypeOk 60 61 `func (o *ConnectTokenResponse) GetTokenTypeOk() (*string, bool)` 62 63 GetTokenTypeOk returns a tuple with the TokenType field if it's non-nil, zero value otherwise 64 and a boolean to check if the value has been set. 65 66 ### SetTokenType 67 68 `func (o *ConnectTokenResponse) SetTokenType(v string)` 69 70 SetTokenType sets TokenType field to given value. 71 72 73 ### GetRefreshToken 74 75 `func (o *ConnectTokenResponse) GetRefreshToken() string` 76 77 GetRefreshToken returns the RefreshToken field if non-nil, zero value otherwise. 78 79 ### GetRefreshTokenOk 80 81 `func (o *ConnectTokenResponse) GetRefreshTokenOk() (*string, bool)` 82 83 GetRefreshTokenOk returns a tuple with the RefreshToken field if it's non-nil, zero value otherwise 84 and a boolean to check if the value has been set. 85 86 ### SetRefreshToken 87 88 `func (o *ConnectTokenResponse) SetRefreshToken(v string)` 89 90 SetRefreshToken sets RefreshToken field to given value. 91 92 93 ### GetExpiresIn 94 95 `func (o *ConnectTokenResponse) GetExpiresIn() int32` 96 97 GetExpiresIn returns the ExpiresIn field if non-nil, zero value otherwise. 98 99 ### GetExpiresInOk 100 101 `func (o *ConnectTokenResponse) GetExpiresInOk() (*int32, bool)` 102 103 GetExpiresInOk returns a tuple with the ExpiresIn field if it's non-nil, zero value otherwise 104 and a boolean to check if the value has been set. 105 106 ### SetExpiresIn 107 108 `func (o *ConnectTokenResponse) SetExpiresIn(v int32)` 109 110 SetExpiresIn sets ExpiresIn field to given value. 111 112 113 ### GetIdToken 114 115 `func (o *ConnectTokenResponse) GetIdToken() string` 116 117 GetIdToken returns the IdToken field if non-nil, zero value otherwise. 118 119 ### GetIdTokenOk 120 121 `func (o *ConnectTokenResponse) GetIdTokenOk() (*string, bool)` 122 123 GetIdTokenOk returns a tuple with the IdToken field if it's non-nil, zero value otherwise 124 and a boolean to check if the value has been set. 125 126 ### SetIdToken 127 128 `func (o *ConnectTokenResponse) SetIdToken(v string)` 129 130 SetIdToken sets IdToken field to given value. 131 132 ### HasIdToken 133 134 `func (o *ConnectTokenResponse) HasIdToken() bool` 135 136 HasIdToken returns a boolean if a field has been set. 137 138 ### GetScope 139 140 `func (o *ConnectTokenResponse) GetScope() string` 141 142 GetScope returns the Scope field if non-nil, zero value otherwise. 143 144 ### GetScopeOk 145 146 `func (o *ConnectTokenResponse) GetScopeOk() (*string, bool)` 147 148 GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise 149 and a boolean to check if the value has been set. 150 151 ### SetScope 152 153 `func (o *ConnectTokenResponse) SetScope(v string)` 154 155 SetScope sets Scope field to given value. 156 157 158 159 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 160 161