telnyx 5.26.0 → 5.28.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 (214) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/ai/mission_create_response.rb +3 -73
  5. data/lib/telnyx/models/ai/{mission_list_response.rb → mission_data.rb} +5 -5
  6. data/lib/telnyx/models/ai/mission_retrieve_response.rb +3 -73
  7. data/lib/telnyx/models/ai/mission_update_mission_response.rb +3 -74
  8. data/lib/telnyx/models/ai/missions/{run_list_response.rb → mission_run_data.rb} +7 -5
  9. data/lib/telnyx/models/ai/missions/run_cancel_run_response.rb +3 -89
  10. data/lib/telnyx/models/ai/missions/run_create_response.rb +3 -89
  11. data/lib/telnyx/models/ai/missions/run_pause_run_response.rb +3 -89
  12. data/lib/telnyx/models/ai/missions/run_resume_run_response.rb +3 -89
  13. data/lib/telnyx/models/ai/missions/run_retrieve_response.rb +3 -89
  14. data/lib/telnyx/models/ai/missions/run_update_response.rb +3 -89
  15. data/lib/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rb +3 -77
  16. data/lib/telnyx/models/ai/missions/runs/plan_create_response.rb +3 -76
  17. data/lib/telnyx/models/ai/missions/runs/plan_get_step_details_response.rb +3 -77
  18. data/lib/telnyx/models/ai/missions/runs/plan_retrieve_response.rb +3 -76
  19. data/lib/telnyx/models/ai/missions/runs/plan_step_data.rb +83 -0
  20. data/lib/telnyx/models/ai/missions/runs/plan_update_step_response.rb +3 -76
  21. data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +4 -39
  22. data/lib/telnyx/models/calls/action_speak_params.rb +4 -39
  23. data/lib/telnyx/models/conferences/action_speak_params.rb +4 -39
  24. data/lib/telnyx/models/global_ip_assignment.rb +1 -0
  25. data/lib/telnyx/models/global_ip_assignment_create_response.rb +2 -2
  26. data/lib/telnyx/models/global_ip_assignment_delete_response.rb +2 -2
  27. data/lib/telnyx/models/global_ip_assignment_retrieve_response.rb +2 -2
  28. data/lib/telnyx/models/global_ip_assignment_update_params.rb +1 -1
  29. data/lib/telnyx/models/global_ip_assignment_update_response.rb +2 -2
  30. data/lib/telnyx/models/global_ip_create_response.rb +2 -34
  31. data/lib/telnyx/models/global_ip_delete_response.rb +2 -34
  32. data/lib/telnyx/models/global_ip_health_check_create_response.rb +2 -36
  33. data/lib/telnyx/models/global_ip_health_check_delete_response.rb +2 -36
  34. data/lib/telnyx/models/global_ip_health_check_list_response.rb +2 -36
  35. data/lib/telnyx/models/global_ip_health_check_retrieve_response.rb +2 -36
  36. data/lib/telnyx/models/global_ip_list_response.rb +2 -34
  37. data/lib/telnyx/models/global_ip_retrieve_response.rb +2 -34
  38. data/lib/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rb +24 -0
  39. data/lib/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rb +82 -0
  40. data/lib/telnyx/models/minimax_voice_settings.rb +52 -0
  41. data/lib/telnyx/models/network_create.rb +2 -36
  42. data/lib/telnyx/models/network_create_response.rb +2 -36
  43. data/lib/telnyx/models/network_delete_response.rb +2 -36
  44. data/lib/telnyx/models/network_list_interfaces_response.rb +2 -112
  45. data/lib/telnyx/models/network_list_response.rb +2 -36
  46. data/lib/telnyx/models/network_retrieve_response.rb +2 -36
  47. data/lib/telnyx/models/network_update_response.rb +2 -36
  48. data/lib/telnyx/models/networks/default_gateway_create_response.rb +2 -34
  49. data/lib/telnyx/models/networks/default_gateway_delete_response.rb +2 -34
  50. data/lib/telnyx/models/networks/default_gateway_retrieve_response.rb +2 -34
  51. data/lib/telnyx/models/public_internet_gateway_create_response.rb +2 -75
  52. data/lib/telnyx/models/public_internet_gateway_delete_response.rb +2 -75
  53. data/lib/telnyx/models/public_internet_gateway_list_response.rb +2 -75
  54. data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +2 -75
  55. data/lib/telnyx/models/record.rb +42 -0
  56. data/lib/telnyx/models/virtual_cross_connect_create_response.rb +272 -2
  57. data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +272 -2
  58. data/lib/telnyx/models/virtual_cross_connect_list_response.rb +271 -2
  59. data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +272 -2
  60. data/lib/telnyx/models/virtual_cross_connect_update_response.rb +272 -2
  61. data/lib/telnyx/models/wireguard_interface_create_response.rb +2 -128
  62. data/lib/telnyx/models/wireguard_interface_delete_response.rb +2 -128
  63. data/lib/telnyx/models/wireguard_interface_list_response.rb +2 -128
  64. data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +2 -128
  65. data/lib/telnyx/models/wireguard_peer_create_response.rb +75 -2
  66. data/lib/telnyx/models/wireguard_peer_delete_response.rb +75 -2
  67. data/lib/telnyx/models/wireguard_peer_list_response.rb +75 -2
  68. data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +75 -2
  69. data/lib/telnyx/models/wireguard_peer_update_response.rb +75 -2
  70. data/lib/telnyx/models.rb +4 -0
  71. data/lib/telnyx/resources/ai/missions/runs.rb +4 -4
  72. data/lib/telnyx/resources/ai/missions.rb +2 -2
  73. data/lib/telnyx/resources/calls/actions.rb +2 -2
  74. data/lib/telnyx/resources/conferences/actions.rb +1 -1
  75. data/lib/telnyx/resources/global_ip_assignments.rb +1 -1
  76. data/lib/telnyx/resources/messaging_10dlc/brand.rb +35 -0
  77. data/lib/telnyx/version.rb +1 -1
  78. data/lib/telnyx.rb +8 -4
  79. data/rbi/telnyx/models/ai/mission_create_response.rbi +6 -147
  80. data/rbi/telnyx/models/ai/{mission_list_response.rbi → mission_data.rbi} +9 -22
  81. data/rbi/telnyx/models/ai/mission_retrieve_response.rbi +6 -147
  82. data/rbi/telnyx/models/ai/mission_update_mission_response.rbi +6 -147
  83. data/rbi/telnyx/models/ai/missions/{run_list_response.rbi → mission_run_data.rbi} +15 -19
  84. data/rbi/telnyx/models/ai/missions/run_cancel_run_response.rbi +6 -185
  85. data/rbi/telnyx/models/ai/missions/run_create_response.rbi +6 -183
  86. data/rbi/telnyx/models/ai/missions/run_pause_run_response.rbi +6 -185
  87. data/rbi/telnyx/models/ai/missions/run_resume_run_response.rbi +6 -185
  88. data/rbi/telnyx/models/ai/missions/run_retrieve_response.rbi +6 -185
  89. data/rbi/telnyx/models/ai/missions/run_update_response.rbi +6 -183
  90. data/rbi/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rbi +3 -165
  91. data/rbi/telnyx/models/ai/missions/runs/plan_create_response.rbi +3 -165
  92. data/rbi/telnyx/models/ai/missions/runs/plan_get_step_details_response.rbi +4 -161
  93. data/rbi/telnyx/models/ai/missions/runs/plan_retrieve_response.rbi +3 -165
  94. data/rbi/telnyx/models/ai/missions/runs/plan_step_data.rbi +159 -0
  95. data/rbi/telnyx/models/ai/missions/runs/plan_update_step_response.rbi +4 -161
  96. data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +5 -68
  97. data/rbi/telnyx/models/calls/action_speak_params.rbi +5 -68
  98. data/rbi/telnyx/models/conferences/action_speak_params.rbi +5 -68
  99. data/rbi/telnyx/models/global_ip_assignment_update_params.rbi +2 -11
  100. data/rbi/telnyx/models/global_ip_create_response.rbi +1 -45
  101. data/rbi/telnyx/models/global_ip_delete_response.rbi +1 -45
  102. data/rbi/telnyx/models/global_ip_health_check_create_response.rbi +1 -45
  103. data/rbi/telnyx/models/global_ip_health_check_delete_response.rbi +1 -45
  104. data/rbi/telnyx/models/global_ip_health_check_list_response.rbi +1 -45
  105. data/rbi/telnyx/models/global_ip_health_check_retrieve_response.rbi +1 -45
  106. data/rbi/telnyx/models/global_ip_list_response.rbi +1 -45
  107. data/rbi/telnyx/models/global_ip_retrieve_response.rbi +1 -45
  108. data/rbi/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rbi +48 -0
  109. data/rbi/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rbi +110 -0
  110. data/rbi/telnyx/models/minimax_voice_settings.rbi +90 -0
  111. data/rbi/telnyx/models/network_create.rbi +4 -58
  112. data/rbi/telnyx/models/network_create_response.rbi +3 -57
  113. data/rbi/telnyx/models/network_delete_response.rbi +3 -57
  114. data/rbi/telnyx/models/network_list_interfaces_response.rbi +4 -181
  115. data/rbi/telnyx/models/network_list_response.rbi +3 -57
  116. data/rbi/telnyx/models/network_retrieve_response.rbi +3 -57
  117. data/rbi/telnyx/models/network_update_response.rbi +3 -57
  118. data/rbi/telnyx/models/networks/default_gateway_create_response.rbi +1 -45
  119. data/rbi/telnyx/models/networks/default_gateway_delete_response.rbi +1 -45
  120. data/rbi/telnyx/models/networks/default_gateway_retrieve_response.rbi +1 -45
  121. data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +4 -112
  122. data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +4 -112
  123. data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +4 -112
  124. data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +4 -112
  125. data/rbi/telnyx/models/record.rbi +70 -0
  126. data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +449 -4
  127. data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +449 -4
  128. data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -4
  129. data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +449 -4
  130. data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +449 -4
  131. data/rbi/telnyx/models/wireguard_interface_create_response.rbi +4 -210
  132. data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +4 -210
  133. data/rbi/telnyx/models/wireguard_interface_list_response.rbi +4 -204
  134. data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +4 -210
  135. data/rbi/telnyx/models/wireguard_peer_create_response.rbi +111 -4
  136. data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +111 -4
  137. data/rbi/telnyx/models/wireguard_peer_list_response.rbi +111 -4
  138. data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +111 -4
  139. data/rbi/telnyx/models/wireguard_peer_update_response.rbi +111 -4
  140. data/rbi/telnyx/models.rbi +4 -0
  141. data/rbi/telnyx/resources/ai/missions/runs.rbi +2 -2
  142. data/rbi/telnyx/resources/ai/missions.rbi +1 -3
  143. data/rbi/telnyx/resources/calls/actions.rbi +2 -2
  144. data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
  145. data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +30 -0
  146. data/sig/telnyx/models/ai/mission_create_response.rbs +4 -85
  147. data/sig/telnyx/models/ai/{mission_list_response.rbs → mission_data.rbs} +7 -7
  148. data/sig/telnyx/models/ai/mission_retrieve_response.rbs +4 -85
  149. data/sig/telnyx/models/ai/mission_update_mission_response.rbs +4 -85
  150. data/sig/telnyx/models/ai/missions/{run_list_response.rbs → mission_run_data.rbs} +9 -7
  151. data/sig/telnyx/models/ai/missions/run_cancel_run_response.rbs +4 -103
  152. data/sig/telnyx/models/ai/missions/run_create_response.rbs +4 -103
  153. data/sig/telnyx/models/ai/missions/run_pause_run_response.rbs +4 -103
  154. data/sig/telnyx/models/ai/missions/run_resume_run_response.rbs +4 -103
  155. data/sig/telnyx/models/ai/missions/run_retrieve_response.rbs +4 -103
  156. data/sig/telnyx/models/ai/missions/run_update_response.rbs +4 -103
  157. data/sig/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rbs +4 -86
  158. data/sig/telnyx/models/ai/missions/runs/plan_create_response.rbs +4 -86
  159. data/sig/telnyx/models/ai/missions/runs/plan_get_step_details_response.rbs +4 -88
  160. data/sig/telnyx/models/ai/missions/runs/plan_retrieve_response.rbs +4 -86
  161. data/sig/telnyx/models/ai/missions/runs/plan_step_data.rbs +89 -0
  162. data/sig/telnyx/models/ai/missions/runs/plan_update_step_response.rbs +4 -88
  163. data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -34
  164. data/sig/telnyx/models/calls/action_speak_params.rbs +1 -34
  165. data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -34
  166. data/sig/telnyx/models/global_ip_assignment_update_params.rbs +3 -17
  167. data/sig/telnyx/models/global_ip_create_response.rbs +9 -37
  168. data/sig/telnyx/models/global_ip_delete_response.rbs +9 -37
  169. data/sig/telnyx/models/global_ip_health_check_create_response.rbs +7 -35
  170. data/sig/telnyx/models/global_ip_health_check_delete_response.rbs +7 -35
  171. data/sig/telnyx/models/global_ip_health_check_list_response.rbs +7 -35
  172. data/sig/telnyx/models/global_ip_health_check_retrieve_response.rbs +7 -35
  173. data/sig/telnyx/models/global_ip_list_response.rbs +9 -37
  174. data/sig/telnyx/models/global_ip_retrieve_response.rbs +9 -37
  175. data/sig/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rbs +27 -0
  176. data/sig/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rbs +63 -0
  177. data/sig/telnyx/models/minimax_voice_settings.rbs +51 -0
  178. data/sig/telnyx/models/network_create.rbs +6 -39
  179. data/sig/telnyx/models/network_create_response.rbs +6 -41
  180. data/sig/telnyx/models/network_delete_response.rbs +6 -41
  181. data/sig/telnyx/models/network_list_interfaces_response.rbs +4 -106
  182. data/sig/telnyx/models/network_list_response.rbs +6 -41
  183. data/sig/telnyx/models/network_retrieve_response.rbs +6 -41
  184. data/sig/telnyx/models/network_update_response.rbs +6 -41
  185. data/sig/telnyx/models/networks/default_gateway_create_response.rbs +7 -35
  186. data/sig/telnyx/models/networks/default_gateway_delete_response.rbs +7 -35
  187. data/sig/telnyx/models/networks/default_gateway_retrieve_response.rbs +7 -35
  188. data/sig/telnyx/models/public_internet_gateway_create_response.rbs +4 -73
  189. data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +4 -73
  190. data/sig/telnyx/models/public_internet_gateway_list_response.rbs +4 -73
  191. data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +4 -73
  192. data/sig/telnyx/models/record.rbs +43 -0
  193. data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +225 -4
  194. data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +225 -4
  195. data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +225 -4
  196. data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +225 -4
  197. data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +225 -4
  198. data/sig/telnyx/models/wireguard_interface_create_response.rbs +4 -120
  199. data/sig/telnyx/models/wireguard_interface_delete_response.rbs +4 -120
  200. data/sig/telnyx/models/wireguard_interface_list_response.rbs +4 -120
  201. data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +4 -120
  202. data/sig/telnyx/models/wireguard_peer_create_response.rbs +64 -4
  203. data/sig/telnyx/models/wireguard_peer_delete_response.rbs +64 -4
  204. data/sig/telnyx/models/wireguard_peer_list_response.rbs +64 -4
  205. data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +64 -4
  206. data/sig/telnyx/models/wireguard_peer_update_response.rbs +64 -4
  207. data/sig/telnyx/models.rbs +4 -0
  208. data/sig/telnyx/resources/ai/missions/runs.rbs +2 -2
  209. data/sig/telnyx/resources/ai/missions.rbs +1 -1
  210. data/sig/telnyx/resources/messaging_10dlc/brand.rbs +6 -0
  211. metadata +23 -11
  212. data/lib/telnyx/models/ai/missions/run_list_runs_response.rb +0 -95
  213. data/rbi/telnyx/models/ai/missions/run_list_runs_response.rbi +0 -180
  214. data/sig/telnyx/models/ai/missions/run_list_runs_response.rbs +0 -102
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Telnyx
4
+ module Models
5
+ class Record < Telnyx::Internal::Type::BaseModel
6
+ response_only do
7
+ # @!attribute id
8
+ # Identifies the resource.
9
+ #
10
+ # @return [String, nil]
11
+ optional :id, String
12
+
13
+ # @!attribute created_at
14
+ # ISO 8601 formatted date-time indicating when the resource was created.
15
+ #
16
+ # @return [String, nil]
17
+ optional :created_at, String
18
+
19
+ # @!attribute record_type
20
+ # Identifies the type of the resource.
21
+ #
22
+ # @return [String, nil]
23
+ optional :record_type, String
24
+
25
+ # @!attribute updated_at
26
+ # ISO 8601 formatted date-time indicating when the resource was updated.
27
+ #
28
+ # @return [String, nil]
29
+ optional :updated_at, String
30
+ end
31
+
32
+ # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil)
33
+ # @param id [String] Identifies the resource.
34
+ #
35
+ # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
36
+ #
37
+ # @param record_type [String] Identifies the type of the resource.
38
+ #
39
+ # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
40
+ end
41
+ end
42
+ end
@@ -13,8 +13,278 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::VirtualCrossConnectCreateResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::VirtualCrossConnectCreateResponse#data
16
- class Data < Telnyx::Models::NetworkInterfaceRegion
17
- # @!method initialize
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 bandwidth_mbps
36
+ # The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
37
+ # Connect.<br /><br />The available bandwidths can be found using the
38
+ # /virtual_cross_connect_regions endpoint.
39
+ #
40
+ # @return [Float, nil]
41
+ optional :bandwidth_mbps, Float
42
+
43
+ # @!attribute bgp_asn
44
+ # The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
45
+ # will be assigned by Telnyx.
46
+ #
47
+ # @return [Float, nil]
48
+ optional :bgp_asn, Float
49
+
50
+ # @!attribute cloud_provider
51
+ # The Virtual Private Cloud with which you would like to establish a cross
52
+ # connect.
53
+ #
54
+ # @return [Symbol, Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider, nil]
55
+ optional :cloud_provider,
56
+ enum: -> { Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider }
57
+
58
+ # @!attribute cloud_provider_region
59
+ # The region where your Virtual Private Cloud hosts are located.<br /><br />The
60
+ # available regions can be found using the /virtual_cross_connect_regions
61
+ # endpoint.
62
+ #
63
+ # @return [String, nil]
64
+ optional :cloud_provider_region, String
65
+
66
+ # @!attribute primary_bgp_key
67
+ # The authentication key for BGP peer configuration.
68
+ #
69
+ # @return [String, nil]
70
+ optional :primary_bgp_key, String
71
+
72
+ # @!attribute primary_cloud_account_id
73
+ # The identifier for your Virtual Private Cloud. The number will be different
74
+ # based upon your Cloud provider.
75
+ #
76
+ # @return [String, nil]
77
+ optional :primary_cloud_account_id, 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(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region_code: nil, bandwidth_mbps: nil, bgp_asn: nil, cloud_provider: nil, cloud_provider_region: nil, primary_bgp_key: nil, primary_cloud_account_id: 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 id [String] Identifies the resource.
195
+ #
196
+ # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
197
+ #
198
+ # @param record_type [String] Identifies the type of the resource.
199
+ #
200
+ # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
201
+ #
202
+ # @param name [String] A user specified name for the interface.
203
+ #
204
+ # @param network_id [String] The id of the network associated with the interface.
205
+ #
206
+ # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
207
+ #
208
+ # @param region_code [String] The region the interface should be deployed to.
209
+ #
210
+ # @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
211
+ #
212
+ # @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
213
+ #
214
+ # @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectCreateResponse::Data::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
215
+ #
216
+ # @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.<br /><br />The av
217
+ #
218
+ # @param primary_bgp_key [String] The authentication key for BGP peer configuration.
219
+ #
220
+ # @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
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
18
288
  end
19
289
  end
20
290
  end
@@ -13,8 +13,278 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::VirtualCrossConnectDeleteResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::VirtualCrossConnectDeleteResponse#data
16
- class Data < Telnyx::Models::NetworkInterfaceRegion
17
- # @!method initialize
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 bandwidth_mbps
36
+ # The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
37
+ # Connect.<br /><br />The available bandwidths can be found using the
38
+ # /virtual_cross_connect_regions endpoint.
39
+ #
40
+ # @return [Float, nil]
41
+ optional :bandwidth_mbps, Float
42
+
43
+ # @!attribute bgp_asn
44
+ # The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
45
+ # will be assigned by Telnyx.
46
+ #
47
+ # @return [Float, nil]
48
+ optional :bgp_asn, Float
49
+
50
+ # @!attribute cloud_provider
51
+ # The Virtual Private Cloud with which you would like to establish a cross
52
+ # connect.
53
+ #
54
+ # @return [Symbol, Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::CloudProvider, nil]
55
+ optional :cloud_provider,
56
+ enum: -> { Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::CloudProvider }
57
+
58
+ # @!attribute cloud_provider_region
59
+ # The region where your Virtual Private Cloud hosts are located.<br /><br />The
60
+ # available regions can be found using the /virtual_cross_connect_regions
61
+ # endpoint.
62
+ #
63
+ # @return [String, nil]
64
+ optional :cloud_provider_region, String
65
+
66
+ # @!attribute primary_bgp_key
67
+ # The authentication key for BGP peer configuration.
68
+ #
69
+ # @return [String, nil]
70
+ optional :primary_bgp_key, String
71
+
72
+ # @!attribute primary_cloud_account_id
73
+ # The identifier for your Virtual Private Cloud. The number will be different
74
+ # based upon your Cloud provider.
75
+ #
76
+ # @return [String, nil]
77
+ optional :primary_cloud_account_id, 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(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region_code: nil, bandwidth_mbps: nil, bgp_asn: nil, cloud_provider: nil, cloud_provider_region: nil, primary_bgp_key: nil, primary_cloud_account_id: 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 id [String] Identifies the resource.
195
+ #
196
+ # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
197
+ #
198
+ # @param record_type [String] Identifies the type of the resource.
199
+ #
200
+ # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
201
+ #
202
+ # @param name [String] A user specified name for the interface.
203
+ #
204
+ # @param network_id [String] The id of the network associated with the interface.
205
+ #
206
+ # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
207
+ #
208
+ # @param region_code [String] The region the interface should be deployed to.
209
+ #
210
+ # @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
211
+ #
212
+ # @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
213
+ #
214
+ # @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectDeleteResponse::Data::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
215
+ #
216
+ # @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.<br /><br />The av
217
+ #
218
+ # @param primary_bgp_key [String] The authentication key for BGP peer configuration.
219
+ #
220
+ # @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
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
18
288
  end
19
289
  end
20
290
  end