github.com/twilio/twilio-go@v1.20.1/rest/verify/v2/model_verify_v2_notification.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 // VerifyV2Notification struct for VerifyV2Notification 22 type VerifyV2Notification struct { 23 // A 34 character string that uniquely identifies this Notification. 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 Service. 28 ServiceSid *string `json:"service_sid,omitempty"` 29 // The unique SID identifier of the Entity. 30 EntitySid *string `json:"entity_sid,omitempty"` 31 // Customer unique identity for the Entity owner of the Challenge. This identifier should be immutable, not PII, length between 8 and 64 characters, and generated by your external system, such as your user's UUID, GUID, or SID. It can only contain dash (-) separated alphanumeric characters. 32 Identity *string `json:"identity,omitempty"` 33 // The unique SID identifier of the Challenge. 34 ChallengeSid *string `json:"challenge_sid,omitempty"` 35 // The priority of the notification. For `push` Challenges it's always `high` which sends the notification immediately, and can wake up a sleeping device. 36 Priority *string `json:"priority,omitempty"` 37 // How long, in seconds, the notification is valid. Max: 5 minutes 38 Ttl *int `json:"ttl,omitempty"` 39 // The date that this Notification was created, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 40 DateCreated *time.Time `json:"date_created,omitempty"` 41 }