github.com/twilio/twilio-go@v1.20.1/rest/numbers/v1/model_numbers_v1_bulk_eligibility.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 // NumbersV1BulkEligibility struct for NumbersV1BulkEligibility 22 type NumbersV1BulkEligibility struct { 23 // The SID of the bulk eligibility check that you want to know about. 24 RequestId *string `json:"request_id,omitempty"` 25 // This is the url of the request that you're trying to reach out to locate the resource. 26 Url *string `json:"url,omitempty"` 27 // The result set that contains the eligibility check response for each requested number, each result has at least the following attributes: phone_number: The requested phone number ,hosting_account_sid: The account sid where the phone number will be hosted, country: Phone number’s country, eligibility_status: Indicates the eligibility status of the PN (Eligible/Ineligible), eligibility_sub_status: Indicates the sub status of the eligibility , ineligibility_reason: Reason for number's ineligibility (if applicable), next_step: Suggested next step in the hosting process based on the eligibility status. 28 Results *[]interface{} `json:"results,omitempty"` 29 // This is the string that you assigned as a friendly name for describing the eligibility check request. 30 FriendlyName *string `json:"friendly_name,omitempty"` 31 // This is the status of the bulk eligibility check request. (Example: COMPLETE, IN_PROGRESS) 32 Status *string `json:"status,omitempty"` 33 DateCreated *time.Time `json:"date_created,omitempty"` 34 DateCompleted *time.Time `json:"date_completed,omitempty"` 35 }