lib/purecloudplatformclientv2/api/utilities_api.rb in purecloudplatformclientv2-8.0.0 vs lib/purecloudplatformclientv2/api/utilities_api.rb in purecloudplatformclientv2-9.0.0
- old
+ new
@@ -39,10 +39,11 @@
# @return [Array<(ServerDate, Fixnum, Hash)>] ServerDate data, response status code and response headers
def get_date_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: UtilitiesApi.get_date ..."
end
+
# resource path
local_var_path = "/api/v2/date".sub('{format}','json')
# query parameters
query_params = {}
@@ -61,11 +62,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -96,10 +98,23 @@
# @return [Array<(TimeZoneEntityListing, Fixnum, Hash)>] TimeZoneEntityListing data, response status code and response headers
def get_timezones_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: UtilitiesApi.get_timezones ..."
end
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/timezones".sub('{format}','json')
# query parameters
query_params = {}
@@ -120,11 +135,12 @@
# form parameters
form_params = {}
# http body (model)
post_body = nil
- auth_names = ['PureCloud Auth']
+
+ auth_names = ['PureCloud Auth']
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
@@ -153,12 +169,19 @@
# @return [Array<(ParsedCertificate, Fixnum, Hash)>] ParsedCertificate data, response status code and response headers
def post_certificate_details_with_http_info(body, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: UtilitiesApi.post_certificate_details ..."
end
+
+
# verify the required parameter 'body' is set
fail ArgumentError, "Missing the required parameter 'body' when calling UtilitiesApi.post_certificate_details" if body.nil?
+
+
+
+
+
# resource path
local_var_path = "/api/v2/certificate/details".sub('{format}','json')
# query parameters
query_params = {}
@@ -177,9 +200,10 @@
# form parameters
form_params = {}
# http body (model)
post_body = @api_client.object_to_http_body(body)
+
auth_names = ['PureCloud Auth']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,