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,48 +3,14 @@
3
3
  module Telnyx
4
4
  module Models
5
5
  # @see Telnyx::Resources::Networks#list
6
- class NetworkListResponse < Telnyx::Internal::Type::BaseModel
6
+ class NetworkListResponse < Telnyx::Models::Record
7
7
  # @!attribute name
8
8
  # A user specified name for the network.
9
9
  #
10
10
  # @return [String, nil]
11
11
  optional :name, String
12
12
 
13
- response_only do
14
- # @!attribute id
15
- # Identifies the resource.
16
- #
17
- # @return [String, nil]
18
- optional :id, String
19
-
20
- # @!attribute created_at
21
- # ISO 8601 formatted date-time indicating when the resource was created.
22
- #
23
- # @return [String, nil]
24
- optional :created_at, String
25
-
26
- # @!attribute record_type
27
- # Identifies the type of the resource.
28
- #
29
- # @return [String, nil]
30
- optional :record_type, String
31
-
32
- # @!attribute updated_at
33
- # ISO 8601 formatted date-time indicating when the resource was updated.
34
- #
35
- # @return [String, nil]
36
- optional :updated_at, String
37
- end
38
-
39
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil)
40
- # @param id [String] Identifies the resource.
41
- #
42
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
43
- #
44
- # @param record_type [String] Identifies the type of the resource.
45
- #
46
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
47
- #
13
+ # @!method initialize(name: nil)
48
14
  # @param name [String] A user specified name for the network.
49
15
  end
50
16
  end
@@ -13,48 +13,14 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::NetworkRetrieveResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::NetworkRetrieveResponse#data
16
- class Data < Telnyx::Internal::Type::BaseModel
16
+ class Data < Telnyx::Models::Record
17
17
  # @!attribute name
18
18
  # A user specified name for the network.
19
19
  #
20
20
  # @return [String, nil]
21
21
  optional :name, String
22
22
 
23
- response_only do
24
- # @!attribute id
25
- # Identifies the resource.
26
- #
27
- # @return [String, nil]
28
- optional :id, String
29
-
30
- # @!attribute created_at
31
- # ISO 8601 formatted date-time indicating when the resource was created.
32
- #
33
- # @return [String, nil]
34
- optional :created_at, String
35
-
36
- # @!attribute record_type
37
- # Identifies the type of the resource.
38
- #
39
- # @return [String, nil]
40
- optional :record_type, String
41
-
42
- # @!attribute updated_at
43
- # ISO 8601 formatted date-time indicating when the resource was updated.
44
- #
45
- # @return [String, nil]
46
- optional :updated_at, String
47
- end
48
-
49
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil)
50
- # @param id [String] Identifies the resource.
51
- #
52
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
53
- #
54
- # @param record_type [String] Identifies the type of the resource.
55
- #
56
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
57
- #
23
+ # @!method initialize(name: nil)
58
24
  # @param name [String] A user specified name for the network.
59
25
  end
60
26
  end
@@ -13,48 +13,14 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::NetworkUpdateResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::NetworkUpdateResponse#data
16
- class Data < Telnyx::Internal::Type::BaseModel
16
+ class Data < Telnyx::Models::Record
17
17
  # @!attribute name
18
18
  # A user specified name for the network.
19
19
  #
20
20
  # @return [String, nil]
21
21
  optional :name, String
22
22
 
23
- response_only do
24
- # @!attribute id
25
- # Identifies the resource.
26
- #
27
- # @return [String, nil]
28
- optional :id, String
29
-
30
- # @!attribute created_at
31
- # ISO 8601 formatted date-time indicating when the resource was created.
32
- #
33
- # @return [String, nil]
34
- optional :created_at, String
35
-
36
- # @!attribute record_type
37
- # Identifies the type of the resource.
38
- #
39
- # @return [String, nil]
40
- optional :record_type, String
41
-
42
- # @!attribute updated_at
43
- # ISO 8601 formatted date-time indicating when the resource was updated.
44
- #
45
- # @return [String, nil]
46
- optional :updated_at, String
47
- end
48
-
49
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil)
50
- # @param id [String] Identifies the resource.
51
- #
52
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
53
- #
54
- # @param record_type [String] Identifies the type of the resource.
55
- #
56
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
57
- #
23
+ # @!method initialize(name: nil)
58
24
  # @param name [String] A user specified name for the network.
59
25
  end
60
26
  end
@@ -20,7 +20,7 @@ module Telnyx
20
20
  # @param data [Array<Telnyx::Models::Networks::DefaultGatewayCreateResponse::Data>]
21
21
  # @param meta [Telnyx::Models::PaginationMeta]
