telnyx 4.0.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/internal/transport/pooled_net_requester.rb +7 -10
  5. data/lib/telnyx/models/{advanced_order_update_params.rb → advanced_order_update_requirement_group_params.rb} +9 -8
  6. data/lib/telnyx/models/{advanced_order_update_response.rb → advanced_order_update_requirement_group_response.rb} +1 -1
  7. data/lib/telnyx/models/calls/action_start_transcription_params.rb +3 -3
  8. data/lib/telnyx/models/calls/transcription_start_request.rb +448 -10
  9. data/lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb +156 -0
  10. data/lib/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rb +151 -0
  11. data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rb +3 -110
  12. data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rb +3 -252
  13. data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rb +3 -252
  14. data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rb +3 -250
  15. data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rb +3 -252
  16. data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rb +3 -73
  17. data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rb +3 -73
  18. data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rb +3 -71
  19. data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rb +3 -73
  20. data/lib/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rb +79 -0
  21. data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rb +3 -110
  22. data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rb +3 -256
  23. data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rb +3 -256
  24. data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rb +3 -255
  25. data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rb +3 -256
  26. data/lib/telnyx/models/legacy/reporting/filter.rb +112 -0
  27. data/lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb +109 -0
  28. data/lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb +104 -0
  29. data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rb +3 -97
  30. data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rb +3 -97
  31. data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rb +3 -96
  32. data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rb +3 -97
  33. data/lib/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rb +3 -102
  34. data/lib/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rb +3 -102
  35. data/lib/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rb +3 -101
  36. data/lib/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rb +3 -102
  37. data/lib/telnyx/models/messaging_profile.rb +9 -1
  38. data/lib/telnyx/models/messaging_profile_create_params.rb +9 -1
  39. data/lib/telnyx/models/messaging_profile_update_params.rb +9 -1
  40. data/lib/telnyx/models/network_list_interfaces_response.rb +114 -0
  41. data/lib/telnyx/models/oauth_client.rb +173 -0
  42. data/lib/telnyx/models/oauth_client_create_response.rb +3 -172
  43. data/lib/telnyx/models/oauth_client_list_response.rb +3 -171
  44. data/lib/telnyx/models/oauth_client_retrieve_response.rb +3 -172
  45. data/lib/telnyx/models/oauth_client_update_response.rb +3 -172
  46. data/lib/telnyx/models/oauth_grant.rb +68 -0
  47. data/lib/telnyx/models/oauth_grant_delete_response.rb +3 -67
  48. data/lib/telnyx/models/oauth_grant_list_response.rb +3 -66
  49. data/lib/telnyx/models/oauth_grant_retrieve_response.rb +3 -67
  50. data/lib/telnyx/models/public_internet_gateway_create_response.rb +115 -0
  51. data/lib/telnyx/models/public_internet_gateway_delete_response.rb +115 -0
  52. data/lib/telnyx/models/public_internet_gateway_list_response.rb +114 -0
  53. data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +115 -0
  54. data/lib/telnyx/models/texml/accounts/call_calls_params.rb +33 -1
  55. data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +33 -1
  56. data/lib/telnyx/models/verify_profile_create_template_response.rb +3 -20
  57. data/lib/telnyx/models/verify_profile_message_template_response.rb +21 -0
  58. data/lib/telnyx/models/verify_profile_retrieve_templates_response.rb +3 -20
  59. data/lib/telnyx/models/verify_profile_update_template_response.rb +3 -20
  60. data/lib/telnyx/models/virtual_cross_connect_create_response.rb +275 -0
  61. data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +275 -0
  62. data/lib/telnyx/models/virtual_cross_connect_list_response.rb +274 -0
  63. data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +275 -0
  64. data/lib/telnyx/models/virtual_cross_connect_update_response.rb +275 -0
  65. data/lib/telnyx/models/wireguard_interface_create_response.rb +131 -0
  66. data/lib/telnyx/models/wireguard_interface_delete_response.rb +131 -0
  67. data/lib/telnyx/models/wireguard_interface_list_response.rb +130 -0
  68. data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +131 -0
  69. data/lib/telnyx/models/wireguard_peer_create_response.rb +78 -0
  70. data/lib/telnyx/models/wireguard_peer_delete_response.rb +78 -0
  71. data/lib/telnyx/models/wireguard_peer_list_response.rb +77 -0
  72. data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +78 -0
  73. data/lib/telnyx/models/wireguard_peer_update_response.rb +78 -0
  74. data/lib/telnyx/models.rb +7 -1
  75. data/lib/telnyx/resources/advanced_orders.rb +26 -26
  76. data/lib/telnyx/resources/calls/actions.rb +2 -2
  77. data/lib/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rb +1 -1
  78. data/lib/telnyx/resources/legacy/reporting/batch_detail_records/voice.rb +1 -1
  79. data/lib/telnyx/resources/messaging_profiles.rb +6 -2
  80. data/lib/telnyx/resources/texml/accounts/calls.rb +3 -1
  81. data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +3 -1
  82. data/lib/telnyx/version.rb +1 -1
  83. data/lib/telnyx.rb +11 -2
  84. data/rbi/telnyx/models/{advanced_order_update_params.rbi → advanced_order_update_requirement_group_params.rbi} +53 -25
  85. data/rbi/telnyx/models/{advanced_order_update_response.rbi → advanced_order_update_requirement_group_response.rbi} +1 -1
  86. data/rbi/telnyx/models/calls/action_start_transcription_params.rbi +6 -6
  87. data/rbi/telnyx/models/calls/transcription_start_request.rbi +1488 -15
  88. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rbi +232 -0
  89. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rbi +346 -0
  90. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rbi +4 -279
  91. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rbi +4 -614
  92. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rbi +4 -614
  93. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbi +4 -614
  94. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rbi +4 -614
  95. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rbi +4 -155
  96. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rbi +4 -155
  97. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rbi +4 -155
  98. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rbi +4 -155
  99. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rbi +162 -0
  100. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rbi +4 -279
  101. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rbi +4 -500
  102. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rbi +4 -500
  103. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbi +4 -500
  104. data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rbi +4 -500
  105. data/rbi/telnyx/models/legacy/reporting/filter.rbi +252 -0
  106. data/rbi/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rbi +157 -0
  107. data/rbi/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rbi +155 -0
  108. data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rbi +4 -148
  109. data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rbi +4 -148
  110. data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rbi +4 -148
  111. data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rbi +4 -148
  112. data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rbi +4 -150
  113. data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rbi +4 -150
  114. data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rbi +4 -150
  115. data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rbi +4 -150
  116. data/rbi/telnyx/models/messaging_profile.rbi +11 -0
  117. data/rbi/telnyx/models/messaging_profile_create_params.rbi +11 -0
  118. data/rbi/telnyx/models/messaging_profile_update_params.rbi +11 -0
  119. data/rbi/telnyx/models/network_list_interfaces_response.rbi +202 -0
  120. data/rbi/telnyx/models/oauth_client.rbi +250 -0
  121. data/rbi/telnyx/models/oauth_client_create_response.rbi +4 -317
  122. data/rbi/telnyx/models/oauth_client_list_response.rbi +4 -313
  123. data/rbi/telnyx/models/oauth_client_retrieve_response.rbi +4 -317
  124. data/rbi/telnyx/models/oauth_client_update_response.rbi +4 -317
  125. data/rbi/telnyx/models/oauth_grant.rbi +95 -0
  126. data/rbi/telnyx/models/oauth_grant_delete_response.rbi +4 -127
  127. data/rbi/telnyx/models/oauth_grant_list_response.rbi +4 -123
  128. data/rbi/telnyx/models/oauth_grant_retrieve_response.rbi +4 -129
  129. data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +202 -0
  130. data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +202 -0
  131. data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +202 -0
  132. data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +202 -0
  133. data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +65 -0
  134. data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +67 -0
  135. data/rbi/telnyx/models/verify_profile_create_template_response.rbi +4 -44
  136. data/rbi/telnyx/models/verify_profile_message_template_response.rbi +35 -0
  137. data/rbi/telnyx/models/verify_profile_retrieve_templates_response.rbi +3 -45
  138. data/rbi/telnyx/models/verify_profile_update_template_response.rbi +4 -44
  139. data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +444 -0
  140. data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +444 -0
  141. data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -0
  142. data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +444 -0
  143. data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +444 -0
  144. data/rbi/telnyx/models/wireguard_interface_create_response.rbi +224 -0
  145. data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +224 -0
  146. data/rbi/telnyx/models/wireguard_interface_list_response.rbi +224 -0
  147. data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +224 -0
  148. data/rbi/telnyx/models/wireguard_peer_create_response.rbi +125 -0
  149. data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +125 -0
  150. data/rbi/telnyx/models/wireguard_peer_list_response.rbi +125 -0
  151. data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +125 -0
  152. data/rbi/telnyx/models/wireguard_peer_update_response.rbi +125 -0
  153. data/rbi/telnyx/models.rbi +9 -1
  154. data/rbi/telnyx/resources/advanced_orders.rbi +16 -14
  155. data/rbi/telnyx/resources/calls/actions.rbi +7 -3
  156. data/rbi/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rbi +1 -4
  157. data/rbi/telnyx/resources/legacy/reporting/batch_detail_records/voice.rbi +1 -4
  158. data/rbi/telnyx/resources/messaging_profiles.rbi +6 -0
  159. data/rbi/telnyx/resources/texml/accounts/calls.rbi +7 -0
  160. data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +7 -0
  161. data/sig/telnyx/models/{advanced_order_update_params.rbs → advanced_order_update_requirement_group_params.rbs} +16 -16
  162. data/sig/telnyx/models/advanced_order_update_requirement_group_response.rbs +5 -0
  163. data/sig/telnyx/models/calls/action_start_transcription_params.rbs +5 -5
  164. data/sig/telnyx/models/calls/transcription_start_request.rbs +594 -11
  165. data/sig/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rbs +142 -0
  166. data/sig/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rbs +163 -0
  167. data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rbs +6 -108
  168. data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rbs +6 -262
  169. data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rbs +6 -262
  170. data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbs +6 -262
  171. data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rbs +6 -262
  172. data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rbs +6 -82
  173. data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rbs +6 -82
  174. data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rbs +6 -82
  175. data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rbs +6 -82
  176. data/sig/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rbs +85 -0
  177. data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rbs +6 -108
  178. data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rbs +6 -241
  179. data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rbs +6 -241
  180. data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbs +6 -241
  181. data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rbs +6 -241
  182. data/sig/telnyx/models/legacy/reporting/filter.rbs +109 -0
  183. data/sig/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rbs +105 -0
  184. data/sig/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rbs +105 -0
  185. data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rbs +6 -102
  186. data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rbs +6 -102
  187. data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rbs +6 -102
  188. data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rbs +6 -102
  189. data/sig/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rbs +6 -102
  190. data/sig/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rbs +6 -102
  191. data/sig/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rbs +6 -102
  192. data/sig/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rbs +6 -102
  193. data/sig/telnyx/models/messaging_profile.rbs +7 -0
  194. data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
  195. data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
  196. data/sig/telnyx/models/network_list_interfaces_response.rbs +110 -0
  197. data/sig/telnyx/models/oauth_client.rbs +137 -0
  198. data/sig/telnyx/models/oauth_client_create_response.rbs +5 -144
  199. data/sig/telnyx/models/oauth_client_list_response.rbs +5 -141
  200. data/sig/telnyx/models/oauth_client_retrieve_response.rbs +5 -146
  201. data/sig/telnyx/models/oauth_client_update_response.rbs +5 -144
  202. data/sig/telnyx/models/oauth_grant.rbs +55 -0
  203. data/sig/telnyx/models/oauth_grant_delete_response.rbs +5 -62
  204. data/sig/telnyx/models/oauth_grant_list_response.rbs +5 -59
  205. data/sig/telnyx/models/oauth_grant_retrieve_response.rbs +5 -62
  206. data/sig/telnyx/models/public_internet_gateway_create_response.rbs +110 -0
  207. data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +110 -0
  208. data/sig/telnyx/models/public_internet_gateway_list_response.rbs +110 -0
  209. data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +110 -0
  210. data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +21 -0
  211. data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +21 -0
  212. data/sig/telnyx/models/verify_profile_create_template_response.rbs +6 -24
  213. data/sig/telnyx/models/verify_profile_message_template_response.rbs +19 -0
  214. data/sig/telnyx/models/verify_profile_retrieve_templates_response.rbs +4 -22
  215. data/sig/telnyx/models/verify_profile_update_template_response.rbs +6 -24
  216. data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +219 -0
  217. data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +219 -0
  218. data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +219 -0
  219. data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +219 -0
  220. data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +219 -0
  221. data/sig/telnyx/models/wireguard_interface_create_response.rbs +124 -0
  222. data/sig/telnyx/models/wireguard_interface_delete_response.rbs +124 -0
  223. data/sig/telnyx/models/wireguard_interface_list_response.rbs +124 -0
  224. data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +124 -0
  225. data/sig/telnyx/models/wireguard_peer_create_response.rbs +68 -0
  226. data/sig/telnyx/models/wireguard_peer_delete_response.rbs +68 -0
  227. data/sig/telnyx/models/wireguard_peer_list_response.rbs +68 -0
  228. data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +68 -0
  229. data/sig/telnyx/models/wireguard_peer_update_response.rbs +68 -0
  230. data/sig/telnyx/models.rbs +7 -1
  231. data/sig/telnyx/resources/advanced_orders.rbs +6 -6
  232. data/sig/telnyx/resources/calls/actions.rbs +1 -1
  233. data/sig/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rbs +1 -1
  234. data/sig/telnyx/resources/legacy/reporting/batch_detail_records/voice.rbs +1 -1
  235. data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
  236. data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -0
  237. data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +1 -0
  238. metadata +35 -8
  239. data/sig/telnyx/models/advanced_order_update_response.rbs +0 -5
