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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/mission_create_response.rb +3 -73
- data/lib/telnyx/models/ai/{mission_list_response.rb → mission_data.rb} +5 -5
- data/lib/telnyx/models/ai/mission_retrieve_response.rb +3 -73
- data/lib/telnyx/models/ai/mission_update_mission_response.rb +3 -74
- data/lib/telnyx/models/ai/missions/{run_list_response.rb → mission_run_data.rb} +7 -5
- data/lib/telnyx/models/ai/missions/run_cancel_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_create_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_pause_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_resume_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_retrieve_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_update_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rb +3 -77
- data/lib/telnyx/models/ai/missions/runs/plan_create_response.rb +3 -76
- data/lib/telnyx/models/ai/missions/runs/plan_get_step_details_response.rb +3 -77
- data/lib/telnyx/models/ai/missions/runs/plan_retrieve_response.rb +3 -76
- data/lib/telnyx/models/ai/missions/runs/plan_step_data.rb +83 -0
- data/lib/telnyx/models/ai/missions/runs/plan_update_step_response.rb +3 -76
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +4 -39
- data/lib/telnyx/models/calls/action_speak_params.rb +4 -39
- data/lib/telnyx/models/conferences/action_speak_params.rb +4 -39
- data/lib/telnyx/models/global_ip_assignment.rb +1 -0
- data/lib/telnyx/models/global_ip_assignment_create_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_delete_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_retrieve_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_update_params.rb +1 -1
- data/lib/telnyx/models/global_ip_assignment_update_response.rb +2 -2
- data/lib/telnyx/models/global_ip_create_response.rb +2 -34
- data/lib/telnyx/models/global_ip_delete_response.rb +2 -34
- data/lib/telnyx/models/global_ip_health_check_create_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_delete_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_list_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_retrieve_response.rb +2 -36
- data/lib/telnyx/models/global_ip_list_response.rb +2 -34
- data/lib/telnyx/models/global_ip_retrieve_response.rb +2 -34
- data/lib/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rb +24 -0
- data/lib/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rb +82 -0
- data/lib/telnyx/models/minimax_voice_settings.rb +52 -0
- data/lib/telnyx/models/network_create.rb +2 -36
- data/lib/telnyx/models/network_create_response.rb +2 -36
- data/lib/telnyx/models/network_delete_response.rb +2 -36
- data/lib/telnyx/models/network_list_interfaces_response.rb +2 -112
- data/lib/telnyx/models/network_list_response.rb +2 -36
- data/lib/telnyx/models/network_retrieve_response.rb +2 -36
- data/lib/telnyx/models/network_update_response.rb +2 -36
- data/lib/telnyx/models/networks/default_gateway_create_response.rb +2 -34
- data/lib/telnyx/models/networks/default_gateway_delete_response.rb +2 -34
- data/lib/telnyx/models/networks/default_gateway_retrieve_response.rb +2 -34
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +2 -75
- data/lib/telnyx/models/record.rb +42 -0
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +271 -2
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +272 -2
- data/lib/telnyx/models/wireguard_interface_create_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_list_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +2 -128
- data/lib/telnyx/models/wireguard_peer_create_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_delete_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_list_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_update_response.rb +75 -2
- data/lib/telnyx/models.rb +4 -0
- data/lib/telnyx/resources/ai/missions/runs.rb +4 -4
- data/lib/telnyx/resources/ai/missions.rb +2 -2
- data/lib/telnyx/resources/calls/actions.rb +2 -2
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/global_ip_assignments.rb +1 -1
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +35 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +8 -4
- data/rbi/telnyx/models/ai/mission_create_response.rbi +6 -147
- data/rbi/telnyx/models/ai/{mission_list_response.rbi → mission_data.rbi} +9 -22
- data/rbi/telnyx/models/ai/mission_retrieve_response.rbi +6 -147
- data/rbi/telnyx/models/ai/mission_update_mission_response.rbi +6 -147
- data/rbi/telnyx/models/ai/missions/{run_list_response.rbi → mission_run_data.rbi} +15 -19
- data/rbi/telnyx/models/ai/missions/run_cancel_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_create_response.rbi +6 -183
- data/rbi/telnyx/models/ai/missions/run_pause_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_resume_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_retrieve_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_update_response.rbi +6 -183
- data/rbi/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_create_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_get_step_details_response.rbi +4 -161
- data/rbi/telnyx/models/ai/missions/runs/plan_retrieve_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_step_data.rbi +159 -0
- data/rbi/telnyx/models/ai/missions/runs/plan_update_step_response.rbi +4 -161
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +5 -68
- data/rbi/telnyx/models/calls/action_speak_params.rbi +5 -68
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +5 -68
- data/rbi/telnyx/models/global_ip_assignment_update_params.rbi +2 -11
- data/rbi/telnyx/models/global_ip_create_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_delete_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_create_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_delete_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_list_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_list_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rbi +48 -0
- data/rbi/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rbi +110 -0
- data/rbi/telnyx/models/minimax_voice_settings.rbi +90 -0
- data/rbi/telnyx/models/network_create.rbi +4 -58
- data/rbi/telnyx/models/network_create_response.rbi +3 -57
- data/rbi/telnyx/models/network_delete_response.rbi +3 -57
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +4 -181
- data/rbi/telnyx/models/network_list_response.rbi +3 -57
- data/rbi/telnyx/models/network_retrieve_response.rbi +3 -57
- data/rbi/telnyx/models/network_update_response.rbi +3 -57
- data/rbi/telnyx/models/networks/default_gateway_create_response.rbi +1 -45
- data/rbi/telnyx/models/networks/default_gateway_delete_response.rbi +1 -45
- data/rbi/telnyx/models/networks/default_gateway_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +4 -112
- data/rbi/telnyx/models/record.rbi +70 -0
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -4
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +449 -4
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +4 -204
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_peer_create_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_list_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_update_response.rbi +111 -4
- data/rbi/telnyx/models.rbi +4 -0
- data/rbi/telnyx/resources/ai/missions/runs.rbi +2 -2
- data/rbi/telnyx/resources/ai/missions.rbi +1 -3
- data/rbi/telnyx/resources/calls/actions.rbi +2 -2
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +30 -0
- data/sig/telnyx/models/ai/mission_create_response.rbs +4 -85
- data/sig/telnyx/models/ai/{mission_list_response.rbs → mission_data.rbs} +7 -7
- data/sig/telnyx/models/ai/mission_retrieve_response.rbs +4 -85
- data/sig/telnyx/models/ai/mission_update_mission_response.rbs +4 -85
- data/sig/telnyx/models/ai/missions/{run_list_response.rbs → mission_run_data.rbs} +9 -7
- data/sig/telnyx/models/ai/missions/run_cancel_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_create_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_pause_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_resume_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_retrieve_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_update_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_create_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_get_step_details_response.rbs +4 -88
- data/sig/telnyx/models/ai/missions/runs/plan_retrieve_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_step_data.rbs +89 -0
- data/sig/telnyx/models/ai/missions/runs/plan_update_step_response.rbs +4 -88
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -34
- data/sig/telnyx/models/calls/action_speak_params.rbs +1 -34
- data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -34
- data/sig/telnyx/models/global_ip_assignment_update_params.rbs +3 -17
- data/sig/telnyx/models/global_ip_create_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_delete_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_health_check_create_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_delete_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_list_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_retrieve_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_list_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_retrieve_response.rbs +9 -37
- data/sig/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rbs +27 -0
- data/sig/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rbs +63 -0
- data/sig/telnyx/models/minimax_voice_settings.rbs +51 -0
- data/sig/telnyx/models/network_create.rbs +6 -39
- data/sig/telnyx/models/network_create_response.rbs +6 -41
- data/sig/telnyx/models/network_delete_response.rbs +6 -41
- data/sig/telnyx/models/network_list_interfaces_response.rbs +4 -106
- data/sig/telnyx/models/network_list_response.rbs +6 -41
- data/sig/telnyx/models/network_retrieve_response.rbs +6 -41
- data/sig/telnyx/models/network_update_response.rbs +6 -41
- data/sig/telnyx/models/networks/default_gateway_create_response.rbs +7 -35
- data/sig/telnyx/models/networks/default_gateway_delete_response.rbs +7 -35
- data/sig/telnyx/models/networks/default_gateway_retrieve_response.rbs +7 -35
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +4 -73
- data/sig/telnyx/models/record.rbs +43 -0
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +225 -4
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_peer_create_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_delete_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_list_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_update_response.rbs +64 -4
- data/sig/telnyx/models.rbs +4 -0
- data/sig/telnyx/resources/ai/missions/runs.rbs +2 -2
- data/sig/telnyx/resources/ai/missions.rbs +1 -1
- data/sig/telnyx/resources/messaging_10dlc/brand.rbs +6 -0
- metadata +23 -11
- data/lib/telnyx/models/ai/missions/run_list_runs_response.rb +0 -95
- data/rbi/telnyx/models/ai/missions/run_list_runs_response.rbi +0 -180
- data/sig/telnyx/models/ai/missions/run_list_runs_response.rbs +0 -102
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
# @see Telnyx::Resources::GlobalIPHealthChecks#list
|
|
6
|
-
class GlobalIPHealthCheckListResponse < Telnyx::
|
|
6
|
+
class GlobalIPHealthCheckListResponse < Telnyx::Models::Record
|
|
7
7
|
# @!attribute global_ip_id
|
|
8
8
|
# Global IP ID.
|
|
9
9
|
#
|
|
@@ -22,41 +22,7 @@ module Telnyx
|
|
|
22
22
|
# @return [String, nil]
|
|
23
23
|
optional :health_check_type, String
|
|
24
24
|
|
|
25
|
-
|
|
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
|
-
end
|
|
50
|
-
|
|
51
|
-
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, global_ip_id: nil, health_check_params: nil, health_check_type: nil)
|
|
52
|
-
# @param id [String] Identifies the resource.
|
|
53
|
-
#
|
|
54
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
55
|
-
#
|
|
56
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
57
|
-
#
|
|
58
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
59
|
-
#
|
|
25
|
+
# @!method initialize(global_ip_id: nil, health_check_params: nil, health_check_type: nil)
|
|
60
26
|
# @param global_ip_id [String] Global IP ID.
|
|
61
27
|
#
|
|
62
28
|
# @param health_check_params [Hash{Symbol=>Object}] A Global IP health check params.
|
|
@@ -13,7 +13,7 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::GlobalIPHealthCheckRetrieveResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::GlobalIPHealthCheckRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
17
|
# @!attribute global_ip_id
|
|
18
18
|
# Global IP ID.
|
|
19
19
|
#
|
|
@@ -32,41 +32,7 @@ module Telnyx
|
|
|
32
32
|
# @return [String, nil]
|
|
33
33
|
optional :health_check_type, String
|
|
34
34
|
|
|
35
|
-
|
|
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
|
-
end
|
|
60
|
-
|
|
61
|
-
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, global_ip_id: nil, health_check_params: nil, health_check_type: nil)
|
|
62
|
-
# @param id [String] Identifies the resource.
|
|
63
|
-
#
|
|
64
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
65
|
-
#
|
|
66
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
67
|
-
#
|
|
68
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
69
|
-
#
|
|
35
|
+
# @!method initialize(global_ip_id: nil, health_check_params: nil, health_check_type: nil)
|
|
70
36
|
# @param global_ip_id [String] Global IP ID.
|
|
71
37
|
#
|
|
72
38
|
# @param health_check_params [Hash{Symbol=>Object}] A Global IP health check params.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
# @see Telnyx::Resources::GlobalIPs#list
|
|
6
|
-
class GlobalIPListResponse < Telnyx::
|
|
6
|
+
class GlobalIPListResponse < Telnyx::Models::Record
|
|
7
7
|
# @!attribute description
|
|
8
8
|
# A user specified description for the address.
|
|
9
9
|
#
|
|
@@ -23,30 +23,6 @@ module Telnyx
|
|
|
23
23
|
optional :ports, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
24
24
|
|
|
25
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
26
|
# @!attribute ip_address
|
|
51
27
|
# The Global IP address.
|
|
52
28
|
#
|
|
@@ -54,15 +30,7 @@ module Telnyx
|
|
|
54
30
|
optional :ip_address, String
|
|
55
31
|
end
|
|
56
32
|
|
|
57
|
-
# @!method initialize(
|
|
58
|
-
# @param id [String] Identifies the resource.
|
|
59
|
-
#
|
|
60
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
61
|
-
#
|
|
62
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
63
|
-
#
|
|
64
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
65
|
-
#
|
|
33
|
+
# @!method initialize(description: nil, ip_address: nil, name: nil, ports: nil)
|
|
66
34
|
# @param description [String] A user specified description for the address.
|
|
67
35
|
#
|
|
68
36
|
# @param ip_address [String] The Global IP address.
|
|
@@ -13,7 +13,7 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::GlobalIPRetrieveResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::GlobalIPRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
17
|
# @!attribute description
|
|
18
18
|
# A user specified description for the address.
|
|
19
19
|
#
|
|
@@ -33,30 +33,6 @@ module Telnyx
|
|
|
33
33
|
optional :ports, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
|
34
34
|
|
|
35
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
36
|
# @!attribute ip_address
|
|
61
37
|
# The Global IP address.
|
|
62
38
|
#
|
|
@@ -64,15 +40,7 @@ module Telnyx
|
|
|
64
40
|
optional :ip_address, String
|
|
65
41
|
end
|
|
66
42
|
|
|
67
|
-
# @!method initialize(
|
|
68
|
-
# @param id [String] Identifies the resource.
|
|
69
|
-
#
|
|
70
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
71
|
-
#
|
|
72
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
73
|
-
#
|
|
74
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
75
|
-
#
|
|
43
|
+
# @!method initialize(description: nil, ip_address: nil, name: nil, ports: nil)
|
|
76
44
|
# @param description [String] A user specified description for the address.
|
|
77
45
|
#
|
|
78
46
|
# @param ip_address [String] The Global IP address.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Messaging10dlc
|
|
6
|
+
# @see Telnyx::Resources::Messaging10dlc::Brand#get_sms_otp_by_reference
|
|
7
|
+
class BrandGetSMSOtpByReferenceParams < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute brand_id
|
|
12
|
+
# Filter by Brand ID for easier lookup in portal applications
|
|
13
|
+
#
|
|
14
|
+
# @return [String, nil]
|
|
15
|
+
optional :brand_id, String
|
|
16
|
+
|
|
17
|
+
# @!method initialize(brand_id: nil, request_options: {})
|
|
18
|
+
# @param brand_id [String] Filter by Brand ID for easier lookup in portal applications
|
|
19
|
+
#
|
|
20
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Messaging10dlc
|
|
6
|
+
# @see Telnyx::Resources::Messaging10dlc::Brand#get_sms_otp_by_reference
|
|
7
|
+
class BrandGetSMSOtpByReferenceResponse < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute brand_id
|
|
9
|
+
# The Brand ID associated with this OTP request
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :brand_id, String, api_name: :brandId
|
|
13
|
+
|
|
14
|
+
# @!attribute delivery_status
|
|
15
|
+
# The current delivery status of the OTP SMS message. Common values include:
|
|
16
|
+
# `DELIVERED_HANDSET`, `PENDING`, `FAILED`, `EXPIRED`
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :delivery_status, String, api_name: :deliveryStatus
|
|
20
|
+
|
|
21
|
+
# @!attribute mobile_phone
|
|
22
|
+
# The mobile phone number where the OTP was sent, in E.164 format
|
|
23
|
+
#
|
|
24
|
+
# @return [String]
|
|
25
|
+
required :mobile_phone, String, api_name: :mobilePhone
|
|
26
|
+
|
|
27
|
+
# @!attribute reference_id
|
|
28
|
+
# The reference ID for this OTP request, used for status queries
|
|
29
|
+
#
|
|
30
|
+
# @return [String]
|
|
31
|
+
required :reference_id, String, api_name: :referenceId
|
|
32
|
+
|
|
33
|
+
# @!attribute request_date
|
|
34
|
+
# The timestamp when the OTP request was initiated
|
|
35
|
+
#
|
|
36
|
+
# @return [Time]
|
|
37
|
+
required :request_date, Time, api_name: :requestDate
|
|
38
|
+
|
|
39
|
+
# @!attribute delivery_status_date
|
|
40
|
+
# The timestamp when the delivery status was last updated
|
|
41
|
+
#
|
|
42
|
+
# @return [Time, nil]
|
|
43
|
+
optional :delivery_status_date, Time, api_name: :deliveryStatusDate
|
|
44
|
+
|
|
45
|
+
# @!attribute delivery_status_details
|
|
46
|
+
# Additional details about the delivery status
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
optional :delivery_status_details, String, api_name: :deliveryStatusDetails
|
|
50
|
+
|
|
51
|
+
# @!attribute verify_date
|
|
52
|
+
# The timestamp when the OTP was successfully verified (if applicable)
|
|
53
|
+
#
|
|
54
|
+
# @return [Time, nil]
|
|
55
|
+
optional :verify_date, Time, api_name: :verifyDate
|
|
56
|
+
|
|
57
|
+
# @!method initialize(brand_id:, delivery_status:, mobile_phone:, reference_id:, request_date:, delivery_status_date: nil, delivery_status_details: nil, verify_date: nil)
|
|
58
|
+
# Some parameter documentations has been truncated, see
|
|
59
|
+
# {Telnyx::Models::Messaging10dlc::BrandGetSMSOtpByReferenceResponse} for more
|
|
60
|
+
# details.
|
|
61
|
+
#
|
|
62
|
+
# Status information for an SMS OTP sent during Sole Proprietor brand verification
|
|
63
|
+
#
|
|
64
|
+
# @param brand_id [String] The Brand ID associated with this OTP request
|
|
65
|
+
#
|
|
66
|
+
# @param delivery_status [String] The current delivery status of the OTP SMS message. Common values include: `DELI
|
|
67
|
+
#
|
|
68
|
+
# @param mobile_phone [String] The mobile phone number where the OTP was sent, in E.164 format
|
|
69
|
+
#
|
|
70
|
+
# @param reference_id [String] The reference ID for this OTP request, used for status queries
|
|
71
|
+
#
|
|
72
|
+
# @param request_date [Time] The timestamp when the OTP request was initiated
|
|
73
|
+
#
|
|
74
|
+
# @param delivery_status_date [Time] The timestamp when the delivery status was last updated
|
|
75
|
+
#
|
|
76
|
+
# @param delivery_status_details [String] Additional details about the delivery status
|
|
77
|
+
#
|
|
78
|
+
# @param verify_date [Time] The timestamp when the OTP was successfully verified (if applicable)
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class MinimaxVoiceSettings < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute type
|
|
7
|
+
# Voice settings provider type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, Telnyx::Models::MinimaxVoiceSettings::Type]
|
|
10
|
+
required :type, enum: -> { Telnyx::MinimaxVoiceSettings::Type }
|
|
11
|
+
|
|
12
|
+
# @!attribute pitch
|
|
13
|
+
# Voice pitch adjustment. Default is 0.
|
|
14
|
+
#
|
|
15
|
+
# @return [Integer, nil]
|
|
16
|
+
optional :pitch, Integer
|
|
17
|
+
|
|
18
|
+
# @!attribute speed
|
|
19
|
+
# Speech speed multiplier. Default is 1.0.
|
|
20
|
+
#
|
|
21
|
+
# @return [Float, nil]
|
|
22
|
+
optional :speed, Float
|
|
23
|
+
|
|
24
|
+
# @!attribute vol
|
|
25
|
+
# Speech volume multiplier. Default is 1.0.
|
|
26
|
+
#
|
|
27
|
+
# @return [Float, nil]
|
|
28
|
+
optional :vol, Float
|
|
29
|
+
|
|
30
|
+
# @!method initialize(type:, pitch: nil, speed: nil, vol: nil)
|
|
31
|
+
# @param type [Symbol, Telnyx::Models::MinimaxVoiceSettings::Type] Voice settings provider type
|
|
32
|
+
#
|
|
33
|
+
# @param pitch [Integer] Voice pitch adjustment. Default is 0.
|
|
34
|
+
#
|
|
35
|
+
# @param speed [Float] Speech speed multiplier. Default is 1.0.
|
|
36
|
+
#
|
|
37
|
+
# @param vol [Float] Speech volume multiplier. Default is 1.0.
|
|
38
|
+
|
|
39
|
+
# Voice settings provider type
|
|
40
|
+
#
|
|
41
|
+
# @see Telnyx::Models::MinimaxVoiceSettings#type
|
|
42
|
+
module Type
|
|
43
|
+
extend Telnyx::Internal::Type::Enum
|
|
44
|
+
|
|
45
|
+
MINIMAX = :minimax
|
|
46
|
+
|
|
47
|
+
# @!method self.values
|
|
48
|
+
# @return [Array<Symbol>]
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -2,49 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
|
-
class NetworkCreate < Telnyx::
|
|
5
|
+
class NetworkCreate < Telnyx::Models::Record
|
|
6
6
|
# @!attribute name
|
|
7
7
|
# A user specified name for the network.
|
|
8
8
|
#
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :name, String
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
# @!attribute id
|
|
14
|
-
# Identifies the resource.
|
|
15
|
-
#
|
|
16
|
-
# @return [String, nil]
|
|
17
|
-
optional :id, String
|
|
18
|
-
|
|
19
|
-
# @!attribute created_at
|
|
20
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
21
|
-
#
|
|
22
|
-
# @return [String, nil]
|
|
23
|
-
optional :created_at, String
|
|
24
|
-
|
|
25
|
-
# @!attribute record_type
|
|
26
|
-
# Identifies the type of the resource.
|
|
27
|
-
#
|
|
28
|
-
# @return [String, nil]
|
|
29
|
-
optional :record_type, String
|
|
30
|
-
|
|
31
|
-
# @!attribute updated_at
|
|
32
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
33
|
-
#
|
|
34
|
-
# @return [String, nil]
|
|
35
|
-
optional :updated_at, String
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
# @!method initialize(name:, id: nil, created_at: nil, record_type: nil, updated_at: nil)
|
|
12
|
+
# @!method initialize(name:)
|
|
39
13
|
# @param name [String] A user specified name for the network.
|
|
40
|
-
#
|
|
41
|
-
# @param id [String] Identifies the resource.
|
|
42
|
-
#
|
|
43
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
44
|
-
#
|
|
45
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
46
|
-
#
|
|
47
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
48
14
|
end
|
|
49
15
|
end
|
|
50
16
|
end
|
|
@@ -13,48 +13,14 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::NetworkCreateResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::NetworkCreateResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
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
|
-
|
|
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::NetworkDeleteResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::NetworkDeleteResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
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
|
-
|
|
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
|
|
@@ -3,118 +3,8 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
# @see Telnyx::Resources::Networks#list_interfaces
|
|
6
|
-
class NetworkListInterfacesResponse < Telnyx::
|
|
7
|
-
# @!
|
|
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
|
|
20
|
-
#
|
|
21
|
-
# @return [Telnyx::Models::NetworkListInterfacesResponse::Region, nil]
|
|
22
|
-
optional :region, -> { Telnyx::Models::NetworkListInterfacesResponse::Region }
|
|
23
|
-
|
|
24
|
-
# @!attribute region_code
|
|
25
|
-
# The region interface is deployed to.
|
|
26
|
-
#
|
|
27
|
-
# @return [String, nil]
|
|
28
|
-
optional :region_code, String
|
|
29
|
-
|
|
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
|
-
# @!attribute status
|
|
56
|
-
# The current status of the interface deployment.
|
|
57
|
-
#
|
|
58
|
-
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
|
59
|
-
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
|
60
|
-
|
|
61
|
-
# @!attribute type
|
|
62
|
-
# Identifies the type of the interface.
|
|
63
|
-
#
|
|
64
|
-
# @return [String, nil]
|
|
65
|
-
optional :type, String
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, region: nil, region_code: nil, type: 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
|
-
#
|
|
77
|
-
# @param name [String] A user specified name for the interface.
|
|
78
|
-
#
|
|
79
|
-
# @param network_id [String] The id of the network associated with the interface.
|
|
80
|
-
#
|
|
81
|
-
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
|
82
|
-
#
|
|
83
|
-
# @param region [Telnyx::Models::NetworkListInterfacesResponse::Region]
|
|
84
|
-
#
|
|
85
|
-
# @param region_code [String] The region interface is deployed to.
|
|
86
|
-
#
|
|
87
|
-
# @param type [String] Identifies the type of the interface.
|
|
88
|
-
|
|
89
|
-
# @see Telnyx::Models::NetworkListInterfacesResponse#region
|
|
90
|
-
class Region < Telnyx::Internal::Type::BaseModel
|
|
91
|
-
# @!attribute code
|
|
92
|
-
# Region code of the interface.
|
|
93
|
-
#
|
|
94
|
-
# @return [String, nil]
|
|
95
|
-
optional :code, String
|
|
96
|
-
|
|
97
|
-
# @!attribute name
|
|
98
|
-
# Region name of the interface.
|
|
99
|
-
#
|
|
100
|
-
# @return [String, nil]
|
|
101
|
-
optional :name, String
|
|
102
|
-
|
|
103
|
-
response_only do
|
|
104
|
-
# @!attribute record_type
|
|
105
|
-
# Identifies the type of the resource.
|
|
106
|
-
#
|
|
107
|
-
# @return [String, nil]
|
|
108
|
-
optional :record_type, String
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
# @!method initialize(code: nil, name: nil, record_type: nil)
|
|
112
|
-
# @param code [String] Region code of the interface.
|
|
113
|
-
#
|
|
114
|
-
# @param name [String] Region name of the interface.
|
|
115
|
-
#
|
|
116
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
117
|
-
end
|
|
6
|
+
class NetworkListInterfacesResponse < Telnyx::Models::Record
|
|
7
|
+
# @!method initialize
|
|
118
8
|
end
|
|
119
9
|
end
|
|
120
10
|
end
|