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
@@ -3,8 +3,277 @@
3
3
  module Telnyx
4
4
  module Models
5
5
  # @see Telnyx::Resources::VirtualCrossConnects#list
6
- class VirtualCrossConnectListResponse < Telnyx::Models::NetworkInterfaceRegion
7
- # @!method initialize
6
+ class VirtualCrossConnectListResponse < Telnyx::Internal::Type::BaseModel
7
+ # @!attribute name
8
+ # A user specified name for the interface.
9
+ #
10
+ # @return [String, nil]
11
+ optional :name, String
12
+
13
+ # @!attribute network_id
14
+ # The id of the network associated with the interface.
15
+ #
16
+ # @return [String, nil]
17
+ optional :network_id, String
18
+
19
+ # @!attribute region_code
20
+ # The region the interface should be deployed to.
21
+ #
22
+ # @return [String, nil]
23
+ optional :region_code, String
24
+
25
+ # @!attribute bandwidth_mbps
26
+ # The desired throughput in Megabits per Second (Mbps) for your Virtual Cross
27
+ # Connect.<br /><br />The available bandwidths can be found using the
28
+ # /virtual_cross_connect_regions endpoint.
29
+ #
30
+ # @return [Float, nil]
31
+ optional :bandwidth_mbps, Float
32
+
33
+ # @!attribute bgp_asn
34
+ # The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
35
+ # will be assigned by Telnyx.
36
+ #
37
+ # @return [Float, nil]
38
+ optional :bgp_asn, Float
39
+
40
+ # @!attribute cloud_provider
41
+ # The Virtual Private Cloud with which you would like to establish a cross
42
+ # connect.
43
+ #
44
+ # @return [Symbol, Telnyx::Models::VirtualCrossConnectListResponse::CloudProvider, nil]
45
+ optional :cloud_provider, enum: -> { Telnyx::Models::VirtualCrossConnectListResponse::CloudProvider }
46
+
47
+ # @!attribute cloud_provider_region
48
+ # The region where your Virtual Private Cloud hosts are located.<br /><br />The
49
+ # available regions can be found using the /virtual_cross_connect_regions
50
+ # endpoint.
51
+ #
52
+ # @return [String, nil]
53
+ optional :cloud_provider_region, String
54
+
55
+ # @!attribute primary_bgp_key
56
+ # The authentication key for BGP peer configuration.
57
+ #
58
+ # @return [String, nil]
59
+ optional :primary_bgp_key, String
60
+
61
+ # @!attribute primary_cloud_account_id
62
+ # The identifier for your Virtual Private Cloud. The number will be different
63
+ # based upon your Cloud provider.
64
+ #
65
+ # @return [String, nil]
66
+ optional :primary_cloud_account_id, String
67
+
68
+ # @!attribute primary_cloud_ip
69
+ # The IP address assigned for your side of the Virtual Cross
70
+ # Connect.<br /><br />If none is provided, one will be generated for
71
+ # you.<br /><br />This value can not be patched once the VXC has bene provisioned.
72
+ #
73
+ # @return [String, nil]
74
+ optional :primary_cloud_ip, String
75
+
76
+ # @!attribute primary_enabled
77
+ # Indicates whether the primary circuit is enabled. Setting this to `false` will
78
+ # disable the circuit.
79
+ #
80
+ # @return [Boolean, nil]
81
+ optional :primary_enabled, Telnyx::Internal::Type::Boolean
82
+
83
+ # @!attribute primary_routing_announcement
84
+ # Whether the primary BGP route is being announced.
85
+ #
86
+ # @return [Boolean, nil]
87
+ optional :primary_routing_announcement, Telnyx::Internal::Type::Boolean
88
+
89
+ # @!attribute primary_telnyx_ip
90
+ # The IP address assigned to the Telnyx side of the Virtual Cross
91
+ # Connect.<br /><br />If none is provided, one will be generated for
92
+ # you.<br /><br />This value should be null for GCE as Google will only inform you
93
+ # of your assigned IP once the connection has been accepted.
94
+ #
95
+ # @return [String, nil]
96
+ optional :primary_telnyx_ip, String
97
+
98
+ # @!attribute region
99
+ #
100
+ # @return [Telnyx::Models::VirtualCrossConnectListResponse::Region, nil]
101
+ optional :region, -> { Telnyx::Models::VirtualCrossConnectListResponse::Region }
102
+
103
+ # @!attribute secondary_bgp_key
104
+ # The authentication key for BGP peer configuration.
105
+ #
106
+ # @return [String, nil]
107
+ optional :secondary_bgp_key, String
108
+
109
+ # @!attribute secondary_cloud_account_id
110
+ # The identifier for your Virtual Private Cloud. The number will be different
111
+ # based upon your Cloud provider.<br /><br />This attribute is only necessary for
112
+ # GCE.
113
+ #
114
+ # @return [String, nil]
115
+ optional :secondary_cloud_account_id, String
116
+
117
+ # @!attribute secondary_cloud_ip
118
+ # The IP address assigned for your side of the Virtual Cross
119
+ # Connect.<br /><br />If none is provided, one will be generated for
120
+ # you.<br /><br />This value can not be patched once the VXC has bene provisioned.
121
+ #
122
+ # @return [String, nil]
123
+ optional :secondary_cloud_ip, String
124
+
125
+ # @!attribute secondary_enabled
126
+ # Indicates whether the secondary circuit is enabled. Setting this to `false` will
127
+ # disable the circuit.
128
+ #
129
+ # @return [Boolean, nil]
130
+ optional :secondary_enabled, Telnyx::Internal::Type::Boolean
131
+
132
+ # @!attribute secondary_routing_announcement
133
+ # Whether the secondary BGP route is being announced.
134
+ #
135
+ # @return [Boolean, nil]
136
+ optional :secondary_routing_announcement, Telnyx::Internal::Type::Boolean
137
+
138
+ # @!attribute secondary_telnyx_ip
139
+ # The IP address assigned to the Telnyx side of the Virtual Cross
140
+ # Connect.<br /><br />If none is provided, one will be generated for
141
+ # you.<br /><br />This value should be null for GCE as Google will only inform you
142
+ # of your assigned IP once the connection has been accepted.
143
+ #
144
+ # @return [String, nil]
145
+ optional :secondary_telnyx_ip, String
146
+
147
+ response_only do
148
+ # @!attribute id
149
+ # Identifies the resource.
150
+ #
151
+ # @return [String, nil]
152
+ optional :id, String
153
+
154
+ # @!attribute created_at
155
+ # ISO 8601 formatted date-time indicating when the resource was created.
156
+ #
157
+ # @return [String, nil]
158
+ optional :created_at, String
159
+
160
+ # @!attribute record_type
161
+ # Identifies the type of the resource.
162
+ #
163
+ # @return [String, nil]
164
+ optional :record_type, String
165
+
166
+ # @!attribute updated_at
167
+ # ISO 8601 formatted date-time indicating when the resource was updated.
168
+ #
169
+ # @return [String, nil]
170
+ optional :updated_at, String
171
+
172
+ # @!attribute status
173
+ # The current status of the interface deployment.
174
+ #
175
+ # @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
176
+ optional :status, enum: -> { Telnyx::InterfaceStatus }
177
+ end
178
+
179
+ # @!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)
180
+ # Some parameter documentations has been truncated, see
181
+ # {Telnyx::Models::VirtualCrossConnectListResponse} for more details.
182
+ #
183
+ # @param id [String] Identifies the resource.
184
+ #
185
+ # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
186
+ #
187
+ # @param record_type [String] Identifies the type of the resource.
188
+ #
189
+ # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
190
+ #
191
+ # @param name [String] A user specified name for the interface.
192
+ #
193
+ # @param network_id [String] The id of the network associated with the interface.
194
+ #
195
+ # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
196
+ #
197
+ # @param region_code [String] The region the interface should be deployed to.
198
+ #
199
+ # @param bandwidth_mbps [Float] The desired throughput in Megabits per Second (Mbps) for your Virtual Cross Conn
200
+ #
201
+ # @param bgp_asn [Float] The Border Gateway Protocol (BGP) Autonomous System Number (ASN). If null, value
202
+ #
203
+ # @param cloud_provider [Symbol, Telnyx::Models::VirtualCrossConnectListResponse::CloudProvider] The Virtual Private Cloud with which you would like to establish a cross connect
204
+ #
205
+ # @param cloud_provider_region [String] The region where your Virtual Private Cloud hosts are located.<br /><br />The av
206
+ #
207
+ # @param primary_bgp_key [String] The authentication key for BGP peer configuration.
208
+ #
209
+ # @param primary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
210
+ #
211
+ # @param primary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
212
+ #
213
+ # @param primary_enabled [Boolean] Indicates whether the primary circuit is enabled. Setting this to `false` will d
214
+ #
215
+ # @param primary_routing_announcement [Boolean] Whether the primary BGP route is being announced.
216
+ #
217
+ # @param primary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
218
+ #
219
+ # @param region [Telnyx::Models::VirtualCrossConnectListResponse::Region]
220
+ #
221
+ # @param secondary_bgp_key [String] The authentication key for BGP peer configuration.
222
+ #
223
+ # @param secondary_cloud_account_id [String] The identifier for your Virtual Private Cloud. The number will be different base
224
+ #
225
+ # @param secondary_cloud_ip [String] The IP address assigned for your side of the Virtual Cross Connect.<br /><br />I
226
+ #
227
+ # @param secondary_enabled [Boolean] Indicates whether the secondary circuit is enabled. Setting this to `false` will
228
+ #
229
+ # @param secondary_routing_announcement [Boolean] Whether the secondary BGP route is being announced.
230
+ #
231
+ # @param secondary_telnyx_ip [String] The IP address assigned to the Telnyx side of the Virtual Cross Connect.<br /><b
232
+
233
+ # The Virtual Private Cloud with which you would like to establish a cross
234
+ # connect.
235
+ #
236
+ # @see Telnyx::Models::VirtualCrossConnectListResponse#cloud_provider
237
+ module CloudProvider
238
+ extend Telnyx::Internal::Type::Enum
239
+
240
+ AWS = :aws
241
+ AZURE = :azure
242
+ GCE = :gce
243
+
244
+ # @!method self.values
245
+ # @return [Array<Symbol>]
246
+ end
247
+
248
+ # @see Telnyx::Models::VirtualCrossConnectListResponse#region
249
+ class Region < Telnyx::Internal::Type::BaseModel
250
+ # @!attribute code
251
+ # Region code of the interface.
252
+ #
253
+ # @return [String, nil]
254
+ optional :code, String
255
+
256
+ # @!attribute name
257
+ # Region name of the interface.
258
+ #
259
+ # @return [String, nil]
260
+ optional :name, String
261
+
262
+ response_only do
263
+ # @!attribute record_type
264
+ # Identifies the type of the resource.
265
+ #
266
+ # @return [String, nil]
267
+ optional :record_type, String
268
+ end
269
+
270
+ # @!method initialize(code: nil, name: nil, record_type: nil)
271
+ # @param code [String] Region code of the interface.
272
+ #
273
+ # @param name [String] Region name of the interface.
274
+ #
275
+ # @param record_type [String] Identifies the type of the resource.
276
+ end
8
277
  end
9
278
  end
10
279
  end
@@ -13,8 +13,278 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::VirtualCrossConnectRetrieveResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::VirtualCrossConnectRetrieveResponse#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::VirtualCrossConnectRetrieveResponse::Data::CloudProvider, nil]
55
+ optional :cloud_provider,
56
+ enum: -> { Telnyx::Models::VirtualCrossConnectRetrieveResponse::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::VirtualCrossConnectRetrieveResponse::Data::Region, nil]
112
+ optional :region, -> { Telnyx::Models::VirtualCrossConnectRetrieveResponse::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::VirtualCrossConnectRetrieveResponse::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::VirtualCrossConnectRetrieveResponse::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::VirtualCrossConnectRetrieveResponse::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::VirtualCrossConnectRetrieveResponse::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::VirtualCrossConnectRetrieveResponse::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