22
22
 
23
- class Data < Telnyx::Internal::Type::BaseModel
23
+ class Data < Telnyx::Models::Record
24
24
  # @!attribute wireguard_peer_id
25
25
  # Wireguard peer ID.
26
26
  #
@@ -28,30 +28,6 @@ module Telnyx
28
28
  optional :wireguard_peer_id, String
29
29
 
30
30
  response_only do
31
- # @!attribute id
32
- # Identifies the resource.
33
- #
34
- # @return [String, nil]
35
- optional :id, String
36
-
37
- # @!attribute created_at
38
- # ISO 8601 formatted date-time indicating when the resource was created.
39
- #
40
- # @return [String, nil]
41
- optional :created_at, String
42
-
43
- # @!attribute record_type
44
- # Identifies the type of the resource.
45
- #
46
- # @return [String, nil]
47
- optional :record_type, String
48
-
49
- # @!attribute updated_at
50
- # ISO 8601 formatted date-time indicating when the resource was updated.
51
- #
52
- # @return [String, nil]
53
- optional :updated_at, String
54
-
55
31
  # @!attribute network_id
56
32
  # Network ID.
57
33
  #
@@ -65,15 +41,7 @@ module Telnyx
65
41
  optional :status, enum: -> { Telnyx::InterfaceStatus }
66
42
  end
67
43
 
68
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, network_id: nil, status: nil, wireguard_peer_id: nil)
69
- # @param id [String] Identifies the resource.
70
- #
71
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
72
- #
73
- # @param record_type [String] Identifies the type of the resource.
74
- #
75
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
76
- #
44
+ # @!method initialize(network_id: nil, status: nil, wireguard_peer_id: nil)
77
45
  # @param network_id [String] Network ID.
78
46
  #
79
47
  # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
@@ -20,7 +20,7 @@ module Telnyx
20
20
  # @param data [Array<Telnyx::Models::Networks::DefaultGatewayDeleteResponse::Data>]
21
21
  # @param meta [Telnyx::Models::PaginationMeta]
22
22
 
23
- class Data < Telnyx::Internal::Type::BaseModel
23
+ class Data < Telnyx::Models::Record
24
24
  # @!attribute wireguard_peer_id
25
25
  # Wireguard peer ID.
26
26
  #
@@ -28,30 +28,6 @@ module Telnyx
28
28
  optional :wireguard_peer_id, String
29
29
 
30
30
  response_only do
31
- # @!attribute id
32
- # Identifies the resource.
33
- #
34
- # @return [String, nil]
35
- optional :id, String
36
-
37
- # @!attribute created_at
38
- # ISO 8601 formatted date-time indicating when the resource was created.
39
- #
40
- # @return [String, nil]
41
- optional :created_at, String
42
-
43
- # @!attribute record_type
44
- # Identifies the type of the resource.
45
- #
46
- # @return [String, nil]
47
- optional :record_type, String
48
-
49
- # @!attribute updated_at
50
- # ISO 8601 formatted date-time indicating when the resource was updated.
51
- #
52
- # @return [String, nil]
53
- optional :updated_at, String
54
-
55
31
  # @!attribute network_id
56
32
  # Network ID.
57
33
  #
@@ -65,15 +41,7 @@ module Telnyx
65
41
  optional :status, enum: -> { Telnyx::InterfaceStatus }
66
42
  end
67
43
 
68
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, network_id: nil, status: nil, wireguard_peer_id: nil)
69
- # @param id [String] Identifies the resource.
70
- #
71
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
72
- #
73
- # @param record_type [String] Identifies the type of the resource.
74
- #
75
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
76
- #
44
+ # @!method initialize(network_id: nil, status: nil, wireguard_peer_id: nil)
77
45
  # @param network_id [String] Network ID.
78
46
  #
79
47
  # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
@@ -20,7 +20,7 @@ module Telnyx
20
20
  # @param data [Array<Telnyx::Models::Networks::DefaultGatewayRetrieveResponse::Data>]
21
21
  # @param meta [Telnyx::Models::PaginationMeta]
22
22
 
23
- class Data < Telnyx::Internal::Type::BaseModel
23
+ class Data < Telnyx::Models::Record
24
24
  # @!attribute wireguard_peer_id
25
25
  # Wireguard peer ID.
26
26
  #
@@ -28,30 +28,6 @@ module Telnyx
28
28
  optional :wireguard_peer_id, String
29
29
 
30
30
  response_only do