@@ -6,30 +6,13 @@ module Telnyx
6
6
  class VerifyProfileRetrieveTemplatesResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Array<Telnyx::Models::VerifyProfileRetrieveTemplatesResponse::Data>]
10
- required :data,
11
- -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::VerifyProfileRetrieveTemplatesResponse::Data] }
9
+ # @return [Array<Telnyx::Models::VerifyProfileMessageTemplateResponse>]
10
+ required :data, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::VerifyProfileMessageTemplateResponse] }
12
11
 
13
12
  # @!method initialize(data:)
14
13
  # A list of Verify profile message templates
15
14
  #
16
- # @param data [Array<Telnyx::Models::VerifyProfileRetrieveTemplatesResponse::Data>]
17
-
18
- class Data < Telnyx::Internal::Type::BaseModel
19
- # @!attribute id
20
- #
21
- # @return [String, nil]
22
- optional :id, String
23
-
24
- # @!attribute text
25
- #
26
- # @return [String, nil]
27
- optional :text, String
28
-
29
- # @!method initialize(id: nil, text: nil)
30
- # @param id [String]
31
- # @param text [String]
32
- end
15
+ # @param data [Array<Telnyx::Models::VerifyProfileMessageTemplateResponse>]
33
16
  end
34
17
  end
35
18
  end
