github.com/twilio/twilio-go@v1.20.1/rest/verify/v2/model_verify_v2_access_token.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Verify 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 import ( 18 "time" 19 ) 20 21 // VerifyV2AccessToken struct for VerifyV2AccessToken 22 type VerifyV2AccessToken struct { 23 // A 34 character string that uniquely identifies this Access Token. 24 Sid *string `json:"sid,omitempty"` 25 // The unique SID identifier of the Account. 26 AccountSid *string `json:"account_sid,omitempty"` 27 // The unique SID identifier of the Verify Service. 28 ServiceSid *string `json:"service_sid,omitempty"` 29 // The unique external identifier for the Entity of the Service. 30 EntityIdentity *string `json:"entity_identity,omitempty"` 31 FactorType *string `json:"factor_type,omitempty"` 32 // A human readable description of this factor, up to 64 characters. For a push factor, this can be the device's name. 33 FactorFriendlyName *string `json:"factor_friendly_name,omitempty"` 34 // The access token generated for enrollment, this is an encrypted json web token. 35 Token *string `json:"token,omitempty"` 36 // The URL of this resource. 37 Url *string `json:"url,omitempty"` 38 // How long, in seconds, the access token is valid. Max: 5 minutes 39 Ttl *int `json:"ttl,omitempty"` 40 // The date that this access token was created, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 41 DateCreated *time.Time `json:"date_created,omitempty"` 42 }