github.com/twilio/twilio-go@v1.20.1/rest/numbers/v1/model_numbers_v1_porting_bulk_portability.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 // NumbersV1PortingBulkPortability struct for NumbersV1PortingBulkPortability 22 type NumbersV1PortingBulkPortability struct { 23 // A 34 character string that uniquely identifies this Portability check. 24 Sid *string `json:"sid,omitempty"` 25 Status *string `json:"status,omitempty"` 26 // The date that the Portability check was created, given in ISO 8601 format. 27 DatetimeCreated *time.Time `json:"datetime_created,omitempty"` 28 // Contains a list with all the information of the requested phone numbers. Each phone number contains the following properties: `phone_number`: The phone number which portability is to be checked. `portable`: Boolean flag specifying if phone number is portable or not. `not_portable_reason`: Reason why the phone number cannot be ported into Twilio, `null` otherwise. `not_portable_reason_code`: The Portability Reason Code for the phone number if it cannot be ported in Twilio, `null` otherwise. `pin_and_account_number_required`: Boolean flag specifying if PIN and account number is required for the phone number. `number_type`: The type of the requested phone number. `country` Country the phone number belongs to. `messaging_carrier` Current messaging carrier of the phone number. `voice_carrier` Current voice carrier of the phone number. 29 PhoneNumbers *[]interface{} `json:"phone_numbers,omitempty"` 30 // This is the url of the request that you're trying to reach out to locate the resource. 31 Url *string `json:"url,omitempty"` 32 }