@@ -6,28 +6,11 @@ module Telnyx
6
6
  class VerifyProfileUpdateTemplateResponse < Telnyx::Internal::Type::BaseModel
7
7
  # @!attribute data
8
8
  #
9
- # @return [Telnyx::Models::VerifyProfileUpdateTemplateResponse::Data, nil]
10
- optional :data, -> { Telnyx::Models::VerifyProfileUpdateTemplateResponse::Data }
9
+ # @return [Telnyx::Models::VerifyProfileMessageTemplateResponse, nil]
10
+ optional :data, -> { Telnyx::VerifyProfileMessageTemplateResponse }
11
11
 
12
12
  # @!method initialize(data: nil)
13
- # @param data [Telnyx::Models::VerifyProfileUpdateTemplateResponse::Data]
14
-
15
- # @see Telnyx::Models::VerifyProfileUpdateTemplateResponse#data
16
- class Data < Telnyx::Internal::Type::BaseModel
17
- # @!attribute id
18
- #
19
- # @return [String, nil]
20
- optional :id, String
21
-
22
- # @!attribute text
23
- #
24
- # @return [String, nil]
25
- optional :text, String
26
-
27
- # @!method initialize(id: nil, text: nil)
28
- # @param id [String]
29
- # @param text [String]
30
- end
13
+ # @param data [Telnyx::Models::VerifyProfileMessageTemplateResponse]
31
14
  end
