github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/model_api_v2010_application.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Api 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 // ApiV2010Application struct for ApiV2010Application 18 type ApiV2010Application struct { 19 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Application resource. 20 AccountSid *string `json:"account_sid,omitempty"` 21 // The API version used to start a new TwiML session. 22 ApiVersion *string `json:"api_version,omitempty"` 23 // The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. 24 DateCreated *string `json:"date_created,omitempty"` 25 // The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. 26 DateUpdated *string `json:"date_updated,omitempty"` 27 // The string that you assigned to describe the resource. 28 FriendlyName *string `json:"friendly_name,omitempty"` 29 // The URL we call using a POST method to send message status information to your application. 30 MessageStatusCallback *string `json:"message_status_callback,omitempty"` 31 // The unique string that that we created to identify the Application resource. 32 Sid *string `json:"sid,omitempty"` 33 // The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`. 34 SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"` 35 // The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`. 36 SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"` 37 // The HTTP method we use to call `sms_url`. Can be: `GET` or `POST`. 38 SmsMethod *string `json:"sms_method,omitempty"` 39 // The URL we call using a POST method to send status information to your application about SMS messages that refer to the application. 40 SmsStatusCallback *string `json:"sms_status_callback,omitempty"` 41 // The URL we call when the phone number receives an incoming SMS message. 42 SmsUrl *string `json:"sms_url,omitempty"` 43 // The URL we call using the `status_callback_method` to send status information to your application. 44 StatusCallback *string `json:"status_callback,omitempty"` 45 // The HTTP method we use to call `status_callback`. Can be: `GET` or `POST`. 46 StatusCallbackMethod *string `json:"status_callback_method,omitempty"` 47 // The URI of the resource, relative to `https://api.twilio.com`. 48 Uri *string `json:"uri,omitempty"` 49 // Whether we look up the caller's caller-ID name from the CNAM database (additional charges apply). Can be: `true` or `false`. 50 VoiceCallerIdLookup *bool `json:"voice_caller_id_lookup,omitempty"` 51 // The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`. 52 VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"` 53 // The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`. 54 VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"` 55 // The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`. 56 VoiceMethod *string `json:"voice_method,omitempty"` 57 // The URL we call when the phone number assigned to this application receives a call. 58 VoiceUrl *string `json:"voice_url,omitempty"` 59 // Whether to allow other Twilio accounts to dial this applicaton using Dial verb. Can be: `true` or `false`. 60 PublicApplicationConnectEnabled *bool `json:"public_application_connect_enabled,omitempty"` 61 }