31
- # @!attribute id
32
- # Identifies the resource.
33
- #
34
- # @return [String, nil]
35
- optional :id, String
36
-
37
- # @!attribute created_at
38
- # ISO 8601 formatted date-time indicating when the resource was created.
39
- #
40
- # @return [String, nil]
41
- optional :created_at, String
42
-
43
- # @!attribute record_type
44
- # Identifies the type of the resource.
45
- #
46
- # @return [String, nil]
47
- optional :record_type, String
48
-
49
- # @!attribute updated_at
50
- # ISO 8601 formatted date-time indicating when the resource was updated.
51
- #
52
- # @return [String, nil]
53
- optional :updated_at, String
54
-
55
31
  # @!attribute network_id
56
32
  # Network ID.
57
33
  #
@@ -65,15 +41,7 @@ module Telnyx
65
41
  optional :status, enum: -> { Telnyx::InterfaceStatus }
66
42
  end
67
43
 
68
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, network_id: nil, status: nil, wireguard_peer_id: nil)
69
- # @param id [String] Identifies the resource.
70
- #
71
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
72
- #
73
- # @param record_type [String] Identifies the type of the resource.
74
- #
75
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
76
- #
44
+ # @!method initialize(network_id: nil, status: nil, wireguard_peer_id: nil)
77
45
  # @param network_id [String] Network ID.
78
46
  #
79
47
  # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
@@ -13,81 +13,8 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::PublicInternetGatewayCreateResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::PublicInternetGatewayCreateResponse#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 interface is deployed to.
31
- #
32
- # @return [String, nil]
33
- optional :region_code, String
34
-
35
- response_only do
36
- # @!attribute id
37
- # Identifies the resource.
38
- #
39
- # @return [String, nil]
40
- optional :id, String
41
-
42
- # @!attribute created_at
43
- # ISO 8601 formatted date-time indicating when the resource was created.
44
- #
45
- # @return [String, nil]
46
- optional :created_at, String
47
-
48
- # @!attribute record_type
49
- # Identifies the type of the resource.
50
- #
51
- # @return [String, nil]
52
- optional :record_type, String
53
-
54
- # @!attribute updated_at
55
- # ISO 8601 formatted date-time indicating when the resource was updated.
56
- #
57
- # @return [String, nil]
58
- optional :updated_at, String
59
-
60
- # @!attribute status
61
- # The current status of the interface deployment.
62
- #
63
- # @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
64
- optional :status, enum: -> { Telnyx::InterfaceStatus }
65
-
66
- # @!attribute public_ip
67
- # The publically accessible ip for this interface.
68
- #
69
- # @return [String, nil]
70
- optional :public_ip, String
71
- end
72
-
73
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, public_ip: nil, region_code: nil)
74
- # @param id [String] Identifies the resource.
75
- #
76
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
77
- #
78
- # @param record_type [String] Identifies the type of the resource.
79
- #
80
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
81
- #
82
- # @param name [String] A user specified name for the interface.
83
- #
84
- # @param network_id [String] The id of the network associated with the interface.
85
- #
86
- # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
87
- #
88
- # @param public_ip [String] The publically accessible ip for this interface.
89
- #
90
- # @param region_code [String] The region interface is deployed to.
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
91
18
  end
92
19
  end
93
20
  end
@@ -13,81 +13,8 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::PublicInternetGatewayDeleteResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::PublicInternetGatewayDeleteResponse#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 interface is deployed to.
31
- #
32
- # @return [String, nil]
33
- optional :region_code, String
34
-
35
- response_only do
36
- # @!attribute id
37
- # Identifies the resource.
38
- #
39
- # @return [String, nil]
40
- optional :id, String
41
-
42
- # @!attribute created_at
43
- # ISO 8601 formatted date-time indicating when the resource was created.
44
- #
45
- # @return [String, nil]
46
- optional :created_at, String
47
-
48
- # @!attribute record_type
49
- # Identifies the type of the resource.
50
- #
51
- # @return [String, nil]
52
- optional :record_type, String
53
-
54
- # @!attribute updated_at
55
- # ISO 8601 formatted date-time indicating when the resource was updated.
56
- #
57
- # @return [String, nil]
58
- optional :updated_at, String
59
-
60
- # @!attribute status
61
- # The current status of the interface deployment.
62
- #
63
- # @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
64
- optional :status, enum: -> { Telnyx::InterfaceStatus }
65
-
66
- # @!attribute public_ip
67
- # The publically accessible ip for this interface.
68
- #
69
- # @return [String, nil]
70
- optional :public_ip, String
71
- end
72
-
73
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, public_ip: nil, region_code: nil)
74
- # @param id [String] Identifies the resource.
75
- #
76
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
77
- #
78
- # @param record_type [String] Identifies the type of the resource.
79
- #
80
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
81
- #
82
- # @param name [String] A user specified name for the interface.
83
- #
84
- # @param network_id [String] The id of the network associated with the interface.
85
- #
86
- # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
87
- #
88
- # @param public_ip [String] The publically accessible ip for this interface.
89
- #
90
- # @param region_code [String] The region interface is deployed to.
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
91
18
  end
