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