32
15
  end
33
16
  end
@@ -11,6 +11,281 @@ module Telnyx
11
11
 
12
12
  # @!method initialize(data: nil)
13
13
  # @param data [Telnyx::Models::VirtualCrossConnectCreateResponse::Data]
14
+
15
+ # @see Telnyx::Models::VirtualCrossConnectCreateResponse#data
16
+ class Data < Telnyx::Internal::Type::BaseModel
17
+ # @!attribute name
18
+ # A user specified name for the interface.
19
+ #
20
+ # @return [String, nil]
21
+ optional :name, String
22
+
23
+ # @!attribute network_id
24
+ # The id of the network associated with the interface.
25
+ #
26
+ # @return [String, nil]
27
+ optional :network_id, String
28
+
29
+ # @!attribute region_code
30
+ # The region the interface should be deployed to.
31
+ #
32
+ # @return [String, nil]
33
+ optional :region_code, String
34
+
35
+ # @!attribute bgp_asn
36
+ # The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
37
+ # will be assigned by Telnyx.
38
+ #
39
+ # @return [Float]
40
+ required :bgp_asn, Float
41
+
42
+ # @!attribute cloud_provider
43
+ # The Virtual Private Cloud with which you would like to establish a cross
44
+ # connect.
45
+ #
46
+ # @return [Symbol, Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider]
47
+ required :cloud_provider,
48
+ enum: -> { Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider }
49
+
50
+ # @!attribute cloud_provider_region
51
+ # The region where your Virtual Private Cloud hosts are located.<br /><br />The
52
+ # available regions can be found using the /virtual_cross_connect_regions
53
+ # endpoint.
54
+ #
55
+ # @return [String]
56
+ required :cloud_provider_region, String
57
+
58
+ # @!attribute primary_cloud_account_id
59
+ # The identifier for your Virtual Private Cloud. The number will be different
60
+ # based upon your Cloud provider.
61
+ #
62
+ # @return [String]
63
+ required :primary_cloud_account_id, String
64
+
65
+ # @!attribute bandwidth_mbps
66
+ # The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
67
+ # Connect.<br /><br />The available bandwidths can be found using the
68
+ # /virtual_cross_connect_regions endpoint.
69
+ #
70
+ # @return [Float, nil]
71
+ optional :bandwidth_mbps, Float
72
+
73
+ # @!attribute primary_bgp_key
74
+ # The authentication key for BGP peer configuration.
75
+ #
76
+ # @return [String, nil]
77
+ optional :primary_bgp_key, String
78
+
79
+ # @!attribute primary_cloud_ip
80
+ # The IP address assigned for your side of the Virtual Cross
81
+ # Connect.<br /><br />If none is provided, one will be generated for
82
+ # you.<br /><br />This value can not be patched once the VXC has bene provisioned.
83
+ #
84
+ # @return [String, nil]
85
+ optional :primary_cloud_ip, String
86
+
87
+ # @!attribute primary_enabled
88
+ # Indicates whether the primary circuit is enabled. Setting this to `false` will
89
+ # disable the circuit.
90
+ #
91
+ # @return [Boolean, nil]
92
+ optional :primary_enabled, Telnyx::Internal::Type::Boolean
93
+
94
+ # @!attribute primary_routing_announcement
95
+ # Whether the primary BGP route is being announced.
96
+ #
97
+ # @return [Boolean, nil]
98
+ optional :primary_routing_announcement, Telnyx::Internal::Type::Boolean
99
+
100
+ # @!attribute primary_telnyx_ip
101
+ # The IP address assigned to the Telnyx side of the Virtual Cross
102
+ # Connect.<br /><br />If none is provided, one will be generated for
103
+ # you.<br /><br />This value should be null for GCE as Google will only inform you
104
+ # of your assigned IP once the connection has been accepted.
105
+ #
106
+ # @return [String, nil]
107
+ optional :primary_telnyx_ip, String
108
+
109
+ # @!attribute region
110
+ #
111
+ # @return [Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region, nil]
112
+ optional :region, -> { Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region }
113
+
114
+ # @!attribute secondary_bgp_key
115
+ # The authentication key for BGP peer configuration.
116
+ #
117
+ # @return [String, nil]
118
+ optional :secondary_bgp_key, String
119
+
120
+ # @!attribute secondary_cloud_account_id
121
+ # The identifier for your Virtual Private Cloud. The number will be different
122
+ # based upon your Cloud provider.<br /><br />This attribute is only necessary for
123
+ # GCE.
124
+ #
125
+ # @return [String, nil]
126
+ optional :secondary_cloud_account_id, String
127
+
128
+ # @!attribute secondary_cloud_ip
129
+ # The IP address assigned for your side of the Virtual Cross
130
+ # Connect.<br /><br />If none is provided, one will be generated for
131
+ # you.<br /><br />This value can not be patched once the VXC has bene provisioned.
132
+ #
133
+ # @return [String, nil]
134
+ optional :secondary_cloud_ip, String
135
+
136
+ # @!attribute secondary_enabled
137
+ # Indicates whether the secondary circuit is enabled. Setting this to `false` will
138
+ # disable the circuit.
139
+ #
140
+ # @return [Boolean, nil]
141
+ optional :secondary_enabled, Telnyx::Internal::Type::Boolean
142
+
143
+ # @!attribute secondary_routing_announcement
144
+ # Whether the secondary BGP route is being announced.
145
+ #
146
+ # @return [Boolean, nil]
147
+ optional :secondary_routing_announcement, Telnyx::Internal::Type::Boolean
148
+
149
+ # @!attribute secondary_telnyx_ip
150
+ # The IP address assigned to the Telnyx side of the Virtual Cross
151
+ # Connect.<br /><br />If none is provided, one will be generated for
152
+ # you.<br /><br />This value should be null for GCE as Google will only inform you
153
+ # of your assigned IP once the connection has been accepted.
154
+ #
155
+ # @return [String, nil]
156
+ optional :secondary_telnyx_ip, String
157
+
158
+ response_only do
159
+ # @!attribute id
160
+ # Identifies the resource.
161
+ #
162
+ # @return [String, nil]
163
+ optional :id, String
164
+
165
+ # @!attribute created_at
166
+ # ISO 8601 formatted date-time indicating when the resource was created.
167
+ #
168
+ # @return [String, nil]
169
+ optional :created_at, String
170
+
171
+ # @!attribute record_type
172
+ # Identifies the type of the resource.
173
+ #
174
+ # @return [String, nil]
175
+ optional :record_type, String
176
+
177
+ # @!attribute updated_at
178
+ # ISO 8601 formatted date-time indicating when the resource was updated.
179
+ #
180
+ # @return [String, nil]
181
+ optional :updated_at, String
182
+
183
+ # @!attribute status
184
+ # The current status of the interface deployment.
185
+ #
186
+ # @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
187
+ optional :status, enum: -> { Telnyx::InterfaceStatus }
188
+ end
189
+
190
+ # @!method initialize(bgp_asn:, cloud_provider:, cloud_provider_region:, primary_cloud_account_id:, id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region_code: nil, bandwidth_mbps: nil, primary_bgp_key: nil, primary_cloud_ip: nil, primary_enabled: nil, primary_routing_announcement: nil, primary_telnyx_ip: nil, region: nil, secondary_bgp_key: nil, secondary_cloud_account_id: nil, secondary_cloud_ip: nil, secondary_enabled: nil, secondary_routing_announcement: nil, secondary_telnyx_ip: nil)
191
+ # Some parameter documentations has been truncated, see
192
+ # {Telnyx::Models::VirtualCrossConnectCreateResponse::Data} for more details.
193
+ #
194
+ # @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
195
+ #
196
+ # @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
197
+ #
198
+ # @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.<br /><br />The av
199
+ #
200
+ # @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
201
+ #
202
+ # @param id [String] Identifies the resource.
203
+ #
204
+ # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
205
+ #
206
+ # @param record_type [String] Identifies the type of the resource.
207
+ #
208
+ # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
209
+ #
210
+ # @param name [String] A user specified name for the interface.
211
+ #
212
+ # @param network_id [String] The id of the network associated with the interface.
213
+ #
214
+ # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
215
+ #
216
+ # @param region_code [String] The region the interface should be deployed to.
217
+ #
218
+ # @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
219
+ #
220
+ # @param primary_bgp_key [String] The authentication key for BGP peer configuration.
221
+ #
222
+ # @param primary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
223
+ #
224
+ # @param primary_enabled [Boolean] Indicates whether the primary circuit is enabled. Setting this to `false` will d
225
+ #
226
+ # @param primary_routing_announcement [Boolean] Whether the primary BGP route is being announced.
227
+ #
228
+ # @param primary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
229
+ #
230
+ # @param region [Telnyx::Models::VirtualCrossConnectCreateResponse::Data::Region]
231
+ #
232
+ # @param secondary_bgp_key [String] The authentication key for BGP peer configuration.
233
+ #
234
+ # @param secondary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
235
+ #
236
+ # @param secondary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
237
+ #
238
+ # @param secondary_enabled [Boolean] Indicates whether the secondary circuit is enabled. Setting this to `false` will
239
+ #
240
+ # @param secondary_routing_announcement [Boolean] Whether the secondary BGP route is being announced.
241
+ #
242
+ # @param secondary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
243
+
244
+ # The Virtual Private Cloud with which you would like to establish a cross
245
+ # connect.
246
+ #
247
+ # @see Telnyx::Models::VirtualCrossConnectCreateResponse::Data#cloud_provider
248
+ module CloudProvider
249
+ extend Telnyx::Internal::Type::Enum
250
+
251
+ AWS = :aws
252
+ AZURE = :azure
253
+ GCE = :gce
254
+
255
+ # @!method self.values
256
+ # @return [Array<Symbol>]
257
+ end
258
+
259
+ # @see Telnyx::Models::VirtualCrossConnectCreateResponse::Data#region
260
+ class Region < Telnyx::Internal::Type::BaseModel
261
+ # @!attribute code
262
+ # Region code of the interface.
263
+ #
264
+ # @return [String, nil]
265
+ optional :code, String
266
+
267
+ # @!attribute name
268
+ # Region name of the interface.
269
+ #
270
+ # @return [String, nil]
271
+ optional :name, String
272
+
273
+ response_only do
274
+ # @!attribute record_type
275
+ # Identifies the type of the resource.
276
+ #
277
+ # @return [String, nil]
278
+ optional :record_type, String
279
+ end
280
+
281
+ # @!method initialize(code: nil, name: nil, record_type: nil)
282
+ # @param code [String] Region code of the interface.
283
+ #
284
+ # @param name [String] Region name of the interface.
285
+ #
286
+ # @param record_type [String] Identifies the type of the resource.
287
+ end
288
+ end
14
289
  end
