github.com/twilio/twilio-go@v1.20.1/rest/supersim/v1/model_supersim_v1_esim_profile.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Supersim 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 // SupersimV1EsimProfile struct for SupersimV1EsimProfile 22 type SupersimV1EsimProfile struct { 23 // The unique string that we created to identify the eSIM Profile resource. 24 Sid *string `json:"sid,omitempty"` 25 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) to which the eSIM Profile resource belongs. 26 AccountSid *string `json:"account_sid,omitempty"` 27 // The [ICCID](https://en.wikipedia.org/wiki/Subscriber_identity_module#ICCID) associated with the Sim resource. 28 Iccid *string `json:"iccid,omitempty"` 29 // The SID of the [Sim](https://www.twilio.com/docs/iot/supersim/api/sim-resource) resource that this eSIM Profile controls. 30 SimSid *string `json:"sim_sid,omitempty"` 31 Status *string `json:"status,omitempty"` 32 // Identifier of the eUICC that can claim the eSIM Profile. 33 Eid *string `json:"eid,omitempty"` 34 // Address of the SM-DP+ server from which the Profile will be downloaded. The URL will appear once the eSIM Profile reaches the status `available`. 35 SmdpPlusAddress *string `json:"smdp_plus_address,omitempty"` 36 // Unique identifier of the eSIM profile that can be used to identify and download the eSIM profile from the SM-DP+ server. Populated if `generate_matching_id` is set to `true` when creating the eSIM profile reservation. 37 MatchingId *string `json:"matching_id,omitempty"` 38 // Combined machine-readable activation code for acquiring an eSIM Profile with the Activation Code download method. Can be used in a QR code to download an eSIM profile. 39 ActivationCode *string `json:"activation_code,omitempty"` 40 // Code indicating the failure if the download of the SIM Profile failed and the eSIM Profile is in `failed` state. 41 ErrorCode *string `json:"error_code,omitempty"` 42 // Error message describing the failure if the download of the SIM Profile failed and the eSIM Profile is in `failed` state. 43 ErrorMessage *string `json:"error_message,omitempty"` 44 // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 45 DateCreated *time.Time `json:"date_created,omitempty"` 46 // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 47 DateUpdated *time.Time `json:"date_updated,omitempty"` 48 // The absolute URL of the eSIM Profile resource. 49 Url *string `json:"url,omitempty"` 50 }