92
19
  end
93
20
  end
@@ -3,81 +3,8 @@
3
3
  module Telnyx
4
4
  module Models
5
5
  # @see Telnyx::Resources::PublicInternetGateways#list
6
- class PublicInternetGatewayListResponse < 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 interface is deployed to.
21
- #
22
- # @return [String, nil]
23
- optional :region_code, String
24
-
25
- response_only do
26
- # @!attribute id
27
- # Identifies the resource.
28
- #
29
- # @return [String, nil]
30
- optional :id, String
31
-
32
- # @!attribute created_at
33
- # ISO 8601 formatted date-time indicating when the resource was created.
34
- #
35
- # @return [String, nil]
36
- optional :created_at, String
37
-
38
- # @!attribute record_type
39
- # Identifies the type of the resource.
40
- #
41
- # @return [String, nil]
42
- optional :record_type, String
43
-
44
- # @!attribute updated_at
45
- # ISO 8601 formatted date-time indicating when the resource was updated.
46
- #
47
- # @return [String, nil]
48
- optional :updated_at, String
49
-
50
- # @!attribute status
51
- # The current status of the interface deployment.
52
- #
53
- # @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
54
- optional :status, enum: -> { Telnyx::InterfaceStatus }
55
-
56
- # @!attribute public_ip
57
- # The publically accessible ip for this interface.
58
- #
59
- # @return [String, nil]
60
- optional :public_ip, String
61
- end
62
-
63
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, public_ip: nil, region_code: nil)
64
- # @param id [String] Identifies the resource.
65
- #
66
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
67
- #
68
- # @param record_type [String] Identifies the type of the resource.
69
- #
70
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
71
- #
72
- # @param name [String] A user specified name for the interface.
73
- #
74
- # @param network_id [String] The id of the network associated with the interface.
75
- #
76
- # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
77
- #
78
- # @param public_ip [String] The publically accessible ip for this interface.
79
- #
80
- # @param region_code [String] The region interface is deployed to.
6
+ class PublicInternetGatewayListResponse < Telnyx::Models::Record
7
+ # @!method initialize
81
8
  end
82
9
  end
83
10
  end
@@ -13,81 +13,8 @@ module Telnyx
13
13
  # @param data [Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data]
14
14
 
15
15
  # @see Telnyx::Models::PublicInternetGatewayRetrieveResponse#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 interface is deployed to.
31
- #
32
- # @return [String, nil]
33
- optional :region_code, String
34
-
35
- response_only do
36
- # @!attribute id
37
- # Identifies the resource.
38
- #
39
- # @return [String, nil]
40
- optional :id, String
41
-
42
- # @!attribute created_at
43
- # ISO 8601 formatted date-time indicating when the resource was created.
44
- #
45
- # @return [String, nil]
46
- optional :created_at, String
47
-
48
- # @!attribute record_type
49
- # Identifies the type of the resource.
50
- #
51
- # @return [String, nil]
52
- optional :record_type, String
53
-
54
- # @!attribute updated_at
55
- # ISO 8601 formatted date-time indicating when the resource was updated.
56
- #
57
- # @return [String, nil]
58
- optional :updated_at, String
59
-
60
- # @!attribute status
61
- # The current status of the interface deployment.
62
- #
63
- # @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
64
- optional :status, enum: -> { Telnyx::InterfaceStatus }
65
-
66
- # @!attribute public_ip
67
- # The publically accessible ip for this interface.
68
- #
69
- # @return [String, nil]
70
- optional :public_ip, String
71
- end
72
-
73
- # @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, public_ip: nil, region_code: nil)
74
- # @param id [String] Identifies the resource.
75
- #
76
- # @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
77
- #
78
- # @param record_type [String] Identifies the type of the resource.
79
- #
80
- # @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
81
- #
82
- # @param name [String] A user specified name for the interface.
83
- #
84
- # @param network_id [String] The id of the network associated with the interface.
85
- #
86
- # @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
87
- #
88
- # @param public_ip [String] The publically accessible ip for this interface.
89
- #
90
- # @param region_code [String] The region interface is deployed to.
16
+ class Data < Telnyx::Models::Record
17
+ # @!method initialize
91
18
  end
92
19
  end
93
20
  end