github.com/twilio/twilio-go@v1.20.1/rest/oauth/v1/model_oauth_v1_token.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Oauth 8 * This is the public Twilio REST API. 9 * 10 * NOTE: This class is auto generated by OpenAPI Generator. 11 * https://openapi-generator.tech 12 * Do not edit the class manually. 13 */ 14 15 package openapi 16 17 // OauthV1Token struct for OauthV1Token 18 type OauthV1Token struct { 19 // Token which carries the necessary information to access a Twilio resource directly. 20 AccessToken *string `json:"access_token,omitempty"` 21 // Token which carries the information necessary to get a new access token. 22 RefreshToken *string `json:"refresh_token,omitempty"` 23 // Token which carries the information necessary of user profile. 24 IdToken *string `json:"id_token,omitempty"` 25 // Token type 26 TokenType *string `json:"token_type,omitempty"` 27 ExpiresIn *int64 `json:"expires_in,omitempty"` 28 }