purecloud 0.30.1 → 0.31.1
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/config-ruby.json +1 -1
- data/lib/purecloud/api/configuration_api.rb +4 -814
- data/lib/purecloud/api/conversations_api.rb +1035 -1763
- data/lib/purecloud/api/organization_api.rb +0 -58
- data/lib/purecloud/api/quality_api.rb +629 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +1033 -677
- data/lib/purecloud/api/users_api.rb +311 -0
- data/lib/purecloud/api/voicemail_api.rb +176 -176
- data/lib/purecloud/models/address_listing.rb +17 -17
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/aggregate_metric_data.rb +1 -1
- data/lib/purecloud/models/analytics_conversation_segment.rb +18 -235
- data/lib/purecloud/models/analytics_participant.rb +40 -1
- data/lib/purecloud/models/analytics_query_predicate.rb +2 -2
- data/lib/purecloud/models/analytics_session.rb +150 -1
- data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
- data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
- data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
- data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_listing.rb +17 -17
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/create_user.rb +1 -11
- data/lib/purecloud/models/data_item.rb +23 -19
- data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +17 -17
- data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
- data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_message_listing.rb +17 -17
- data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
- data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/external_organization_listing.rb +17 -17
- data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
- data/lib/purecloud/models/group_entity_listing.rb +17 -17
- data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
- data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
- data/lib/purecloud/models/json_node.rb +32 -32
- data/lib/purecloud/models/language_entity_listing.rb +17 -17
- data/lib/purecloud/models/library_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_entity_listing.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
- data/lib/purecloud/models/location_entity_listing.rb +17 -17
- data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/note_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization.rb +1 -0
- data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
- data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
- data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/payment_method_listing.rb +17 -17
- data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/policy_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/property_index_request.rb +1 -12
- data/lib/purecloud/models/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/queues_entity_listing.rb +17 -17
- data/lib/purecloud/models/quote_listing.rb +17 -17
- data/lib/purecloud/models/relationship_listing.rb +17 -17
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
- data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_entity_list.rb +17 -17
- data/lib/purecloud/models/response_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
- data/lib/purecloud/models/script_entity_listing.rb +17 -17
- data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
- data/lib/purecloud/models/service_entity_listing.rb +17 -17
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- data/lib/purecloud/models/site.rb +1 -1
- data/lib/purecloud/models/site_entity_listing.rb +17 -17
- data/lib/purecloud/models/skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
- data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/template_entity_listing.rb +17 -17
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/users_entity_listing.rb +17 -17
- data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
- data/lib/purecloud/version.rb +1 -1
- data/lib/purecloud.rb +83 -100
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -19
- data/lib/purecloud/api/callbacks_api.rb +0 -483
- data/lib/purecloud/api/calls_api.rb +0 -1088
- data/lib/purecloud/api/chats_api.rb +0 -483
- data/lib/purecloud/api/compliance_api.rb +0 -129
- data/lib/purecloud/api/downloads_api.rb +0 -140
- data/lib/purecloud/api/emails_api.rb +0 -1013
- data/lib/purecloud/api/evaluations_api.rb +0 -73
- data/lib/purecloud/api/faxes_api.rb +0 -73
- data/lib/purecloud/api/integrations_api.rb +0 -150
- data/lib/purecloud/api/integrations_workforce_management_api.rb +0 -73
- data/lib/purecloud/api/licensing_api.rb +0 -428
- data/lib/purecloud/api/scripts_api.rb +0 -718
- data/lib/purecloud/api/socials_api.rb +0 -483
- data/lib/purecloud/api/videos_api.rb +0 -483
- data/lib/purecloud/models/body.rb +0 -136
- data/lib/purecloud/models/organization_address.rb +0 -194
- data/lib/purecloud/models/participant_request.rb +0 -242
|
@@ -8,6 +8,362 @@ module PureCloud
|
|
|
8
8
|
@api_client = api_client
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
+
# Lists available schema categories
|
|
12
|
+
#
|
|
13
|
+
# @param [Hash] opts the optional parameters
|
|
14
|
+
# @option opts [Integer] :page_size Page size
|
|
15
|
+
# @option opts [Integer] :page_number Page number
|
|
16
|
+
# @return [SchemaCategoryEntityListing]
|
|
17
|
+
def get_schemas_edges_vnext(opts = {})
|
|
18
|
+
data, status_code, headers = get_schemas_edges_vnext_with_http_info(opts)
|
|
19
|
+
return data
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# Lists available schema categories
|
|
23
|
+
#
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Integer] :page_size Page size
|
|
26
|
+
# @option opts [Integer] :page_number Page number
|
|
27
|
+
# @return [Array<(SchemaCategoryEntityListing, Fixnum, Hash)>] SchemaCategoryEntityListing data, response status code and response headers
|
|
28
|
+
def get_schemas_edges_vnext_with_http_info(opts = {})
|
|
29
|
+
if @api_client.config.debugging
|
|
30
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_schemas_edges_vnext ..."
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# resource path
|
|
34
|
+
path = "/api/v2/configuration/schemas/edges/vnext".sub('{format}','json')
|
|
35
|
+
|
|
36
|
+
# query parameters
|
|
37
|
+
query_params = {}
|
|
38
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
39
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
40
|
+
|
|
41
|
+
# header parameters
|
|
42
|
+
header_params = {}
|
|
43
|
+
|
|
44
|
+
# HTTP header 'Accept' (if needed)
|
|
45
|
+
_header_accept = ['application/json']
|
|
46
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
47
|
+
|
|
48
|
+
# HTTP header 'Content-Type'
|
|
49
|
+
_header_content_type = ['application/json']
|
|
50
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
51
|
+
|
|
52
|
+
# form parameters
|
|
53
|
+
form_params = {}
|
|
54
|
+
|
|
55
|
+
# http body (model)
|
|
56
|
+
post_body = nil
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
auth_names = ['PureCloud Auth']
|
|
60
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
61
|
+
:header_params => header_params,
|
|
62
|
+
:query_params => query_params,
|
|
63
|
+
:form_params => form_params,
|
|
64
|
+
:body => post_body,
|
|
65
|
+
:auth_names => auth_names,
|
|
66
|
+
:return_type => 'SchemaCategoryEntityListing')
|
|
67
|
+
if @api_client.config.debugging
|
|
68
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_schemas_edges_vnext\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
69
|
+
end
|
|
70
|
+
return data, status_code, headers
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# List schemas of a specific category
|
|
74
|
+
#
|
|
75
|
+
# @param schema_category Schema category
|
|
76
|
+
# @param [Hash] opts the optional parameters
|
|
77
|
+
# @option opts [Integer] :page_size Page size
|
|
78
|
+
# @option opts [Integer] :page_number Page number
|
|
79
|
+
# @return [SchemaReferenceEntityListing]
|
|
80
|
+
def get_schemas_edges_vnext_schemacategory(schema_category, opts = {})
|
|
81
|
+
data, status_code, headers = get_schemas_edges_vnext_schemacategory_with_http_info(schema_category, opts)
|
|
82
|
+
return data
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# List schemas of a specific category
|
|
86
|
+
#
|
|
87
|
+
# @param schema_category Schema category
|
|
88
|
+
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @option opts [Integer] :page_size Page size
|
|
90
|
+
# @option opts [Integer] :page_number Page number
|
|
91
|
+
# @return [Array<(SchemaReferenceEntityListing, Fixnum, Hash)>] SchemaReferenceEntityListing data, response status code and response headers
|
|
92
|
+
def get_schemas_edges_vnext_schemacategory_with_http_info(schema_category, opts = {})
|
|
93
|
+
if @api_client.config.debugging
|
|
94
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_schemas_edges_vnext_schemacategory ..."
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# verify the required parameter 'schema_category' is set
|
|
98
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory" if schema_category.nil?
|
|
99
|
+
|
|
100
|
+
# resource path
|
|
101
|
+
path = "/api/v2/configuration/schemas/edges/vnext/{schemaCategory}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s)
|
|
102
|
+
|
|
103
|
+
# query parameters
|
|
104
|
+
query_params = {}
|
|
105
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
106
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
107
|
+
|
|
108
|
+
# header parameters
|
|
109
|
+
header_params = {}
|
|
110
|
+
|
|
111
|
+
# HTTP header 'Accept' (if needed)
|
|
112
|
+
_header_accept = ['application/json']
|
|
113
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
114
|
+
|
|
115
|
+
# HTTP header 'Content-Type'
|
|
116
|
+
_header_content_type = ['application/json']
|
|
117
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
118
|
+
|
|
119
|
+
# form parameters
|
|
120
|
+
form_params = {}
|
|
121
|
+
|
|
122
|
+
# http body (model)
|
|
123
|
+
post_body = nil
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
auth_names = ['PureCloud Auth']
|
|
127
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
128
|
+
:header_params => header_params,
|
|
129
|
+
:query_params => query_params,
|
|
130
|
+
:form_params => form_params,
|
|
131
|
+
:body => post_body,
|
|
132
|
+
:auth_names => auth_names,
|
|
133
|
+
:return_type => 'SchemaReferenceEntityListing')
|
|
134
|
+
if @api_client.config.debugging
|
|
135
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_schemas_edges_vnext_schemacategory\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
136
|
+
end
|
|
137
|
+
return data, status_code, headers
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# List schemas of a specific category
|
|
141
|
+
#
|
|
142
|
+
# @param schema_category Schema category
|
|
143
|
+
# @param schema_type Schema type
|
|
144
|
+
# @param [Hash] opts the optional parameters
|
|
145
|
+
# @option opts [Integer] :page_size Page size
|
|
146
|
+
# @option opts [Integer] :page_number Page number
|
|
147
|
+
# @return [SchemaReferenceEntityListing]
|
|
148
|
+
def get_schemas_edges_vnext_schemacategory_schematype(schema_category, schema_type, opts = {})
|
|
149
|
+
data, status_code, headers = get_schemas_edges_vnext_schemacategory_schematype_with_http_info(schema_category, schema_type, opts)
|
|
150
|
+
return data
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# List schemas of a specific category
|
|
154
|
+
#
|
|
155
|
+
# @param schema_category Schema category
|
|
156
|
+
# @param schema_type Schema type
|
|
157
|
+
# @param [Hash] opts the optional parameters
|
|
158
|
+
# @option opts [Integer] :page_size Page size
|
|
159
|
+
# @option opts [Integer] :page_number Page number
|
|
160
|
+
# @return [Array<(SchemaReferenceEntityListing, Fixnum, Hash)>] SchemaReferenceEntityListing data, response status code and response headers
|
|
161
|
+
def get_schemas_edges_vnext_schemacategory_schematype_with_http_info(schema_category, schema_type, opts = {})
|
|
162
|
+
if @api_client.config.debugging
|
|
163
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_schemas_edges_vnext_schemacategory_schematype ..."
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# verify the required parameter 'schema_category' is set
|
|
167
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype" if schema_category.nil?
|
|
168
|
+
|
|
169
|
+
# verify the required parameter 'schema_type' is set
|
|
170
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype" if schema_type.nil?
|
|
171
|
+
|
|
172
|
+
# resource path
|
|
173
|
+
path = "/api/v2/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s).sub('{' + 'schemaType' + '}', schema_type.to_s)
|
|
174
|
+
|
|
175
|
+
# query parameters
|
|
176
|
+
query_params = {}
|
|
177
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
178
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
179
|
+
|
|
180
|
+
# header parameters
|
|
181
|
+
header_params = {}
|
|
182
|
+
|
|
183
|
+
# HTTP header 'Accept' (if needed)
|
|
184
|
+
_header_accept = ['application/json']
|
|
185
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
186
|
+
|
|
187
|
+
# HTTP header 'Content-Type'
|
|
188
|
+
_header_content_type = ['application/json']
|
|
189
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
190
|
+
|
|
191
|
+
# form parameters
|
|
192
|
+
form_params = {}
|
|
193
|
+
|
|
194
|
+
# http body (model)
|
|
195
|
+
post_body = nil
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
auth_names = ['PureCloud Auth']
|
|
199
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
200
|
+
:header_params => header_params,
|
|
201
|
+
:query_params => query_params,
|
|
202
|
+
:form_params => form_params,
|
|
203
|
+
:body => post_body,
|
|
204
|
+
:auth_names => auth_names,
|
|
205
|
+
:return_type => 'SchemaReferenceEntityListing')
|
|
206
|
+
if @api_client.config.debugging
|
|
207
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_schemas_edges_vnext_schemacategory_schematype\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
208
|
+
end
|
|
209
|
+
return data, status_code, headers
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
# Get a json schema
|
|
213
|
+
#
|
|
214
|
+
# @param schema_category Schema category
|
|
215
|
+
# @param schema_type Schema type
|
|
216
|
+
# @param schema_id Schema ID
|
|
217
|
+
# @param [Hash] opts the optional parameters
|
|
218
|
+
# @return [Organization]
|
|
219
|
+
def get_schemas_edges_vnext_schemacategory_schematype_schema_id(schema_category, schema_type, schema_id, opts = {})
|
|
220
|
+
data, status_code, headers = get_schemas_edges_vnext_schemacategory_schematype_schema_id_with_http_info(schema_category, schema_type, schema_id, opts)
|
|
221
|
+
return data
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Get a json schema
|
|
225
|
+
#
|
|
226
|
+
# @param schema_category Schema category
|
|
227
|
+
# @param schema_type Schema type
|
|
228
|
+
# @param schema_id Schema ID
|
|
229
|
+
# @param [Hash] opts the optional parameters
|
|
230
|
+
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
|
231
|
+
def get_schemas_edges_vnext_schemacategory_schematype_schema_id_with_http_info(schema_category, schema_type, schema_id, opts = {})
|
|
232
|
+
if @api_client.config.debugging
|
|
233
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id ..."
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# verify the required parameter 'schema_category' is set
|
|
237
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_category.nil?
|
|
238
|
+
|
|
239
|
+
# verify the required parameter 'schema_type' is set
|
|
240
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_type.nil?
|
|
241
|
+
|
|
242
|
+
# verify the required parameter 'schema_id' is set
|
|
243
|
+
fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_id.nil?
|
|
244
|
+
|
|
245
|
+
# resource path
|
|
246
|
+
path = "/api/v2/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}/{schemaId}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s).sub('{' + 'schemaType' + '}', schema_type.to_s).sub('{' + 'schemaId' + '}', schema_id.to_s)
|
|
247
|
+
|
|
248
|
+
# query parameters
|
|
249
|
+
query_params = {}
|
|
250
|
+
|
|
251
|
+
# header parameters
|
|
252
|
+
header_params = {}
|
|
253
|
+
|
|
254
|
+
# HTTP header 'Accept' (if needed)
|
|
255
|
+
_header_accept = ['application/json']
|
|
256
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
257
|
+
|
|
258
|
+
# HTTP header 'Content-Type'
|
|
259
|
+
_header_content_type = ['application/json']
|
|
260
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
261
|
+
|
|
262
|
+
# form parameters
|
|
263
|
+
form_params = {}
|
|
264
|
+
|
|
265
|
+
# http body (model)
|
|
266
|
+
post_body = nil
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
auth_names = ['PureCloud Auth']
|
|
270
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
271
|
+
:header_params => header_params,
|
|
272
|
+
:query_params => query_params,
|
|
273
|
+
:form_params => form_params,
|
|
274
|
+
:body => post_body,
|
|
275
|
+
:auth_names => auth_names,
|
|
276
|
+
:return_type => 'Organization')
|
|
277
|
+
if @api_client.config.debugging
|
|
278
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
279
|
+
end
|
|
280
|
+
return data, status_code, headers
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
# Get metadata for a schema
|
|
284
|
+
#
|
|
285
|
+
# @param schema_category Schema category
|
|
286
|
+
# @param schema_type Schema type
|
|
287
|
+
# @param schema_id Schema ID
|
|
288
|
+
# @param extension extension
|
|
289
|
+
# @param metadata_id Metadata ID
|
|
290
|
+
# @param [Hash] opts the optional parameters
|
|
291
|
+
# @option opts [String] :type Type
|
|
292
|
+
# @return [Organization]
|
|
293
|
+
def get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
|
|
294
|
+
data, status_code, headers = get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id_with_http_info(schema_category, schema_type, schema_id, extension, metadata_id, opts)
|
|
295
|
+
return data
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
# Get metadata for a schema
|
|
299
|
+
#
|
|
300
|
+
# @param schema_category Schema category
|
|
301
|
+
# @param schema_type Schema type
|
|
302
|
+
# @param schema_id Schema ID
|
|
303
|
+
# @param extension extension
|
|
304
|
+
# @param metadata_id Metadata ID
|
|
305
|
+
# @param [Hash] opts the optional parameters
|
|
306
|
+
# @option opts [String] :type Type
|
|
307
|
+
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
|
|
308
|
+
def get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id_with_http_info(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
|
|
309
|
+
if @api_client.config.debugging
|
|
310
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id ..."
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
# verify the required parameter 'schema_category' is set
|
|
314
|
+
fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_category.nil?
|
|
315
|
+
|
|
316
|
+
# verify the required parameter 'schema_type' is set
|
|
317
|
+
fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_type.nil?
|
|
318
|
+
|
|
319
|
+
# verify the required parameter 'schema_id' is set
|
|
320
|
+
fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_id.nil?
|
|
321
|
+
|
|
322
|
+
# verify the required parameter 'extension' is set
|
|
323
|
+
fail "Missing the required parameter 'extension' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if extension.nil?
|
|
324
|
+
|
|
325
|
+
# verify the required parameter 'metadata_id' is set
|
|
326
|
+
fail "Missing the required parameter 'metadata_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if metadata_id.nil?
|
|
327
|
+
|
|
328
|
+
# resource path
|
|
329
|
+
path = "/api/v2/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}/{schemaId}/{extension}/{metadataId}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s).sub('{' + 'schemaType' + '}', schema_type.to_s).sub('{' + 'schemaId' + '}', schema_id.to_s).sub('{' + 'extension' + '}', extension.to_s).sub('{' + 'metadataId' + '}', metadata_id.to_s)
|
|
330
|
+
|
|
331
|
+
# query parameters
|
|
332
|
+
query_params = {}
|
|
333
|
+
query_params[:'type'] = opts[:'type'] if opts[:'type']
|
|
334
|
+
|
|
335
|
+
# header parameters
|
|
336
|
+
header_params = {}
|
|
337
|
+
|
|
338
|
+
# HTTP header 'Accept' (if needed)
|
|
339
|
+
_header_accept = ['application/json']
|
|
340
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
341
|
+
|
|
342
|
+
# HTTP header 'Content-Type'
|
|
343
|
+
_header_content_type = ['application/json']
|
|
344
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
345
|
+
|
|
346
|
+
# form parameters
|
|
347
|
+
form_params = {}
|
|
348
|
+
|
|
349
|
+
# http body (model)
|
|
350
|
+
post_body = nil
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
auth_names = ['PureCloud Auth']
|
|
354
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
355
|
+
:header_params => header_params,
|
|
356
|
+
:query_params => query_params,
|
|
357
|
+
:form_params => form_params,
|
|
358
|
+
:body => post_body,
|
|
359
|
+
:auth_names => auth_names,
|
|
360
|
+
:return_type => 'Organization')
|
|
361
|
+
if @api_client.config.debugging
|
|
362
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
363
|
+
end
|
|
364
|
+
return data, status_code, headers
|
|
365
|
+
end
|
|
366
|
+
|
|
11
367
|
# Get the list of edges.
|
|
12
368
|
#
|
|
13
369
|
# @param [Hash] opts the optional parameters
|
|
@@ -18,8 +374,8 @@ module PureCloud
|
|
|
18
374
|
# @option opts [String] :edge_group_id Filter by edgeGroup.id
|
|
19
375
|
# @option opts [String] :sort_by Sort by
|
|
20
376
|
# @return [EdgeEntityListing]
|
|
21
|
-
def
|
|
22
|
-
data, status_code, headers =
|
|
377
|
+
def get_providers_edges(opts = {})
|
|
378
|
+
data, status_code, headers = get_providers_edges_with_http_info(opts)
|
|
23
379
|
return data
|
|
24
380
|
end
|
|
25
381
|
|
|
@@ -33,13 +389,13 @@ module PureCloud
|
|
|
33
389
|
# @option opts [String] :edge_group_id Filter by edgeGroup.id
|
|
34
390
|
# @option opts [String] :sort_by Sort by
|
|
35
391
|
# @return [Array<(EdgeEntityListing, Fixnum, Hash)>] EdgeEntityListing data, response status code and response headers
|
|
36
|
-
def
|
|
392
|
+
def get_providers_edges_with_http_info(opts = {})
|
|
37
393
|
if @api_client.config.debugging
|
|
38
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
394
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges ..."
|
|
39
395
|
end
|
|
40
396
|
|
|
41
397
|
# resource path
|
|
42
|
-
path = "/api/v2/telephony/providers/
|
|
398
|
+
path = "/api/v2/telephony/providers/edges".sub('{format}','json')
|
|
43
399
|
|
|
44
400
|
# query parameters
|
|
45
401
|
query_params = {}
|
|
@@ -77,7 +433,7 @@ module PureCloud
|
|
|
77
433
|
:auth_names => auth_names,
|
|
78
434
|
:return_type => 'EdgeEntityListing')
|
|
79
435
|
if @api_client.config.debugging
|
|
80
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
436
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
81
437
|
end
|
|
82
438
|
return data, status_code, headers
|
|
83
439
|
end
|
|
@@ -87,8 +443,8 @@ module PureCloud
|
|
|
87
443
|
# @param [Hash] opts the optional parameters
|
|
88
444
|
# @option opts [Edge] :body Edge
|
|
89
445
|
# @return [Edge]
|
|
90
|
-
def
|
|
91
|
-
data, status_code, headers =
|
|
446
|
+
def post_providers_edges(opts = {})
|
|
447
|
+
data, status_code, headers = post_providers_edges_with_http_info(opts)
|
|
92
448
|
return data
|
|
93
449
|
end
|
|
94
450
|
|
|
@@ -97,13 +453,13 @@ module PureCloud
|
|
|
97
453
|
# @param [Hash] opts the optional parameters
|
|
98
454
|
# @option opts [Edge] :body Edge
|
|
99
455
|
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
|
|
100
|
-
def
|
|
456
|
+
def post_providers_edges_with_http_info(opts = {})
|
|
101
457
|
if @api_client.config.debugging
|
|
102
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
458
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges ..."
|
|
103
459
|
end
|
|
104
460
|
|
|
105
461
|
# resource path
|
|
106
|
-
path = "/api/v2/telephony/providers/
|
|
462
|
+
path = "/api/v2/telephony/providers/edges".sub('{format}','json')
|
|
107
463
|
|
|
108
464
|
# query parameters
|
|
109
465
|
query_params = {}
|
|
@@ -135,7 +491,7 @@ module PureCloud
|
|
|
135
491
|
:auth_names => auth_names,
|
|
136
492
|
:return_type => 'Edge')
|
|
137
493
|
if @api_client.config.debugging
|
|
138
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
494
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
139
495
|
end
|
|
140
496
|
return data, status_code, headers
|
|
141
497
|
end
|
|
@@ -145,8 +501,8 @@ module PureCloud
|
|
|
145
501
|
# @param [Hash] opts the optional parameters
|
|
146
502
|
# @option opts [ValidateAddressRequest] :body
|
|
147
503
|
# @return [ValidateAddressResponse]
|
|
148
|
-
def
|
|
149
|
-
data, status_code, headers =
|
|
504
|
+
def post_providers_edges_addressvalidation(opts = {})
|
|
505
|
+
data, status_code, headers = post_providers_edges_addressvalidation_with_http_info(opts)
|
|
150
506
|
return data
|
|
151
507
|
end
|
|
152
508
|
|
|
@@ -155,13 +511,13 @@ module PureCloud
|
|
|
155
511
|
# @param [Hash] opts the optional parameters
|
|
156
512
|
# @option opts [ValidateAddressRequest] :body
|
|
157
513
|
# @return [Array<(ValidateAddressResponse, Fixnum, Hash)>] ValidateAddressResponse data, response status code and response headers
|
|
158
|
-
def
|
|
514
|
+
def post_providers_edges_addressvalidation_with_http_info(opts = {})
|
|
159
515
|
if @api_client.config.debugging
|
|
160
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
516
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_addressvalidation ..."
|
|
161
517
|
end
|
|
162
518
|
|
|
163
519
|
# resource path
|
|
164
|
-
path = "/api/v2/telephony/providers/
|
|
520
|
+
path = "/api/v2/telephony/providers/edges/addressvalidation".sub('{format}','json')
|
|
165
521
|
|
|
166
522
|
# query parameters
|
|
167
523
|
query_params = {}
|
|
@@ -193,7 +549,7 @@ module PureCloud
|
|
|
193
549
|
:auth_names => auth_names,
|
|
194
550
|
:return_type => 'ValidateAddressResponse')
|
|
195
551
|
if @api_client.config.debugging
|
|
196
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
552
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_addressvalidation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
197
553
|
end
|
|
198
554
|
return data, status_code, headers
|
|
199
555
|
end
|
|
@@ -202,8 +558,8 @@ module PureCloud
|
|
|
202
558
|
#
|
|
203
559
|
# @param [Hash] opts the optional parameters
|
|
204
560
|
# @return [CertificateAuthorityEntityListing]
|
|
205
|
-
def
|
|
206
|
-
data, status_code, headers =
|
|
561
|
+
def get_providers_edges_certificateauthorities(opts = {})
|
|
562
|
+
data, status_code, headers = get_providers_edges_certificateauthorities_with_http_info(opts)
|
|
207
563
|
return data
|
|
208
564
|
end
|
|
209
565
|
|
|
@@ -211,13 +567,13 @@ module PureCloud
|
|
|
211
567
|
#
|
|
212
568
|
# @param [Hash] opts the optional parameters
|
|
213
569
|
# @return [Array<(CertificateAuthorityEntityListing, Fixnum, Hash)>] CertificateAuthorityEntityListing data, response status code and response headers
|
|
214
|
-
def
|
|
570
|
+
def get_providers_edges_certificateauthorities_with_http_info(opts = {})
|
|
215
571
|
if @api_client.config.debugging
|
|
216
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
572
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_certificateauthorities ..."
|
|
217
573
|
end
|
|
218
574
|
|
|
219
575
|
# resource path
|
|
220
|
-
path = "/api/v2/telephony/providers/
|
|
576
|
+
path = "/api/v2/telephony/providers/edges/certificateauthorities".sub('{format}','json')
|
|
221
577
|
|
|
222
578
|
# query parameters
|
|
223
579
|
query_params = {}
|
|
@@ -249,7 +605,7 @@ module PureCloud
|
|
|
249
605
|
:auth_names => auth_names,
|
|
250
606
|
:return_type => 'CertificateAuthorityEntityListing')
|
|
251
607
|
if @api_client.config.debugging
|
|
252
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
608
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_certificateauthorities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
253
609
|
end
|
|
254
610
|
return data, status_code, headers
|
|
255
611
|
end
|
|
@@ -259,8 +615,8 @@ module PureCloud
|
|
|
259
615
|
# @param [Hash] opts the optional parameters
|
|
260
616
|
# @option opts [DomainCertificateAuthority] :body CertificateAuthority
|
|
261
617
|
# @return [DomainCertificateAuthority]
|
|
262
|
-
def
|
|
263
|
-
data, status_code, headers =
|
|
618
|
+
def post_providers_edges_certificateauthorities(opts = {})
|
|
619
|
+
data, status_code, headers = post_providers_edges_certificateauthorities_with_http_info(opts)
|
|
264
620
|
return data
|
|
265
621
|
end
|
|
266
622
|
|
|
@@ -269,13 +625,13 @@ module PureCloud
|
|
|
269
625
|
# @param [Hash] opts the optional parameters
|
|
270
626
|
# @option opts [DomainCertificateAuthority] :body CertificateAuthority
|
|
271
627
|
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
|
|
272
|
-
def
|
|
628
|
+
def post_providers_edges_certificateauthorities_with_http_info(opts = {})
|
|
273
629
|
if @api_client.config.debugging
|
|
274
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
630
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_certificateauthorities ..."
|
|
275
631
|
end
|
|
276
632
|
|
|
277
633
|
# resource path
|
|
278
|
-
path = "/api/v2/telephony/providers/
|
|
634
|
+
path = "/api/v2/telephony/providers/edges/certificateauthorities".sub('{format}','json')
|
|
279
635
|
|
|
280
636
|
# query parameters
|
|
281
637
|
query_params = {}
|
|
@@ -307,7 +663,7 @@ module PureCloud
|
|
|
307
663
|
:auth_names => auth_names,
|
|
308
664
|
:return_type => 'DomainCertificateAuthority')
|
|
309
665
|
if @api_client.config.debugging
|
|
310
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
666
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_certificateauthorities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
311
667
|
end
|
|
312
668
|
return data, status_code, headers
|
|
313
669
|
end
|
|
@@ -317,8 +673,8 @@ module PureCloud
|
|
|
317
673
|
# @param certificate_id Certificate ID
|
|
318
674
|
# @param [Hash] opts the optional parameters
|
|
319
675
|
# @return [DomainCertificateAuthority]
|
|
320
|
-
def
|
|
321
|
-
data, status_code, headers =
|
|
676
|
+
def get_providers_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
|
|
677
|
+
data, status_code, headers = get_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
|
|
322
678
|
return data
|
|
323
679
|
end
|
|
324
680
|
|
|
@@ -327,16 +683,16 @@ module PureCloud
|
|
|
327
683
|
# @param certificate_id Certificate ID
|
|
328
684
|
# @param [Hash] opts the optional parameters
|
|
329
685
|
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
|
|
330
|
-
def
|
|
686
|
+
def get_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
|
|
331
687
|
if @api_client.config.debugging
|
|
332
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
688
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_certificateauthorities_certificate_id ..."
|
|
333
689
|
end
|
|
334
690
|
|
|
335
691
|
# verify the required parameter 'certificate_id' is set
|
|
336
|
-
fail "Missing the required parameter 'certificate_id' when calling
|
|
692
|
+
fail "Missing the required parameter 'certificate_id' when calling get_providers_edges_certificateauthorities_certificate_id" if certificate_id.nil?
|
|
337
693
|
|
|
338
694
|
# resource path
|
|
339
|
-
path = "/api/v2/telephony/providers/
|
|
695
|
+
path = "/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
|
|
340
696
|
|
|
341
697
|
# query parameters
|
|
342
698
|
query_params = {}
|
|
@@ -368,7 +724,7 @@ module PureCloud
|
|
|
368
724
|
:auth_names => auth_names,
|
|
369
725
|
:return_type => 'DomainCertificateAuthority')
|
|
370
726
|
if @api_client.config.debugging
|
|
371
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
727
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
372
728
|
end
|
|
373
729
|
return data, status_code, headers
|
|
374
730
|
end
|
|
@@ -379,8 +735,8 @@ module PureCloud
|
|
|
379
735
|
# @param [Hash] opts the optional parameters
|
|
380
736
|
# @option opts [DomainCertificateAuthority] :body
|
|
381
737
|
# @return [DomainCertificateAuthority]
|
|
382
|
-
def
|
|
383
|
-
data, status_code, headers =
|
|
738
|
+
def put_providers_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
|
|
739
|
+
data, status_code, headers = put_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
|
|
384
740
|
return data
|
|
385
741
|
end
|
|
386
742
|
|
|
@@ -390,16 +746,16 @@ module PureCloud
|
|
|
390
746
|
# @param [Hash] opts the optional parameters
|
|
391
747
|
# @option opts [DomainCertificateAuthority] :body
|
|
392
748
|
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
|
|
393
|
-
def
|
|
749
|
+
def put_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
|
|
394
750
|
if @api_client.config.debugging
|
|
395
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
751
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_certificateauthorities_certificate_id ..."
|
|
396
752
|
end
|
|
397
753
|
|
|
398
754
|
# verify the required parameter 'certificate_id' is set
|
|
399
|
-
fail "Missing the required parameter 'certificate_id' when calling
|
|
755
|
+
fail "Missing the required parameter 'certificate_id' when calling put_providers_edges_certificateauthorities_certificate_id" if certificate_id.nil?
|
|
400
756
|
|
|
401
757
|
# resource path
|
|
402
|
-
path = "/api/v2/telephony/providers/
|
|
758
|
+
path = "/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
|
|
403
759
|
|
|
404
760
|
# query parameters
|
|
405
761
|
query_params = {}
|
|
@@ -431,7 +787,7 @@ module PureCloud
|
|
|
431
787
|
:auth_names => auth_names,
|
|
432
788
|
:return_type => 'DomainCertificateAuthority')
|
|
433
789
|
if @api_client.config.debugging
|
|
434
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
790
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
435
791
|
end
|
|
436
792
|
return data, status_code, headers
|
|
437
793
|
end
|
|
@@ -441,8 +797,8 @@ module PureCloud
|
|
|
441
797
|
# @param certificate_id Certificate ID
|
|
442
798
|
# @param [Hash] opts the optional parameters
|
|
443
799
|
# @return [String]
|
|
444
|
-
def
|
|
445
|
-
data, status_code, headers =
|
|
800
|
+
def delete_providers_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
|
|
801
|
+
data, status_code, headers = delete_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
|
|
446
802
|
return data
|
|
447
803
|
end
|
|
448
804
|
|
|
@@ -451,16 +807,16 @@ module PureCloud
|
|
|
451
807
|
# @param certificate_id Certificate ID
|
|
452
808
|
# @param [Hash] opts the optional parameters
|
|
453
809
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
454
|
-
def
|
|
810
|
+
def delete_providers_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
|
|
455
811
|
if @api_client.config.debugging
|
|
456
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
812
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_certificateauthorities_certificate_id ..."
|
|
457
813
|
end
|
|
458
814
|
|
|
459
815
|
# verify the required parameter 'certificate_id' is set
|
|
460
|
-
fail "Missing the required parameter 'certificate_id' when calling
|
|
816
|
+
fail "Missing the required parameter 'certificate_id' when calling delete_providers_edges_certificateauthorities_certificate_id" if certificate_id.nil?
|
|
461
817
|
|
|
462
818
|
# resource path
|
|
463
|
-
path = "/api/v2/telephony/providers/
|
|
819
|
+
path = "/api/v2/telephony/providers/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
|
|
464
820
|
|
|
465
821
|
# query parameters
|
|
466
822
|
query_params = {}
|
|
@@ -492,7 +848,7 @@ module PureCloud
|
|
|
492
848
|
:auth_names => auth_names,
|
|
493
849
|
:return_type => 'String')
|
|
494
850
|
if @api_client.config.debugging
|
|
495
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
851
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
496
852
|
end
|
|
497
853
|
return data, status_code, headers
|
|
498
854
|
end
|
|
@@ -504,8 +860,8 @@ module PureCloud
|
|
|
504
860
|
# @option opts [Integer] :page_number Page number
|
|
505
861
|
# @option opts [String] :sort_by Sort by
|
|
506
862
|
# @return [DIDPoolEntityListing]
|
|
507
|
-
def
|
|
508
|
-
data, status_code, headers =
|
|
863
|
+
def get_providers_edges_didpools(opts = {})
|
|
864
|
+
data, status_code, headers = get_providers_edges_didpools_with_http_info(opts)
|
|
509
865
|
return data
|
|
510
866
|
end
|
|
511
867
|
|
|
@@ -516,13 +872,13 @@ module PureCloud
|
|
|
516
872
|
# @option opts [Integer] :page_number Page number
|
|
517
873
|
# @option opts [String] :sort_by Sort by
|
|
518
874
|
# @return [Array<(DIDPoolEntityListing, Fixnum, Hash)>] DIDPoolEntityListing data, response status code and response headers
|
|
519
|
-
def
|
|
875
|
+
def get_providers_edges_didpools_with_http_info(opts = {})
|
|
520
876
|
if @api_client.config.debugging
|
|
521
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
877
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_didpools ..."
|
|
522
878
|
end
|
|
523
879
|
|
|
524
880
|
# resource path
|
|
525
|
-
path = "/api/v2/telephony/providers/
|
|
881
|
+
path = "/api/v2/telephony/providers/edges/didpools".sub('{format}','json')
|
|
526
882
|
|
|
527
883
|
# query parameters
|
|
528
884
|
query_params = {}
|
|
@@ -557,7 +913,7 @@ module PureCloud
|
|
|
557
913
|
:auth_names => auth_names,
|
|
558
914
|
:return_type => 'DIDPoolEntityListing')
|
|
559
915
|
if @api_client.config.debugging
|
|
560
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
916
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_didpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
561
917
|
end
|
|
562
918
|
return data, status_code, headers
|
|
563
919
|
end
|
|
@@ -567,8 +923,8 @@ module PureCloud
|
|
|
567
923
|
# @param [Hash] opts the optional parameters
|
|
568
924
|
# @option opts [DIDPool] :body
|
|
569
925
|
# @return [DIDPool]
|
|
570
|
-
def
|
|
571
|
-
data, status_code, headers =
|
|
926
|
+
def post_providers_edges_didpools(opts = {})
|
|
927
|
+
data, status_code, headers = post_providers_edges_didpools_with_http_info(opts)
|
|
572
928
|
return data
|
|
573
929
|
end
|
|
574
930
|
|
|
@@ -577,13 +933,13 @@ module PureCloud
|
|
|
577
933
|
# @param [Hash] opts the optional parameters
|
|
578
934
|
# @option opts [DIDPool] :body
|
|
579
935
|
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
|
|
580
|
-
def
|
|
936
|
+
def post_providers_edges_didpools_with_http_info(opts = {})
|
|
581
937
|
if @api_client.config.debugging
|
|
582
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
938
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_didpools ..."
|
|
583
939
|
end
|
|
584
940
|
|
|
585
941
|
# resource path
|
|
586
|
-
path = "/api/v2/telephony/providers/
|
|
942
|
+
path = "/api/v2/telephony/providers/edges/didpools".sub('{format}','json')
|
|
587
943
|
|
|
588
944
|
# query parameters
|
|
589
945
|
query_params = {}
|
|
@@ -615,7 +971,7 @@ module PureCloud
|
|
|
615
971
|
:auth_names => auth_names,
|
|
616
972
|
:return_type => 'DIDPool')
|
|
617
973
|
if @api_client.config.debugging
|
|
618
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
974
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_didpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
619
975
|
end
|
|
620
976
|
return data, status_code, headers
|
|
621
977
|
end
|
|
@@ -625,8 +981,8 @@ module PureCloud
|
|
|
625
981
|
# @param did_pool_id DID pool ID
|
|
626
982
|
# @param [Hash] opts the optional parameters
|
|
627
983
|
# @return [DIDPool]
|
|
628
|
-
def
|
|
629
|
-
data, status_code, headers =
|
|
984
|
+
def get_providers_edges_didpools_didpool_id(did_pool_id, opts = {})
|
|
985
|
+
data, status_code, headers = get_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, opts)
|
|
630
986
|
return data
|
|
631
987
|
end
|
|
632
988
|
|
|
@@ -635,16 +991,16 @@ module PureCloud
|
|
|
635
991
|
# @param did_pool_id DID pool ID
|
|
636
992
|
# @param [Hash] opts the optional parameters
|
|
637
993
|
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
|
|
638
|
-
def
|
|
994
|
+
def get_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
|
|
639
995
|
if @api_client.config.debugging
|
|
640
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
996
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_didpools_didpool_id ..."
|
|
641
997
|
end
|
|
642
998
|
|
|
643
999
|
# verify the required parameter 'did_pool_id' is set
|
|
644
|
-
fail "Missing the required parameter 'did_pool_id' when calling
|
|
1000
|
+
fail "Missing the required parameter 'did_pool_id' when calling get_providers_edges_didpools_didpool_id" if did_pool_id.nil?
|
|
645
1001
|
|
|
646
1002
|
# resource path
|
|
647
|
-
path = "/api/v2/telephony/providers/
|
|
1003
|
+
path = "/api/v2/telephony/providers/edges/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
|
|
648
1004
|
|
|
649
1005
|
# query parameters
|
|
650
1006
|
query_params = {}
|
|
@@ -676,7 +1032,7 @@ module PureCloud
|
|
|
676
1032
|
:auth_names => auth_names,
|
|
677
1033
|
:return_type => 'DIDPool')
|
|
678
1034
|
if @api_client.config.debugging
|
|
679
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1035
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
680
1036
|
end
|
|
681
1037
|
return data, status_code, headers
|
|
682
1038
|
end
|
|
@@ -687,8 +1043,8 @@ module PureCloud
|
|
|
687
1043
|
# @param [Hash] opts the optional parameters
|
|
688
1044
|
# @option opts [DIDPool] :body
|
|
689
1045
|
# @return [DIDPool]
|
|
690
|
-
def
|
|
691
|
-
data, status_code, headers =
|
|
1046
|
+
def put_providers_edges_didpools_didpool_id(did_pool_id, opts = {})
|
|
1047
|
+
data, status_code, headers = put_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, opts)
|
|
692
1048
|
return data
|
|
693
1049
|
end
|
|
694
1050
|
|
|
@@ -698,16 +1054,16 @@ module PureCloud
|
|
|
698
1054
|
# @param [Hash] opts the optional parameters
|
|
699
1055
|
# @option opts [DIDPool] :body
|
|
700
1056
|
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
|
|
701
|
-
def
|
|
1057
|
+
def put_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
|
|
702
1058
|
if @api_client.config.debugging
|
|
703
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1059
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_didpools_didpool_id ..."
|
|
704
1060
|
end
|
|
705
1061
|
|
|
706
1062
|
# verify the required parameter 'did_pool_id' is set
|
|
707
|
-
fail "Missing the required parameter 'did_pool_id' when calling
|
|
1063
|
+
fail "Missing the required parameter 'did_pool_id' when calling put_providers_edges_didpools_didpool_id" if did_pool_id.nil?
|
|
708
1064
|
|
|
709
1065
|
# resource path
|
|
710
|
-
path = "/api/v2/telephony/providers/
|
|
1066
|
+
path = "/api/v2/telephony/providers/edges/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
|
|
711
1067
|
|
|
712
1068
|
# query parameters
|
|
713
1069
|
query_params = {}
|
|
@@ -739,7 +1095,7 @@ module PureCloud
|
|
|
739
1095
|
:auth_names => auth_names,
|
|
740
1096
|
:return_type => 'DIDPool')
|
|
741
1097
|
if @api_client.config.debugging
|
|
742
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1098
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
743
1099
|
end
|
|
744
1100
|
return data, status_code, headers
|
|
745
1101
|
end
|
|
@@ -749,8 +1105,8 @@ module PureCloud
|
|
|
749
1105
|
# @param did_pool_id DID pool ID
|
|
750
1106
|
# @param [Hash] opts the optional parameters
|
|
751
1107
|
# @return [String]
|
|
752
|
-
def
|
|
753
|
-
data, status_code, headers =
|
|
1108
|
+
def delete_providers_edges_didpools_didpool_id(did_pool_id, opts = {})
|
|
1109
|
+
data, status_code, headers = delete_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, opts)
|
|
754
1110
|
return data
|
|
755
1111
|
end
|
|
756
1112
|
|
|
@@ -759,16 +1115,16 @@ module PureCloud
|
|
|
759
1115
|
# @param did_pool_id DID pool ID
|
|
760
1116
|
# @param [Hash] opts the optional parameters
|
|
761
1117
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
762
|
-
def
|
|
1118
|
+
def delete_providers_edges_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
|
|
763
1119
|
if @api_client.config.debugging
|
|
764
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1120
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_didpools_didpool_id ..."
|
|
765
1121
|
end
|
|
766
1122
|
|
|
767
1123
|
# verify the required parameter 'did_pool_id' is set
|
|
768
|
-
fail "Missing the required parameter 'did_pool_id' when calling
|
|
1124
|
+
fail "Missing the required parameter 'did_pool_id' when calling delete_providers_edges_didpools_didpool_id" if did_pool_id.nil?
|
|
769
1125
|
|
|
770
1126
|
# resource path
|
|
771
|
-
path = "/api/v2/telephony/providers/
|
|
1127
|
+
path = "/api/v2/telephony/providers/edges/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
|
|
772
1128
|
|
|
773
1129
|
# query parameters
|
|
774
1130
|
query_params = {}
|
|
@@ -800,7 +1156,7 @@ module PureCloud
|
|
|
800
1156
|
:auth_names => auth_names,
|
|
801
1157
|
:return_type => 'String')
|
|
802
1158
|
if @api_client.config.debugging
|
|
803
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1159
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
804
1160
|
end
|
|
805
1161
|
return data, status_code, headers
|
|
806
1162
|
end
|
|
@@ -814,8 +1170,8 @@ module PureCloud
|
|
|
814
1170
|
# @option opts [String] :sort_order Sort order
|
|
815
1171
|
# @option opts [String] :phone_number Filter by phoneNumber
|
|
816
1172
|
# @return [DIDEntityListing]
|
|
817
|
-
def
|
|
818
|
-
data, status_code, headers =
|
|
1173
|
+
def get_providers_edges_dids(opts = {})
|
|
1174
|
+
data, status_code, headers = get_providers_edges_dids_with_http_info(opts)
|
|
819
1175
|
return data
|
|
820
1176
|
end
|
|
821
1177
|
|
|
@@ -828,13 +1184,13 @@ module PureCloud
|
|
|
828
1184
|
# @option opts [String] :sort_order Sort order
|
|
829
1185
|
# @option opts [String] :phone_number Filter by phoneNumber
|
|
830
1186
|
# @return [Array<(DIDEntityListing, Fixnum, Hash)>] DIDEntityListing data, response status code and response headers
|
|
831
|
-
def
|
|
1187
|
+
def get_providers_edges_dids_with_http_info(opts = {})
|
|
832
1188
|
if @api_client.config.debugging
|
|
833
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1189
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_dids ..."
|
|
834
1190
|
end
|
|
835
1191
|
|
|
836
1192
|
# resource path
|
|
837
|
-
path = "/api/v2/telephony/providers/
|
|
1193
|
+
path = "/api/v2/telephony/providers/edges/dids".sub('{format}','json')
|
|
838
1194
|
|
|
839
1195
|
# query parameters
|
|
840
1196
|
query_params = {}
|
|
@@ -871,7 +1227,7 @@ module PureCloud
|
|
|
871
1227
|
:auth_names => auth_names,
|
|
872
1228
|
:return_type => 'DIDEntityListing')
|
|
873
1229
|
if @api_client.config.debugging
|
|
874
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1230
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_dids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
875
1231
|
end
|
|
876
1232
|
return data, status_code, headers
|
|
877
1233
|
end
|
|
@@ -881,8 +1237,8 @@ module PureCloud
|
|
|
881
1237
|
# @param did_id DID ID
|
|
882
1238
|
# @param [Hash] opts the optional parameters
|
|
883
1239
|
# @return [DID]
|
|
884
|
-
def
|
|
885
|
-
data, status_code, headers =
|
|
1240
|
+
def get_providers_edges_dids_did_id(did_id, opts = {})
|
|
1241
|
+
data, status_code, headers = get_providers_edges_dids_did_id_with_http_info(did_id, opts)
|
|
886
1242
|
return data
|
|
887
1243
|
end
|
|
888
1244
|
|
|
@@ -891,16 +1247,16 @@ module PureCloud
|
|
|
891
1247
|
# @param did_id DID ID
|
|
892
1248
|
# @param [Hash] opts the optional parameters
|
|
893
1249
|
# @return [Array<(DID, Fixnum, Hash)>] DID data, response status code and response headers
|
|
894
|
-
def
|
|
1250
|
+
def get_providers_edges_dids_did_id_with_http_info(did_id, opts = {})
|
|
895
1251
|
if @api_client.config.debugging
|
|
896
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1252
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_dids_did_id ..."
|
|
897
1253
|
end
|
|
898
1254
|
|
|
899
1255
|
# verify the required parameter 'did_id' is set
|
|
900
|
-
fail "Missing the required parameter 'did_id' when calling
|
|
1256
|
+
fail "Missing the required parameter 'did_id' when calling get_providers_edges_dids_did_id" if did_id.nil?
|
|
901
1257
|
|
|
902
1258
|
# resource path
|
|
903
|
-
path = "/api/v2/telephony/providers/
|
|
1259
|
+
path = "/api/v2/telephony/providers/edges/dids/{didId}".sub('{format}','json').sub('{' + 'didId' + '}', did_id.to_s)
|
|
904
1260
|
|
|
905
1261
|
# query parameters
|
|
906
1262
|
query_params = {}
|
|
@@ -932,7 +1288,7 @@ module PureCloud
|
|
|
932
1288
|
:auth_names => auth_names,
|
|
933
1289
|
:return_type => 'DID')
|
|
934
1290
|
if @api_client.config.debugging
|
|
935
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1291
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_dids_did_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
936
1292
|
end
|
|
937
1293
|
return data, status_code, headers
|
|
938
1294
|
end
|
|
@@ -943,8 +1299,8 @@ module PureCloud
|
|
|
943
1299
|
# @param [Hash] opts the optional parameters
|
|
944
1300
|
# @option opts [DID] :body
|
|
945
1301
|
# @return [DID]
|
|
946
|
-
def
|
|
947
|
-
data, status_code, headers =
|
|
1302
|
+
def put_providers_edges_dids_did_id(did_id, opts = {})
|
|
1303
|
+
data, status_code, headers = put_providers_edges_dids_did_id_with_http_info(did_id, opts)
|
|
948
1304
|
return data
|
|
949
1305
|
end
|
|
950
1306
|
|
|
@@ -954,16 +1310,16 @@ module PureCloud
|
|
|
954
1310
|
# @param [Hash] opts the optional parameters
|
|
955
1311
|
# @option opts [DID] :body
|
|
956
1312
|
# @return [Array<(DID, Fixnum, Hash)>] DID data, response status code and response headers
|
|
957
|
-
def
|
|
1313
|
+
def put_providers_edges_dids_did_id_with_http_info(did_id, opts = {})
|
|
958
1314
|
if @api_client.config.debugging
|
|
959
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1315
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_dids_did_id ..."
|
|
960
1316
|
end
|
|
961
1317
|
|
|
962
1318
|
# verify the required parameter 'did_id' is set
|
|
963
|
-
fail "Missing the required parameter 'did_id' when calling
|
|
1319
|
+
fail "Missing the required parameter 'did_id' when calling put_providers_edges_dids_did_id" if did_id.nil?
|
|
964
1320
|
|
|
965
1321
|
# resource path
|
|
966
|
-
path = "/api/v2/telephony/providers/
|
|
1322
|
+
path = "/api/v2/telephony/providers/edges/dids/{didId}".sub('{format}','json').sub('{' + 'didId' + '}', did_id.to_s)
|
|
967
1323
|
|
|
968
1324
|
# query parameters
|
|
969
1325
|
query_params = {}
|
|
@@ -995,7 +1351,7 @@ module PureCloud
|
|
|
995
1351
|
:auth_names => auth_names,
|
|
996
1352
|
:return_type => 'DID')
|
|
997
1353
|
if @api_client.config.debugging
|
|
998
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1354
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_dids_did_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
999
1355
|
end
|
|
1000
1356
|
return data, status_code, headers
|
|
1001
1357
|
end
|
|
@@ -1008,8 +1364,8 @@ module PureCloud
|
|
|
1008
1364
|
# @option opts [String] :name Name
|
|
1009
1365
|
# @option opts [String] :sort_by Sort by
|
|
1010
1366
|
# @return [EdgeGroupEntityListing]
|
|
1011
|
-
def
|
|
1012
|
-
data, status_code, headers =
|
|
1367
|
+
def get_providers_edges_edgegroups(opts = {})
|
|
1368
|
+
data, status_code, headers = get_providers_edges_edgegroups_with_http_info(opts)
|
|
1013
1369
|
return data
|
|
1014
1370
|
end
|
|
1015
1371
|
|
|
@@ -1021,13 +1377,13 @@ module PureCloud
|
|
|
1021
1377
|
# @option opts [String] :name Name
|
|
1022
1378
|
# @option opts [String] :sort_by Sort by
|
|
1023
1379
|
# @return [Array<(EdgeGroupEntityListing, Fixnum, Hash)>] EdgeGroupEntityListing data, response status code and response headers
|
|
1024
|
-
def
|
|
1380
|
+
def get_providers_edges_edgegroups_with_http_info(opts = {})
|
|
1025
1381
|
if @api_client.config.debugging
|
|
1026
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1382
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edgegroups ..."
|
|
1027
1383
|
end
|
|
1028
1384
|
|
|
1029
1385
|
# resource path
|
|
1030
|
-
path = "/api/v2/telephony/providers/
|
|
1386
|
+
path = "/api/v2/telephony/providers/edges/edgegroups".sub('{format}','json')
|
|
1031
1387
|
|
|
1032
1388
|
# query parameters
|
|
1033
1389
|
query_params = {}
|
|
@@ -1063,7 +1419,7 @@ module PureCloud
|
|
|
1063
1419
|
:auth_names => auth_names,
|
|
1064
1420
|
:return_type => 'EdgeGroupEntityListing')
|
|
1065
1421
|
if @api_client.config.debugging
|
|
1066
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1422
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edgegroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1067
1423
|
end
|
|
1068
1424
|
return data, status_code, headers
|
|
1069
1425
|
end
|
|
@@ -1073,8 +1429,8 @@ module PureCloud
|
|
|
1073
1429
|
# @param [Hash] opts the optional parameters
|
|
1074
1430
|
# @option opts [EdgeGroup] :body EdgeGroup
|
|
1075
1431
|
# @return [EdgeGroup]
|
|
1076
|
-
def
|
|
1077
|
-
data, status_code, headers =
|
|
1432
|
+
def post_providers_edges_edgegroups(opts = {})
|
|
1433
|
+
data, status_code, headers = post_providers_edges_edgegroups_with_http_info(opts)
|
|
1078
1434
|
return data
|
|
1079
1435
|
end
|
|
1080
1436
|
|
|
@@ -1083,13 +1439,13 @@ module PureCloud
|
|
|
1083
1439
|
# @param [Hash] opts the optional parameters
|
|
1084
1440
|
# @option opts [EdgeGroup] :body EdgeGroup
|
|
1085
1441
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
|
1086
|
-
def
|
|
1442
|
+
def post_providers_edges_edgegroups_with_http_info(opts = {})
|
|
1087
1443
|
if @api_client.config.debugging
|
|
1088
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1444
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edgegroups ..."
|
|
1089
1445
|
end
|
|
1090
1446
|
|
|
1091
1447
|
# resource path
|
|
1092
|
-
path = "/api/v2/telephony/providers/
|
|
1448
|
+
path = "/api/v2/telephony/providers/edges/edgegroups".sub('{format}','json')
|
|
1093
1449
|
|
|
1094
1450
|
# query parameters
|
|
1095
1451
|
query_params = {}
|
|
@@ -1121,7 +1477,7 @@ module PureCloud
|
|
|
1121
1477
|
:auth_names => auth_names,
|
|
1122
1478
|
:return_type => 'EdgeGroup')
|
|
1123
1479
|
if @api_client.config.debugging
|
|
1124
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1480
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_edgegroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1125
1481
|
end
|
|
1126
1482
|
return data, status_code, headers
|
|
1127
1483
|
end
|
|
@@ -1131,8 +1487,8 @@ module PureCloud
|
|
|
1131
1487
|
# @param edge_group_id Edge group ID
|
|
1132
1488
|
# @param [Hash] opts the optional parameters
|
|
1133
1489
|
# @return [EdgeGroup]
|
|
1134
|
-
def
|
|
1135
|
-
data, status_code, headers =
|
|
1490
|
+
def get_providers_edges_edgegroups_edgegroup_id(edge_group_id, opts = {})
|
|
1491
|
+
data, status_code, headers = get_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts)
|
|
1136
1492
|
return data
|
|
1137
1493
|
end
|
|
1138
1494
|
|
|
@@ -1141,16 +1497,16 @@ module PureCloud
|
|
|
1141
1497
|
# @param edge_group_id Edge group ID
|
|
1142
1498
|
# @param [Hash] opts the optional parameters
|
|
1143
1499
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
|
1144
|
-
def
|
|
1500
|
+
def get_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts = {})
|
|
1145
1501
|
if @api_client.config.debugging
|
|
1146
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1502
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edgegroups_edgegroup_id ..."
|
|
1147
1503
|
end
|
|
1148
1504
|
|
|
1149
1505
|
# verify the required parameter 'edge_group_id' is set
|
|
1150
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
|
1506
|
+
fail "Missing the required parameter 'edge_group_id' when calling get_providers_edges_edgegroups_edgegroup_id" if edge_group_id.nil?
|
|
1151
1507
|
|
|
1152
1508
|
# resource path
|
|
1153
|
-
path = "/api/v2/telephony/providers/
|
|
1509
|
+
path = "/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
|
1154
1510
|
|
|
1155
1511
|
# query parameters
|
|
1156
1512
|
query_params = {}
|
|
@@ -1182,7 +1538,7 @@ module PureCloud
|
|
|
1182
1538
|
:auth_names => auth_names,
|
|
1183
1539
|
:return_type => 'EdgeGroup')
|
|
1184
1540
|
if @api_client.config.debugging
|
|
1185
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1541
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edgegroups_edgegroup_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1186
1542
|
end
|
|
1187
1543
|
return data, status_code, headers
|
|
1188
1544
|
end
|
|
@@ -1193,8 +1549,8 @@ module PureCloud
|
|
|
1193
1549
|
# @param [Hash] opts the optional parameters
|
|
1194
1550
|
# @option opts [EdgeGroup] :body EdgeGroup
|
|
1195
1551
|
# @return [EdgeGroup]
|
|
1196
|
-
def
|
|
1197
|
-
data, status_code, headers =
|
|
1552
|
+
def put_providers_edges_edgegroups_edgegroup_id(edge_group_id, opts = {})
|
|
1553
|
+
data, status_code, headers = put_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts)
|
|
1198
1554
|
return data
|
|
1199
1555
|
end
|
|
1200
1556
|
|
|
@@ -1204,16 +1560,16 @@ module PureCloud
|
|
|
1204
1560
|
# @param [Hash] opts the optional parameters
|
|
1205
1561
|
# @option opts [EdgeGroup] :body EdgeGroup
|
|
1206
1562
|
# @return [Array<(EdgeGroup, Fixnum, Hash)>] EdgeGroup data, response status code and response headers
|
|
1207
|
-
def
|
|
1563
|
+
def put_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts = {})
|
|
1208
1564
|
if @api_client.config.debugging
|
|
1209
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1565
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edgegroups_edgegroup_id ..."
|
|
1210
1566
|
end
|
|
1211
1567
|
|
|
1212
1568
|
# verify the required parameter 'edge_group_id' is set
|
|
1213
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
|
1569
|
+
fail "Missing the required parameter 'edge_group_id' when calling put_providers_edges_edgegroups_edgegroup_id" if edge_group_id.nil?
|
|
1214
1570
|
|
|
1215
1571
|
# resource path
|
|
1216
|
-
path = "/api/v2/telephony/providers/
|
|
1572
|
+
path = "/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
|
1217
1573
|
|
|
1218
1574
|
# query parameters
|
|
1219
1575
|
query_params = {}
|
|
@@ -1245,7 +1601,7 @@ module PureCloud
|
|
|
1245
1601
|
:auth_names => auth_names,
|
|
1246
1602
|
:return_type => 'EdgeGroup')
|
|
1247
1603
|
if @api_client.config.debugging
|
|
1248
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1604
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_edgegroups_edgegroup_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1249
1605
|
end
|
|
1250
1606
|
return data, status_code, headers
|
|
1251
1607
|
end
|
|
@@ -1255,8 +1611,8 @@ module PureCloud
|
|
|
1255
1611
|
# @param edge_group_id Edge group ID
|
|
1256
1612
|
# @param [Hash] opts the optional parameters
|
|
1257
1613
|
# @return [String]
|
|
1258
|
-
def
|
|
1259
|
-
data, status_code, headers =
|
|
1614
|
+
def delete_providers_edges_edgegroups_edgegroup_id(edge_group_id, opts = {})
|
|
1615
|
+
data, status_code, headers = delete_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts)
|
|
1260
1616
|
return data
|
|
1261
1617
|
end
|
|
1262
1618
|
|
|
@@ -1265,16 +1621,16 @@ module PureCloud
|
|
|
1265
1621
|
# @param edge_group_id Edge group ID
|
|
1266
1622
|
# @param [Hash] opts the optional parameters
|
|
1267
1623
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
1268
|
-
def
|
|
1624
|
+
def delete_providers_edges_edgegroups_edgegroup_id_with_http_info(edge_group_id, opts = {})
|
|
1269
1625
|
if @api_client.config.debugging
|
|
1270
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1626
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_edgegroups_edgegroup_id ..."
|
|
1271
1627
|
end
|
|
1272
1628
|
|
|
1273
1629
|
# verify the required parameter 'edge_group_id' is set
|
|
1274
|
-
fail "Missing the required parameter 'edge_group_id' when calling
|
|
1630
|
+
fail "Missing the required parameter 'edge_group_id' when calling delete_providers_edges_edgegroups_edgegroup_id" if edge_group_id.nil?
|
|
1275
1631
|
|
|
1276
1632
|
# resource path
|
|
1277
|
-
path = "/api/v2/telephony/providers/
|
|
1633
|
+
path = "/api/v2/telephony/providers/edges/edgegroups/{edgeGroupId}".sub('{format}','json').sub('{' + 'edgeGroupId' + '}', edge_group_id.to_s)
|
|
1278
1634
|
|
|
1279
1635
|
# query parameters
|
|
1280
1636
|
query_params = {}
|
|
@@ -1306,7 +1662,7 @@ module PureCloud
|
|
|
1306
1662
|
:auth_names => auth_names,
|
|
1307
1663
|
:return_type => 'String')
|
|
1308
1664
|
if @api_client.config.debugging
|
|
1309
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1665
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_edgegroups_edgegroup_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1310
1666
|
end
|
|
1311
1667
|
return data, status_code, headers
|
|
1312
1668
|
end
|
|
@@ -1315,8 +1671,8 @@ module PureCloud
|
|
|
1315
1671
|
# The report will not have consistent data about the edge version(s) until all edges have been reset.
|
|
1316
1672
|
# @param [Hash] opts the optional parameters
|
|
1317
1673
|
# @return [EdgeVersionReport]
|
|
1318
|
-
def
|
|
1319
|
-
data, status_code, headers =
|
|
1674
|
+
def get_providers_edges_edgeversionreport(opts = {})
|
|
1675
|
+
data, status_code, headers = get_providers_edges_edgeversionreport_with_http_info(opts)
|
|
1320
1676
|
return data
|
|
1321
1677
|
end
|
|
1322
1678
|
|
|
@@ -1324,13 +1680,13 @@ module PureCloud
|
|
|
1324
1680
|
# The report will not have consistent data about the edge version(s) until all edges have been reset.
|
|
1325
1681
|
# @param [Hash] opts the optional parameters
|
|
1326
1682
|
# @return [Array<(EdgeVersionReport, Fixnum, Hash)>] EdgeVersionReport data, response status code and response headers
|
|
1327
|
-
def
|
|
1683
|
+
def get_providers_edges_edgeversionreport_with_http_info(opts = {})
|
|
1328
1684
|
if @api_client.config.debugging
|
|
1329
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1685
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edgeversionreport ..."
|
|
1330
1686
|
end
|
|
1331
1687
|
|
|
1332
1688
|
# resource path
|
|
1333
|
-
path = "/api/v2/telephony/providers/
|
|
1689
|
+
path = "/api/v2/telephony/providers/edges/edgeversionreport".sub('{format}','json')
|
|
1334
1690
|
|
|
1335
1691
|
# query parameters
|
|
1336
1692
|
query_params = {}
|
|
@@ -1362,7 +1718,7 @@ module PureCloud
|
|
|
1362
1718
|
:auth_names => auth_names,
|
|
1363
1719
|
:return_type => 'EdgeVersionReport')
|
|
1364
1720
|
if @api_client.config.debugging
|
|
1365
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1721
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edgeversionreport\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1366
1722
|
end
|
|
1367
1723
|
return data, status_code, headers
|
|
1368
1724
|
end
|
|
@@ -1375,8 +1731,8 @@ module PureCloud
|
|
|
1375
1731
|
# @option opts [String] :name Name
|
|
1376
1732
|
# @option opts [String] :sort_by Sort by
|
|
1377
1733
|
# @return [EndpointEntityListing]
|
|
1378
|
-
def
|
|
1379
|
-
data, status_code, headers =
|
|
1734
|
+
def get_providers_edges_endpoints(opts = {})
|
|
1735
|
+
data, status_code, headers = get_providers_edges_endpoints_with_http_info(opts)
|
|
1380
1736
|
return data
|
|
1381
1737
|
end
|
|
1382
1738
|
|
|
@@ -1388,13 +1744,13 @@ module PureCloud
|
|
|
1388
1744
|
# @option opts [String] :name Name
|
|
1389
1745
|
# @option opts [String] :sort_by Sort by
|
|
1390
1746
|
# @return [Array<(EndpointEntityListing, Fixnum, Hash)>] EndpointEntityListing data, response status code and response headers
|
|
1391
|
-
def
|
|
1747
|
+
def get_providers_edges_endpoints_with_http_info(opts = {})
|
|
1392
1748
|
if @api_client.config.debugging
|
|
1393
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1749
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_endpoints ..."
|
|
1394
1750
|
end
|
|
1395
1751
|
|
|
1396
1752
|
# resource path
|
|
1397
|
-
path = "/api/v2/telephony/providers/
|
|
1753
|
+
path = "/api/v2/telephony/providers/edges/endpoints".sub('{format}','json')
|
|
1398
1754
|
|
|
1399
1755
|
# query parameters
|
|
1400
1756
|
query_params = {}
|
|
@@ -1430,7 +1786,7 @@ module PureCloud
|
|
|
1430
1786
|
:auth_names => auth_names,
|
|
1431
1787
|
:return_type => 'EndpointEntityListing')
|
|
1432
1788
|
if @api_client.config.debugging
|
|
1433
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1789
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1434
1790
|
end
|
|
1435
1791
|
return data, status_code, headers
|
|
1436
1792
|
end
|
|
@@ -1440,8 +1796,8 @@ module PureCloud
|
|
|
1440
1796
|
# @param [Hash] opts the optional parameters
|
|
1441
1797
|
# @option opts [Endpoint] :body EndpointTemplate
|
|
1442
1798
|
# @return [Endpoint]
|
|
1443
|
-
def
|
|
1444
|
-
data, status_code, headers =
|
|
1799
|
+
def post_providers_edges_endpoints(opts = {})
|
|
1800
|
+
data, status_code, headers = post_providers_edges_endpoints_with_http_info(opts)
|
|
1445
1801
|
return data
|
|
1446
1802
|
end
|
|
1447
1803
|
|
|
@@ -1450,13 +1806,13 @@ module PureCloud
|
|
|
1450
1806
|
# @param [Hash] opts the optional parameters
|
|
1451
1807
|
# @option opts [Endpoint] :body EndpointTemplate
|
|
1452
1808
|
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
|
|
1453
|
-
def
|
|
1809
|
+
def post_providers_edges_endpoints_with_http_info(opts = {})
|
|
1454
1810
|
if @api_client.config.debugging
|
|
1455
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1811
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_endpoints ..."
|
|
1456
1812
|
end
|
|
1457
1813
|
|
|
1458
1814
|
# resource path
|
|
1459
|
-
path = "/api/v2/telephony/providers/
|
|
1815
|
+
path = "/api/v2/telephony/providers/edges/endpoints".sub('{format}','json')
|
|
1460
1816
|
|
|
1461
1817
|
# query parameters
|
|
1462
1818
|
query_params = {}
|
|
@@ -1488,7 +1844,7 @@ module PureCloud
|
|
|
1488
1844
|
:auth_names => auth_names,
|
|
1489
1845
|
:return_type => 'Endpoint')
|
|
1490
1846
|
if @api_client.config.debugging
|
|
1491
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1847
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1492
1848
|
end
|
|
1493
1849
|
return data, status_code, headers
|
|
1494
1850
|
end
|
|
@@ -1498,8 +1854,8 @@ module PureCloud
|
|
|
1498
1854
|
# @param endpoint_id Endpoint ID
|
|
1499
1855
|
# @param [Hash] opts the optional parameters
|
|
1500
1856
|
# @return [Endpoint]
|
|
1501
|
-
def
|
|
1502
|
-
data, status_code, headers =
|
|
1857
|
+
def get_providers_edges_endpoints_endpoint_id(endpoint_id, opts = {})
|
|
1858
|
+
data, status_code, headers = get_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
|
|
1503
1859
|
return data
|
|
1504
1860
|
end
|
|
1505
1861
|
|
|
@@ -1508,16 +1864,16 @@ module PureCloud
|
|
|
1508
1864
|
# @param endpoint_id Endpoint ID
|
|
1509
1865
|
# @param [Hash] opts the optional parameters
|
|
1510
1866
|
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
|
|
1511
|
-
def
|
|
1867
|
+
def get_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
|
|
1512
1868
|
if @api_client.config.debugging
|
|
1513
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1869
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_endpoints_endpoint_id ..."
|
|
1514
1870
|
end
|
|
1515
1871
|
|
|
1516
1872
|
# verify the required parameter 'endpoint_id' is set
|
|
1517
|
-
fail "Missing the required parameter 'endpoint_id' when calling
|
|
1873
|
+
fail "Missing the required parameter 'endpoint_id' when calling get_providers_edges_endpoints_endpoint_id" if endpoint_id.nil?
|
|
1518
1874
|
|
|
1519
1875
|
# resource path
|
|
1520
|
-
path = "/api/v2/telephony/providers/
|
|
1876
|
+
path = "/api/v2/telephony/providers/edges/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
|
|
1521
1877
|
|
|
1522
1878
|
# query parameters
|
|
1523
1879
|
query_params = {}
|
|
@@ -1549,7 +1905,7 @@ module PureCloud
|
|
|
1549
1905
|
:auth_names => auth_names,
|
|
1550
1906
|
:return_type => 'Endpoint')
|
|
1551
1907
|
if @api_client.config.debugging
|
|
1552
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1908
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1553
1909
|
end
|
|
1554
1910
|
return data, status_code, headers
|
|
1555
1911
|
end
|
|
@@ -1560,8 +1916,8 @@ module PureCloud
|
|
|
1560
1916
|
# @param [Hash] opts the optional parameters
|
|
1561
1917
|
# @option opts [Endpoint] :body EndpointTemplate
|
|
1562
1918
|
# @return [Endpoint]
|
|
1563
|
-
def
|
|
1564
|
-
data, status_code, headers =
|
|
1919
|
+
def put_providers_edges_endpoints_endpoint_id(endpoint_id, opts = {})
|
|
1920
|
+
data, status_code, headers = put_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
|
|
1565
1921
|
return data
|
|
1566
1922
|
end
|
|
1567
1923
|
|
|
@@ -1571,16 +1927,16 @@ module PureCloud
|
|
|
1571
1927
|
# @param [Hash] opts the optional parameters
|
|
1572
1928
|
# @option opts [Endpoint] :body EndpointTemplate
|
|
1573
1929
|
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
|
|
1574
|
-
def
|
|
1930
|
+
def put_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
|
|
1575
1931
|
if @api_client.config.debugging
|
|
1576
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1932
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_endpoints_endpoint_id ..."
|
|
1577
1933
|
end
|
|
1578
1934
|
|
|
1579
1935
|
# verify the required parameter 'endpoint_id' is set
|
|
1580
|
-
fail "Missing the required parameter 'endpoint_id' when calling
|
|
1936
|
+
fail "Missing the required parameter 'endpoint_id' when calling put_providers_edges_endpoints_endpoint_id" if endpoint_id.nil?
|
|
1581
1937
|
|
|
1582
1938
|
# resource path
|
|
1583
|
-
path = "/api/v2/telephony/providers/
|
|
1939
|
+
path = "/api/v2/telephony/providers/edges/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
|
|
1584
1940
|
|
|
1585
1941
|
# query parameters
|
|
1586
1942
|
query_params = {}
|
|
@@ -1612,7 +1968,7 @@ module PureCloud
|
|
|
1612
1968
|
:auth_names => auth_names,
|
|
1613
1969
|
:return_type => 'Endpoint')
|
|
1614
1970
|
if @api_client.config.debugging
|
|
1615
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
1971
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1616
1972
|
end
|
|
1617
1973
|
return data, status_code, headers
|
|
1618
1974
|
end
|
|
@@ -1622,8 +1978,8 @@ module PureCloud
|
|
|
1622
1978
|
# @param endpoint_id Endpoint ID
|
|
1623
1979
|
# @param [Hash] opts the optional parameters
|
|
1624
1980
|
# @return [String]
|
|
1625
|
-
def
|
|
1626
|
-
data, status_code, headers =
|
|
1981
|
+
def delete_providers_edges_endpoints_endpoint_id(endpoint_id, opts = {})
|
|
1982
|
+
data, status_code, headers = delete_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
|
|
1627
1983
|
return data
|
|
1628
1984
|
end
|
|
1629
1985
|
|
|
@@ -1632,16 +1988,16 @@ module PureCloud
|
|
|
1632
1988
|
# @param endpoint_id Endpoint ID
|
|
1633
1989
|
# @param [Hash] opts the optional parameters
|
|
1634
1990
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
1635
|
-
def
|
|
1991
|
+
def delete_providers_edges_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
|
|
1636
1992
|
if @api_client.config.debugging
|
|
1637
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
1993
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_endpoints_endpoint_id ..."
|
|
1638
1994
|
end
|
|
1639
1995
|
|
|
1640
1996
|
# verify the required parameter 'endpoint_id' is set
|
|
1641
|
-
fail "Missing the required parameter 'endpoint_id' when calling
|
|
1997
|
+
fail "Missing the required parameter 'endpoint_id' when calling delete_providers_edges_endpoints_endpoint_id" if endpoint_id.nil?
|
|
1642
1998
|
|
|
1643
1999
|
# resource path
|
|
1644
|
-
path = "/api/v2/telephony/providers/
|
|
2000
|
+
path = "/api/v2/telephony/providers/edges/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
|
|
1645
2001
|
|
|
1646
2002
|
# query parameters
|
|
1647
2003
|
query_params = {}
|
|
@@ -1673,7 +2029,7 @@ module PureCloud
|
|
|
1673
2029
|
:auth_names => auth_names,
|
|
1674
2030
|
:return_type => 'String')
|
|
1675
2031
|
if @api_client.config.debugging
|
|
1676
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2032
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1677
2033
|
end
|
|
1678
2034
|
return data, status_code, headers
|
|
1679
2035
|
end
|
|
@@ -1686,8 +2042,8 @@ module PureCloud
|
|
|
1686
2042
|
# @option opts [String] :sort_by Sort by
|
|
1687
2043
|
# @option opts [String] :number Number
|
|
1688
2044
|
# @return [ExtensionPoolEntityListing]
|
|
1689
|
-
def
|
|
1690
|
-
data, status_code, headers =
|
|
2045
|
+
def get_providers_edges_extensionpools(opts = {})
|
|
2046
|
+
data, status_code, headers = get_providers_edges_extensionpools_with_http_info(opts)
|
|
1691
2047
|
return data
|
|
1692
2048
|
end
|
|
1693
2049
|
|
|
@@ -1699,13 +2055,13 @@ module PureCloud
|
|
|
1699
2055
|
# @option opts [String] :sort_by Sort by
|
|
1700
2056
|
# @option opts [String] :number Number
|
|
1701
2057
|
# @return [Array<(ExtensionPoolEntityListing, Fixnum, Hash)>] ExtensionPoolEntityListing data, response status code and response headers
|
|
1702
|
-
def
|
|
2058
|
+
def get_providers_edges_extensionpools_with_http_info(opts = {})
|
|
1703
2059
|
if @api_client.config.debugging
|
|
1704
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2060
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_extensionpools ..."
|
|
1705
2061
|
end
|
|
1706
2062
|
|
|
1707
2063
|
# resource path
|
|
1708
|
-
path = "/api/v2/telephony/providers/
|
|
2064
|
+
path = "/api/v2/telephony/providers/edges/extensionpools".sub('{format}','json')
|
|
1709
2065
|
|
|
1710
2066
|
# query parameters
|
|
1711
2067
|
query_params = {}
|
|
@@ -1741,7 +2097,7 @@ module PureCloud
|
|
|
1741
2097
|
:auth_names => auth_names,
|
|
1742
2098
|
:return_type => 'ExtensionPoolEntityListing')
|
|
1743
2099
|
if @api_client.config.debugging
|
|
1744
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2100
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_extensionpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1745
2101
|
end
|
|
1746
2102
|
return data, status_code, headers
|
|
1747
2103
|
end
|
|
@@ -1751,8 +2107,8 @@ module PureCloud
|
|
|
1751
2107
|
# @param [Hash] opts the optional parameters
|
|
1752
2108
|
# @option opts [ExtensionPool] :body ExtensionPool
|
|
1753
2109
|
# @return [Extension]
|
|
1754
|
-
def
|
|
1755
|
-
data, status_code, headers =
|
|
2110
|
+
def post_providers_edges_extensionpools(opts = {})
|
|
2111
|
+
data, status_code, headers = post_providers_edges_extensionpools_with_http_info(opts)
|
|
1756
2112
|
return data
|
|
1757
2113
|
end
|
|
1758
2114
|
|
|
@@ -1761,13 +2117,13 @@ module PureCloud
|
|
|
1761
2117
|
# @param [Hash] opts the optional parameters
|
|
1762
2118
|
# @option opts [ExtensionPool] :body ExtensionPool
|
|
1763
2119
|
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
|
|
1764
|
-
def
|
|
2120
|
+
def post_providers_edges_extensionpools_with_http_info(opts = {})
|
|
1765
2121
|
if @api_client.config.debugging
|
|
1766
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2122
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_extensionpools ..."
|
|
1767
2123
|
end
|
|
1768
2124
|
|
|
1769
2125
|
# resource path
|
|
1770
|
-
path = "/api/v2/telephony/providers/
|
|
2126
|
+
path = "/api/v2/telephony/providers/edges/extensionpools".sub('{format}','json')
|
|
1771
2127
|
|
|
1772
2128
|
# query parameters
|
|
1773
2129
|
query_params = {}
|
|
@@ -1799,7 +2155,7 @@ module PureCloud
|
|
|
1799
2155
|
:auth_names => auth_names,
|
|
1800
2156
|
:return_type => 'Extension')
|
|
1801
2157
|
if @api_client.config.debugging
|
|
1802
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2158
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_extensionpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1803
2159
|
end
|
|
1804
2160
|
return data, status_code, headers
|
|
1805
2161
|
end
|
|
@@ -1809,8 +2165,8 @@ module PureCloud
|
|
|
1809
2165
|
# @param extension_pool_id Extension pool ID
|
|
1810
2166
|
# @param [Hash] opts the optional parameters
|
|
1811
2167
|
# @return [ExtensionPool]
|
|
1812
|
-
def
|
|
1813
|
-
data, status_code, headers =
|
|
2168
|
+
def get_providers_edges_extensionpools_extensionpool_id(extension_pool_id, opts = {})
|
|
2169
|
+
data, status_code, headers = get_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
|
|
1814
2170
|
return data
|
|
1815
2171
|
end
|
|
1816
2172
|
|
|
@@ -1819,16 +2175,16 @@ module PureCloud
|
|
|
1819
2175
|
# @param extension_pool_id Extension pool ID
|
|
1820
2176
|
# @param [Hash] opts the optional parameters
|
|
1821
2177
|
# @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
|
|
1822
|
-
def
|
|
2178
|
+
def get_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
|
|
1823
2179
|
if @api_client.config.debugging
|
|
1824
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2180
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_extensionpools_extensionpool_id ..."
|
|
1825
2181
|
end
|
|
1826
2182
|
|
|
1827
2183
|
# verify the required parameter 'extension_pool_id' is set
|
|
1828
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
|
2184
|
+
fail "Missing the required parameter 'extension_pool_id' when calling get_providers_edges_extensionpools_extensionpool_id" if extension_pool_id.nil?
|
|
1829
2185
|
|
|
1830
2186
|
# resource path
|
|
1831
|
-
path = "/api/v2/telephony/providers/
|
|
2187
|
+
path = "/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
|
1832
2188
|
|
|
1833
2189
|
# query parameters
|
|
1834
2190
|
query_params = {}
|
|
@@ -1860,7 +2216,7 @@ module PureCloud
|
|
|
1860
2216
|
:auth_names => auth_names,
|
|
1861
2217
|
:return_type => 'ExtensionPool')
|
|
1862
2218
|
if @api_client.config.debugging
|
|
1863
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2219
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1864
2220
|
end
|
|
1865
2221
|
return data, status_code, headers
|
|
1866
2222
|
end
|
|
@@ -1871,8 +2227,8 @@ module PureCloud
|
|
|
1871
2227
|
# @param [Hash] opts the optional parameters
|
|
1872
2228
|
# @option opts [ExtensionPool] :body ExtensionPool
|
|
1873
2229
|
# @return [ExtensionPool]
|
|
1874
|
-
def
|
|
1875
|
-
data, status_code, headers =
|
|
2230
|
+
def put_providers_edges_extensionpools_extensionpool_id(extension_pool_id, opts = {})
|
|
2231
|
+
data, status_code, headers = put_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
|
|
1876
2232
|
return data
|
|
1877
2233
|
end
|
|
1878
2234
|
|
|
@@ -1882,16 +2238,16 @@ module PureCloud
|
|
|
1882
2238
|
# @param [Hash] opts the optional parameters
|
|
1883
2239
|
# @option opts [ExtensionPool] :body ExtensionPool
|
|
1884
2240
|
# @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
|
|
1885
|
-
def
|
|
2241
|
+
def put_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
|
|
1886
2242
|
if @api_client.config.debugging
|
|
1887
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2243
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_extensionpools_extensionpool_id ..."
|
|
1888
2244
|
end
|
|
1889
2245
|
|
|
1890
2246
|
# verify the required parameter 'extension_pool_id' is set
|
|
1891
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
|
2247
|
+
fail "Missing the required parameter 'extension_pool_id' when calling put_providers_edges_extensionpools_extensionpool_id" if extension_pool_id.nil?
|
|
1892
2248
|
|
|
1893
2249
|
# resource path
|
|
1894
|
-
path = "/api/v2/telephony/providers/
|
|
2250
|
+
path = "/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
|
1895
2251
|
|
|
1896
2252
|
# query parameters
|
|
1897
2253
|
query_params = {}
|
|
@@ -1923,7 +2279,7 @@ module PureCloud
|
|
|
1923
2279
|
:auth_names => auth_names,
|
|
1924
2280
|
:return_type => 'ExtensionPool')
|
|
1925
2281
|
if @api_client.config.debugging
|
|
1926
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2282
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1927
2283
|
end
|
|
1928
2284
|
return data, status_code, headers
|
|
1929
2285
|
end
|
|
@@ -1933,8 +2289,8 @@ module PureCloud
|
|
|
1933
2289
|
# @param extension_pool_id Extension pool ID
|
|
1934
2290
|
# @param [Hash] opts the optional parameters
|
|
1935
2291
|
# @return [String]
|
|
1936
|
-
def
|
|
1937
|
-
data, status_code, headers =
|
|
2292
|
+
def delete_providers_edges_extensionpools_extensionpool_id(extension_pool_id, opts = {})
|
|
2293
|
+
data, status_code, headers = delete_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
|
|
1938
2294
|
return data
|
|
1939
2295
|
end
|
|
1940
2296
|
|
|
@@ -1943,16 +2299,16 @@ module PureCloud
|
|
|
1943
2299
|
# @param extension_pool_id Extension pool ID
|
|
1944
2300
|
# @param [Hash] opts the optional parameters
|
|
1945
2301
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
1946
|
-
def
|
|
2302
|
+
def delete_providers_edges_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
|
|
1947
2303
|
if @api_client.config.debugging
|
|
1948
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2304
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_extensionpools_extensionpool_id ..."
|
|
1949
2305
|
end
|
|
1950
2306
|
|
|
1951
2307
|
# verify the required parameter 'extension_pool_id' is set
|
|
1952
|
-
fail "Missing the required parameter 'extension_pool_id' when calling
|
|
2308
|
+
fail "Missing the required parameter 'extension_pool_id' when calling delete_providers_edges_extensionpools_extensionpool_id" if extension_pool_id.nil?
|
|
1953
2309
|
|
|
1954
2310
|
# resource path
|
|
1955
|
-
path = "/api/v2/telephony/providers/
|
|
2311
|
+
path = "/api/v2/telephony/providers/edges/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
|
|
1956
2312
|
|
|
1957
2313
|
# query parameters
|
|
1958
2314
|
query_params = {}
|
|
@@ -1984,7 +2340,7 @@ module PureCloud
|
|
|
1984
2340
|
:auth_names => auth_names,
|
|
1985
2341
|
:return_type => 'String')
|
|
1986
2342
|
if @api_client.config.debugging
|
|
1987
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2343
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1988
2344
|
end
|
|
1989
2345
|
return data, status_code, headers
|
|
1990
2346
|
end
|
|
@@ -1998,8 +2354,8 @@ module PureCloud
|
|
|
1998
2354
|
# @option opts [String] :sort_order Sort order
|
|
1999
2355
|
# @option opts [String] :number Filter by number
|
|
2000
2356
|
# @return [ExtensionEntityListing]
|
|
2001
|
-
def
|
|
2002
|
-
data, status_code, headers =
|
|
2357
|
+
def get_providers_edges_extensions(opts = {})
|
|
2358
|
+
data, status_code, headers = get_providers_edges_extensions_with_http_info(opts)
|
|
2003
2359
|
return data
|
|
2004
2360
|
end
|
|
2005
2361
|
|
|
@@ -2012,13 +2368,13 @@ module PureCloud
|
|
|
2012
2368
|
# @option opts [String] :sort_order Sort order
|
|
2013
2369
|
# @option opts [String] :number Filter by number
|
|
2014
2370
|
# @return [Array<(ExtensionEntityListing, Fixnum, Hash)>] ExtensionEntityListing data, response status code and response headers
|
|
2015
|
-
def
|
|
2371
|
+
def get_providers_edges_extensions_with_http_info(opts = {})
|
|
2016
2372
|
if @api_client.config.debugging
|
|
2017
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2373
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_extensions ..."
|
|
2018
2374
|
end
|
|
2019
2375
|
|
|
2020
2376
|
# resource path
|
|
2021
|
-
path = "/api/v2/telephony/providers/
|
|
2377
|
+
path = "/api/v2/telephony/providers/edges/extensions".sub('{format}','json')
|
|
2022
2378
|
|
|
2023
2379
|
# query parameters
|
|
2024
2380
|
query_params = {}
|
|
@@ -2055,7 +2411,7 @@ module PureCloud
|
|
|
2055
2411
|
:auth_names => auth_names,
|
|
2056
2412
|
:return_type => 'ExtensionEntityListing')
|
|
2057
2413
|
if @api_client.config.debugging
|
|
2058
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2414
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_extensions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2059
2415
|
end
|
|
2060
2416
|
return data, status_code, headers
|
|
2061
2417
|
end
|
|
@@ -2065,8 +2421,8 @@ module PureCloud
|
|
|
2065
2421
|
# @param extension_id Extension ID
|
|
2066
2422
|
# @param [Hash] opts the optional parameters
|
|
2067
2423
|
# @return [Extension]
|
|
2068
|
-
def
|
|
2069
|
-
data, status_code, headers =
|
|
2424
|
+
def get_providers_edges_extensions_extension_id(extension_id, opts = {})
|
|
2425
|
+
data, status_code, headers = get_providers_edges_extensions_extension_id_with_http_info(extension_id, opts)
|
|
2070
2426
|
return data
|
|
2071
2427
|
end
|
|
2072
2428
|
|
|
@@ -2075,16 +2431,16 @@ module PureCloud
|
|
|
2075
2431
|
# @param extension_id Extension ID
|
|
2076
2432
|
# @param [Hash] opts the optional parameters
|
|
2077
2433
|
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
|
|
2078
|
-
def
|
|
2434
|
+
def get_providers_edges_extensions_extension_id_with_http_info(extension_id, opts = {})
|
|
2079
2435
|
if @api_client.config.debugging
|
|
2080
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2436
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_extensions_extension_id ..."
|
|
2081
2437
|
end
|
|
2082
2438
|
|
|
2083
2439
|
# verify the required parameter 'extension_id' is set
|
|
2084
|
-
fail "Missing the required parameter 'extension_id' when calling
|
|
2440
|
+
fail "Missing the required parameter 'extension_id' when calling get_providers_edges_extensions_extension_id" if extension_id.nil?
|
|
2085
2441
|
|
|
2086
2442
|
# resource path
|
|
2087
|
-
path = "/api/v2/telephony/providers/
|
|
2443
|
+
path = "/api/v2/telephony/providers/edges/extensions/{extensionId}".sub('{format}','json').sub('{' + 'extensionId' + '}', extension_id.to_s)
|
|
2088
2444
|
|
|
2089
2445
|
# query parameters
|
|
2090
2446
|
query_params = {}
|
|
@@ -2116,7 +2472,7 @@ module PureCloud
|
|
|
2116
2472
|
:auth_names => auth_names,
|
|
2117
2473
|
:return_type => 'Extension')
|
|
2118
2474
|
if @api_client.config.debugging
|
|
2119
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2475
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_extensions_extension_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2120
2476
|
end
|
|
2121
2477
|
return data, status_code, headers
|
|
2122
2478
|
end
|
|
@@ -2127,8 +2483,8 @@ module PureCloud
|
|
|
2127
2483
|
# @param [Hash] opts the optional parameters
|
|
2128
2484
|
# @option opts [Extension] :body
|
|
2129
2485
|
# @return [Extension]
|
|
2130
|
-
def
|
|
2131
|
-
data, status_code, headers =
|
|
2486
|
+
def put_providers_edges_extensions_extension_id(extension_id, opts = {})
|
|
2487
|
+
data, status_code, headers = put_providers_edges_extensions_extension_id_with_http_info(extension_id, opts)
|
|
2132
2488
|
return data
|
|
2133
2489
|
end
|
|
2134
2490
|
|
|
@@ -2138,16 +2494,16 @@ module PureCloud
|
|
|
2138
2494
|
# @param [Hash] opts the optional parameters
|
|
2139
2495
|
# @option opts [Extension] :body
|
|
2140
2496
|
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
|
|
2141
|
-
def
|
|
2497
|
+
def put_providers_edges_extensions_extension_id_with_http_info(extension_id, opts = {})
|
|
2142
2498
|
if @api_client.config.debugging
|
|
2143
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2499
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_extensions_extension_id ..."
|
|
2144
2500
|
end
|
|
2145
2501
|
|
|
2146
2502
|
# verify the required parameter 'extension_id' is set
|
|
2147
|
-
fail "Missing the required parameter 'extension_id' when calling
|
|
2503
|
+
fail "Missing the required parameter 'extension_id' when calling put_providers_edges_extensions_extension_id" if extension_id.nil?
|
|
2148
2504
|
|
|
2149
2505
|
# resource path
|
|
2150
|
-
path = "/api/v2/telephony/providers/
|
|
2506
|
+
path = "/api/v2/telephony/providers/edges/extensions/{extensionId}".sub('{format}','json').sub('{' + 'extensionId' + '}', extension_id.to_s)
|
|
2151
2507
|
|
|
2152
2508
|
# query parameters
|
|
2153
2509
|
query_params = {}
|
|
@@ -2179,7 +2535,7 @@ module PureCloud
|
|
|
2179
2535
|
:auth_names => auth_names,
|
|
2180
2536
|
:return_type => 'Extension')
|
|
2181
2537
|
if @api_client.config.debugging
|
|
2182
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2538
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_extensions_extension_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2183
2539
|
end
|
|
2184
2540
|
return data, status_code, headers
|
|
2185
2541
|
end
|
|
@@ -2192,8 +2548,8 @@ module PureCloud
|
|
|
2192
2548
|
# @option opts [String] :sort_by Value by which to sort
|
|
2193
2549
|
# @option opts [String] :sort_order Sort order
|
|
2194
2550
|
# @return [LineBaseEntityListing]
|
|
2195
|
-
def
|
|
2196
|
-
data, status_code, headers =
|
|
2551
|
+
def get_providers_edges_linebasesettings(opts = {})
|
|
2552
|
+
data, status_code, headers = get_providers_edges_linebasesettings_with_http_info(opts)
|
|
2197
2553
|
return data
|
|
2198
2554
|
end
|
|
2199
2555
|
|
|
@@ -2205,13 +2561,13 @@ module PureCloud
|
|
|
2205
2561
|
# @option opts [String] :sort_by Value by which to sort
|
|
2206
2562
|
# @option opts [String] :sort_order Sort order
|
|
2207
2563
|
# @return [Array<(LineBaseEntityListing, Fixnum, Hash)>] LineBaseEntityListing data, response status code and response headers
|
|
2208
|
-
def
|
|
2564
|
+
def get_providers_edges_linebasesettings_with_http_info(opts = {})
|
|
2209
2565
|
if @api_client.config.debugging
|
|
2210
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2566
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_linebasesettings ..."
|
|
2211
2567
|
end
|
|
2212
2568
|
|
|
2213
2569
|
# resource path
|
|
2214
|
-
path = "/api/v2/telephony/providers/
|
|
2570
|
+
path = "/api/v2/telephony/providers/edges/linebasesettings".sub('{format}','json')
|
|
2215
2571
|
|
|
2216
2572
|
# query parameters
|
|
2217
2573
|
query_params = {}
|
|
@@ -2247,7 +2603,7 @@ module PureCloud
|
|
|
2247
2603
|
:auth_names => auth_names,
|
|
2248
2604
|
:return_type => 'LineBaseEntityListing')
|
|
2249
2605
|
if @api_client.config.debugging
|
|
2250
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2606
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_linebasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2251
2607
|
end
|
|
2252
2608
|
return data, status_code, headers
|
|
2253
2609
|
end
|
|
@@ -2257,8 +2613,8 @@ module PureCloud
|
|
|
2257
2613
|
# @param line_base_id Line base ID
|
|
2258
2614
|
# @param [Hash] opts the optional parameters
|
|
2259
2615
|
# @return [LineBase]
|
|
2260
|
-
def
|
|
2261
|
-
data, status_code, headers =
|
|
2616
|
+
def get_providers_edges_linebasesettings_linebase_id(line_base_id, opts = {})
|
|
2617
|
+
data, status_code, headers = get_providers_edges_linebasesettings_linebase_id_with_http_info(line_base_id, opts)
|
|
2262
2618
|
return data
|
|
2263
2619
|
end
|
|
2264
2620
|
|
|
@@ -2267,16 +2623,16 @@ module PureCloud
|
|
|
2267
2623
|
# @param line_base_id Line base ID
|
|
2268
2624
|
# @param [Hash] opts the optional parameters
|
|
2269
2625
|
# @return [Array<(LineBase, Fixnum, Hash)>] LineBase data, response status code and response headers
|
|
2270
|
-
def
|
|
2626
|
+
def get_providers_edges_linebasesettings_linebase_id_with_http_info(line_base_id, opts = {})
|
|
2271
2627
|
if @api_client.config.debugging
|
|
2272
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2628
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_linebasesettings_linebase_id ..."
|
|
2273
2629
|
end
|
|
2274
2630
|
|
|
2275
2631
|
# verify the required parameter 'line_base_id' is set
|
|
2276
|
-
fail "Missing the required parameter 'line_base_id' when calling
|
|
2632
|
+
fail "Missing the required parameter 'line_base_id' when calling get_providers_edges_linebasesettings_linebase_id" if line_base_id.nil?
|
|
2277
2633
|
|
|
2278
2634
|
# resource path
|
|
2279
|
-
path = "/api/v2/telephony/providers/
|
|
2635
|
+
path = "/api/v2/telephony/providers/edges/linebasesettings/{lineBaseId}".sub('{format}','json').sub('{' + 'lineBaseId' + '}', line_base_id.to_s)
|
|
2280
2636
|
|
|
2281
2637
|
# query parameters
|
|
2282
2638
|
query_params = {}
|
|
@@ -2308,7 +2664,7 @@ module PureCloud
|
|
|
2308
2664
|
:auth_names => auth_names,
|
|
2309
2665
|
:return_type => 'LineBase')
|
|
2310
2666
|
if @api_client.config.debugging
|
|
2311
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2667
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_linebasesettings_linebase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2312
2668
|
end
|
|
2313
2669
|
return data, status_code, headers
|
|
2314
2670
|
end
|
|
@@ -2322,8 +2678,8 @@ module PureCloud
|
|
|
2322
2678
|
# @option opts [String] :sort_by Value by which to sort
|
|
2323
2679
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
|
2324
2680
|
# @return [LineEntityListing]
|
|
2325
|
-
def
|
|
2326
|
-
data, status_code, headers =
|
|
2681
|
+
def get_providers_edges_lines(opts = {})
|
|
2682
|
+
data, status_code, headers = get_providers_edges_lines_with_http_info(opts)
|
|
2327
2683
|
return data
|
|
2328
2684
|
end
|
|
2329
2685
|
|
|
@@ -2336,13 +2692,13 @@ module PureCloud
|
|
|
2336
2692
|
# @option opts [String] :sort_by Value by which to sort
|
|
2337
2693
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
|
2338
2694
|
# @return [Array<(LineEntityListing, Fixnum, Hash)>] LineEntityListing data, response status code and response headers
|
|
2339
|
-
def
|
|
2695
|
+
def get_providers_edges_lines_with_http_info(opts = {})
|
|
2340
2696
|
if @api_client.config.debugging
|
|
2341
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2697
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_lines ..."
|
|
2342
2698
|
end
|
|
2343
2699
|
|
|
2344
2700
|
# resource path
|
|
2345
|
-
path = "/api/v2/telephony/providers/
|
|
2701
|
+
path = "/api/v2/telephony/providers/edges/lines".sub('{format}','json')
|
|
2346
2702
|
|
|
2347
2703
|
# query parameters
|
|
2348
2704
|
query_params = {}
|
|
@@ -2379,7 +2735,7 @@ module PureCloud
|
|
|
2379
2735
|
:auth_names => auth_names,
|
|
2380
2736
|
:return_type => 'LineEntityListing')
|
|
2381
2737
|
if @api_client.config.debugging
|
|
2382
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2738
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_lines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2383
2739
|
end
|
|
2384
2740
|
return data, status_code, headers
|
|
2385
2741
|
end
|
|
@@ -2389,8 +2745,8 @@ module PureCloud
|
|
|
2389
2745
|
# @param line_base_settings_id The id of a Line Base Settings object upon which to base this Line
|
|
2390
2746
|
# @param [Hash] opts the optional parameters
|
|
2391
2747
|
# @return [Line]
|
|
2392
|
-
def
|
|
2393
|
-
data, status_code, headers =
|
|
2748
|
+
def get_providers_edges_lines_template(line_base_settings_id, opts = {})
|
|
2749
|
+
data, status_code, headers = get_providers_edges_lines_template_with_http_info(line_base_settings_id, opts)
|
|
2394
2750
|
return data
|
|
2395
2751
|
end
|
|
2396
2752
|
|
|
@@ -2399,16 +2755,16 @@ module PureCloud
|
|
|
2399
2755
|
# @param line_base_settings_id The id of a Line Base Settings object upon which to base this Line
|
|
2400
2756
|
# @param [Hash] opts the optional parameters
|
|
2401
2757
|
# @return [Array<(Line, Fixnum, Hash)>] Line data, response status code and response headers
|
|
2402
|
-
def
|
|
2758
|
+
def get_providers_edges_lines_template_with_http_info(line_base_settings_id, opts = {})
|
|
2403
2759
|
if @api_client.config.debugging
|
|
2404
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2760
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_lines_template ..."
|
|
2405
2761
|
end
|
|
2406
2762
|
|
|
2407
2763
|
# verify the required parameter 'line_base_settings_id' is set
|
|
2408
|
-
fail "Missing the required parameter 'line_base_settings_id' when calling
|
|
2764
|
+
fail "Missing the required parameter 'line_base_settings_id' when calling get_providers_edges_lines_template" if line_base_settings_id.nil?
|
|
2409
2765
|
|
|
2410
2766
|
# resource path
|
|
2411
|
-
path = "/api/v2/telephony/providers/
|
|
2767
|
+
path = "/api/v2/telephony/providers/edges/lines/template".sub('{format}','json')
|
|
2412
2768
|
|
|
2413
2769
|
# query parameters
|
|
2414
2770
|
query_params = {}
|
|
@@ -2441,7 +2797,7 @@ module PureCloud
|
|
|
2441
2797
|
:auth_names => auth_names,
|
|
2442
2798
|
:return_type => 'Line')
|
|
2443
2799
|
if @api_client.config.debugging
|
|
2444
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2800
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_lines_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2445
2801
|
end
|
|
2446
2802
|
return data, status_code, headers
|
|
2447
2803
|
end
|
|
@@ -2451,8 +2807,8 @@ module PureCloud
|
|
|
2451
2807
|
# @param line_id Line ID
|
|
2452
2808
|
# @param [Hash] opts the optional parameters
|
|
2453
2809
|
# @return [Line]
|
|
2454
|
-
def
|
|
2455
|
-
data, status_code, headers =
|
|
2810
|
+
def get_providers_edges_lines_line_id(line_id, opts = {})
|
|
2811
|
+
data, status_code, headers = get_providers_edges_lines_line_id_with_http_info(line_id, opts)
|
|
2456
2812
|
return data
|
|
2457
2813
|
end
|
|
2458
2814
|
|
|
@@ -2461,16 +2817,16 @@ module PureCloud
|
|
|
2461
2817
|
# @param line_id Line ID
|
|
2462
2818
|
# @param [Hash] opts the optional parameters
|
|
2463
2819
|
# @return [Array<(Line, Fixnum, Hash)>] Line data, response status code and response headers
|
|
2464
|
-
def
|
|
2820
|
+
def get_providers_edges_lines_line_id_with_http_info(line_id, opts = {})
|
|
2465
2821
|
if @api_client.config.debugging
|
|
2466
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2822
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_lines_line_id ..."
|
|
2467
2823
|
end
|
|
2468
2824
|
|
|
2469
2825
|
# verify the required parameter 'line_id' is set
|
|
2470
|
-
fail "Missing the required parameter 'line_id' when calling
|
|
2826
|
+
fail "Missing the required parameter 'line_id' when calling get_providers_edges_lines_line_id" if line_id.nil?
|
|
2471
2827
|
|
|
2472
2828
|
# resource path
|
|
2473
|
-
path = "/api/v2/telephony/providers/
|
|
2829
|
+
path = "/api/v2/telephony/providers/edges/lines/{lineId}".sub('{format}','json').sub('{' + 'lineId' + '}', line_id.to_s)
|
|
2474
2830
|
|
|
2475
2831
|
# query parameters
|
|
2476
2832
|
query_params = {}
|
|
@@ -2502,7 +2858,7 @@ module PureCloud
|
|
|
2502
2858
|
:auth_names => auth_names,
|
|
2503
2859
|
:return_type => 'Line')
|
|
2504
2860
|
if @api_client.config.debugging
|
|
2505
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2861
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_lines_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2506
2862
|
end
|
|
2507
2863
|
return data, status_code, headers
|
|
2508
2864
|
end
|
|
@@ -2516,8 +2872,8 @@ module PureCloud
|
|
|
2516
2872
|
# @option opts [String] :site_id Filter by site.id
|
|
2517
2873
|
# @option opts [String] :sort_by Sort by
|
|
2518
2874
|
# @return [OutboundRouteEntityListing]
|
|
2519
|
-
def
|
|
2520
|
-
data, status_code, headers =
|
|
2875
|
+
def get_providers_edges_outboundroutes(opts = {})
|
|
2876
|
+
data, status_code, headers = get_providers_edges_outboundroutes_with_http_info(opts)
|
|
2521
2877
|
return data
|
|
2522
2878
|
end
|
|
2523
2879
|
|
|
@@ -2530,13 +2886,13 @@ module PureCloud
|
|
|
2530
2886
|
# @option opts [String] :site_id Filter by site.id
|
|
2531
2887
|
# @option opts [String] :sort_by Sort by
|
|
2532
2888
|
# @return [Array<(OutboundRouteEntityListing, Fixnum, Hash)>] OutboundRouteEntityListing data, response status code and response headers
|
|
2533
|
-
def
|
|
2889
|
+
def get_providers_edges_outboundroutes_with_http_info(opts = {})
|
|
2534
2890
|
if @api_client.config.debugging
|
|
2535
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2891
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_outboundroutes ..."
|
|
2536
2892
|
end
|
|
2537
2893
|
|
|
2538
2894
|
# resource path
|
|
2539
|
-
path = "/api/v2/telephony/providers/
|
|
2895
|
+
path = "/api/v2/telephony/providers/edges/outboundroutes".sub('{format}','json')
|
|
2540
2896
|
|
|
2541
2897
|
# query parameters
|
|
2542
2898
|
query_params = {}
|
|
@@ -2573,7 +2929,7 @@ module PureCloud
|
|
|
2573
2929
|
:auth_names => auth_names,
|
|
2574
2930
|
:return_type => 'OutboundRouteEntityListing')
|
|
2575
2931
|
if @api_client.config.debugging
|
|
2576
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2932
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_outboundroutes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2577
2933
|
end
|
|
2578
2934
|
return data, status_code, headers
|
|
2579
2935
|
end
|
|
@@ -2583,8 +2939,8 @@ module PureCloud
|
|
|
2583
2939
|
# @param [Hash] opts the optional parameters
|
|
2584
2940
|
# @option opts [OutboundRoute] :body OutboundRoute
|
|
2585
2941
|
# @return [OutboundRoute]
|
|
2586
|
-
def
|
|
2587
|
-
data, status_code, headers =
|
|
2942
|
+
def post_providers_edges_outboundroutes(opts = {})
|
|
2943
|
+
data, status_code, headers = post_providers_edges_outboundroutes_with_http_info(opts)
|
|
2588
2944
|
return data
|
|
2589
2945
|
end
|
|
2590
2946
|
|
|
@@ -2593,13 +2949,13 @@ module PureCloud
|
|
|
2593
2949
|
# @param [Hash] opts the optional parameters
|
|
2594
2950
|
# @option opts [OutboundRoute] :body OutboundRoute
|
|
2595
2951
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
|
2596
|
-
def
|
|
2952
|
+
def post_providers_edges_outboundroutes_with_http_info(opts = {})
|
|
2597
2953
|
if @api_client.config.debugging
|
|
2598
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
2954
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_outboundroutes ..."
|
|
2599
2955
|
end
|
|
2600
2956
|
|
|
2601
2957
|
# resource path
|
|
2602
|
-
path = "/api/v2/telephony/providers/
|
|
2958
|
+
path = "/api/v2/telephony/providers/edges/outboundroutes".sub('{format}','json')
|
|
2603
2959
|
|
|
2604
2960
|
# query parameters
|
|
2605
2961
|
query_params = {}
|
|
@@ -2631,7 +2987,7 @@ module PureCloud
|
|
|
2631
2987
|
:auth_names => auth_names,
|
|
2632
2988
|
:return_type => 'OutboundRoute')
|
|
2633
2989
|
if @api_client.config.debugging
|
|
2634
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
2990
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_outboundroutes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2635
2991
|
end
|
|
2636
2992
|
return data, status_code, headers
|
|
2637
2993
|
end
|
|
@@ -2641,8 +2997,8 @@ module PureCloud
|
|
|
2641
2997
|
# @param outbound_route_id Outbound route ID
|
|
2642
2998
|
# @param [Hash] opts the optional parameters
|
|
2643
2999
|
# @return [OutboundRoute]
|
|
2644
|
-
def
|
|
2645
|
-
data, status_code, headers =
|
|
3000
|
+
def get_providers_edges_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
|
|
3001
|
+
data, status_code, headers = get_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
|
|
2646
3002
|
return data
|
|
2647
3003
|
end
|
|
2648
3004
|
|
|
@@ -2651,16 +3007,16 @@ module PureCloud
|
|
|
2651
3007
|
# @param outbound_route_id Outbound route ID
|
|
2652
3008
|
# @param [Hash] opts the optional parameters
|
|
2653
3009
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
|
2654
|
-
def
|
|
3010
|
+
def get_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
|
|
2655
3011
|
if @api_client.config.debugging
|
|
2656
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3012
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_outboundroutes_outboundroute_id ..."
|
|
2657
3013
|
end
|
|
2658
3014
|
|
|
2659
3015
|
# verify the required parameter 'outbound_route_id' is set
|
|
2660
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
|
3016
|
+
fail "Missing the required parameter 'outbound_route_id' when calling get_providers_edges_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
|
2661
3017
|
|
|
2662
3018
|
# resource path
|
|
2663
|
-
path = "/api/v2/telephony/providers/
|
|
3019
|
+
path = "/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
|
2664
3020
|
|
|
2665
3021
|
# query parameters
|
|
2666
3022
|
query_params = {}
|
|
@@ -2692,7 +3048,7 @@ module PureCloud
|
|
|
2692
3048
|
:auth_names => auth_names,
|
|
2693
3049
|
:return_type => 'OutboundRoute')
|
|
2694
3050
|
if @api_client.config.debugging
|
|
2695
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3051
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_outboundroutes_outboundroute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2696
3052
|
end
|
|
2697
3053
|
return data, status_code, headers
|
|
2698
3054
|
end
|
|
@@ -2703,8 +3059,8 @@ module PureCloud
|
|
|
2703
3059
|
# @param [Hash] opts the optional parameters
|
|
2704
3060
|
# @option opts [OutboundRoute] :body OutboundRoute
|
|
2705
3061
|
# @return [OutboundRoute]
|
|
2706
|
-
def
|
|
2707
|
-
data, status_code, headers =
|
|
3062
|
+
def put_providers_edges_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
|
|
3063
|
+
data, status_code, headers = put_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
|
|
2708
3064
|
return data
|
|
2709
3065
|
end
|
|
2710
3066
|
|
|
@@ -2714,16 +3070,16 @@ module PureCloud
|
|
|
2714
3070
|
# @param [Hash] opts the optional parameters
|
|
2715
3071
|
# @option opts [OutboundRoute] :body OutboundRoute
|
|
2716
3072
|
# @return [Array<(OutboundRoute, Fixnum, Hash)>] OutboundRoute data, response status code and response headers
|
|
2717
|
-
def
|
|
3073
|
+
def put_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
|
|
2718
3074
|
if @api_client.config.debugging
|
|
2719
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3075
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_outboundroutes_outboundroute_id ..."
|
|
2720
3076
|
end
|
|
2721
3077
|
|
|
2722
3078
|
# verify the required parameter 'outbound_route_id' is set
|
|
2723
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
|
3079
|
+
fail "Missing the required parameter 'outbound_route_id' when calling put_providers_edges_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
|
2724
3080
|
|
|
2725
3081
|
# resource path
|
|
2726
|
-
path = "/api/v2/telephony/providers/
|
|
3082
|
+
path = "/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
|
2727
3083
|
|
|
2728
3084
|
# query parameters
|
|
2729
3085
|
query_params = {}
|
|
@@ -2755,7 +3111,7 @@ module PureCloud
|
|
|
2755
3111
|
:auth_names => auth_names,
|
|
2756
3112
|
:return_type => 'OutboundRoute')
|
|
2757
3113
|
if @api_client.config.debugging
|
|
2758
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3114
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_outboundroutes_outboundroute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2759
3115
|
end
|
|
2760
3116
|
return data, status_code, headers
|
|
2761
3117
|
end
|
|
@@ -2765,8 +3121,8 @@ module PureCloud
|
|
|
2765
3121
|
# @param outbound_route_id Outbound route ID
|
|
2766
3122
|
# @param [Hash] opts the optional parameters
|
|
2767
3123
|
# @return [String]
|
|
2768
|
-
def
|
|
2769
|
-
data, status_code, headers =
|
|
3124
|
+
def delete_providers_edges_outboundroutes_outboundroute_id(outbound_route_id, opts = {})
|
|
3125
|
+
data, status_code, headers = delete_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts)
|
|
2770
3126
|
return data
|
|
2771
3127
|
end
|
|
2772
3128
|
|
|
@@ -2775,16 +3131,16 @@ module PureCloud
|
|
|
2775
3131
|
# @param outbound_route_id Outbound route ID
|
|
2776
3132
|
# @param [Hash] opts the optional parameters
|
|
2777
3133
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
2778
|
-
def
|
|
3134
|
+
def delete_providers_edges_outboundroutes_outboundroute_id_with_http_info(outbound_route_id, opts = {})
|
|
2779
3135
|
if @api_client.config.debugging
|
|
2780
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3136
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_outboundroutes_outboundroute_id ..."
|
|
2781
3137
|
end
|
|
2782
3138
|
|
|
2783
3139
|
# verify the required parameter 'outbound_route_id' is set
|
|
2784
|
-
fail "Missing the required parameter 'outbound_route_id' when calling
|
|
3140
|
+
fail "Missing the required parameter 'outbound_route_id' when calling delete_providers_edges_outboundroutes_outboundroute_id" if outbound_route_id.nil?
|
|
2785
3141
|
|
|
2786
3142
|
# resource path
|
|
2787
|
-
path = "/api/v2/telephony/providers/
|
|
3143
|
+
path = "/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}".sub('{format}','json').sub('{' + 'outboundRouteId' + '}', outbound_route_id.to_s)
|
|
2788
3144
|
|
|
2789
3145
|
# query parameters
|
|
2790
3146
|
query_params = {}
|
|
@@ -2816,7 +3172,7 @@ module PureCloud
|
|
|
2816
3172
|
:auth_names => auth_names,
|
|
2817
3173
|
:return_type => 'String')
|
|
2818
3174
|
if @api_client.config.debugging
|
|
2819
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3175
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_outboundroutes_outboundroute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2820
3176
|
end
|
|
2821
3177
|
return data, status_code, headers
|
|
2822
3178
|
end
|
|
@@ -2829,8 +3185,8 @@ module PureCloud
|
|
|
2829
3185
|
# @option opts [String] :sort_by Value by which to sort
|
|
2830
3186
|
# @option opts [String] :sort_order Sort order
|
|
2831
3187
|
# @return [PhoneBaseEntityListing]
|
|
2832
|
-
def
|
|
2833
|
-
data, status_code, headers =
|
|
3188
|
+
def get_providers_edges_phonebasesettings(opts = {})
|
|
3189
|
+
data, status_code, headers = get_providers_edges_phonebasesettings_with_http_info(opts)
|
|
2834
3190
|
return data
|
|
2835
3191
|
end
|
|
2836
3192
|
|
|
@@ -2842,13 +3198,13 @@ module PureCloud
|
|
|
2842
3198
|
# @option opts [String] :sort_by Value by which to sort
|
|
2843
3199
|
# @option opts [String] :sort_order Sort order
|
|
2844
3200
|
# @return [Array<(PhoneBaseEntityListing, Fixnum, Hash)>] PhoneBaseEntityListing data, response status code and response headers
|
|
2845
|
-
def
|
|
3201
|
+
def get_providers_edges_phonebasesettings_with_http_info(opts = {})
|
|
2846
3202
|
if @api_client.config.debugging
|
|
2847
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3203
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_phonebasesettings ..."
|
|
2848
3204
|
end
|
|
2849
3205
|
|
|
2850
3206
|
# resource path
|
|
2851
|
-
path = "/api/v2/telephony/providers/
|
|
3207
|
+
path = "/api/v2/telephony/providers/edges/phonebasesettings".sub('{format}','json')
|
|
2852
3208
|
|
|
2853
3209
|
# query parameters
|
|
2854
3210
|
query_params = {}
|
|
@@ -2884,7 +3240,7 @@ module PureCloud
|
|
|
2884
3240
|
:auth_names => auth_names,
|
|
2885
3241
|
:return_type => 'PhoneBaseEntityListing')
|
|
2886
3242
|
if @api_client.config.debugging
|
|
2887
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3243
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_phonebasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2888
3244
|
end
|
|
2889
3245
|
return data, status_code, headers
|
|
2890
3246
|
end
|
|
@@ -2894,8 +3250,8 @@ module PureCloud
|
|
|
2894
3250
|
# @param [Hash] opts the optional parameters
|
|
2895
3251
|
# @option opts [PhoneBase] :body
|
|
2896
3252
|
# @return [PhoneBase]
|
|
2897
|
-
def
|
|
2898
|
-
data, status_code, headers =
|
|
3253
|
+
def post_providers_edges_phonebasesettings(opts = {})
|
|
3254
|
+
data, status_code, headers = post_providers_edges_phonebasesettings_with_http_info(opts)
|
|
2899
3255
|
return data
|
|
2900
3256
|
end
|
|
2901
3257
|
|
|
@@ -2904,13 +3260,13 @@ module PureCloud
|
|
|
2904
3260
|
# @param [Hash] opts the optional parameters
|
|
2905
3261
|
# @option opts [PhoneBase] :body
|
|
2906
3262
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
|
2907
|
-
def
|
|
3263
|
+
def post_providers_edges_phonebasesettings_with_http_info(opts = {})
|
|
2908
3264
|
if @api_client.config.debugging
|
|
2909
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3265
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_phonebasesettings ..."
|
|
2910
3266
|
end
|
|
2911
3267
|
|
|
2912
3268
|
# resource path
|
|
2913
|
-
path = "/api/v2/telephony/providers/
|
|
3269
|
+
path = "/api/v2/telephony/providers/edges/phonebasesettings".sub('{format}','json')
|
|
2914
3270
|
|
|
2915
3271
|
# query parameters
|
|
2916
3272
|
query_params = {}
|
|
@@ -2942,7 +3298,7 @@ module PureCloud
|
|
|
2942
3298
|
:auth_names => auth_names,
|
|
2943
3299
|
:return_type => 'PhoneBase')
|
|
2944
3300
|
if @api_client.config.debugging
|
|
2945
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3301
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_phonebasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2946
3302
|
end
|
|
2947
3303
|
return data, status_code, headers
|
|
2948
3304
|
end
|
|
@@ -2953,8 +3309,8 @@ module PureCloud
|
|
|
2953
3309
|
# @option opts [Integer] :page_size Page size
|
|
2954
3310
|
# @option opts [Integer] :page_number Page number
|
|
2955
3311
|
# @return [PhoneMetaBaseEntityListing]
|
|
2956
|
-
def
|
|
2957
|
-
data, status_code, headers =
|
|
3312
|
+
def get_providers_edges_phonebasesettings_availablemetabases(opts = {})
|
|
3313
|
+
data, status_code, headers = get_providers_edges_phonebasesettings_availablemetabases_with_http_info(opts)
|
|
2958
3314
|
return data
|
|
2959
3315
|
end
|
|
2960
3316
|
|
|
@@ -2964,13 +3320,13 @@ module PureCloud
|
|
|
2964
3320
|
# @option opts [Integer] :page_size Page size
|
|
2965
3321
|
# @option opts [Integer] :page_number Page number
|
|
2966
3322
|
# @return [Array<(PhoneMetaBaseEntityListing, Fixnum, Hash)>] PhoneMetaBaseEntityListing data, response status code and response headers
|
|
2967
|
-
def
|
|
3323
|
+
def get_providers_edges_phonebasesettings_availablemetabases_with_http_info(opts = {})
|
|
2968
3324
|
if @api_client.config.debugging
|
|
2969
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3325
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_phonebasesettings_availablemetabases ..."
|
|
2970
3326
|
end
|
|
2971
3327
|
|
|
2972
3328
|
# resource path
|
|
2973
|
-
path = "/api/v2/telephony/providers/
|
|
3329
|
+
path = "/api/v2/telephony/providers/edges/phonebasesettings/availablemetabases".sub('{format}','json')
|
|
2974
3330
|
|
|
2975
3331
|
# query parameters
|
|
2976
3332
|
query_params = {}
|
|
@@ -3004,7 +3360,7 @@ module PureCloud
|
|
|
3004
3360
|
:auth_names => auth_names,
|
|
3005
3361
|
:return_type => 'PhoneMetaBaseEntityListing')
|
|
3006
3362
|
if @api_client.config.debugging
|
|
3007
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3363
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_phonebasesettings_availablemetabases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3008
3364
|
end
|
|
3009
3365
|
return data, status_code, headers
|
|
3010
3366
|
end
|
|
@@ -3014,8 +3370,8 @@ module PureCloud
|
|
|
3014
3370
|
# @param phone_metabase_id The id of a metabase object upon which to base this Phone Base Settings
|
|
3015
3371
|
# @param [Hash] opts the optional parameters
|
|
3016
3372
|
# @return [PhoneBase]
|
|
3017
|
-
def
|
|
3018
|
-
data, status_code, headers =
|
|
3373
|
+
def get_providers_edges_phonebasesettings_template(phone_metabase_id, opts = {})
|
|
3374
|
+
data, status_code, headers = get_providers_edges_phonebasesettings_template_with_http_info(phone_metabase_id, opts)
|
|
3019
3375
|
return data
|
|
3020
3376
|
end
|
|
3021
3377
|
|
|
@@ -3024,16 +3380,16 @@ module PureCloud
|
|
|
3024
3380
|
# @param phone_metabase_id The id of a metabase object upon which to base this Phone Base Settings
|
|
3025
3381
|
# @param [Hash] opts the optional parameters
|
|
3026
3382
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
|
3027
|
-
def
|
|
3383
|
+
def get_providers_edges_phonebasesettings_template_with_http_info(phone_metabase_id, opts = {})
|
|
3028
3384
|
if @api_client.config.debugging
|
|
3029
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3385
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_phonebasesettings_template ..."
|
|
3030
3386
|
end
|
|
3031
3387
|
|
|
3032
3388
|
# verify the required parameter 'phone_metabase_id' is set
|
|
3033
|
-
fail "Missing the required parameter 'phone_metabase_id' when calling
|
|
3389
|
+
fail "Missing the required parameter 'phone_metabase_id' when calling get_providers_edges_phonebasesettings_template" if phone_metabase_id.nil?
|
|
3034
3390
|
|
|
3035
3391
|
# resource path
|
|
3036
|
-
path = "/api/v2/telephony/providers/
|
|
3392
|
+
path = "/api/v2/telephony/providers/edges/phonebasesettings/template".sub('{format}','json')
|
|
3037
3393
|
|
|
3038
3394
|
# query parameters
|
|
3039
3395
|
query_params = {}
|
|
@@ -3066,7 +3422,7 @@ module PureCloud
|
|
|
3066
3422
|
:auth_names => auth_names,
|
|
3067
3423
|
:return_type => 'PhoneBase')
|
|
3068
3424
|
if @api_client.config.debugging
|
|
3069
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3425
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_phonebasesettings_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3070
3426
|
end
|
|
3071
3427
|
return data, status_code, headers
|
|
3072
3428
|
end
|
|
@@ -3076,8 +3432,8 @@ module PureCloud
|
|
|
3076
3432
|
# @param phone_base_id Phone base ID
|
|
3077
3433
|
# @param [Hash] opts the optional parameters
|
|
3078
3434
|
# @return [PhoneBase]
|
|
3079
|
-
def
|
|
3080
|
-
data, status_code, headers =
|
|
3435
|
+
def get_providers_edges_phonebasesettings_phonebase_id(phone_base_id, opts = {})
|
|
3436
|
+
data, status_code, headers = get_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts)
|
|
3081
3437
|
return data
|
|
3082
3438
|
end
|
|
3083
3439
|
|
|
@@ -3086,16 +3442,16 @@ module PureCloud
|
|
|
3086
3442
|
# @param phone_base_id Phone base ID
|
|
3087
3443
|
# @param [Hash] opts the optional parameters
|
|
3088
3444
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
|
3089
|
-
def
|
|
3445
|
+
def get_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts = {})
|
|
3090
3446
|
if @api_client.config.debugging
|
|
3091
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3447
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_phonebasesettings_phonebase_id ..."
|
|
3092
3448
|
end
|
|
3093
3449
|
|
|
3094
3450
|
# verify the required parameter 'phone_base_id' is set
|
|
3095
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
|
3451
|
+
fail "Missing the required parameter 'phone_base_id' when calling get_providers_edges_phonebasesettings_phonebase_id" if phone_base_id.nil?
|
|
3096
3452
|
|
|
3097
3453
|
# resource path
|
|
3098
|
-
path = "/api/v2/telephony/providers/
|
|
3454
|
+
path = "/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
|
3099
3455
|
|
|
3100
3456
|
# query parameters
|
|
3101
3457
|
query_params = {}
|
|
@@ -3127,7 +3483,7 @@ module PureCloud
|
|
|
3127
3483
|
:auth_names => auth_names,
|
|
3128
3484
|
:return_type => 'PhoneBase')
|
|
3129
3485
|
if @api_client.config.debugging
|
|
3130
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3486
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_phonebasesettings_phonebase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3131
3487
|
end
|
|
3132
3488
|
return data, status_code, headers
|
|
3133
3489
|
end
|
|
@@ -3138,8 +3494,8 @@ module PureCloud
|
|
|
3138
3494
|
# @param [Hash] opts the optional parameters
|
|
3139
3495
|
# @option opts [PhoneBase] :body
|
|
3140
3496
|
# @return [PhoneBase]
|
|
3141
|
-
def
|
|
3142
|
-
data, status_code, headers =
|
|
3497
|
+
def put_providers_edges_phonebasesettings_phonebase_id(phone_base_id, opts = {})
|
|
3498
|
+
data, status_code, headers = put_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts)
|
|
3143
3499
|
return data
|
|
3144
3500
|
end
|
|
3145
3501
|
|
|
@@ -3149,16 +3505,16 @@ module PureCloud
|
|
|
3149
3505
|
# @param [Hash] opts the optional parameters
|
|
3150
3506
|
# @option opts [PhoneBase] :body
|
|
3151
3507
|
# @return [Array<(PhoneBase, Fixnum, Hash)>] PhoneBase data, response status code and response headers
|
|
3152
|
-
def
|
|
3508
|
+
def put_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts = {})
|
|
3153
3509
|
if @api_client.config.debugging
|
|
3154
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3510
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_phonebasesettings_phonebase_id ..."
|
|
3155
3511
|
end
|
|
3156
3512
|
|
|
3157
3513
|
# verify the required parameter 'phone_base_id' is set
|
|
3158
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
|
3514
|
+
fail "Missing the required parameter 'phone_base_id' when calling put_providers_edges_phonebasesettings_phonebase_id" if phone_base_id.nil?
|
|
3159
3515
|
|
|
3160
3516
|
# resource path
|
|
3161
|
-
path = "/api/v2/telephony/providers/
|
|
3517
|
+
path = "/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
|
3162
3518
|
|
|
3163
3519
|
# query parameters
|
|
3164
3520
|
query_params = {}
|
|
@@ -3190,7 +3546,7 @@ module PureCloud
|
|
|
3190
3546
|
:auth_names => auth_names,
|
|
3191
3547
|
:return_type => 'PhoneBase')
|
|
3192
3548
|
if @api_client.config.debugging
|
|
3193
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3549
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_phonebasesettings_phonebase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3194
3550
|
end
|
|
3195
3551
|
return data, status_code, headers
|
|
3196
3552
|
end
|
|
@@ -3200,8 +3556,8 @@ module PureCloud
|
|
|
3200
3556
|
# @param phone_base_id Phone base ID
|
|
3201
3557
|
# @param [Hash] opts the optional parameters
|
|
3202
3558
|
# @return [String]
|
|
3203
|
-
def
|
|
3204
|
-
data, status_code, headers =
|
|
3559
|
+
def delete_providers_edges_phonebasesettings_phonebase_id(phone_base_id, opts = {})
|
|
3560
|
+
data, status_code, headers = delete_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts)
|
|
3205
3561
|
return data
|
|
3206
3562
|
end
|
|
3207
3563
|
|
|
@@ -3210,16 +3566,16 @@ module PureCloud
|
|
|
3210
3566
|
# @param phone_base_id Phone base ID
|
|
3211
3567
|
# @param [Hash] opts the optional parameters
|
|
3212
3568
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
3213
|
-
def
|
|
3569
|
+
def delete_providers_edges_phonebasesettings_phonebase_id_with_http_info(phone_base_id, opts = {})
|
|
3214
3570
|
if @api_client.config.debugging
|
|
3215
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3571
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_phonebasesettings_phonebase_id ..."
|
|
3216
3572
|
end
|
|
3217
3573
|
|
|
3218
3574
|
# verify the required parameter 'phone_base_id' is set
|
|
3219
|
-
fail "Missing the required parameter 'phone_base_id' when calling
|
|
3575
|
+
fail "Missing the required parameter 'phone_base_id' when calling delete_providers_edges_phonebasesettings_phonebase_id" if phone_base_id.nil?
|
|
3220
3576
|
|
|
3221
3577
|
# resource path
|
|
3222
|
-
path = "/api/v2/telephony/providers/
|
|
3578
|
+
path = "/api/v2/telephony/providers/edges/phonebasesettings/{phoneBaseId}".sub('{format}','json').sub('{' + 'phoneBaseId' + '}', phone_base_id.to_s)
|
|
3223
3579
|
|
|
3224
3580
|
# query parameters
|
|
3225
3581
|
query_params = {}
|
|
@@ -3251,7 +3607,7 @@ module PureCloud
|
|
|
3251
3607
|
:auth_names => auth_names,
|
|
3252
3608
|
:return_type => 'String')
|
|
3253
3609
|
if @api_client.config.debugging
|
|
3254
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3610
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_phonebasesettings_phonebase_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3255
3611
|
end
|
|
3256
3612
|
return data, status_code, headers
|
|
3257
3613
|
end
|
|
@@ -3269,8 +3625,8 @@ module PureCloud
|
|
|
3269
3625
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
|
3270
3626
|
# @option opts [Array<String>] :fields Fields under properties to get, comma-separated
|
|
3271
3627
|
# @return [PhoneEntityListing]
|
|
3272
|
-
def
|
|
3273
|
-
data, status_code, headers =
|
|
3628
|
+
def get_providers_edges_phones(opts = {})
|
|
3629
|
+
data, status_code, headers = get_providers_edges_phones_with_http_info(opts)
|
|
3274
3630
|
return data
|
|
3275
3631
|
end
|
|
3276
3632
|
|
|
@@ -3287,13 +3643,13 @@ module PureCloud
|
|
|
3287
3643
|
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
|
3288
3644
|
# @option opts [Array<String>] :fields Fields under properties to get, comma-separated
|
|
3289
3645
|
# @return [Array<(PhoneEntityListing, Fixnum, Hash)>] PhoneEntityListing data, response status code and response headers
|
|
3290
|
-
def
|
|
3646
|
+
def get_providers_edges_phones_with_http_info(opts = {})
|
|
3291
3647
|
if @api_client.config.debugging
|
|
3292
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3648
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_phones ..."
|
|
3293
3649
|
end
|
|
3294
3650
|
|
|
3295
3651
|
# resource path
|
|
3296
|
-
path = "/api/v2/telephony/providers/
|
|
3652
|
+
path = "/api/v2/telephony/providers/edges/phones".sub('{format}','json')
|
|
3297
3653
|
|
|
3298
3654
|
# query parameters
|
|
3299
3655
|
query_params = {}
|
|
@@ -3334,7 +3690,7 @@ module PureCloud
|
|
|
3334
3690
|
:auth_names => auth_names,
|
|
3335
3691
|
:return_type => 'PhoneEntityListing')
|
|
3336
3692
|
if @api_client.config.debugging
|
|
3337
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3693
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_phones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3338
3694
|
end
|
|
3339
3695
|
return data, status_code, headers
|
|
3340
3696
|
end
|
|
@@ -3344,8 +3700,8 @@ module PureCloud
|
|
|
3344
3700
|
# @param [Hash] opts the optional parameters
|
|
3345
3701
|
# @option opts [Phone] :body
|
|
3346
3702
|
# @return [Phone]
|
|
3347
|
-
def
|
|
3348
|
-
data, status_code, headers =
|
|
3703
|
+
def post_providers_edges_phones(opts = {})
|
|
3704
|
+
data, status_code, headers = post_providers_edges_phones_with_http_info(opts)
|
|
3349
3705
|
return data
|
|
3350
3706
|
end
|
|
3351
3707
|
|
|
@@ -3354,13 +3710,13 @@ module PureCloud
|
|
|
3354
3710
|
# @param [Hash] opts the optional parameters
|
|
3355
3711
|
# @option opts [Phone] :body
|
|
3356
3712
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
|
3357
|
-
def
|
|
3713
|
+
def post_providers_edges_phones_with_http_info(opts = {})
|
|
3358
3714
|
if @api_client.config.debugging
|
|
3359
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3715
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_phones ..."
|
|
3360
3716
|
end
|
|
3361
3717
|
|
|
3362
3718
|
# resource path
|
|
3363
|
-
path = "/api/v2/telephony/providers/
|
|
3719
|
+
path = "/api/v2/telephony/providers/edges/phones".sub('{format}','json')
|
|
3364
3720
|
|
|
3365
3721
|
# query parameters
|
|
3366
3722
|
query_params = {}
|
|
@@ -3392,7 +3748,7 @@ module PureCloud
|
|
|
3392
3748
|
:auth_names => auth_names,
|
|
3393
3749
|
:return_type => 'Phone')
|
|
3394
3750
|
if @api_client.config.debugging
|
|
3395
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3751
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_phones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3396
3752
|
end
|
|
3397
3753
|
return data, status_code, headers
|
|
3398
3754
|
end
|
|
@@ -3402,8 +3758,8 @@ module PureCloud
|
|
|
3402
3758
|
# @param [Hash] opts the optional parameters
|
|
3403
3759
|
# @option opts [PhonesReboot] :body body
|
|
3404
3760
|
# @return [nil]
|
|
3405
|
-
def
|
|
3406
|
-
|
|
3761
|
+
def post_providers_edges_phones_reboot(opts = {})
|
|
3762
|
+
post_providers_edges_phones_reboot_with_http_info(opts)
|
|
3407
3763
|
return nil
|
|
3408
3764
|
end
|
|
3409
3765
|
|
|
@@ -3412,13 +3768,13 @@ module PureCloud
|
|
|
3412
3768
|
# @param [Hash] opts the optional parameters
|
|
3413
3769
|
# @option opts [PhonesReboot] :body body
|
|
3414
3770
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3415
|
-
def
|
|
3771
|
+
def post_providers_edges_phones_reboot_with_http_info(opts = {})
|
|
3416
3772
|
if @api_client.config.debugging
|
|
3417
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3773
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_phones_reboot ..."
|
|
3418
3774
|
end
|
|
3419
3775
|
|
|
3420
3776
|
# resource path
|
|
3421
|
-
path = "/api/v2/telephony/providers/
|
|
3777
|
+
path = "/api/v2/telephony/providers/edges/phones/reboot".sub('{format}','json')
|
|
3422
3778
|
|
|
3423
3779
|
# query parameters
|
|
3424
3780
|
query_params = {}
|
|
@@ -3449,7 +3805,7 @@ module PureCloud
|
|
|
3449
3805
|
:body => post_body,
|
|
3450
3806
|
:auth_names => auth_names)
|
|
3451
3807
|
if @api_client.config.debugging
|
|
3452
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3808
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_phones_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3453
3809
|
end
|
|
3454
3810
|
return data, status_code, headers
|
|
3455
3811
|
end
|
|
@@ -3459,8 +3815,8 @@ module PureCloud
|
|
|
3459
3815
|
# @param phone_base_settings_id The id of a Phone Base Settings object upon which to base this Phone
|
|
3460
3816
|
# @param [Hash] opts the optional parameters
|
|
3461
3817
|
# @return [Phone]
|
|
3462
|
-
def
|
|
3463
|
-
data, status_code, headers =
|
|
3818
|
+
def get_providers_edges_phones_template(phone_base_settings_id, opts = {})
|
|
3819
|
+
data, status_code, headers = get_providers_edges_phones_template_with_http_info(phone_base_settings_id, opts)
|
|
3464
3820
|
return data
|
|
3465
3821
|
end
|
|
3466
3822
|
|
|
@@ -3469,16 +3825,16 @@ module PureCloud
|
|
|
3469
3825
|
# @param phone_base_settings_id The id of a Phone Base Settings object upon which to base this Phone
|
|
3470
3826
|
# @param [Hash] opts the optional parameters
|
|
3471
3827
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
|
3472
|
-
def
|
|
3828
|
+
def get_providers_edges_phones_template_with_http_info(phone_base_settings_id, opts = {})
|
|
3473
3829
|
if @api_client.config.debugging
|
|
3474
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3830
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_phones_template ..."
|
|
3475
3831
|
end
|
|
3476
3832
|
|
|
3477
3833
|
# verify the required parameter 'phone_base_settings_id' is set
|
|
3478
|
-
fail "Missing the required parameter 'phone_base_settings_id' when calling
|
|
3834
|
+
fail "Missing the required parameter 'phone_base_settings_id' when calling get_providers_edges_phones_template" if phone_base_settings_id.nil?
|
|
3479
3835
|
|
|
3480
3836
|
# resource path
|
|
3481
|
-
path = "/api/v2/telephony/providers/
|
|
3837
|
+
path = "/api/v2/telephony/providers/edges/phones/template".sub('{format}','json')
|
|
3482
3838
|
|
|
3483
3839
|
# query parameters
|
|
3484
3840
|
query_params = {}
|
|
@@ -3511,7 +3867,7 @@ module PureCloud
|
|
|
3511
3867
|
:auth_names => auth_names,
|
|
3512
3868
|
:return_type => 'Phone')
|
|
3513
3869
|
if @api_client.config.debugging
|
|
3514
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3870
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_phones_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3515
3871
|
end
|
|
3516
3872
|
return data, status_code, headers
|
|
3517
3873
|
end
|
|
@@ -3521,8 +3877,8 @@ module PureCloud
|
|
|
3521
3877
|
# @param phone_id Phone ID
|
|
3522
3878
|
# @param [Hash] opts the optional parameters
|
|
3523
3879
|
# @return [Phone]
|
|
3524
|
-
def
|
|
3525
|
-
data, status_code, headers =
|
|
3880
|
+
def get_providers_edges_phones_phone_id(phone_id, opts = {})
|
|
3881
|
+
data, status_code, headers = get_providers_edges_phones_phone_id_with_http_info(phone_id, opts)
|
|
3526
3882
|
return data
|
|
3527
3883
|
end
|
|
3528
3884
|
|
|
@@ -3531,16 +3887,16 @@ module PureCloud
|
|
|
3531
3887
|
# @param phone_id Phone ID
|
|
3532
3888
|
# @param [Hash] opts the optional parameters
|
|
3533
3889
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
|
3534
|
-
def
|
|
3890
|
+
def get_providers_edges_phones_phone_id_with_http_info(phone_id, opts = {})
|
|
3535
3891
|
if @api_client.config.debugging
|
|
3536
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3892
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_phones_phone_id ..."
|
|
3537
3893
|
end
|
|
3538
3894
|
|
|
3539
3895
|
# verify the required parameter 'phone_id' is set
|
|
3540
|
-
fail "Missing the required parameter 'phone_id' when calling
|
|
3896
|
+
fail "Missing the required parameter 'phone_id' when calling get_providers_edges_phones_phone_id" if phone_id.nil?
|
|
3541
3897
|
|
|
3542
3898
|
# resource path
|
|
3543
|
-
path = "/api/v2/telephony/providers/
|
|
3899
|
+
path = "/api/v2/telephony/providers/edges/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
|
3544
3900
|
|
|
3545
3901
|
# query parameters
|
|
3546
3902
|
query_params = {}
|
|
@@ -3572,7 +3928,7 @@ module PureCloud
|
|
|
3572
3928
|
:auth_names => auth_names,
|
|
3573
3929
|
:return_type => 'Phone')
|
|
3574
3930
|
if @api_client.config.debugging
|
|
3575
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3931
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_phones_phone_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3576
3932
|
end
|
|
3577
3933
|
return data, status_code, headers
|
|
3578
3934
|
end
|
|
@@ -3583,8 +3939,8 @@ module PureCloud
|
|
|
3583
3939
|
# @param [Hash] opts the optional parameters
|
|
3584
3940
|
# @option opts [Phone] :body
|
|
3585
3941
|
# @return [Phone]
|
|
3586
|
-
def
|
|
3587
|
-
data, status_code, headers =
|
|
3942
|
+
def put_providers_edges_phones_phone_id(phone_id, opts = {})
|
|
3943
|
+
data, status_code, headers = put_providers_edges_phones_phone_id_with_http_info(phone_id, opts)
|
|
3588
3944
|
return data
|
|
3589
3945
|
end
|
|
3590
3946
|
|
|
@@ -3594,16 +3950,16 @@ module PureCloud
|
|
|
3594
3950
|
# @param [Hash] opts the optional parameters
|
|
3595
3951
|
# @option opts [Phone] :body
|
|
3596
3952
|
# @return [Array<(Phone, Fixnum, Hash)>] Phone data, response status code and response headers
|
|
3597
|
-
def
|
|
3953
|
+
def put_providers_edges_phones_phone_id_with_http_info(phone_id, opts = {})
|
|
3598
3954
|
if @api_client.config.debugging
|
|
3599
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
3955
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_phones_phone_id ..."
|
|
3600
3956
|
end
|
|
3601
3957
|
|
|
3602
3958
|
# verify the required parameter 'phone_id' is set
|
|
3603
|
-
fail "Missing the required parameter 'phone_id' when calling
|
|
3959
|
+
fail "Missing the required parameter 'phone_id' when calling put_providers_edges_phones_phone_id" if phone_id.nil?
|
|
3604
3960
|
|
|
3605
3961
|
# resource path
|
|
3606
|
-
path = "/api/v2/telephony/providers/
|
|
3962
|
+
path = "/api/v2/telephony/providers/edges/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
|
3607
3963
|
|
|
3608
3964
|
# query parameters
|
|
3609
3965
|
query_params = {}
|
|
@@ -3635,7 +3991,7 @@ module PureCloud
|
|
|
3635
3991
|
:auth_names => auth_names,
|
|
3636
3992
|
:return_type => 'Phone')
|
|
3637
3993
|
if @api_client.config.debugging
|
|
3638
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
3994
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_phones_phone_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3639
3995
|
end
|
|
3640
3996
|
return data, status_code, headers
|
|
3641
3997
|
end
|
|
@@ -3645,8 +4001,8 @@ module PureCloud
|
|
|
3645
4001
|
# @param phone_id Phone ID
|
|
3646
4002
|
# @param [Hash] opts the optional parameters
|
|
3647
4003
|
# @return [String]
|
|
3648
|
-
def
|
|
3649
|
-
data, status_code, headers =
|
|
4004
|
+
def delete_providers_edges_phones_phone_id(phone_id, opts = {})
|
|
4005
|
+
data, status_code, headers = delete_providers_edges_phones_phone_id_with_http_info(phone_id, opts)
|
|
3650
4006
|
return data
|
|
3651
4007
|
end
|
|
3652
4008
|
|
|
@@ -3655,16 +4011,16 @@ module PureCloud
|
|
|
3655
4011
|
# @param phone_id Phone ID
|
|
3656
4012
|
# @param [Hash] opts the optional parameters
|
|
3657
4013
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
3658
|
-
def
|
|
4014
|
+
def delete_providers_edges_phones_phone_id_with_http_info(phone_id, opts = {})
|
|
3659
4015
|
if @api_client.config.debugging
|
|
3660
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4016
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_phones_phone_id ..."
|
|
3661
4017
|
end
|
|
3662
4018
|
|
|
3663
4019
|
# verify the required parameter 'phone_id' is set
|
|
3664
|
-
fail "Missing the required parameter 'phone_id' when calling
|
|
4020
|
+
fail "Missing the required parameter 'phone_id' when calling delete_providers_edges_phones_phone_id" if phone_id.nil?
|
|
3665
4021
|
|
|
3666
4022
|
# resource path
|
|
3667
|
-
path = "/api/v2/telephony/providers/
|
|
4023
|
+
path = "/api/v2/telephony/providers/edges/phones/{phoneId}".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
|
3668
4024
|
|
|
3669
4025
|
# query parameters
|
|
3670
4026
|
query_params = {}
|
|
@@ -3696,7 +4052,7 @@ module PureCloud
|
|
|
3696
4052
|
:auth_names => auth_names,
|
|
3697
4053
|
:return_type => 'String')
|
|
3698
4054
|
if @api_client.config.debugging
|
|
3699
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4055
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_phones_phone_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3700
4056
|
end
|
|
3701
4057
|
return data, status_code, headers
|
|
3702
4058
|
end
|
|
@@ -3706,8 +4062,8 @@ module PureCloud
|
|
|
3706
4062
|
# @param phone_id Phone Id
|
|
3707
4063
|
# @param [Hash] opts the optional parameters
|
|
3708
4064
|
# @return [nil]
|
|
3709
|
-
def
|
|
3710
|
-
|
|
4065
|
+
def post_providers_edges_phones_phone_id_reboot(phone_id, opts = {})
|
|
4066
|
+
post_providers_edges_phones_phone_id_reboot_with_http_info(phone_id, opts)
|
|
3711
4067
|
return nil
|
|
3712
4068
|
end
|
|
3713
4069
|
|
|
@@ -3716,16 +4072,16 @@ module PureCloud
|
|
|
3716
4072
|
# @param phone_id Phone Id
|
|
3717
4073
|
# @param [Hash] opts the optional parameters
|
|
3718
4074
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3719
|
-
def
|
|
4075
|
+
def post_providers_edges_phones_phone_id_reboot_with_http_info(phone_id, opts = {})
|
|
3720
4076
|
if @api_client.config.debugging
|
|
3721
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4077
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_phones_phone_id_reboot ..."
|
|
3722
4078
|
end
|
|
3723
4079
|
|
|
3724
4080
|
# verify the required parameter 'phone_id' is set
|
|
3725
|
-
fail "Missing the required parameter 'phone_id' when calling
|
|
4081
|
+
fail "Missing the required parameter 'phone_id' when calling post_providers_edges_phones_phone_id_reboot" if phone_id.nil?
|
|
3726
4082
|
|
|
3727
4083
|
# resource path
|
|
3728
|
-
path = "/api/v2/telephony/providers/
|
|
4084
|
+
path = "/api/v2/telephony/providers/edges/phones/{phoneId}/reboot".sub('{format}','json').sub('{' + 'phoneId' + '}', phone_id.to_s)
|
|
3729
4085
|
|
|
3730
4086
|
# query parameters
|
|
3731
4087
|
query_params = {}
|
|
@@ -3756,7 +4112,7 @@ module PureCloud
|
|
|
3756
4112
|
:body => post_body,
|
|
3757
4113
|
:auth_names => auth_names)
|
|
3758
4114
|
if @api_client.config.debugging
|
|
3759
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4115
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_phones_phone_id_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3760
4116
|
end
|
|
3761
4117
|
return data, status_code, headers
|
|
3762
4118
|
end
|
|
@@ -3771,8 +4127,8 @@ module PureCloud
|
|
|
3771
4127
|
# @option opts [String] :name Name
|
|
3772
4128
|
# @option opts [String] :location_id Location Id
|
|
3773
4129
|
# @return [SiteEntityListing]
|
|
3774
|
-
def
|
|
3775
|
-
data, status_code, headers =
|
|
4130
|
+
def get_providers_edges_sites(opts = {})
|
|
4131
|
+
data, status_code, headers = get_providers_edges_sites_with_http_info(opts)
|
|
3776
4132
|
return data
|
|
3777
4133
|
end
|
|
3778
4134
|
|
|
@@ -3786,13 +4142,13 @@ module PureCloud
|
|
|
3786
4142
|
# @option opts [String] :name Name
|
|
3787
4143
|
# @option opts [String] :location_id Location Id
|
|
3788
4144
|
# @return [Array<(SiteEntityListing, Fixnum, Hash)>] SiteEntityListing data, response status code and response headers
|
|
3789
|
-
def
|
|
4145
|
+
def get_providers_edges_sites_with_http_info(opts = {})
|
|
3790
4146
|
if @api_client.config.debugging
|
|
3791
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4147
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_sites ..."
|
|
3792
4148
|
end
|
|
3793
4149
|
|
|
3794
4150
|
# resource path
|
|
3795
|
-
path = "/api/v2/telephony/providers/
|
|
4151
|
+
path = "/api/v2/telephony/providers/edges/sites".sub('{format}','json')
|
|
3796
4152
|
|
|
3797
4153
|
# query parameters
|
|
3798
4154
|
query_params = {}
|
|
@@ -3830,7 +4186,7 @@ module PureCloud
|
|
|
3830
4186
|
:auth_names => auth_names,
|
|
3831
4187
|
:return_type => 'SiteEntityListing')
|
|
3832
4188
|
if @api_client.config.debugging
|
|
3833
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4189
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_sites\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3834
4190
|
end
|
|
3835
4191
|
return data, status_code, headers
|
|
3836
4192
|
end
|
|
@@ -3840,8 +4196,8 @@ module PureCloud
|
|
|
3840
4196
|
# @param [Hash] opts the optional parameters
|
|
3841
4197
|
# @option opts [Site] :body Site
|
|
3842
4198
|
# @return [Site]
|
|
3843
|
-
def
|
|
3844
|
-
data, status_code, headers =
|
|
4199
|
+
def post_providers_edges_sites(opts = {})
|
|
4200
|
+
data, status_code, headers = post_providers_edges_sites_with_http_info(opts)
|
|
3845
4201
|
return data
|
|
3846
4202
|
end
|
|
3847
4203
|
|
|
@@ -3850,13 +4206,13 @@ module PureCloud
|
|
|
3850
4206
|
# @param [Hash] opts the optional parameters
|
|
3851
4207
|
# @option opts [Site] :body Site
|
|
3852
4208
|
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
|
|
3853
|
-
def
|
|
4209
|
+
def post_providers_edges_sites_with_http_info(opts = {})
|
|
3854
4210
|
if @api_client.config.debugging
|
|
3855
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4211
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_sites ..."
|
|
3856
4212
|
end
|
|
3857
4213
|
|
|
3858
4214
|
# resource path
|
|
3859
|
-
path = "/api/v2/telephony/providers/
|
|
4215
|
+
path = "/api/v2/telephony/providers/edges/sites".sub('{format}','json')
|
|
3860
4216
|
|
|
3861
4217
|
# query parameters
|
|
3862
4218
|
query_params = {}
|
|
@@ -3888,7 +4244,7 @@ module PureCloud
|
|
|
3888
4244
|
:auth_names => auth_names,
|
|
3889
4245
|
:return_type => 'Site')
|
|
3890
4246
|
if @api_client.config.debugging
|
|
3891
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4247
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_sites\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3892
4248
|
end
|
|
3893
4249
|
return data, status_code, headers
|
|
3894
4250
|
end
|
|
@@ -3898,8 +4254,8 @@ module PureCloud
|
|
|
3898
4254
|
# @param site_id Site ID
|
|
3899
4255
|
# @param [Hash] opts the optional parameters
|
|
3900
4256
|
# @return [Site]
|
|
3901
|
-
def
|
|
3902
|
-
data, status_code, headers =
|
|
4257
|
+
def get_providers_edges_sites_site_id(site_id, opts = {})
|
|
4258
|
+
data, status_code, headers = get_providers_edges_sites_site_id_with_http_info(site_id, opts)
|
|
3903
4259
|
return data
|
|
3904
4260
|
end
|
|
3905
4261
|
|
|
@@ -3908,16 +4264,16 @@ module PureCloud
|
|
|
3908
4264
|
# @param site_id Site ID
|
|
3909
4265
|
# @param [Hash] opts the optional parameters
|
|
3910
4266
|
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
|
|
3911
|
-
def
|
|
4267
|
+
def get_providers_edges_sites_site_id_with_http_info(site_id, opts = {})
|
|
3912
4268
|
if @api_client.config.debugging
|
|
3913
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4269
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id ..."
|
|
3914
4270
|
end
|
|
3915
4271
|
|
|
3916
4272
|
# verify the required parameter 'site_id' is set
|
|
3917
|
-
fail "Missing the required parameter 'site_id' when calling
|
|
4273
|
+
fail "Missing the required parameter 'site_id' when calling get_providers_edges_sites_site_id" if site_id.nil?
|
|
3918
4274
|
|
|
3919
4275
|
# resource path
|
|
3920
|
-
path = "/api/v2/telephony/providers/
|
|
4276
|
+
path = "/api/v2/telephony/providers/edges/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
|
3921
4277
|
|
|
3922
4278
|
# query parameters
|
|
3923
4279
|
query_params = {}
|
|
@@ -3949,7 +4305,7 @@ module PureCloud
|
|
|
3949
4305
|
:auth_names => auth_names,
|
|
3950
4306
|
:return_type => 'Site')
|
|
3951
4307
|
if @api_client.config.debugging
|
|
3952
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4308
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3953
4309
|
end
|
|
3954
4310
|
return data, status_code, headers
|
|
3955
4311
|
end
|
|
@@ -3960,8 +4316,8 @@ module PureCloud
|
|
|
3960
4316
|
# @param [Hash] opts the optional parameters
|
|
3961
4317
|
# @option opts [Site] :body Site
|
|
3962
4318
|
# @return [Site]
|
|
3963
|
-
def
|
|
3964
|
-
data, status_code, headers =
|
|
4319
|
+
def put_providers_edges_sites_site_id(site_id, opts = {})
|
|
4320
|
+
data, status_code, headers = put_providers_edges_sites_site_id_with_http_info(site_id, opts)
|
|
3965
4321
|
return data
|
|
3966
4322
|
end
|
|
3967
4323
|
|
|
@@ -3971,16 +4327,16 @@ module PureCloud
|
|
|
3971
4327
|
# @param [Hash] opts the optional parameters
|
|
3972
4328
|
# @option opts [Site] :body Site
|
|
3973
4329
|
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
|
|
3974
|
-
def
|
|
4330
|
+
def put_providers_edges_sites_site_id_with_http_info(site_id, opts = {})
|
|
3975
4331
|
if @api_client.config.debugging
|
|
3976
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4332
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_sites_site_id ..."
|
|
3977
4333
|
end
|
|
3978
4334
|
|
|
3979
4335
|
# verify the required parameter 'site_id' is set
|
|
3980
|
-
fail "Missing the required parameter 'site_id' when calling
|
|
4336
|
+
fail "Missing the required parameter 'site_id' when calling put_providers_edges_sites_site_id" if site_id.nil?
|
|
3981
4337
|
|
|
3982
4338
|
# resource path
|
|
3983
|
-
path = "/api/v2/telephony/providers/
|
|
4339
|
+
path = "/api/v2/telephony/providers/edges/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
|
3984
4340
|
|
|
3985
4341
|
# query parameters
|
|
3986
4342
|
query_params = {}
|
|
@@ -4012,7 +4368,7 @@ module PureCloud
|
|
|
4012
4368
|
:auth_names => auth_names,
|
|
4013
4369
|
:return_type => 'Site')
|
|
4014
4370
|
if @api_client.config.debugging
|
|
4015
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4371
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4016
4372
|
end
|
|
4017
4373
|
return data, status_code, headers
|
|
4018
4374
|
end
|
|
@@ -4022,8 +4378,8 @@ module PureCloud
|
|
|
4022
4378
|
# @param site_id Site ID
|
|
4023
4379
|
# @param [Hash] opts the optional parameters
|
|
4024
4380
|
# @return [String]
|
|
4025
|
-
def
|
|
4026
|
-
data, status_code, headers =
|
|
4381
|
+
def delete_providers_edges_sites_site_id(site_id, opts = {})
|
|
4382
|
+
data, status_code, headers = delete_providers_edges_sites_site_id_with_http_info(site_id, opts)
|
|
4027
4383
|
return data
|
|
4028
4384
|
end
|
|
4029
4385
|
|
|
@@ -4032,16 +4388,16 @@ module PureCloud
|
|
|
4032
4388
|
# @param site_id Site ID
|
|
4033
4389
|
# @param [Hash] opts the optional parameters
|
|
4034
4390
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
4035
|
-
def
|
|
4391
|
+
def delete_providers_edges_sites_site_id_with_http_info(site_id, opts = {})
|
|
4036
4392
|
if @api_client.config.debugging
|
|
4037
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4393
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_sites_site_id ..."
|
|
4038
4394
|
end
|
|
4039
4395
|
|
|
4040
4396
|
# verify the required parameter 'site_id' is set
|
|
4041
|
-
fail "Missing the required parameter 'site_id' when calling
|
|
4397
|
+
fail "Missing the required parameter 'site_id' when calling delete_providers_edges_sites_site_id" if site_id.nil?
|
|
4042
4398
|
|
|
4043
4399
|
# resource path
|
|
4044
|
-
path = "/api/v2/telephony/providers/
|
|
4400
|
+
path = "/api/v2/telephony/providers/edges/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
|
4045
4401
|
|
|
4046
4402
|
# query parameters
|
|
4047
4403
|
query_params = {}
|
|
@@ -4073,7 +4429,7 @@ module PureCloud
|
|
|
4073
4429
|
:auth_names => auth_names,
|
|
4074
4430
|
:return_type => 'String')
|
|
4075
4431
|
if @api_client.config.debugging
|
|
4076
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4432
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4077
4433
|
end
|
|
4078
4434
|
return data, status_code, headers
|
|
4079
4435
|
end
|
|
@@ -4083,8 +4439,8 @@ module PureCloud
|
|
|
4083
4439
|
# @param site_id Site ID
|
|
4084
4440
|
# @param [Hash] opts the optional parameters
|
|
4085
4441
|
# @return [Array<NumberPlan>]
|
|
4086
|
-
def
|
|
4087
|
-
data, status_code, headers =
|
|
4442
|
+
def get_providers_edges_sites_site_id_numberplans(site_id, opts = {})
|
|
4443
|
+
data, status_code, headers = get_providers_edges_sites_site_id_numberplans_with_http_info(site_id, opts)
|
|
4088
4444
|
return data
|
|
4089
4445
|
end
|
|
4090
4446
|
|
|
@@ -4093,16 +4449,16 @@ module PureCloud
|
|
|
4093
4449
|
# @param site_id Site ID
|
|
4094
4450
|
# @param [Hash] opts the optional parameters
|
|
4095
4451
|
# @return [Array<(Array<NumberPlan>, Fixnum, Hash)>] Array<NumberPlan> data, response status code and response headers
|
|
4096
|
-
def
|
|
4452
|
+
def get_providers_edges_sites_site_id_numberplans_with_http_info(site_id, opts = {})
|
|
4097
4453
|
if @api_client.config.debugging
|
|
4098
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4454
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id_numberplans ..."
|
|
4099
4455
|
end
|
|
4100
4456
|
|
|
4101
4457
|
# verify the required parameter 'site_id' is set
|
|
4102
|
-
fail "Missing the required parameter 'site_id' when calling
|
|
4458
|
+
fail "Missing the required parameter 'site_id' when calling get_providers_edges_sites_site_id_numberplans" if site_id.nil?
|
|
4103
4459
|
|
|
4104
4460
|
# resource path
|
|
4105
|
-
path = "/api/v2/telephony/providers/
|
|
4461
|
+
path = "/api/v2/telephony/providers/edges/sites/{siteId}/numberplans".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
|
4106
4462
|
|
|
4107
4463
|
# query parameters
|
|
4108
4464
|
query_params = {}
|
|
@@ -4134,7 +4490,7 @@ module PureCloud
|
|
|
4134
4490
|
:auth_names => auth_names,
|
|
4135
4491
|
:return_type => 'Array<NumberPlan>')
|
|
4136
4492
|
if @api_client.config.debugging
|
|
4137
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4493
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4138
4494
|
end
|
|
4139
4495
|
return data, status_code, headers
|
|
4140
4496
|
end
|
|
@@ -4145,8 +4501,8 @@ module PureCloud
|
|
|
4145
4501
|
# @param [Hash] opts the optional parameters
|
|
4146
4502
|
# @option opts [Array<NumberPlan>] :body
|
|
4147
4503
|
# @return [Array<NumberPlan>]
|
|
4148
|
-
def
|
|
4149
|
-
data, status_code, headers =
|
|
4504
|
+
def put_providers_edges_sites_site_id_numberplans(site_id, opts = {})
|
|
4505
|
+
data, status_code, headers = put_providers_edges_sites_site_id_numberplans_with_http_info(site_id, opts)
|
|
4150
4506
|
return data
|
|
4151
4507
|
end
|
|
4152
4508
|
|
|
@@ -4156,16 +4512,16 @@ module PureCloud
|
|
|
4156
4512
|
# @param [Hash] opts the optional parameters
|
|
4157
4513
|
# @option opts [Array<NumberPlan>] :body
|
|
4158
4514
|
# @return [Array<(Array<NumberPlan>, Fixnum, Hash)>] Array<NumberPlan> data, response status code and response headers
|
|
4159
|
-
def
|
|
4515
|
+
def put_providers_edges_sites_site_id_numberplans_with_http_info(site_id, opts = {})
|
|
4160
4516
|
if @api_client.config.debugging
|
|
4161
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4517
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_sites_site_id_numberplans ..."
|
|
4162
4518
|
end
|
|
4163
4519
|
|
|
4164
4520
|
# verify the required parameter 'site_id' is set
|
|
4165
|
-
fail "Missing the required parameter 'site_id' when calling
|
|
4521
|
+
fail "Missing the required parameter 'site_id' when calling put_providers_edges_sites_site_id_numberplans" if site_id.nil?
|
|
4166
4522
|
|
|
4167
4523
|
# resource path
|
|
4168
|
-
path = "/api/v2/telephony/providers/
|
|
4524
|
+
path = "/api/v2/telephony/providers/edges/sites/{siteId}/numberplans".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
|
4169
4525
|
|
|
4170
4526
|
# query parameters
|
|
4171
4527
|
query_params = {}
|
|
@@ -4197,7 +4553,7 @@ module PureCloud
|
|
|
4197
4553
|
:auth_names => auth_names,
|
|
4198
4554
|
:return_type => 'Array<NumberPlan>')
|
|
4199
4555
|
if @api_client.config.debugging
|
|
4200
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4556
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_sites_site_id_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4201
4557
|
end
|
|
4202
4558
|
return data, status_code, headers
|
|
4203
4559
|
end
|
|
@@ -4208,8 +4564,8 @@ module PureCloud
|
|
|
4208
4564
|
# @param [Hash] opts the optional parameters
|
|
4209
4565
|
# @option opts [String] :classification Classification
|
|
4210
4566
|
# @return [Array<String>]
|
|
4211
|
-
def
|
|
4212
|
-
data, status_code, headers =
|
|
4567
|
+
def get_providers_edges_sites_site_id_numberplans_classifications(site_id, opts = {})
|
|
4568
|
+
data, status_code, headers = get_providers_edges_sites_site_id_numberplans_classifications_with_http_info(site_id, opts)
|
|
4213
4569
|
return data
|
|
4214
4570
|
end
|
|
4215
4571
|
|
|
@@ -4219,16 +4575,16 @@ module PureCloud
|
|
|
4219
4575
|
# @param [Hash] opts the optional parameters
|
|
4220
4576
|
# @option opts [String] :classification Classification
|
|
4221
4577
|
# @return [Array<(Array<String>, Fixnum, Hash)>] Array<String> data, response status code and response headers
|
|
4222
|
-
def
|
|
4578
|
+
def get_providers_edges_sites_site_id_numberplans_classifications_with_http_info(site_id, opts = {})
|
|
4223
4579
|
if @api_client.config.debugging
|
|
4224
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4580
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id_numberplans_classifications ..."
|
|
4225
4581
|
end
|
|
4226
4582
|
|
|
4227
4583
|
# verify the required parameter 'site_id' is set
|
|
4228
|
-
fail "Missing the required parameter 'site_id' when calling
|
|
4584
|
+
fail "Missing the required parameter 'site_id' when calling get_providers_edges_sites_site_id_numberplans_classifications" if site_id.nil?
|
|
4229
4585
|
|
|
4230
4586
|
# resource path
|
|
4231
|
-
path = "/api/v2/telephony/providers/
|
|
4587
|
+
path = "/api/v2/telephony/providers/edges/sites/{siteId}/numberplans/classifications".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
|
4232
4588
|
|
|
4233
4589
|
# query parameters
|
|
4234
4590
|
query_params = {}
|
|
@@ -4261,7 +4617,7 @@ module PureCloud
|
|
|
4261
4617
|
:auth_names => auth_names,
|
|
4262
4618
|
:return_type => 'Array<String>')
|
|
4263
4619
|
if @api_client.config.debugging
|
|
4264
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4620
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id_numberplans_classifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4265
4621
|
end
|
|
4266
4622
|
return data, status_code, headers
|
|
4267
4623
|
end
|
|
@@ -4272,8 +4628,8 @@ module PureCloud
|
|
|
4272
4628
|
# @param number_plan_id Number Plan ID
|
|
4273
4629
|
# @param [Hash] opts the optional parameters
|
|
4274
4630
|
# @return [NumberPlan]
|
|
4275
|
-
def
|
|
4276
|
-
data, status_code, headers =
|
|
4631
|
+
def get_providers_edges_sites_site_id_numberplans_numberplan_id(site_id, number_plan_id, opts = {})
|
|
4632
|
+
data, status_code, headers = get_providers_edges_sites_site_id_numberplans_numberplan_id_with_http_info(site_id, number_plan_id, opts)
|
|
4277
4633
|
return data
|
|
4278
4634
|
end
|
|
4279
4635
|
|
|
@@ -4283,19 +4639,19 @@ module PureCloud
|
|
|
4283
4639
|
# @param number_plan_id Number Plan ID
|
|
4284
4640
|
# @param [Hash] opts the optional parameters
|
|
4285
4641
|
# @return [Array<(NumberPlan, Fixnum, Hash)>] NumberPlan data, response status code and response headers
|
|
4286
|
-
def
|
|
4642
|
+
def get_providers_edges_sites_site_id_numberplans_numberplan_id_with_http_info(site_id, number_plan_id, opts = {})
|
|
4287
4643
|
if @api_client.config.debugging
|
|
4288
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4644
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id_numberplans_numberplan_id ..."
|
|
4289
4645
|
end
|
|
4290
4646
|
|
|
4291
4647
|
# verify the required parameter 'site_id' is set
|
|
4292
|
-
fail "Missing the required parameter 'site_id' when calling
|
|
4648
|
+
fail "Missing the required parameter 'site_id' when calling get_providers_edges_sites_site_id_numberplans_numberplan_id" if site_id.nil?
|
|
4293
4649
|
|
|
4294
4650
|
# verify the required parameter 'number_plan_id' is set
|
|
4295
|
-
fail "Missing the required parameter 'number_plan_id' when calling
|
|
4651
|
+
fail "Missing the required parameter 'number_plan_id' when calling get_providers_edges_sites_site_id_numberplans_numberplan_id" if number_plan_id.nil?
|
|
4296
4652
|
|
|
4297
4653
|
# resource path
|
|
4298
|
-
path = "/api/v2/telephony/providers/
|
|
4654
|
+
path = "/api/v2/telephony/providers/edges/sites/{siteId}/numberplans/{numberPlanId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s).sub('{' + 'numberPlanId' + '}', number_plan_id.to_s)
|
|
4299
4655
|
|
|
4300
4656
|
# query parameters
|
|
4301
4657
|
query_params = {}
|
|
@@ -4327,7 +4683,7 @@ module PureCloud
|
|
|
4327
4683
|
:auth_names => auth_names,
|
|
4328
4684
|
:return_type => 'NumberPlan')
|
|
4329
4685
|
if @api_client.config.debugging
|
|
4330
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4686
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_sites_site_id_numberplans_numberplan_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4331
4687
|
end
|
|
4332
4688
|
return data, status_code, headers
|
|
4333
4689
|
end
|
|
@@ -4337,8 +4693,8 @@ module PureCloud
|
|
|
4337
4693
|
# @param site_id Site ID
|
|
4338
4694
|
# @param [Hash] opts the optional parameters
|
|
4339
4695
|
# @return [nil]
|
|
4340
|
-
def
|
|
4341
|
-
|
|
4696
|
+
def post_providers_edges_sites_site_id_rebalance(site_id, opts = {})
|
|
4697
|
+
post_providers_edges_sites_site_id_rebalance_with_http_info(site_id, opts)
|
|
4342
4698
|
return nil
|
|
4343
4699
|
end
|
|
4344
4700
|
|
|
@@ -4347,16 +4703,16 @@ module PureCloud
|
|
|
4347
4703
|
# @param site_id Site ID
|
|
4348
4704
|
# @param [Hash] opts the optional parameters
|
|
4349
4705
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
4350
|
-
def
|
|
4706
|
+
def post_providers_edges_sites_site_id_rebalance_with_http_info(site_id, opts = {})
|
|
4351
4707
|
if @api_client.config.debugging
|
|
4352
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4708
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_sites_site_id_rebalance ..."
|
|
4353
4709
|
end
|
|
4354
4710
|
|
|
4355
4711
|
# verify the required parameter 'site_id' is set
|
|
4356
|
-
fail "Missing the required parameter 'site_id' when calling
|
|
4712
|
+
fail "Missing the required parameter 'site_id' when calling post_providers_edges_sites_site_id_rebalance" if site_id.nil?
|
|
4357
4713
|
|
|
4358
4714
|
# resource path
|
|
4359
|
-
path = "/api/v2/telephony/providers/
|
|
4715
|
+
path = "/api/v2/telephony/providers/edges/sites/{siteId}/rebalance".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
|
|
4360
4716
|
|
|
4361
4717
|
# query parameters
|
|
4362
4718
|
query_params = {}
|
|
@@ -4387,7 +4743,7 @@ module PureCloud
|
|
|
4387
4743
|
:body => post_body,
|
|
4388
4744
|
:auth_names => auth_names)
|
|
4389
4745
|
if @api_client.config.debugging
|
|
4390
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4746
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_sites_site_id_rebalance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4391
4747
|
end
|
|
4392
4748
|
return data, status_code, headers
|
|
4393
4749
|
end
|
|
@@ -4398,8 +4754,8 @@ module PureCloud
|
|
|
4398
4754
|
# @option opts [Integer] :page_size Page size
|
|
4399
4755
|
# @option opts [Integer] :page_number Page number
|
|
4400
4756
|
# @return [TimeZoneEntityListing]
|
|
4401
|
-
def
|
|
4402
|
-
data, status_code, headers =
|
|
4757
|
+
def get_providers_edges_timezones(opts = {})
|
|
4758
|
+
data, status_code, headers = get_providers_edges_timezones_with_http_info(opts)
|
|
4403
4759
|
return data
|
|
4404
4760
|
end
|
|
4405
4761
|
|
|
@@ -4409,13 +4765,13 @@ module PureCloud
|
|
|
4409
4765
|
# @option opts [Integer] :page_size Page size
|
|
4410
4766
|
# @option opts [Integer] :page_number Page number
|
|
4411
4767
|
# @return [Array<(TimeZoneEntityListing, Fixnum, Hash)>] TimeZoneEntityListing data, response status code and response headers
|
|
4412
|
-
def
|
|
4768
|
+
def get_providers_edges_timezones_with_http_info(opts = {})
|
|
4413
4769
|
if @api_client.config.debugging
|
|
4414
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4770
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_timezones ..."
|
|
4415
4771
|
end
|
|
4416
4772
|
|
|
4417
4773
|
# resource path
|
|
4418
|
-
path = "/api/v2/telephony/providers/
|
|
4774
|
+
path = "/api/v2/telephony/providers/edges/timezones".sub('{format}','json')
|
|
4419
4775
|
|
|
4420
4776
|
# query parameters
|
|
4421
4777
|
query_params = {}
|
|
@@ -4449,7 +4805,7 @@ module PureCloud
|
|
|
4449
4805
|
:auth_names => auth_names,
|
|
4450
4806
|
:return_type => 'TimeZoneEntityListing')
|
|
4451
4807
|
if @api_client.config.debugging
|
|
4452
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4808
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_timezones\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4453
4809
|
end
|
|
4454
4810
|
return data, status_code, headers
|
|
4455
4811
|
end
|
|
@@ -4462,8 +4818,8 @@ module PureCloud
|
|
|
4462
4818
|
# @option opts [String] :sort_by Value by which to sort
|
|
4463
4819
|
# @option opts [String] :sort_order Sort order
|
|
4464
4820
|
# @return [TrunkBase]
|
|
4465
|
-
def
|
|
4466
|
-
data, status_code, headers =
|
|
4821
|
+
def get_providers_edges_trunkbasesettings(opts = {})
|
|
4822
|
+
data, status_code, headers = get_providers_edges_trunkbasesettings_with_http_info(opts)
|
|
4467
4823
|
return data
|
|
4468
4824
|
end
|
|
4469
4825
|
|
|
@@ -4475,13 +4831,13 @@ module PureCloud
|
|
|
4475
4831
|
# @option opts [String] :sort_by Value by which to sort
|
|
4476
4832
|
# @option opts [String] :sort_order Sort order
|
|
4477
4833
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
|
4478
|
-
def
|
|
4834
|
+
def get_providers_edges_trunkbasesettings_with_http_info(opts = {})
|
|
4479
4835
|
if @api_client.config.debugging
|
|
4480
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4836
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_trunkbasesettings ..."
|
|
4481
4837
|
end
|
|
4482
4838
|
|
|
4483
4839
|
# resource path
|
|
4484
|
-
path = "/api/v2/telephony/providers/
|
|
4840
|
+
path = "/api/v2/telephony/providers/edges/trunkbasesettings".sub('{format}','json')
|
|
4485
4841
|
|
|
4486
4842
|
# query parameters
|
|
4487
4843
|
query_params = {}
|
|
@@ -4517,7 +4873,7 @@ module PureCloud
|
|
|
4517
4873
|
:auth_names => auth_names,
|
|
4518
4874
|
:return_type => 'TrunkBase')
|
|
4519
4875
|
if @api_client.config.debugging
|
|
4520
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4876
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_trunkbasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4521
4877
|
end
|
|
4522
4878
|
return data, status_code, headers
|
|
4523
4879
|
end
|
|
@@ -4527,8 +4883,8 @@ module PureCloud
|
|
|
4527
4883
|
# @param [Hash] opts the optional parameters
|
|
4528
4884
|
# @option opts [TrunkBase] :body
|
|
4529
4885
|
# @return [TrunkBase]
|
|
4530
|
-
def
|
|
4531
|
-
data, status_code, headers =
|
|
4886
|
+
def post_providers_edges_trunkbasesettings(opts = {})
|
|
4887
|
+
data, status_code, headers = post_providers_edges_trunkbasesettings_with_http_info(opts)
|
|
4532
4888
|
return data
|
|
4533
4889
|
end
|
|
4534
4890
|
|
|
@@ -4537,13 +4893,13 @@ module PureCloud
|
|
|
4537
4893
|
# @param [Hash] opts the optional parameters
|
|
4538
4894
|
# @option opts [TrunkBase] :body
|
|
4539
4895
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
|
4540
|
-
def
|
|
4896
|
+
def post_providers_edges_trunkbasesettings_with_http_info(opts = {})
|
|
4541
4897
|
if @api_client.config.debugging
|
|
4542
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4898
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_trunkbasesettings ..."
|
|
4543
4899
|
end
|
|
4544
4900
|
|
|
4545
4901
|
# resource path
|
|
4546
|
-
path = "/api/v2/telephony/providers/
|
|
4902
|
+
path = "/api/v2/telephony/providers/edges/trunkbasesettings".sub('{format}','json')
|
|
4547
4903
|
|
|
4548
4904
|
# query parameters
|
|
4549
4905
|
query_params = {}
|
|
@@ -4575,7 +4931,7 @@ module PureCloud
|
|
|
4575
4931
|
:auth_names => auth_names,
|
|
4576
4932
|
:return_type => 'TrunkBase')
|
|
4577
4933
|
if @api_client.config.debugging
|
|
4578
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
4934
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_trunkbasesettings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4579
4935
|
end
|
|
4580
4936
|
return data, status_code, headers
|
|
4581
4937
|
end
|
|
@@ -4587,8 +4943,8 @@ module PureCloud
|
|
|
4587
4943
|
# @option opts [Integer] :page_size
|
|
4588
4944
|
# @option opts [Integer] :page_number
|
|
4589
4945
|
# @return [TrunkMetabaseEntityListing]
|
|
4590
|
-
def
|
|
4591
|
-
data, status_code, headers =
|
|
4946
|
+
def get_providers_edges_trunkbasesettings_availablemetabases(opts = {})
|
|
4947
|
+
data, status_code, headers = get_providers_edges_trunkbasesettings_availablemetabases_with_http_info(opts)
|
|
4592
4948
|
return data
|
|
4593
4949
|
end
|
|
4594
4950
|
|
|
@@ -4599,9 +4955,9 @@ module PureCloud
|
|
|
4599
4955
|
# @option opts [Integer] :page_size
|
|
4600
4956
|
# @option opts [Integer] :page_number
|
|
4601
4957
|
# @return [Array<(TrunkMetabaseEntityListing, Fixnum, Hash)>] TrunkMetabaseEntityListing data, response status code and response headers
|
|
4602
|
-
def
|
|
4958
|
+
def get_providers_edges_trunkbasesettings_availablemetabases_with_http_info(opts = {})
|
|
4603
4959
|
if @api_client.config.debugging
|
|
4604
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
4960
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_trunkbasesettings_availablemetabases ..."
|
|
4605
4961
|
end
|
|
4606
4962
|
|
|
4607
4963
|
if opts[:'type'] && !['EXTERNAL', 'PHONE', 'EDGE'].include?(opts[:'type'])
|
|
@@ -4609,7 +4965,7 @@ module PureCloud
|
|
|
4609
4965
|
end
|
|
4610
4966
|
|
|
4611
4967
|
# resource path
|
|
4612
|
-
path = "/api/v2/telephony/providers/
|
|
4968
|
+
path = "/api/v2/telephony/providers/edges/trunkbasesettings/availablemetabases".sub('{format}','json')
|
|
4613
4969
|
|
|
4614
4970
|
# query parameters
|
|
4615
4971
|
query_params = {}
|
|
@@ -4644,7 +5000,7 @@ module PureCloud
|
|
|
4644
5000
|
:auth_names => auth_names,
|
|
4645
5001
|
:return_type => 'TrunkMetabaseEntityListing')
|
|
4646
5002
|
if @api_client.config.debugging
|
|
4647
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5003
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_trunkbasesettings_availablemetabases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4648
5004
|
end
|
|
4649
5005
|
return data, status_code, headers
|
|
4650
5006
|
end
|
|
@@ -4654,8 +5010,8 @@ module PureCloud
|
|
|
4654
5010
|
# @param trunk_metabase_id The id of a metabase object upon which to base this Trunk Base Settings
|
|
4655
5011
|
# @param [Hash] opts the optional parameters
|
|
4656
5012
|
# @return [TrunkBase]
|
|
4657
|
-
def
|
|
4658
|
-
data, status_code, headers =
|
|
5013
|
+
def get_providers_edges_trunkbasesettings_template(trunk_metabase_id, opts = {})
|
|
5014
|
+
data, status_code, headers = get_providers_edges_trunkbasesettings_template_with_http_info(trunk_metabase_id, opts)
|
|
4659
5015
|
return data
|
|
4660
5016
|
end
|
|
4661
5017
|
|
|
@@ -4664,16 +5020,16 @@ module PureCloud
|
|
|
4664
5020
|
# @param trunk_metabase_id The id of a metabase object upon which to base this Trunk Base Settings
|
|
4665
5021
|
# @param [Hash] opts the optional parameters
|
|
4666
5022
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
|
4667
|
-
def
|
|
5023
|
+
def get_providers_edges_trunkbasesettings_template_with_http_info(trunk_metabase_id, opts = {})
|
|
4668
5024
|
if @api_client.config.debugging
|
|
4669
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5025
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_trunkbasesettings_template ..."
|
|
4670
5026
|
end
|
|
4671
5027
|
|
|
4672
5028
|
# verify the required parameter 'trunk_metabase_id' is set
|
|
4673
|
-
fail "Missing the required parameter 'trunk_metabase_id' when calling
|
|
5029
|
+
fail "Missing the required parameter 'trunk_metabase_id' when calling get_providers_edges_trunkbasesettings_template" if trunk_metabase_id.nil?
|
|
4674
5030
|
|
|
4675
5031
|
# resource path
|
|
4676
|
-
path = "/api/v2/telephony/providers/
|
|
5032
|
+
path = "/api/v2/telephony/providers/edges/trunkbasesettings/template".sub('{format}','json')
|
|
4677
5033
|
|
|
4678
5034
|
# query parameters
|
|
4679
5035
|
query_params = {}
|
|
@@ -4706,7 +5062,7 @@ module PureCloud
|
|
|
4706
5062
|
:auth_names => auth_names,
|
|
4707
5063
|
:return_type => 'TrunkBase')
|
|
4708
5064
|
if @api_client.config.debugging
|
|
4709
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5065
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_trunkbasesettings_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4710
5066
|
end
|
|
4711
5067
|
return data, status_code, headers
|
|
4712
5068
|
end
|
|
@@ -4716,8 +5072,8 @@ module PureCloud
|
|
|
4716
5072
|
# @param trunk_base_settings_id Trunk Base ID
|
|
4717
5073
|
# @param [Hash] opts the optional parameters
|
|
4718
5074
|
# @return [TrunkBase]
|
|
4719
|
-
def
|
|
4720
|
-
data, status_code, headers =
|
|
5075
|
+
def get_providers_edges_trunkbasesettings_trunkbasesettings_id(trunk_base_settings_id, opts = {})
|
|
5076
|
+
data, status_code, headers = get_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts)
|
|
4721
5077
|
return data
|
|
4722
5078
|
end
|
|
4723
5079
|
|
|
@@ -4726,16 +5082,16 @@ module PureCloud
|
|
|
4726
5082
|
# @param trunk_base_settings_id Trunk Base ID
|
|
4727
5083
|
# @param [Hash] opts the optional parameters
|
|
4728
5084
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
|
4729
|
-
def
|
|
5085
|
+
def get_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts = {})
|
|
4730
5086
|
if @api_client.config.debugging
|
|
4731
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5087
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_trunkbasesettings_trunkbasesettings_id ..."
|
|
4732
5088
|
end
|
|
4733
5089
|
|
|
4734
5090
|
# verify the required parameter 'trunk_base_settings_id' is set
|
|
4735
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
|
5091
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling get_providers_edges_trunkbasesettings_trunkbasesettings_id" if trunk_base_settings_id.nil?
|
|
4736
5092
|
|
|
4737
5093
|
# resource path
|
|
4738
|
-
path = "/api/v2/telephony/providers/
|
|
5094
|
+
path = "/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
|
4739
5095
|
|
|
4740
5096
|
# query parameters
|
|
4741
5097
|
query_params = {}
|
|
@@ -4767,7 +5123,7 @@ module PureCloud
|
|
|
4767
5123
|
:auth_names => auth_names,
|
|
4768
5124
|
:return_type => 'TrunkBase')
|
|
4769
5125
|
if @api_client.config.debugging
|
|
4770
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5126
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_trunkbasesettings_trunkbasesettings_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4771
5127
|
end
|
|
4772
5128
|
return data, status_code, headers
|
|
4773
5129
|
end
|
|
@@ -4778,8 +5134,8 @@ module PureCloud
|
|
|
4778
5134
|
# @param [Hash] opts the optional parameters
|
|
4779
5135
|
# @option opts [TrunkBase] :body
|
|
4780
5136
|
# @return [TrunkBase]
|
|
4781
|
-
def
|
|
4782
|
-
data, status_code, headers =
|
|
5137
|
+
def put_providers_edges_trunkbasesettings_trunkbasesettings_id(trunk_base_settings_id, opts = {})
|
|
5138
|
+
data, status_code, headers = put_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts)
|
|
4783
5139
|
return data
|
|
4784
5140
|
end
|
|
4785
5141
|
|
|
@@ -4789,16 +5145,16 @@ module PureCloud
|
|
|
4789
5145
|
# @param [Hash] opts the optional parameters
|
|
4790
5146
|
# @option opts [TrunkBase] :body
|
|
4791
5147
|
# @return [Array<(TrunkBase, Fixnum, Hash)>] TrunkBase data, response status code and response headers
|
|
4792
|
-
def
|
|
5148
|
+
def put_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts = {})
|
|
4793
5149
|
if @api_client.config.debugging
|
|
4794
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5150
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_trunkbasesettings_trunkbasesettings_id ..."
|
|
4795
5151
|
end
|
|
4796
5152
|
|
|
4797
5153
|
# verify the required parameter 'trunk_base_settings_id' is set
|
|
4798
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
|
5154
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling put_providers_edges_trunkbasesettings_trunkbasesettings_id" if trunk_base_settings_id.nil?
|
|
4799
5155
|
|
|
4800
5156
|
# resource path
|
|
4801
|
-
path = "/api/v2/telephony/providers/
|
|
5157
|
+
path = "/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
|
4802
5158
|
|
|
4803
5159
|
# query parameters
|
|
4804
5160
|
query_params = {}
|
|
@@ -4830,7 +5186,7 @@ module PureCloud
|
|
|
4830
5186
|
:auth_names => auth_names,
|
|
4831
5187
|
:return_type => 'TrunkBase')
|
|
4832
5188
|
if @api_client.config.debugging
|
|
4833
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5189
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_trunkbasesettings_trunkbasesettings_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4834
5190
|
end
|
|
4835
5191
|
return data, status_code, headers
|
|
4836
5192
|
end
|
|
@@ -4840,8 +5196,8 @@ module PureCloud
|
|
|
4840
5196
|
# @param trunk_base_settings_id Trunk Base ID
|
|
4841
5197
|
# @param [Hash] opts the optional parameters
|
|
4842
5198
|
# @return [String]
|
|
4843
|
-
def
|
|
4844
|
-
data, status_code, headers =
|
|
5199
|
+
def delete_providers_edges_trunkbasesettings_trunkbasesettings_id(trunk_base_settings_id, opts = {})
|
|
5200
|
+
data, status_code, headers = delete_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts)
|
|
4845
5201
|
return data
|
|
4846
5202
|
end
|
|
4847
5203
|
|
|
@@ -4850,16 +5206,16 @@ module PureCloud
|
|
|
4850
5206
|
# @param trunk_base_settings_id Trunk Base ID
|
|
4851
5207
|
# @param [Hash] opts the optional parameters
|
|
4852
5208
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
4853
|
-
def
|
|
5209
|
+
def delete_providers_edges_trunkbasesettings_trunkbasesettings_id_with_http_info(trunk_base_settings_id, opts = {})
|
|
4854
5210
|
if @api_client.config.debugging
|
|
4855
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5211
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_trunkbasesettings_trunkbasesettings_id ..."
|
|
4856
5212
|
end
|
|
4857
5213
|
|
|
4858
5214
|
# verify the required parameter 'trunk_base_settings_id' is set
|
|
4859
|
-
fail "Missing the required parameter 'trunk_base_settings_id' when calling
|
|
5215
|
+
fail "Missing the required parameter 'trunk_base_settings_id' when calling delete_providers_edges_trunkbasesettings_trunkbasesettings_id" if trunk_base_settings_id.nil?
|
|
4860
5216
|
|
|
4861
5217
|
# resource path
|
|
4862
|
-
path = "/api/v2/telephony/providers/
|
|
5218
|
+
path = "/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}".sub('{format}','json').sub('{' + 'trunkBaseSettingsId' + '}', trunk_base_settings_id.to_s)
|
|
4863
5219
|
|
|
4864
5220
|
# query parameters
|
|
4865
5221
|
query_params = {}
|
|
@@ -4891,7 +5247,7 @@ module PureCloud
|
|
|
4891
5247
|
:auth_names => auth_names,
|
|
4892
5248
|
:return_type => 'String')
|
|
4893
5249
|
if @api_client.config.debugging
|
|
4894
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5250
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_trunkbasesettings_trunkbasesettings_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4895
5251
|
end
|
|
4896
5252
|
return data, status_code, headers
|
|
4897
5253
|
end
|
|
@@ -4901,8 +5257,8 @@ module PureCloud
|
|
|
4901
5257
|
# @param edge_id Edge ID
|
|
4902
5258
|
# @param [Hash] opts the optional parameters
|
|
4903
5259
|
# @return [Edge]
|
|
4904
|
-
def
|
|
4905
|
-
data, status_code, headers =
|
|
5260
|
+
def get_providers_edges_edge_id(edge_id, opts = {})
|
|
5261
|
+
data, status_code, headers = get_providers_edges_edge_id_with_http_info(edge_id, opts)
|
|
4906
5262
|
return data
|
|
4907
5263
|
end
|
|
4908
5264
|
|
|
@@ -4911,16 +5267,16 @@ module PureCloud
|
|
|
4911
5267
|
# @param edge_id Edge ID
|
|
4912
5268
|
# @param [Hash] opts the optional parameters
|
|
4913
5269
|
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
|
|
4914
|
-
def
|
|
5270
|
+
def get_providers_edges_edge_id_with_http_info(edge_id, opts = {})
|
|
4915
5271
|
if @api_client.config.debugging
|
|
4916
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5272
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id ..."
|
|
4917
5273
|
end
|
|
4918
5274
|
|
|
4919
5275
|
# verify the required parameter 'edge_id' is set
|
|
4920
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5276
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id" if edge_id.nil?
|
|
4921
5277
|
|
|
4922
5278
|
# resource path
|
|
4923
|
-
path = "/api/v2/telephony/providers/
|
|
5279
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
4924
5280
|
|
|
4925
5281
|
# query parameters
|
|
4926
5282
|
query_params = {}
|
|
@@ -4952,7 +5308,7 @@ module PureCloud
|
|
|
4952
5308
|
:auth_names => auth_names,
|
|
4953
5309
|
:return_type => 'Edge')
|
|
4954
5310
|
if @api_client.config.debugging
|
|
4955
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5311
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4956
5312
|
end
|
|
4957
5313
|
return data, status_code, headers
|
|
4958
5314
|
end
|
|
@@ -4963,8 +5319,8 @@ module PureCloud
|
|
|
4963
5319
|
# @param [Hash] opts the optional parameters
|
|
4964
5320
|
# @option opts [Edge] :body Edge
|
|
4965
5321
|
# @return [Edge]
|
|
4966
|
-
def
|
|
4967
|
-
data, status_code, headers =
|
|
5322
|
+
def put_providers_edges_edge_id(edge_id, opts = {})
|
|
5323
|
+
data, status_code, headers = put_providers_edges_edge_id_with_http_info(edge_id, opts)
|
|
4968
5324
|
return data
|
|
4969
5325
|
end
|
|
4970
5326
|
|
|
@@ -4974,16 +5330,16 @@ module PureCloud
|
|
|
4974
5330
|
# @param [Hash] opts the optional parameters
|
|
4975
5331
|
# @option opts [Edge] :body Edge
|
|
4976
5332
|
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
|
|
4977
|
-
def
|
|
5333
|
+
def put_providers_edges_edge_id_with_http_info(edge_id, opts = {})
|
|
4978
5334
|
if @api_client.config.debugging
|
|
4979
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5335
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edge_id ..."
|
|
4980
5336
|
end
|
|
4981
5337
|
|
|
4982
5338
|
# verify the required parameter 'edge_id' is set
|
|
4983
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5339
|
+
fail "Missing the required parameter 'edge_id' when calling put_providers_edges_edge_id" if edge_id.nil?
|
|
4984
5340
|
|
|
4985
5341
|
# resource path
|
|
4986
|
-
path = "/api/v2/telephony/providers/
|
|
5342
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
4987
5343
|
|
|
4988
5344
|
# query parameters
|
|
4989
5345
|
query_params = {}
|
|
@@ -5015,7 +5371,7 @@ module PureCloud
|
|
|
5015
5371
|
:auth_names => auth_names,
|
|
5016
5372
|
:return_type => 'Edge')
|
|
5017
5373
|
if @api_client.config.debugging
|
|
5018
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5374
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5019
5375
|
end
|
|
5020
5376
|
return data, status_code, headers
|
|
5021
5377
|
end
|
|
@@ -5025,8 +5381,8 @@ module PureCloud
|
|
|
5025
5381
|
# @param edge_id Edge ID
|
|
5026
5382
|
# @param [Hash] opts the optional parameters
|
|
5027
5383
|
# @return [String]
|
|
5028
|
-
def
|
|
5029
|
-
data, status_code, headers =
|
|
5384
|
+
def delete_providers_edges_edge_id(edge_id, opts = {})
|
|
5385
|
+
data, status_code, headers = delete_providers_edges_edge_id_with_http_info(edge_id, opts)
|
|
5030
5386
|
return data
|
|
5031
5387
|
end
|
|
5032
5388
|
|
|
@@ -5035,16 +5391,16 @@ module PureCloud
|
|
|
5035
5391
|
# @param edge_id Edge ID
|
|
5036
5392
|
# @param [Hash] opts the optional parameters
|
|
5037
5393
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
5038
|
-
def
|
|
5394
|
+
def delete_providers_edges_edge_id_with_http_info(edge_id, opts = {})
|
|
5039
5395
|
if @api_client.config.debugging
|
|
5040
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5396
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_edge_id ..."
|
|
5041
5397
|
end
|
|
5042
5398
|
|
|
5043
5399
|
# verify the required parameter 'edge_id' is set
|
|
5044
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5400
|
+
fail "Missing the required parameter 'edge_id' when calling delete_providers_edges_edge_id" if edge_id.nil?
|
|
5045
5401
|
|
|
5046
5402
|
# resource path
|
|
5047
|
-
path = "/api/v2/telephony/providers/
|
|
5403
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
5048
5404
|
|
|
5049
5405
|
# query parameters
|
|
5050
5406
|
query_params = {}
|
|
@@ -5076,7 +5432,7 @@ module PureCloud
|
|
|
5076
5432
|
:auth_names => auth_names,
|
|
5077
5433
|
:return_type => 'String')
|
|
5078
5434
|
if @api_client.config.debugging
|
|
5079
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5435
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5080
5436
|
end
|
|
5081
5437
|
return data, status_code, headers
|
|
5082
5438
|
end
|
|
@@ -5088,8 +5444,8 @@ module PureCloud
|
|
|
5088
5444
|
# @option opts [Integer] :page_size Page size
|
|
5089
5445
|
# @option opts [Integer] :page_number Page number
|
|
5090
5446
|
# @return [EdgeLineEntityListing]
|
|
5091
|
-
def
|
|
5092
|
-
data, status_code, headers =
|
|
5447
|
+
def get_providers_edges_edge_id_lines(edge_id, opts = {})
|
|
5448
|
+
data, status_code, headers = get_providers_edges_edge_id_lines_with_http_info(edge_id, opts)
|
|
5093
5449
|
return data
|
|
5094
5450
|
end
|
|
5095
5451
|
|
|
@@ -5100,16 +5456,16 @@ module PureCloud
|
|
|
5100
5456
|
# @option opts [Integer] :page_size Page size
|
|
5101
5457
|
# @option opts [Integer] :page_number Page number
|
|
5102
5458
|
# @return [Array<(EdgeLineEntityListing, Fixnum, Hash)>] EdgeLineEntityListing data, response status code and response headers
|
|
5103
|
-
def
|
|
5459
|
+
def get_providers_edges_edge_id_lines_with_http_info(edge_id, opts = {})
|
|
5104
5460
|
if @api_client.config.debugging
|
|
5105
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5461
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_lines ..."
|
|
5106
5462
|
end
|
|
5107
5463
|
|
|
5108
5464
|
# verify the required parameter 'edge_id' is set
|
|
5109
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5465
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_lines" if edge_id.nil?
|
|
5110
5466
|
|
|
5111
5467
|
# resource path
|
|
5112
|
-
path = "/api/v2/telephony/providers/
|
|
5468
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/lines".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
5113
5469
|
|
|
5114
5470
|
# query parameters
|
|
5115
5471
|
query_params = {}
|
|
@@ -5143,7 +5499,7 @@ module PureCloud
|
|
|
5143
5499
|
:auth_names => auth_names,
|
|
5144
5500
|
:return_type => 'EdgeLineEntityListing')
|
|
5145
5501
|
if @api_client.config.debugging
|
|
5146
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5502
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_lines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5147
5503
|
end
|
|
5148
5504
|
return data, status_code, headers
|
|
5149
5505
|
end
|
|
@@ -5154,8 +5510,8 @@ module PureCloud
|
|
|
5154
5510
|
# @param line_id Line ID
|
|
5155
5511
|
# @param [Hash] opts the optional parameters
|
|
5156
5512
|
# @return [EdgeLine]
|
|
5157
|
-
def
|
|
5158
|
-
data, status_code, headers =
|
|
5513
|
+
def get_providers_edges_edge_id_lines_line_id(edge_id, line_id, opts = {})
|
|
5514
|
+
data, status_code, headers = get_providers_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts)
|
|
5159
5515
|
return data
|
|
5160
5516
|
end
|
|
5161
5517
|
|
|
@@ -5165,19 +5521,19 @@ module PureCloud
|
|
|
5165
5521
|
# @param line_id Line ID
|
|
5166
5522
|
# @param [Hash] opts the optional parameters
|
|
5167
5523
|
# @return [Array<(EdgeLine, Fixnum, Hash)>] EdgeLine data, response status code and response headers
|
|
5168
|
-
def
|
|
5524
|
+
def get_providers_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts = {})
|
|
5169
5525
|
if @api_client.config.debugging
|
|
5170
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5526
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_lines_line_id ..."
|
|
5171
5527
|
end
|
|
5172
5528
|
|
|
5173
5529
|
# verify the required parameter 'edge_id' is set
|
|
5174
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5530
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_lines_line_id" if edge_id.nil?
|
|
5175
5531
|
|
|
5176
5532
|
# verify the required parameter 'line_id' is set
|
|
5177
|
-
fail "Missing the required parameter 'line_id' when calling
|
|
5533
|
+
fail "Missing the required parameter 'line_id' when calling get_providers_edges_edge_id_lines_line_id" if line_id.nil?
|
|
5178
5534
|
|
|
5179
5535
|
# resource path
|
|
5180
|
-
path = "/api/v2/telephony/providers/
|
|
5536
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'lineId' + '}', line_id.to_s)
|
|
5181
5537
|
|
|
5182
5538
|
# query parameters
|
|
5183
5539
|
query_params = {}
|
|
@@ -5209,7 +5565,7 @@ module PureCloud
|
|
|
5209
5565
|
:auth_names => auth_names,
|
|
5210
5566
|
:return_type => 'EdgeLine')
|
|
5211
5567
|
if @api_client.config.debugging
|
|
5212
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5568
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_lines_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5213
5569
|
end
|
|
5214
5570
|
return data, status_code, headers
|
|
5215
5571
|
end
|
|
@@ -5221,8 +5577,8 @@ module PureCloud
|
|
|
5221
5577
|
# @param [Hash] opts the optional parameters
|
|
5222
5578
|
# @option opts [EdgeLine] :body Line
|
|
5223
5579
|
# @return [EdgeLine]
|
|
5224
|
-
def
|
|
5225
|
-
data, status_code, headers =
|
|
5580
|
+
def put_providers_edges_edge_id_lines_line_id(edge_id, line_id, opts = {})
|
|
5581
|
+
data, status_code, headers = put_providers_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts)
|
|
5226
5582
|
return data
|
|
5227
5583
|
end
|
|
5228
5584
|
|
|
@@ -5233,19 +5589,19 @@ module PureCloud
|
|
|
5233
5589
|
# @param [Hash] opts the optional parameters
|
|
5234
5590
|
# @option opts [EdgeLine] :body Line
|
|
5235
5591
|
# @return [Array<(EdgeLine, Fixnum, Hash)>] EdgeLine data, response status code and response headers
|
|
5236
|
-
def
|
|
5592
|
+
def put_providers_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts = {})
|
|
5237
5593
|
if @api_client.config.debugging
|
|
5238
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5594
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edge_id_lines_line_id ..."
|
|
5239
5595
|
end
|
|
5240
5596
|
|
|
5241
5597
|
# verify the required parameter 'edge_id' is set
|
|
5242
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5598
|
+
fail "Missing the required parameter 'edge_id' when calling put_providers_edges_edge_id_lines_line_id" if edge_id.nil?
|
|
5243
5599
|
|
|
5244
5600
|
# verify the required parameter 'line_id' is set
|
|
5245
|
-
fail "Missing the required parameter 'line_id' when calling
|
|
5601
|
+
fail "Missing the required parameter 'line_id' when calling put_providers_edges_edge_id_lines_line_id" if line_id.nil?
|
|
5246
5602
|
|
|
5247
5603
|
# resource path
|
|
5248
|
-
path = "/api/v2/telephony/providers/
|
|
5604
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'lineId' + '}', line_id.to_s)
|
|
5249
5605
|
|
|
5250
5606
|
# query parameters
|
|
5251
5607
|
query_params = {}
|
|
@@ -5277,7 +5633,7 @@ module PureCloud
|
|
|
5277
5633
|
:auth_names => auth_names,
|
|
5278
5634
|
:return_type => 'EdgeLine')
|
|
5279
5635
|
if @api_client.config.debugging
|
|
5280
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5636
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_edge_id_lines_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5281
5637
|
end
|
|
5282
5638
|
return data, status_code, headers
|
|
5283
5639
|
end
|
|
@@ -5287,8 +5643,8 @@ module PureCloud
|
|
|
5287
5643
|
# @param edge_id Edge ID
|
|
5288
5644
|
# @param [Hash] opts the optional parameters
|
|
5289
5645
|
# @return [LogicalInterfaceEntityListing]
|
|
5290
|
-
def
|
|
5291
|
-
data, status_code, headers =
|
|
5646
|
+
def get_providers_edges_edge_id_logicalinterfaces(edge_id, opts = {})
|
|
5647
|
+
data, status_code, headers = get_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts)
|
|
5292
5648
|
return data
|
|
5293
5649
|
end
|
|
5294
5650
|
|
|
@@ -5297,16 +5653,16 @@ module PureCloud
|
|
|
5297
5653
|
# @param edge_id Edge ID
|
|
5298
5654
|
# @param [Hash] opts the optional parameters
|
|
5299
5655
|
# @return [Array<(LogicalInterfaceEntityListing, Fixnum, Hash)>] LogicalInterfaceEntityListing data, response status code and response headers
|
|
5300
|
-
def
|
|
5656
|
+
def get_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts = {})
|
|
5301
5657
|
if @api_client.config.debugging
|
|
5302
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5658
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_logicalinterfaces ..."
|
|
5303
5659
|
end
|
|
5304
5660
|
|
|
5305
5661
|
# verify the required parameter 'edge_id' is set
|
|
5306
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5662
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_logicalinterfaces" if edge_id.nil?
|
|
5307
5663
|
|
|
5308
5664
|
# resource path
|
|
5309
|
-
path = "/api/v2/telephony/providers/
|
|
5665
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
5310
5666
|
|
|
5311
5667
|
# query parameters
|
|
5312
5668
|
query_params = {}
|
|
@@ -5338,7 +5694,7 @@ module PureCloud
|
|
|
5338
5694
|
:auth_names => auth_names,
|
|
5339
5695
|
:return_type => 'LogicalInterfaceEntityListing')
|
|
5340
5696
|
if @api_client.config.debugging
|
|
5341
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5697
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5342
5698
|
end
|
|
5343
5699
|
return data, status_code, headers
|
|
5344
5700
|
end
|
|
@@ -5349,8 +5705,8 @@ module PureCloud
|
|
|
5349
5705
|
# @param [Hash] opts the optional parameters
|
|
5350
5706
|
# @option opts [DomainLogicalInterface] :body
|
|
5351
5707
|
# @return [DomainLogicalInterface]
|
|
5352
|
-
def
|
|
5353
|
-
data, status_code, headers =
|
|
5708
|
+
def post_providers_edges_edge_id_logicalinterfaces(edge_id, opts = {})
|
|
5709
|
+
data, status_code, headers = post_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts)
|
|
5354
5710
|
return data
|
|
5355
5711
|
end
|
|
5356
5712
|
|
|
@@ -5360,16 +5716,16 @@ module PureCloud
|
|
|
5360
5716
|
# @param [Hash] opts the optional parameters
|
|
5361
5717
|
# @option opts [DomainLogicalInterface] :body
|
|
5362
5718
|
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
|
|
5363
|
-
def
|
|
5719
|
+
def post_providers_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts = {})
|
|
5364
5720
|
if @api_client.config.debugging
|
|
5365
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5721
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logicalinterfaces ..."
|
|
5366
5722
|
end
|
|
5367
5723
|
|
|
5368
5724
|
# verify the required parameter 'edge_id' is set
|
|
5369
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5725
|
+
fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_logicalinterfaces" if edge_id.nil?
|
|
5370
5726
|
|
|
5371
5727
|
# resource path
|
|
5372
|
-
path = "/api/v2/telephony/providers/
|
|
5728
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
5373
5729
|
|
|
5374
5730
|
# query parameters
|
|
5375
5731
|
query_params = {}
|
|
@@ -5401,7 +5757,7 @@ module PureCloud
|
|
|
5401
5757
|
:auth_names => auth_names,
|
|
5402
5758
|
:return_type => 'DomainLogicalInterface')
|
|
5403
5759
|
if @api_client.config.debugging
|
|
5404
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5760
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5405
5761
|
end
|
|
5406
5762
|
return data, status_code, headers
|
|
5407
5763
|
end
|
|
@@ -5412,8 +5768,8 @@ module PureCloud
|
|
|
5412
5768
|
# @param interface_id Interface ID
|
|
5413
5769
|
# @param [Hash] opts the optional parameters
|
|
5414
5770
|
# @return [DomainLogicalInterface]
|
|
5415
|
-
def
|
|
5416
|
-
data, status_code, headers =
|
|
5771
|
+
def get_providers_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
|
5772
|
+
data, status_code, headers = get_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
|
5417
5773
|
return data
|
|
5418
5774
|
end
|
|
5419
5775
|
|
|
@@ -5423,19 +5779,19 @@ module PureCloud
|
|
|
5423
5779
|
# @param interface_id Interface ID
|
|
5424
5780
|
# @param [Hash] opts the optional parameters
|
|
5425
5781
|
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
|
|
5426
|
-
def
|
|
5782
|
+
def get_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
|
5427
5783
|
if @api_client.config.debugging
|
|
5428
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5784
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_logicalinterfaces_interface_id ..."
|
|
5429
5785
|
end
|
|
5430
5786
|
|
|
5431
5787
|
# verify the required parameter 'edge_id' is set
|
|
5432
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5788
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
|
|
5433
5789
|
|
|
5434
5790
|
# verify the required parameter 'interface_id' is set
|
|
5435
|
-
fail "Missing the required parameter 'interface_id' when calling
|
|
5791
|
+
fail "Missing the required parameter 'interface_id' when calling get_providers_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
|
|
5436
5792
|
|
|
5437
5793
|
# resource path
|
|
5438
|
-
path = "/api/v2/telephony/providers/
|
|
5794
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
|
|
5439
5795
|
|
|
5440
5796
|
# query parameters
|
|
5441
5797
|
query_params = {}
|
|
@@ -5467,7 +5823,7 @@ module PureCloud
|
|
|
5467
5823
|
:auth_names => auth_names,
|
|
5468
5824
|
:return_type => 'DomainLogicalInterface')
|
|
5469
5825
|
if @api_client.config.debugging
|
|
5470
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5826
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5471
5827
|
end
|
|
5472
5828
|
return data, status_code, headers
|
|
5473
5829
|
end
|
|
@@ -5479,8 +5835,8 @@ module PureCloud
|
|
|
5479
5835
|
# @param [Hash] opts the optional parameters
|
|
5480
5836
|
# @option opts [DomainLogicalInterface] :body
|
|
5481
5837
|
# @return [DomainLogicalInterface]
|
|
5482
|
-
def
|
|
5483
|
-
data, status_code, headers =
|
|
5838
|
+
def put_providers_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
|
5839
|
+
data, status_code, headers = put_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
|
5484
5840
|
return data
|
|
5485
5841
|
end
|
|
5486
5842
|
|
|
@@ -5491,19 +5847,19 @@ module PureCloud
|
|
|
5491
5847
|
# @param [Hash] opts the optional parameters
|
|
5492
5848
|
# @option opts [DomainLogicalInterface] :body
|
|
5493
5849
|
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
|
|
5494
|
-
def
|
|
5850
|
+
def put_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
|
5495
5851
|
if @api_client.config.debugging
|
|
5496
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5852
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#put_providers_edges_edge_id_logicalinterfaces_interface_id ..."
|
|
5497
5853
|
end
|
|
5498
5854
|
|
|
5499
5855
|
# verify the required parameter 'edge_id' is set
|
|
5500
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5856
|
+
fail "Missing the required parameter 'edge_id' when calling put_providers_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
|
|
5501
5857
|
|
|
5502
5858
|
# verify the required parameter 'interface_id' is set
|
|
5503
|
-
fail "Missing the required parameter 'interface_id' when calling
|
|
5859
|
+
fail "Missing the required parameter 'interface_id' when calling put_providers_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
|
|
5504
5860
|
|
|
5505
5861
|
# resource path
|
|
5506
|
-
path = "/api/v2/telephony/providers/
|
|
5862
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
|
|
5507
5863
|
|
|
5508
5864
|
# query parameters
|
|
5509
5865
|
query_params = {}
|
|
@@ -5535,7 +5891,7 @@ module PureCloud
|
|
|
5535
5891
|
:auth_names => auth_names,
|
|
5536
5892
|
:return_type => 'DomainLogicalInterface')
|
|
5537
5893
|
if @api_client.config.debugging
|
|
5538
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5894
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#put_providers_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5539
5895
|
end
|
|
5540
5896
|
return data, status_code, headers
|
|
5541
5897
|
end
|
|
@@ -5546,8 +5902,8 @@ module PureCloud
|
|
|
5546
5902
|
# @param interface_id Interface ID
|
|
5547
5903
|
# @param [Hash] opts the optional parameters
|
|
5548
5904
|
# @return [nil]
|
|
5549
|
-
def
|
|
5550
|
-
|
|
5905
|
+
def delete_providers_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
|
5906
|
+
delete_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
|
5551
5907
|
return nil
|
|
5552
5908
|
end
|
|
5553
5909
|
|
|
@@ -5557,19 +5913,19 @@ module PureCloud
|
|
|
5557
5913
|
# @param interface_id Interface ID
|
|
5558
5914
|
# @param [Hash] opts the optional parameters
|
|
5559
5915
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
5560
|
-
def
|
|
5916
|
+
def delete_providers_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
|
5561
5917
|
if @api_client.config.debugging
|
|
5562
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5918
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_edge_id_logicalinterfaces_interface_id ..."
|
|
5563
5919
|
end
|
|
5564
5920
|
|
|
5565
5921
|
# verify the required parameter 'edge_id' is set
|
|
5566
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5922
|
+
fail "Missing the required parameter 'edge_id' when calling delete_providers_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
|
|
5567
5923
|
|
|
5568
5924
|
# verify the required parameter 'interface_id' is set
|
|
5569
|
-
fail "Missing the required parameter 'interface_id' when calling
|
|
5925
|
+
fail "Missing the required parameter 'interface_id' when calling delete_providers_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
|
|
5570
5926
|
|
|
5571
5927
|
# resource path
|
|
5572
|
-
path = "/api/v2/telephony/providers/
|
|
5928
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
|
|
5573
5929
|
|
|
5574
5930
|
# query parameters
|
|
5575
5931
|
query_params = {}
|
|
@@ -5600,7 +5956,7 @@ module PureCloud
|
|
|
5600
5956
|
:body => post_body,
|
|
5601
5957
|
:auth_names => auth_names)
|
|
5602
5958
|
if @api_client.config.debugging
|
|
5603
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
5959
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5604
5960
|
end
|
|
5605
5961
|
return data, status_code, headers
|
|
5606
5962
|
end
|
|
@@ -5611,8 +5967,8 @@ module PureCloud
|
|
|
5611
5967
|
# @param [Hash] opts the optional parameters
|
|
5612
5968
|
# @option opts [EdgeLogsJobRequest] :body EdgeLogsJobRequest
|
|
5613
5969
|
# @return [EdgeLogsJobResponse]
|
|
5614
|
-
def
|
|
5615
|
-
data, status_code, headers =
|
|
5970
|
+
def post_providers_edges_edge_id_logs_jobs(edge_id, opts = {})
|
|
5971
|
+
data, status_code, headers = post_providers_edges_edge_id_logs_jobs_with_http_info(edge_id, opts)
|
|
5616
5972
|
return data
|
|
5617
5973
|
end
|
|
5618
5974
|
|
|
@@ -5622,16 +5978,16 @@ module PureCloud
|
|
|
5622
5978
|
# @param [Hash] opts the optional parameters
|
|
5623
5979
|
# @option opts [EdgeLogsJobRequest] :body EdgeLogsJobRequest
|
|
5624
5980
|
# @return [Array<(EdgeLogsJobResponse, Fixnum, Hash)>] EdgeLogsJobResponse data, response status code and response headers
|
|
5625
|
-
def
|
|
5981
|
+
def post_providers_edges_edge_id_logs_jobs_with_http_info(edge_id, opts = {})
|
|
5626
5982
|
if @api_client.config.debugging
|
|
5627
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
5983
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logs_jobs ..."
|
|
5628
5984
|
end
|
|
5629
5985
|
|
|
5630
5986
|
# verify the required parameter 'edge_id' is set
|
|
5631
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
5987
|
+
fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_logs_jobs" if edge_id.nil?
|
|
5632
5988
|
|
|
5633
5989
|
# resource path
|
|
5634
|
-
path = "/api/v2/telephony/providers/
|
|
5990
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/logs/jobs".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
5635
5991
|
|
|
5636
5992
|
# query parameters
|
|
5637
5993
|
query_params = {}
|
|
@@ -5663,7 +6019,7 @@ module PureCloud
|
|
|
5663
6019
|
:auth_names => auth_names,
|
|
5664
6020
|
:return_type => 'EdgeLogsJobResponse')
|
|
5665
6021
|
if @api_client.config.debugging
|
|
5666
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6022
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logs_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5667
6023
|
end
|
|
5668
6024
|
return data, status_code, headers
|
|
5669
6025
|
end
|
|
@@ -5674,8 +6030,8 @@ module PureCloud
|
|
|
5674
6030
|
# @param job_id Job ID
|
|
5675
6031
|
# @param [Hash] opts the optional parameters
|
|
5676
6032
|
# @return [EdgeLogsJob]
|
|
5677
|
-
def
|
|
5678
|
-
data, status_code, headers =
|
|
6033
|
+
def get_providers_edges_edge_id_logs_jobs_job_id(edge_id, job_id, opts = {})
|
|
6034
|
+
data, status_code, headers = get_providers_edges_edge_id_logs_jobs_job_id_with_http_info(edge_id, job_id, opts)
|
|
5679
6035
|
return data
|
|
5680
6036
|
end
|
|
5681
6037
|
|
|
@@ -5685,19 +6041,19 @@ module PureCloud
|
|
|
5685
6041
|
# @param job_id Job ID
|
|
5686
6042
|
# @param [Hash] opts the optional parameters
|
|
5687
6043
|
# @return [Array<(EdgeLogsJob, Fixnum, Hash)>] EdgeLogsJob data, response status code and response headers
|
|
5688
|
-
def
|
|
6044
|
+
def get_providers_edges_edge_id_logs_jobs_job_id_with_http_info(edge_id, job_id, opts = {})
|
|
5689
6045
|
if @api_client.config.debugging
|
|
5690
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6046
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_logs_jobs_job_id ..."
|
|
5691
6047
|
end
|
|
5692
6048
|
|
|
5693
6049
|
# verify the required parameter 'edge_id' is set
|
|
5694
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6050
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_logs_jobs_job_id" if edge_id.nil?
|
|
5695
6051
|
|
|
5696
6052
|
# verify the required parameter 'job_id' is set
|
|
5697
|
-
fail "Missing the required parameter 'job_id' when calling
|
|
6053
|
+
fail "Missing the required parameter 'job_id' when calling get_providers_edges_edge_id_logs_jobs_job_id" if job_id.nil?
|
|
5698
6054
|
|
|
5699
6055
|
# resource path
|
|
5700
|
-
path = "/api/v2/telephony/providers/
|
|
6056
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'jobId' + '}', job_id.to_s)
|
|
5701
6057
|
|
|
5702
6058
|
# query parameters
|
|
5703
6059
|
query_params = {}
|
|
@@ -5729,7 +6085,7 @@ module PureCloud
|
|
|
5729
6085
|
:auth_names => auth_names,
|
|
5730
6086
|
:return_type => 'EdgeLogsJob')
|
|
5731
6087
|
if @api_client.config.debugging
|
|
5732
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6088
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_logs_jobs_job_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5733
6089
|
end
|
|
5734
6090
|
return data, status_code, headers
|
|
5735
6091
|
end
|
|
@@ -5741,8 +6097,8 @@ module PureCloud
|
|
|
5741
6097
|
# @param [Hash] opts the optional parameters
|
|
5742
6098
|
# @option opts [EdgeLogsJobUploadRequest] :body
|
|
5743
6099
|
# @return [nil]
|
|
5744
|
-
def
|
|
5745
|
-
|
|
6100
|
+
def post_providers_edges_edge_id_logs_jobs_job_id_upload(edge_id, job_id, opts = {})
|
|
6101
|
+
post_providers_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, opts)
|
|
5746
6102
|
return nil
|
|
5747
6103
|
end
|
|
5748
6104
|
|
|
@@ -5753,19 +6109,19 @@ module PureCloud
|
|
|
5753
6109
|
# @param [Hash] opts the optional parameters
|
|
5754
6110
|
# @option opts [EdgeLogsJobUploadRequest] :body
|
|
5755
6111
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
5756
|
-
def
|
|
6112
|
+
def post_providers_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, opts = {})
|
|
5757
6113
|
if @api_client.config.debugging
|
|
5758
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6114
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logs_jobs_job_id_upload ..."
|
|
5759
6115
|
end
|
|
5760
6116
|
|
|
5761
6117
|
# verify the required parameter 'edge_id' is set
|
|
5762
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6118
|
+
fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_logs_jobs_job_id_upload" if edge_id.nil?
|
|
5763
6119
|
|
|
5764
6120
|
# verify the required parameter 'job_id' is set
|
|
5765
|
-
fail "Missing the required parameter 'job_id' when calling
|
|
6121
|
+
fail "Missing the required parameter 'job_id' when calling post_providers_edges_edge_id_logs_jobs_job_id_upload" if job_id.nil?
|
|
5766
6122
|
|
|
5767
6123
|
# resource path
|
|
5768
|
-
path = "/api/v2/telephony/providers/
|
|
6124
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/logs/jobs/{jobId}/upload".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'jobId' + '}', job_id.to_s)
|
|
5769
6125
|
|
|
5770
6126
|
# query parameters
|
|
5771
6127
|
query_params = {}
|
|
@@ -5796,7 +6152,7 @@ module PureCloud
|
|
|
5796
6152
|
:body => post_body,
|
|
5797
6153
|
:auth_names => auth_names)
|
|
5798
6154
|
if @api_client.config.debugging
|
|
5799
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6155
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_logs_jobs_job_id_upload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5800
6156
|
end
|
|
5801
6157
|
return data, status_code, headers
|
|
5802
6158
|
end
|
|
@@ -5806,8 +6162,8 @@ module PureCloud
|
|
|
5806
6162
|
# @param edge_id Edge ID
|
|
5807
6163
|
# @param [Hash] opts the optional parameters
|
|
5808
6164
|
# @return [PhysicalInterfaceEntityListing]
|
|
5809
|
-
def
|
|
5810
|
-
data, status_code, headers =
|
|
6165
|
+
def get_providers_edges_edge_id_physicalinterfaces(edge_id, opts = {})
|
|
6166
|
+
data, status_code, headers = get_providers_edges_edge_id_physicalinterfaces_with_http_info(edge_id, opts)
|
|
5811
6167
|
return data
|
|
5812
6168
|
end
|
|
5813
6169
|
|
|
@@ -5816,16 +6172,16 @@ module PureCloud
|
|
|
5816
6172
|
# @param edge_id Edge ID
|
|
5817
6173
|
# @param [Hash] opts the optional parameters
|
|
5818
6174
|
# @return [Array<(PhysicalInterfaceEntityListing, Fixnum, Hash)>] PhysicalInterfaceEntityListing data, response status code and response headers
|
|
5819
|
-
def
|
|
6175
|
+
def get_providers_edges_edge_id_physicalinterfaces_with_http_info(edge_id, opts = {})
|
|
5820
6176
|
if @api_client.config.debugging
|
|
5821
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6177
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_physicalinterfaces ..."
|
|
5822
6178
|
end
|
|
5823
6179
|
|
|
5824
6180
|
# verify the required parameter 'edge_id' is set
|
|
5825
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6181
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_physicalinterfaces" if edge_id.nil?
|
|
5826
6182
|
|
|
5827
6183
|
# resource path
|
|
5828
|
-
path = "/api/v2/telephony/providers/
|
|
6184
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/physicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
5829
6185
|
|
|
5830
6186
|
# query parameters
|
|
5831
6187
|
query_params = {}
|
|
@@ -5857,7 +6213,7 @@ module PureCloud
|
|
|
5857
6213
|
:auth_names => auth_names,
|
|
5858
6214
|
:return_type => 'PhysicalInterfaceEntityListing')
|
|
5859
6215
|
if @api_client.config.debugging
|
|
5860
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6216
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_physicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5861
6217
|
end
|
|
5862
6218
|
return data, status_code, headers
|
|
5863
6219
|
end
|
|
@@ -5868,8 +6224,8 @@ module PureCloud
|
|
|
5868
6224
|
# @param interface_id Interface ID
|
|
5869
6225
|
# @param [Hash] opts the optional parameters
|
|
5870
6226
|
# @return [DomainPhysicalInterface]
|
|
5871
|
-
def
|
|
5872
|
-
data, status_code, headers =
|
|
6227
|
+
def get_providers_edges_edge_id_physicalinterfaces_interface_id(edge_id, interface_id, opts = {})
|
|
6228
|
+
data, status_code, headers = get_providers_edges_edge_id_physicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
|
|
5873
6229
|
return data
|
|
5874
6230
|
end
|
|
5875
6231
|
|
|
@@ -5879,19 +6235,19 @@ module PureCloud
|
|
|
5879
6235
|
# @param interface_id Interface ID
|
|
5880
6236
|
# @param [Hash] opts the optional parameters
|
|
5881
6237
|
# @return [Array<(DomainPhysicalInterface, Fixnum, Hash)>] DomainPhysicalInterface data, response status code and response headers
|
|
5882
|
-
def
|
|
6238
|
+
def get_providers_edges_edge_id_physicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
|
|
5883
6239
|
if @api_client.config.debugging
|
|
5884
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6240
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_physicalinterfaces_interface_id ..."
|
|
5885
6241
|
end
|
|
5886
6242
|
|
|
5887
6243
|
# verify the required parameter 'edge_id' is set
|
|
5888
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6244
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_physicalinterfaces_interface_id" if edge_id.nil?
|
|
5889
6245
|
|
|
5890
6246
|
# verify the required parameter 'interface_id' is set
|
|
5891
|
-
fail "Missing the required parameter 'interface_id' when calling
|
|
6247
|
+
fail "Missing the required parameter 'interface_id' when calling get_providers_edges_edge_id_physicalinterfaces_interface_id" if interface_id.nil?
|
|
5892
6248
|
|
|
5893
6249
|
# resource path
|
|
5894
|
-
path = "/api/v2/telephony/providers/
|
|
6250
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/physicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
|
|
5895
6251
|
|
|
5896
6252
|
# query parameters
|
|
5897
6253
|
query_params = {}
|
|
@@ -5923,7 +6279,7 @@ module PureCloud
|
|
|
5923
6279
|
:auth_names => auth_names,
|
|
5924
6280
|
:return_type => 'DomainPhysicalInterface')
|
|
5925
6281
|
if @api_client.config.debugging
|
|
5926
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6282
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_physicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5927
6283
|
end
|
|
5928
6284
|
return data, status_code, headers
|
|
5929
6285
|
end
|
|
@@ -5933,8 +6289,8 @@ module PureCloud
|
|
|
5933
6289
|
# @param edge_id Edge ID
|
|
5934
6290
|
# @param [Hash] opts the optional parameters
|
|
5935
6291
|
# @return [String]
|
|
5936
|
-
def
|
|
5937
|
-
data, status_code, headers =
|
|
6292
|
+
def post_providers_edges_edge_id_reboot(edge_id, opts = {})
|
|
6293
|
+
data, status_code, headers = post_providers_edges_edge_id_reboot_with_http_info(edge_id, opts)
|
|
5938
6294
|
return data
|
|
5939
6295
|
end
|
|
5940
6296
|
|
|
@@ -5943,16 +6299,16 @@ module PureCloud
|
|
|
5943
6299
|
# @param edge_id Edge ID
|
|
5944
6300
|
# @param [Hash] opts the optional parameters
|
|
5945
6301
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
5946
|
-
def
|
|
6302
|
+
def post_providers_edges_edge_id_reboot_with_http_info(edge_id, opts = {})
|
|
5947
6303
|
if @api_client.config.debugging
|
|
5948
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6304
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_reboot ..."
|
|
5949
6305
|
end
|
|
5950
6306
|
|
|
5951
6307
|
# verify the required parameter 'edge_id' is set
|
|
5952
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6308
|
+
fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_reboot" if edge_id.nil?
|
|
5953
6309
|
|
|
5954
6310
|
# resource path
|
|
5955
|
-
path = "/api/v2/telephony/providers/
|
|
6311
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/reboot".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
5956
6312
|
|
|
5957
6313
|
# query parameters
|
|
5958
6314
|
query_params = {}
|
|
@@ -5984,7 +6340,7 @@ module PureCloud
|
|
|
5984
6340
|
:auth_names => auth_names,
|
|
5985
6341
|
:return_type => 'String')
|
|
5986
6342
|
if @api_client.config.debugging
|
|
5987
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6343
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5988
6344
|
end
|
|
5989
6345
|
return data, status_code, headers
|
|
5990
6346
|
end
|
|
@@ -5994,8 +6350,8 @@ module PureCloud
|
|
|
5994
6350
|
# @param edge_id Edge ID
|
|
5995
6351
|
# @param [Hash] opts the optional parameters
|
|
5996
6352
|
# @return [DomainEdgeSoftwareUpdateDto]
|
|
5997
|
-
def
|
|
5998
|
-
data, status_code, headers =
|
|
6353
|
+
def get_providers_edges_edge_id_softwareupdate(edge_id, opts = {})
|
|
6354
|
+
data, status_code, headers = get_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
|
|
5999
6355
|
return data
|
|
6000
6356
|
end
|
|
6001
6357
|
|
|
@@ -6004,16 +6360,16 @@ module PureCloud
|
|
|
6004
6360
|
# @param edge_id Edge ID
|
|
6005
6361
|
# @param [Hash] opts the optional parameters
|
|
6006
6362
|
# @return [Array<(DomainEdgeSoftwareUpdateDto, Fixnum, Hash)>] DomainEdgeSoftwareUpdateDto data, response status code and response headers
|
|
6007
|
-
def
|
|
6363
|
+
def get_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
|
|
6008
6364
|
if @api_client.config.debugging
|
|
6009
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6365
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_softwareupdate ..."
|
|
6010
6366
|
end
|
|
6011
6367
|
|
|
6012
6368
|
# verify the required parameter 'edge_id' is set
|
|
6013
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6369
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_softwareupdate" if edge_id.nil?
|
|
6014
6370
|
|
|
6015
6371
|
# resource path
|
|
6016
|
-
path = "/api/v2/telephony/providers/
|
|
6372
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
6017
6373
|
|
|
6018
6374
|
# query parameters
|
|
6019
6375
|
query_params = {}
|
|
@@ -6045,7 +6401,7 @@ module PureCloud
|
|
|
6045
6401
|
:auth_names => auth_names,
|
|
6046
6402
|
:return_type => 'DomainEdgeSoftwareUpdateDto')
|
|
6047
6403
|
if @api_client.config.debugging
|
|
6048
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6404
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6049
6405
|
end
|
|
6050
6406
|
return data, status_code, headers
|
|
6051
6407
|
end
|
|
@@ -6056,8 +6412,8 @@ module PureCloud
|
|
|
6056
6412
|
# @param [Hash] opts the optional parameters
|
|
6057
6413
|
# @option opts [DomainEdgeSoftwareUpdateDto] :body
|
|
6058
6414
|
# @return [DomainEdgeSoftwareUpdateDto]
|
|
6059
|
-
def
|
|
6060
|
-
data, status_code, headers =
|
|
6415
|
+
def post_providers_edges_edge_id_softwareupdate(edge_id, opts = {})
|
|
6416
|
+
data, status_code, headers = post_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
|
|
6061
6417
|
return data
|
|
6062
6418
|
end
|
|
6063
6419
|
|
|
@@ -6067,16 +6423,16 @@ module PureCloud
|
|
|
6067
6423
|
# @param [Hash] opts the optional parameters
|
|
6068
6424
|
# @option opts [DomainEdgeSoftwareUpdateDto] :body
|
|
6069
6425
|
# @return [Array<(DomainEdgeSoftwareUpdateDto, Fixnum, Hash)>] DomainEdgeSoftwareUpdateDto data, response status code and response headers
|
|
6070
|
-
def
|
|
6426
|
+
def post_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
|
|
6071
6427
|
if @api_client.config.debugging
|
|
6072
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6428
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_softwareupdate ..."
|
|
6073
6429
|
end
|
|
6074
6430
|
|
|
6075
6431
|
# verify the required parameter 'edge_id' is set
|
|
6076
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6432
|
+
fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_softwareupdate" if edge_id.nil?
|
|
6077
6433
|
|
|
6078
6434
|
# resource path
|
|
6079
|
-
path = "/api/v2/telephony/providers/
|
|
6435
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
6080
6436
|
|
|
6081
6437
|
# query parameters
|
|
6082
6438
|
query_params = {}
|
|
@@ -6108,7 +6464,7 @@ module PureCloud
|
|
|
6108
6464
|
:auth_names => auth_names,
|
|
6109
6465
|
:return_type => 'DomainEdgeSoftwareUpdateDto')
|
|
6110
6466
|
if @api_client.config.debugging
|
|
6111
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6467
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6112
6468
|
end
|
|
6113
6469
|
return data, status_code, headers
|
|
6114
6470
|
end
|
|
@@ -6118,8 +6474,8 @@ module PureCloud
|
|
|
6118
6474
|
# @param edge_id Edge ID
|
|
6119
6475
|
# @param [Hash] opts the optional parameters
|
|
6120
6476
|
# @return [String]
|
|
6121
|
-
def
|
|
6122
|
-
data, status_code, headers =
|
|
6477
|
+
def delete_providers_edges_edge_id_softwareupdate(edge_id, opts = {})
|
|
6478
|
+
data, status_code, headers = delete_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
|
|
6123
6479
|
return data
|
|
6124
6480
|
end
|
|
6125
6481
|
|
|
@@ -6128,16 +6484,16 @@ module PureCloud
|
|
|
6128
6484
|
# @param edge_id Edge ID
|
|
6129
6485
|
# @param [Hash] opts the optional parameters
|
|
6130
6486
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
6131
|
-
def
|
|
6487
|
+
def delete_providers_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
|
|
6132
6488
|
if @api_client.config.debugging
|
|
6133
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6489
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#delete_providers_edges_edge_id_softwareupdate ..."
|
|
6134
6490
|
end
|
|
6135
6491
|
|
|
6136
6492
|
# verify the required parameter 'edge_id' is set
|
|
6137
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6493
|
+
fail "Missing the required parameter 'edge_id' when calling delete_providers_edges_edge_id_softwareupdate" if edge_id.nil?
|
|
6138
6494
|
|
|
6139
6495
|
# resource path
|
|
6140
|
-
path = "/api/v2/telephony/providers/
|
|
6496
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
6141
6497
|
|
|
6142
6498
|
# query parameters
|
|
6143
6499
|
query_params = {}
|
|
@@ -6169,7 +6525,7 @@ module PureCloud
|
|
|
6169
6525
|
:auth_names => auth_names,
|
|
6170
6526
|
:return_type => 'String')
|
|
6171
6527
|
if @api_client.config.debugging
|
|
6172
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6528
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#delete_providers_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6173
6529
|
end
|
|
6174
6530
|
return data, status_code, headers
|
|
6175
6531
|
end
|
|
@@ -6179,8 +6535,8 @@ module PureCloud
|
|
|
6179
6535
|
# @param edge_id Edge ID
|
|
6180
6536
|
# @param [Hash] opts the optional parameters
|
|
6181
6537
|
# @return [DomainEdgeSoftwareVersionDto]
|
|
6182
|
-
def
|
|
6183
|
-
data, status_code, headers =
|
|
6538
|
+
def get_providers_edges_edge_id_softwareversions(edge_id, opts = {})
|
|
6539
|
+
data, status_code, headers = get_providers_edges_edge_id_softwareversions_with_http_info(edge_id, opts)
|
|
6184
6540
|
return data
|
|
6185
6541
|
end
|
|
6186
6542
|
|
|
@@ -6189,16 +6545,16 @@ module PureCloud
|
|
|
6189
6545
|
# @param edge_id Edge ID
|
|
6190
6546
|
# @param [Hash] opts the optional parameters
|
|
6191
6547
|
# @return [Array<(DomainEdgeSoftwareVersionDto, Fixnum, Hash)>] DomainEdgeSoftwareVersionDto data, response status code and response headers
|
|
6192
|
-
def
|
|
6548
|
+
def get_providers_edges_edge_id_softwareversions_with_http_info(edge_id, opts = {})
|
|
6193
6549
|
if @api_client.config.debugging
|
|
6194
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6550
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_softwareversions ..."
|
|
6195
6551
|
end
|
|
6196
6552
|
|
|
6197
6553
|
# verify the required parameter 'edge_id' is set
|
|
6198
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6554
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_softwareversions" if edge_id.nil?
|
|
6199
6555
|
|
|
6200
6556
|
# resource path
|
|
6201
|
-
path = "/api/v2/telephony/providers/
|
|
6557
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/softwareversions".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
6202
6558
|
|
|
6203
6559
|
# query parameters
|
|
6204
6560
|
query_params = {}
|
|
@@ -6230,7 +6586,7 @@ module PureCloud
|
|
|
6230
6586
|
:auth_names => auth_names,
|
|
6231
6587
|
:return_type => 'DomainEdgeSoftwareVersionDto')
|
|
6232
6588
|
if @api_client.config.debugging
|
|
6233
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6589
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_softwareversions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6234
6590
|
end
|
|
6235
6591
|
return data, status_code, headers
|
|
6236
6592
|
end
|
|
@@ -6240,8 +6596,8 @@ module PureCloud
|
|
|
6240
6596
|
# @param edge_id Edge Id
|
|
6241
6597
|
# @param [Hash] opts the optional parameters
|
|
6242
6598
|
# @return [String]
|
|
6243
|
-
def
|
|
6244
|
-
data, status_code, headers =
|
|
6599
|
+
def post_providers_edges_edge_id_unpair(edge_id, opts = {})
|
|
6600
|
+
data, status_code, headers = post_providers_edges_edge_id_unpair_with_http_info(edge_id, opts)
|
|
6245
6601
|
return data
|
|
6246
6602
|
end
|
|
6247
6603
|
|
|
@@ -6250,16 +6606,16 @@ module PureCloud
|
|
|
6250
6606
|
# @param edge_id Edge Id
|
|
6251
6607
|
# @param [Hash] opts the optional parameters
|
|
6252
6608
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
6253
|
-
def
|
|
6609
|
+
def post_providers_edges_edge_id_unpair_with_http_info(edge_id, opts = {})
|
|
6254
6610
|
if @api_client.config.debugging
|
|
6255
|
-
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#
|
|
6611
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_unpair ..."
|
|
6256
6612
|
end
|
|
6257
6613
|
|
|
6258
6614
|
# verify the required parameter 'edge_id' is set
|
|
6259
|
-
fail "Missing the required parameter 'edge_id' when calling
|
|
6615
|
+
fail "Missing the required parameter 'edge_id' when calling post_providers_edges_edge_id_unpair" if edge_id.nil?
|
|
6260
6616
|
|
|
6261
6617
|
# resource path
|
|
6262
|
-
path = "/api/v2/telephony/providers/
|
|
6618
|
+
path = "/api/v2/telephony/providers/edges/{edgeId}/unpair".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
|
6263
6619
|
|
|
6264
6620
|
# query parameters
|
|
6265
6621
|
query_params = {}
|
|
@@ -6291,7 +6647,7 @@ module PureCloud
|
|
|
6291
6647
|
:auth_names => auth_names,
|
|
6292
6648
|
:return_type => 'String')
|
|
6293
6649
|
if @api_client.config.debugging
|
|
6294
|
-
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#
|
|
6650
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#post_providers_edges_edge_id_unpair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6295
6651
|
end
|
|
6296
6652
|
return data, status_code, headers
|
|
6297
6653
|
end
|