github.com/twilio/twilio-go@v1.20.1/rest/numbers/v2/model_numbers_v2_hosted_number_order.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Numbers 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 // NumbersV2HostedNumberOrder struct for NumbersV2HostedNumberOrder 22 type NumbersV2HostedNumberOrder struct { 23 // A 34 character string that uniquely identifies this HostedNumberOrder. 24 Sid *string `json:"sid,omitempty"` 25 // A 34 character string that uniquely identifies the account. 26 AccountSid *string `json:"account_sid,omitempty"` 27 // A 34 character string that uniquely identifies the [IncomingPhoneNumber](https://www.twilio.com/docs/phone-numbers/api/incomingphonenumber-resource) resource that represents the phone number being hosted. 28 IncomingPhoneNumberSid *string `json:"incoming_phone_number_sid,omitempty"` 29 // A 34 character string that uniquely identifies the Address resource that represents the address of the owner of this phone number. 30 AddressSid *string `json:"address_sid,omitempty"` 31 // A 34 character string that uniquely identifies the [Authorization Document](https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/authorization-document-resource) the user needs to sign. 32 SigningDocumentSid *string `json:"signing_document_sid,omitempty"` 33 // Phone number to be hosted. This must be in [E.164](https://en.wikipedia.org/wiki/E.164) format, e.g., +16175551212 34 PhoneNumber *string `json:"phone_number,omitempty"` 35 Capabilities *NumbersV2HostedNumberOrderCapabilities `json:"capabilities,omitempty"` 36 // A 128 character string that is a human-readable text that describes this resource. 37 FriendlyName *string `json:"friendly_name,omitempty"` 38 Status *string `json:"status,omitempty"` 39 // A message that explains why a hosted_number_order went to status \"action-required\" 40 FailureReason *string `json:"failure_reason,omitempty"` 41 // The date this resource was created, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format. 42 DateCreated *time.Time `json:"date_created,omitempty"` 43 // The date that this resource was updated, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format. 44 DateUpdated *time.Time `json:"date_updated,omitempty"` 45 // Email of the owner of this phone number that is being hosted. 46 Email *string `json:"email,omitempty"` 47 // A list of emails that LOA document for this HostedNumberOrder will be carbon copied to. 48 CcEmails *[]string `json:"cc_emails,omitempty"` 49 // The URL of this HostedNumberOrder. 50 Url *string `json:"url,omitempty"` 51 // The title of the person authorized to sign the Authorization Document for this phone number. 52 ContactTitle *string `json:"contact_title,omitempty"` 53 // The contact phone number of the person authorized to sign the Authorization Document. 54 ContactPhoneNumber *string `json:"contact_phone_number,omitempty"` 55 // A 34 character string that uniquely identifies the bulk hosting request associated with this HostedNumberOrder. 56 BulkHostingRequestSid *string `json:"bulk_hosting_request_sid,omitempty"` 57 // The next step you need to take to complete the hosted number order and request it successfully. 58 NextStep *string `json:"next_step,omitempty"` 59 }