15
290
  end
16
291
  end
@@ -11,6 +11,281 @@ module Telnyx
11
11
 
12
12
  # @!method initialize(data: nil)
13
13
  # @param data [Telnyx::Models::VirtualCrossConnectDeleteResponse::Data]
14
+
15
+ # @see Telnyx::Models::VirtualCrossConnectDeleteResponse#data
16
+ class Data < Telnyx::Internal::Type::BaseModel
17
+ # @!attribute name
18
+ # A user specified name for the interface.
19
+ #
20
+ # @return [String, nil]
21
+ optional :name, String
22
+
23
+ # @!attribute network_id
24
+ # The id of the network associated with the interface.
25
+ #
26
+ # @return [String, nil]
27
+ optional :network_id, String
28
+
29
+ # @!attribute region_code
30
+ # The region the interface should be deployed to.
31
+ #
32
+ # @return [String, nil]
33
+ optional :region_code, String
34
+
35
+ # @!attribute bgp_asn
36
+ # The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
37
+ # will be assigned by Telnyx.
38
+ #
39
+ # @return [Float]
40
+ required :bgp_asn, Float
41
+
42
+ # @!attribute cloud_provider
43
+ # The Virtual Private Cloud with which you would like to establish a cross
44
+ # connect.
45
+ #
46
+ # @return [Symbol, Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::CloudProvider]
47
+ required :cloud_provider,
48
+ enum: -> { Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::CloudProvider }
49
+
50
+ # @!attribute cloud_provider_region
51
+ # The region where your Virtual Private Cloud hosts are located.<br /><br />The
52
+ # available regions can be found using the /virtual_cross_connect_regions
53
+ # endpoint.
54
+ #
55
+ # @return [String]
56
+ required :cloud_provider_region, String
57
+
58
+ # @!attribute primary_cloud_account_id
59
+ # The identifier for your Virtual Private Cloud. The number will be different
60
+ # based upon your Cloud provider.
61
+ #
62
+ # @return [String]
63
+ required :primary_cloud_account_id, String
64
+
65
+ # @!attribute bandwidth_mbps
66
+ # The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
67
+ # Connect.<br /><br />The available bandwidths can be found using the
68
+ # /virtual_cross_connect_regions endpoint.
69
+ #
70
+ # @return [Float, nil]
71
+ optional :bandwidth_mbps, Float
72
+
73
+ # @!attribute primary_bgp_key
74
+ # The authentication key for BGP peer configuration.
75
+ #
76
+ # @return [String, nil]
77
+ optional :primary_bgp_key, String
78
+
79
+ # @!attribute primary_cloud_ip
80
+ # The IP address assigned for your side of the Virtual Cross
81
+ # Connect.<br /><br />If none is provided, one will be generated for
82
+ # you.<br /><br />This value can not be patched once the VXC has bene provisioned.
83
+ #
84
+ # @return [String, nil]
85
+ optional :primary_cloud_ip, String
86
+
87
+ # @!attribute primary_enabled
88
+ # Indicates whether the primary circuit is enabled. Setting this to `false` will
89
+ # disable the circuit.
90
+ #
91
+ # @return [Boolean, nil]
92
+ optional :primary_enabled, Telnyx::Internal::Type::Boolean
93
+
94
+ # @!attribute primary_routing_announcement
95
+ # Whether the primary BGP route is being announced.
96
+ #
97
+ # @return [Boolean, nil]
98
+ optional :primary_routing_announcement, Telnyx::Internal::Type::Boolean
99
+
100
+ # @!attribute primary_telnyx_ip
101
+ # The IP address assigned to the Telnyx side of the Virtual Cross
102
+ # Connect.<br /><br />If none is provided, one will be generated for
103
+ # you.<br /><br />This value should be null for GCE as Google will only inform you
104
+ # of your assigned IP once the connection has been accepted.
105
+ #
106
+ # @return [String, nil]
107
+ optional :primary_telnyx_ip, String
108
+
109
+ # @!attribute region
110
+ #
111
+ # @return [Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region, nil]
112
+ optional :region, -> { Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region }
113
+
114
+ # @!attribute secondary_bgp_key
115
+ # The authentication key for BGP peer configuration.
116
+ #
117
+ # @return [String, nil]
118
+ optional :secondary_bgp_key, String
119
+
120
+ # @!attribute secondary_cloud_account_id
121
+ # The identifier for your Virtual Private Cloud. The number will be different
122
+ # based upon your Cloud provider.<br /><br />This attribute is only necessary for
123
+ # GCE.
124
+ #
125
+ # @return [String, nil]
126
+ optional :secondary_cloud_account_id, String
127
+
128
+ # @!attribute secondary_cloud_ip
129
+ # The IP address assigned for your side of the Virtual Cross
130
+ # Connect.<br /><br />If none is provided, one will be generated for
131
+ # you.<br /><br />This value can not be patched once the VXC has bene provisioned.
132
+ #
133
+ # @return [String, nil]
134
+ optional :secondary_cloud_ip, String
135
+
136
+ # @!attribute secondary_enabled
137
+ # Indicates whether the secondary circuit is enabled. Setting this to `false` will
138
+ # disable the circuit.
139
+ #
140
+ # @return [Boolean, nil]
141
+ optional :secondary_enabled, Telnyx::Internal::Type::Boolean
142
+
143
+ # @!attribute secondary_routing_announcement
144
+ # Whether the secondary BGP route is being announced.
145
+ #
146
+ # @return [Boolean, nil]
147
+ optional :secondary_routing_announcement, Telnyx::Internal::Type::Boolean
148
+
149
+ # @!attribute secondary_telnyx_ip
150
+ # The IP address assigned to the Telnyx side of the Virtual Cross
151
+ # Connect.<br /><br />If none is provided, one will be generated for
152
+ # you.<br /><br />This value should be null for GCE as Google will only inform you
153
+ # of your assigned IP once the connection has been accepted.
154
+ #
155
+ # @return [String, nil]
156
+ optional :secondary_telnyx_ip, String
157
+
158
+ response_only do
159
+ # @!attribute id
160
+ # Identifies the resource.
161
+ #
162
+ # @return [String, nil]
163
+ optional :id, String
164
+
165
+ # @!attribute created_at
166
+ # ISO 8601 formatted date-time indicating when the resource was created.
167
+ #
168
+ # @return [String, nil]
169
+ optional :created_at, String
170
+
171
+ # @!attribute record_type
172
+ # Identifies the type of the resource.
173
+ #
174
+ # @return [String, nil]
175
+ optional :record_type, String
176
+
177
+ # @!attribute updated_at
178
+ # ISO 8601 formatted date-time indicating when the resource was updated.
179
+ #
180
+ # @return [String, nil]
181
+ optional :updated_at, String
182
+
183
+ # @!attribute status
184
+ # The current status of the interface deployment.
185
+ #
186
+ # @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
187
+ optional :status, enum: -> { Telnyx::InterfaceStatus }
188
+ end
189
+
190
+ # @!method initialize(bgp_asn:, cloud_provider:, cloud_provider_region:, primary_cloud_account_id:, id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region_code: nil, bandwidth_mbps: nil, primary_bgp_key: nil, primary_cloud_ip: nil, primary_enabled: nil, primary_routing_announcement: nil, primary_telnyx_ip: nil, region: nil, secondary_bgp_key: nil, secondary_cloud_account_id: nil, secondary_cloud_ip: nil, secondary_enabled: nil, secondary_routing_announcement: nil, secondary_telnyx_ip: nil)
191
+ # Some parameter documentations has been truncated, see
192
+ # {Telnyx::Models::VirtualCrossConnectDeleteResponse::Data} for more details.
193
+ #
194
+ # @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
195
+ #
196
+ # @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
197
+ #
198
+ # @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.<br /><br />The av
199
+ #
200
+ # @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
201
+ #
202
+ # @param id [String] Identifies the resource.
203
+ #
204
+ # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
205
+ #
206
+ # @param record_type [String] Identifies the type of the resource.
207
+ #
208
+ # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
209
+ #
210
+ # @param name [String] A user specified name for the interface.
211
+ #
212
+ # @param network_id [String] The id of the network associated with the interface.
213
+ #
214
+ # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
215
+ #
216
+ # @param region_code [String] The region the interface should be deployed to.
217
+ #
218
+ # @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
219
+ #
220
+ # @param primary_bgp_key [String] The authentication key for BGP peer configuration.
221
+ #
222
+ # @param primary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
223
+ #
224
+ # @param primary_enabled [Boolean] Indicates whether the primary circuit is enabled. Setting this to `false` will d
225
+ #
226
+ # @param primary_routing_announcement [Boolean] Whether the primary BGP route is being announced.
227
+ #
228
+ # @param primary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
229
+ #
230
+ # @param region [Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::Region]
231
+ #
232
+ # @param secondary_bgp_key [String] The authentication key for BGP peer configuration.
233
+ #
234
+ # @param secondary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
235
+ #
236
+ # @param secondary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
237
+ #
238
+ # @param secondary_enabled [Boolean] Indicates whether the secondary circuit is enabled. Setting this to `false` will
239
+ #
240
+ # @param secondary_routing_announcement [Boolean] Whether the secondary BGP route is being announced.
241
+ #
242
+ # @param secondary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
243
+
244
+ # The Virtual Private Cloud with which you would like to establish a cross
245
+ # connect.
246
+ #
247
+ # @see Telnyx::Models::VirtualCrossConnectDeleteResponse::Data#cloud_provider
248
+ module CloudProvider
249
+ extend Telnyx::Internal::Type::Enum
250
+
251
+ AWS = :aws
252
+ AZURE = :azure
253
+ GCE = :gce
254
+
255
+ # @!method self.values
256
+ # @return [Array<Symbol>]
257
+ end
258
+
259
+ # @see Telnyx::Models::VirtualCrossConnectDeleteResponse::Data#region
260
+ class Region < Telnyx::Internal::Type::BaseModel
261
+ # @!attribute code
262
+ # Region code of the interface.
263
+ #
264
+ # @return [String, nil]
265
+ optional :code, String
266
+
267
+ # @!attribute name
268
+ # Region name of the interface.
269
+ #
270
+ # @return [String, nil]
271
+ optional :name, String
272
+
273
+ response_only do
274
+ # @!attribute record_type
275
+ # Identifies the type of the resource.
276
+ #
277
+ # @return [String, nil]
278
+ optional :record_type, String
279
+ end
280
+
281
+ # @!method initialize(code: nil, name: nil, record_type: nil)
282
+ # @param code [String] Region code of the interface.
283
+ #
284
+ # @param name [String] Region name of the interface.
285
+ #
286
+ # @param record_type [String] Identifies the type of the resource.
287
+ end
288
+ end
14
289
  end
15
290
  end
16
291
  end