lib/purecloud/api/configuration_api.rb in purecloud-0.18.0 vs lib/purecloud/api/configuration_api.rb in purecloud-0.25.0
- old
+ new
@@ -76,23 +76,23 @@
# Create a new DID pool
#
# @param [Hash] opts the optional parameters
# @option opts [DIDPool] :body
# @return [DIDPool]
- def create_didpools(opts = {})
- data, status_code, headers = create_didpools_with_http_info(opts)
+ def post_didpools(opts = {})
+ data, status_code, headers = post_didpools_with_http_info(opts)
return data
end
# Create a new DID pool
#
# @param [Hash] opts the optional parameters
# @option opts [DIDPool] :body
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
- def create_didpools_with_http_info(opts = {})
+ def post_didpools_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_didpools ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_didpools ..."
end
# resource path
path = "/api/v1/configuration/didpools".sub('{format}','json')
@@ -124,37 +124,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DIDPool')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_didpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_didpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get a DID Pool by ID.
#
# @param did_pool_id DID pool ID
# @param [Hash] opts the optional parameters
# @return [DIDPool]
- def get_didpools_d_pool_id(did_pool_id, opts = {})
- data, status_code, headers = get_didpools_d_pool_id_with_http_info(did_pool_id, opts)
+ def get_didpools_didpool_id(did_pool_id, opts = {})
+ data, status_code, headers = get_didpools_didpool_id_with_http_info(did_pool_id, opts)
return data
end
# Get a DID Pool by ID.
#
# @param did_pool_id DID pool ID
# @param [Hash] opts the optional parameters
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
- def get_didpools_d_pool_id_with_http_info(did_pool_id, opts = {})
+ def get_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_didpools_d_pool_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_didpools_didpool_id ..."
end
# verify the required parameter 'did_pool_id' is set
- fail "Missing the required parameter 'did_pool_id' when calling get_didpools_d_pool_id" if did_pool_id.nil?
+ fail "Missing the required parameter 'did_pool_id' when calling get_didpools_didpool_id" if did_pool_id.nil?
# resource path
path = "/api/v1/configuration/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
# query parameters
@@ -185,39 +185,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DIDPool')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_didpools_d_pool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update a DID Pool by ID.
#
# @param did_pool_id DID pool ID
# @param [Hash] opts the optional parameters
# @option opts [DIDPool] :body
# @return [DIDPool]
- def update_didpools_d_pool_id(did_pool_id, opts = {})
- data, status_code, headers = update_didpools_d_pool_id_with_http_info(did_pool_id, opts)
+ def put_didpools_didpool_id(did_pool_id, opts = {})
+ data, status_code, headers = put_didpools_didpool_id_with_http_info(did_pool_id, opts)
return data
end
# Update a DID Pool by ID.
#
# @param did_pool_id DID pool ID
# @param [Hash] opts the optional parameters
# @option opts [DIDPool] :body
# @return [Array<(DIDPool, Fixnum, Hash)>] DIDPool data, response status code and response headers
- def update_didpools_d_pool_id_with_http_info(did_pool_id, opts = {})
+ def put_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_didpools_d_pool_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_didpools_didpool_id ..."
end
# verify the required parameter 'did_pool_id' is set
- fail "Missing the required parameter 'did_pool_id' when calling update_didpools_d_pool_id" if did_pool_id.nil?
+ fail "Missing the required parameter 'did_pool_id' when calling put_didpools_didpool_id" if did_pool_id.nil?
# resource path
path = "/api/v1/configuration/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
# query parameters
@@ -248,37 +248,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DIDPool')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_didpools_d_pool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete a DID Pool by ID.
#
# @param did_pool_id DID pool ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_didpools_d_pool_id(did_pool_id, opts = {})
- data, status_code, headers = delete_didpools_d_pool_id_with_http_info(did_pool_id, opts)
+ def delete_didpools_didpool_id(did_pool_id, opts = {})
+ data, status_code, headers = delete_didpools_didpool_id_with_http_info(did_pool_id, opts)
return data
end
# Delete a DID Pool by ID.
#
# @param did_pool_id DID pool ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_didpools_d_pool_id_with_http_info(did_pool_id, opts = {})
+ def delete_didpools_didpool_id_with_http_info(did_pool_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_didpools_d_pool_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_didpools_didpool_id ..."
end
# verify the required parameter 'did_pool_id' is set
- fail "Missing the required parameter 'did_pool_id' when calling delete_didpools_d_pool_id" if did_pool_id.nil?
+ fail "Missing the required parameter 'did_pool_id' when calling delete_didpools_didpool_id" if did_pool_id.nil?
# resource path
path = "/api/v1/configuration/didpools/{didPoolId}".sub('{format}','json').sub('{' + 'didPoolId' + '}', did_pool_id.to_s)
# query parameters
@@ -309,11 +309,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_didpools_d_pool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_didpools_didpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get a listing of DIDs
@@ -390,27 +390,27 @@
# Get a DID by ID.
#
# @param did_id DID ID
# @param [Hash] opts the optional parameters
# @return [DID]
- def get_d_id(did_id, opts = {})
- data, status_code, headers = get_d_id_with_http_info(did_id, opts)
+ def get_dids_did_id(did_id, opts = {})
+ data, status_code, headers = get_dids_did_id_with_http_info(did_id, opts)
return data
end
# Get a DID by ID.
#
# @param did_id DID ID
# @param [Hash] opts the optional parameters
# @return [Array<(DID, Fixnum, Hash)>] DID data, response status code and response headers
- def get_d_id_with_http_info(did_id, opts = {})
+ def get_dids_did_id_with_http_info(did_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_d_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_dids_did_id ..."
end
# verify the required parameter 'did_id' is set
- fail "Missing the required parameter 'did_id' when calling get_d_id" if did_id.nil?
+ fail "Missing the required parameter 'did_id' when calling get_dids_did_id" if did_id.nil?
# resource path
path = "/api/v1/configuration/dids/{didId}".sub('{format}','json').sub('{' + 'didId' + '}', did_id.to_s)
# query parameters
@@ -441,39 +441,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DID')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_d_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_dids_did_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update a DID by ID.
#
# @param did_id DID ID
# @param [Hash] opts the optional parameters
# @option opts [DID] :body
# @return [DID]
- def update_d_id(did_id, opts = {})
- data, status_code, headers = update_d_id_with_http_info(did_id, opts)
+ def put_dids_did_id(did_id, opts = {})
+ data, status_code, headers = put_dids_did_id_with_http_info(did_id, opts)
return data
end
# Update a DID by ID.
#
# @param did_id DID ID
# @param [Hash] opts the optional parameters
# @option opts [DID] :body
# @return [Array<(DID, Fixnum, Hash)>] DID data, response status code and response headers
- def update_d_id_with_http_info(did_id, opts = {})
+ def put_dids_did_id_with_http_info(did_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_d_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_dids_did_id ..."
end
# verify the required parameter 'did_id' is set
- fail "Missing the required parameter 'did_id' when calling update_d_id" if did_id.nil?
+ fail "Missing the required parameter 'did_id' when calling put_dids_did_id" if did_id.nil?
# resource path
path = "/api/v1/configuration/dids/{didId}".sub('{format}','json').sub('{' + 'didId' + '}', did_id.to_s)
# query parameters
@@ -504,11 +504,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DID')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_d_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_dids_did_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get the list of edges.
@@ -588,23 +588,23 @@
# Create a edge.
#
# @param [Hash] opts the optional parameters
# @option opts [Edge] :body Edge
# @return [Edge]
- def create_edges(opts = {})
- data, status_code, headers = create_edges_with_http_info(opts)
+ def post_edges(opts = {})
+ data, status_code, headers = post_edges_with_http_info(opts)
return data
end
# Create a edge.
#
# @param [Hash] opts the optional parameters
# @option opts [Edge] :body Edge
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
- def create_edges_with_http_info(opts = {})
+ def post_edges_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_edges ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges ..."
end
# resource path
path = "/api/v1/configuration/edges".sub('{format}','json')
@@ -636,11 +636,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Edge')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_edges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get the list of certificate authorities.
@@ -702,23 +702,23 @@
# Create a certificate authority.
#
# @param [Hash] opts the optional parameters
# @option opts [DomainCertificateAuthority] :body CertificateAuthority
# @return [DomainCertificateAuthority]
- def create_edges_certificateauthorities(opts = {})
- data, status_code, headers = create_edges_certificateauthorities_with_http_info(opts)
+ def post_edges_certificateauthorities(opts = {})
+ data, status_code, headers = post_edges_certificateauthorities_with_http_info(opts)
return data
end
# Create a certificate authority.
#
# @param [Hash] opts the optional parameters
# @option opts [DomainCertificateAuthority] :body CertificateAuthority
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
- def create_edges_certificateauthorities_with_http_info(opts = {})
+ def post_edges_certificateauthorities_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_edges_certificateauthorities ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_certificateauthorities ..."
end
# resource path
path = "/api/v1/configuration/edges/certificateauthorities".sub('{format}','json')
@@ -750,37 +750,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainCertificateAuthority')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_edges_certificateauthorities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_edges_certificateauthorities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get a certificate authority.
#
# @param certificate_id Certificate ID
# @param [Hash] opts the optional parameters
# @return [DomainCertificateAuthority]
- def get_edges_certificateauthorities_certificate(certificate_id, opts = {})
- data, status_code, headers = get_edges_certificateauthorities_certificate_with_http_info(certificate_id, opts)
+ def get_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
+ data, status_code, headers = get_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
return data
end
# Get a certificate authority.
#
# @param certificate_id Certificate ID
# @param [Hash] opts the optional parameters
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
- def get_edges_certificateauthorities_certificate_with_http_info(certificate_id, opts = {})
+ def get_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_certificateauthorities_certificate ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_certificateauthorities_certificate_id ..."
end
# verify the required parameter 'certificate_id' is set
- fail "Missing the required parameter 'certificate_id' when calling get_edges_certificateauthorities_certificate" if certificate_id.nil?
+ fail "Missing the required parameter 'certificate_id' when calling get_edges_certificateauthorities_certificate_id" if certificate_id.nil?
# resource path
path = "/api/v1/configuration/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
# query parameters
@@ -811,39 +811,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainCertificateAuthority')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_certificateauthorities_certificate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update a certificate authority.
#
# @param certificate_id Certificate ID
# @param [Hash] opts the optional parameters
# @option opts [DomainCertificateAuthority] :body
# @return [DomainCertificateAuthority]
- def update_edges_certificateauthorities_certificate(certificate_id, opts = {})
- data, status_code, headers = update_edges_certificateauthorities_certificate_with_http_info(certificate_id, opts)
+ def put_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
+ data, status_code, headers = put_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
return data
end
# Update a certificate authority.
#
# @param certificate_id Certificate ID
# @param [Hash] opts the optional parameters
# @option opts [DomainCertificateAuthority] :body
# @return [Array<(DomainCertificateAuthority, Fixnum, Hash)>] DomainCertificateAuthority data, response status code and response headers
- def update_edges_certificateauthorities_certificate_with_http_info(certificate_id, opts = {})
+ def put_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_edges_certificateauthorities_certificate ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_edges_certificateauthorities_certificate_id ..."
end
# verify the required parameter 'certificate_id' is set
- fail "Missing the required parameter 'certificate_id' when calling update_edges_certificateauthorities_certificate" if certificate_id.nil?
+ fail "Missing the required parameter 'certificate_id' when calling put_edges_certificateauthorities_certificate_id" if certificate_id.nil?
# resource path
path = "/api/v1/configuration/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
# query parameters
@@ -874,37 +874,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainCertificateAuthority')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_edges_certificateauthorities_certificate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete a certificate authority.
#
# @param certificate_id Certificate ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_edges_certificateauthorities_certificate(certificate_id, opts = {})
- data, status_code, headers = delete_edges_certificateauthorities_certificate_with_http_info(certificate_id, opts)
+ def delete_edges_certificateauthorities_certificate_id(certificate_id, opts = {})
+ data, status_code, headers = delete_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts)
return data
end
# Delete a certificate authority.
#
# @param certificate_id Certificate ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_edges_certificateauthorities_certificate_with_http_info(certificate_id, opts = {})
+ def delete_edges_certificateauthorities_certificate_id_with_http_info(certificate_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_certificateauthorities_certificate ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_certificateauthorities_certificate_id ..."
end
# verify the required parameter 'certificate_id' is set
- fail "Missing the required parameter 'certificate_id' when calling delete_edges_certificateauthorities_certificate" if certificate_id.nil?
+ fail "Missing the required parameter 'certificate_id' when calling delete_edges_certificateauthorities_certificate_id" if certificate_id.nil?
# resource path
path = "/api/v1/configuration/edges/certificateauthorities/{certificateId}".sub('{format}','json').sub('{' + 'certificateId' + '}', certificate_id.to_s)
# query parameters
@@ -935,37 +935,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_certificateauthorities_certificate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_certificateauthorities_certificate_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Edge]
- def get_edge(edge_id, opts = {})
- data, status_code, headers = get_edge_with_http_info(edge_id, opts)
+ def get_edges_edge_id(edge_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_with_http_info(edge_id, opts)
return data
end
# Get edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
- def get_edge_with_http_info(edge_id, opts = {})
+ def get_edges_edge_id_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -996,39 +996,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Edge')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update a edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @option opts [Edge] :body Edge
# @return [Edge]
- def update_edge(edge_id, opts = {})
- data, status_code, headers = update_edge_with_http_info(edge_id, opts)
+ def put_edges_edge_id(edge_id, opts = {})
+ data, status_code, headers = put_edges_edge_id_with_http_info(edge_id, opts)
return data
end
# Update a edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @option opts [Edge] :body Edge
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
- def update_edge_with_http_info(edge_id, opts = {})
+ def put_edges_edge_id_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_edge ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_edges_edge_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling update_edge" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling put_edges_edge_id" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1059,37 +1059,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Edge')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_edge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete a edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_edge(edge_id, opts = {})
- data, status_code, headers = delete_edge_with_http_info(edge_id, opts)
+ def delete_edges_edge_id(edge_id, opts = {})
+ data, status_code, headers = delete_edges_edge_id_with_http_info(edge_id, opts)
return data
end
# Delete a edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_edge_with_http_info(edge_id, opts = {})
+ def delete_edges_edge_id_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edge ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_edge_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling delete_edge" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling delete_edges_edge_id" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1120,11 +1120,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_edge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_edge_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get the list of lines.
@@ -1132,29 +1132,29 @@
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @return [EdgeLineEntityListing]
- def get_edge_lines(edge_id, opts = {})
- data, status_code, headers = get_edge_lines_with_http_info(edge_id, opts)
+ def get_edges_edge_id_lines(edge_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_lines_with_http_info(edge_id, opts)
return data
end
# Get the list of lines.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @return [Array<(EdgeLineEntityListing, Fixnum, Hash)>] EdgeLineEntityListing data, response status code and response headers
- def get_edge_lines_with_http_info(edge_id, opts = {})
+ def get_edges_edge_id_lines_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_lines ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_lines ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge_lines" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_lines" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/lines".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1187,42 +1187,42 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'EdgeLineEntityListing')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge_lines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_lines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get line
#
# @param edge_id Edge ID
# @param line_id Line ID
# @param [Hash] opts the optional parameters
# @return [EdgeLine]
- def get_edge_lines_by_line_id(edge_id, line_id, opts = {})
- data, status_code, headers = get_edge_lines_by_line_id_with_http_info(edge_id, line_id, opts)
+ def get_edges_edge_id_lines_line_id(edge_id, line_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts)
return data
end
# Get line
#
# @param edge_id Edge ID
# @param line_id Line ID
# @param [Hash] opts the optional parameters
# @return [Array<(EdgeLine, Fixnum, Hash)>] EdgeLine data, response status code and response headers
- def get_edge_lines_by_line_id_with_http_info(edge_id, line_id, opts = {})
+ def get_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_lines_by_line_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_lines_line_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge_lines_by_line_id" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_lines_line_id" if edge_id.nil?
# verify the required parameter 'line_id' is set
- fail "Missing the required parameter 'line_id' when calling get_edge_lines_by_line_id" if line_id.nil?
+ fail "Missing the required parameter 'line_id' when calling get_edges_edge_id_lines_line_id" if line_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/lines/{lineId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'lineId' + '}', line_id.to_s)
# query parameters
@@ -1253,11 +1253,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'EdgeLine')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge_lines_by_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_lines_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update a line.
@@ -1265,32 +1265,32 @@
# @param edge_id Edge ID
# @param line_id Line ID
# @param [Hash] opts the optional parameters
# @option opts [EdgeLine] :body Line
# @return [EdgeLine]
- def update_edge_lines_by_line_id(edge_id, line_id, opts = {})
- data, status_code, headers = update_edge_lines_by_line_id_with_http_info(edge_id, line_id, opts)
+ def put_edges_edge_id_lines_line_id(edge_id, line_id, opts = {})
+ data, status_code, headers = put_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts)
return data
end
# Update a line.
#
# @param edge_id Edge ID
# @param line_id Line ID
# @param [Hash] opts the optional parameters
# @option opts [EdgeLine] :body Line
# @return [Array<(EdgeLine, Fixnum, Hash)>] EdgeLine data, response status code and response headers
- def update_edge_lines_by_line_id_with_http_info(edge_id, line_id, opts = {})
+ def put_edges_edge_id_lines_line_id_with_http_info(edge_id, line_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_edge_lines_by_line_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_edges_edge_id_lines_line_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling update_edge_lines_by_line_id" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling put_edges_edge_id_lines_line_id" if edge_id.nil?
# verify the required parameter 'line_id' is set
- fail "Missing the required parameter 'line_id' when calling update_edge_lines_by_line_id" if line_id.nil?
+ fail "Missing the required parameter 'line_id' when calling put_edges_edge_id_lines_line_id" if line_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/lines/{lineId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'lineId' + '}', line_id.to_s)
# query parameters
@@ -1321,37 +1321,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'EdgeLine')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_edge_lines_by_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_edges_edge_id_lines_line_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get edge logical interfaces.
# Retrieve a list of all configured logical interfaces from a specific edge.
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [LogicalInterfaceEntityListing]
- def get_edge_logicalinterfaces(edge_id, opts = {})
- data, status_code, headers = get_edge_logicalinterfaces_with_http_info(edge_id, opts)
+ def get_edges_edge_id_logicalinterfaces(edge_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts)
return data
end
# Get edge logical interfaces.
# Retrieve a list of all configured logical interfaces from a specific edge.
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Array<(LogicalInterfaceEntityListing, Fixnum, Hash)>] LogicalInterfaceEntityListing data, response status code and response headers
- def get_edge_logicalinterfaces_with_http_info(edge_id, opts = {})
+ def get_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_logicalinterfaces ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_logicalinterfaces ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge_logicalinterfaces" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_logicalinterfaces" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1382,39 +1382,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'LogicalInterfaceEntityListing')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Create an edge logical interface.
# Create
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @option opts [DomainLogicalInterface] :body
# @return [DomainLogicalInterface]
- def create_edge_logicalinterfaces(edge_id, opts = {})
- data, status_code, headers = create_edge_logicalinterfaces_with_http_info(edge_id, opts)
+ def post_edges_edge_id_logicalinterfaces(edge_id, opts = {})
+ data, status_code, headers = post_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts)
return data
end
# Create an edge logical interface.
# Create
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @option opts [DomainLogicalInterface] :body
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
- def create_edge_logicalinterfaces_with_http_info(edge_id, opts = {})
+ def post_edges_edge_id_logicalinterfaces_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_edge_logicalinterfaces ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_logicalinterfaces ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling create_edge_logicalinterfaces" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_logicalinterfaces" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1445,42 +1445,42 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainLogicalInterface')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_edge_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_logicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get an edge logical interface
#
# @param edge_id Edge ID
# @param interface_id Interface ID
# @param [Hash] opts the optional parameters
# @return [DomainLogicalInterface]
- def get_edge_logicalinterfaces_by_interface_id(edge_id, interface_id, opts = {})
- data, status_code, headers = get_edge_logicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts)
+ def get_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
return data
end
# Get an edge logical interface
#
# @param edge_id Edge ID
# @param interface_id Interface ID
# @param [Hash] opts the optional parameters
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
- def get_edge_logicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts = {})
+ def get_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_logicalinterfaces_by_interface_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_logicalinterfaces_interface_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge_logicalinterfaces_by_interface_id" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
# verify the required parameter 'interface_id' is set
- fail "Missing the required parameter 'interface_id' when calling get_edge_logicalinterfaces_by_interface_id" if interface_id.nil?
+ fail "Missing the required parameter 'interface_id' when calling get_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
# query parameters
@@ -1511,11 +1511,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainLogicalInterface')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge_logicalinterfaces_by_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update an edge logical interface.
@@ -1523,32 +1523,32 @@
# @param edge_id Edge ID
# @param interface_id Interface ID
# @param [Hash] opts the optional parameters
# @option opts [DomainLogicalInterface] :body
# @return [DomainLogicalInterface]
- def update_edge_logicalinterfaces_by_interface_id(edge_id, interface_id, opts = {})
- data, status_code, headers = update_edge_logicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts)
+ def put_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
+ data, status_code, headers = put_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
return data
end
# Update an edge logical interface.
#
# @param edge_id Edge ID
# @param interface_id Interface ID
# @param [Hash] opts the optional parameters
# @option opts [DomainLogicalInterface] :body
# @return [Array<(DomainLogicalInterface, Fixnum, Hash)>] DomainLogicalInterface data, response status code and response headers
- def update_edge_logicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts = {})
+ def put_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_edge_logicalinterfaces_by_interface_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_edges_edge_id_logicalinterfaces_interface_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling update_edge_logicalinterfaces_by_interface_id" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling put_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
# verify the required parameter 'interface_id' is set
- fail "Missing the required parameter 'interface_id' when calling update_edge_logicalinterfaces_by_interface_id" if interface_id.nil?
+ fail "Missing the required parameter 'interface_id' when calling put_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
# query parameters
@@ -1579,42 +1579,42 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainLogicalInterface')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_edge_logicalinterfaces_by_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete an edge logical interface
#
# @param edge_id Edge ID
# @param interface_id Interface ID
# @param [Hash] opts the optional parameters
# @return [nil]
- def delete_edge_logicalinterfaces_by_interface_id(edge_id, interface_id, opts = {})
- delete_edge_logicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts)
+ def delete_edges_edge_id_logicalinterfaces_interface_id(edge_id, interface_id, opts = {})
+ delete_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
return nil
end
# Delete an edge logical interface
#
# @param edge_id Edge ID
# @param interface_id Interface ID
# @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
- def delete_edge_logicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts = {})
+ def delete_edges_edge_id_logicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edge_logicalinterfaces_by_interface_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_edge_id_logicalinterfaces_interface_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling delete_edge_logicalinterfaces_by_interface_id" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling delete_edges_edge_id_logicalinterfaces_interface_id" if edge_id.nil?
# verify the required parameter 'interface_id' is set
- fail "Missing the required parameter 'interface_id' when calling delete_edge_logicalinterfaces_by_interface_id" if interface_id.nil?
+ fail "Missing the required parameter 'interface_id' when calling delete_edges_edge_id_logicalinterfaces_interface_id" if interface_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/logicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
# query parameters
@@ -1644,37 +1644,233 @@
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names)
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_edge_logicalinterfaces_by_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_edge_id_logicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
+ # Create a job to upload a list of Edge logs.
+ #
+ # @param edge_id Edge ID
+ # @param [Hash] opts the optional parameters
+ # @option opts [EdgeLogsJobRequest] :body EdgeLogsJobRequest
+ # @return [EdgeLogsJobResponse]
+ def post_edges_edge_id_logs_jobs(edge_id, opts = {})
+ data, status_code, headers = post_edges_edge_id_logs_jobs_with_http_info(edge_id, opts)
+ return data
+ end
+
+ # Create a job to upload a list of Edge logs.
+ #
+ # @param edge_id Edge ID
+ # @param [Hash] opts the optional parameters
+ # @option opts [EdgeLogsJobRequest] :body EdgeLogsJobRequest
+ # @return [Array<(EdgeLogsJobResponse, Fixnum, Hash)>] EdgeLogsJobResponse data, response status code and response headers
+ def post_edges_edge_id_logs_jobs_with_http_info(edge_id, opts = {})
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_logs_jobs ..."
+ end
+
+ # verify the required parameter 'edge_id' is set
+ fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_logs_jobs" if edge_id.nil?
+
+ # resource path
+ path = "/api/v1/configuration/edges/{edgeId}/logs/jobs".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
+
+ # query parameters
+ query_params = {}
+
+ # header parameters
+ header_params = {}
+
+ # HTTP header 'Accept' (if needed)
+ _header_accept = ['application/json']
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
+
+ # HTTP header 'Content-Type'
+ _header_content_type = ['application/json']
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
+
+ # form parameters
+ form_params = {}
+
+ # http body (model)
+ post_body = @api_client.object_to_http_body(opts[:'body'])
+
+
+ auth_names = ['PureCloud Auth']
+ data, status_code, headers = @api_client.call_api(:POST, path,
+ :header_params => header_params,
+ :query_params => query_params,
+ :form_params => form_params,
+ :body => post_body,
+ :auth_names => auth_names,
+ :return_type => 'EdgeLogsJobResponse')
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_logs_jobs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ end
+ return data, status_code, headers
+ end
+
+ # Get an Edge logs job.
+ #
+ # @param edge_id Edge ID
+ # @param job_id Job ID
+ # @param [Hash] opts the optional parameters
+ # @return [EdgeLogsJob]
+ def get_edges_edge_id_logs_jobs_job_id(edge_id, job_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_logs_jobs_job_id_with_http_info(edge_id, job_id, opts)
+ return data
+ end
+
+ # Get an Edge logs job.
+ #
+ # @param edge_id Edge ID
+ # @param job_id Job ID
+ # @param [Hash] opts the optional parameters
+ # @return [Array<(EdgeLogsJob, Fixnum, Hash)>] EdgeLogsJob data, response status code and response headers
+ def get_edges_edge_id_logs_jobs_job_id_with_http_info(edge_id, job_id, opts = {})
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_logs_jobs_job_id ..."
+ end
+
+ # verify the required parameter 'edge_id' is set
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_logs_jobs_job_id" if edge_id.nil?
+
+ # verify the required parameter 'job_id' is set
+ fail "Missing the required parameter 'job_id' when calling get_edges_edge_id_logs_jobs_job_id" if job_id.nil?
+
+ # resource path
+ path = "/api/v1/configuration/edges/{edgeId}/logs/jobs/{jobId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'jobId' + '}', job_id.to_s)
+
+ # query parameters
+ query_params = {}
+
+ # header parameters
+ header_params = {}
+
+ # HTTP header 'Accept' (if needed)
+ _header_accept = ['application/json']
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
+
+ # HTTP header 'Content-Type'
+ _header_content_type = ['application/json']
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
+
+ # form parameters
+ form_params = {}
+
+ # http body (model)
+ post_body = nil
+
+
+ auth_names = ['PureCloud Auth']
+ data, status_code, headers = @api_client.call_api(:GET, path,
+ :header_params => header_params,
+ :query_params => query_params,
+ :form_params => form_params,
+ :body => post_body,
+ :auth_names => auth_names,
+ :return_type => 'EdgeLogsJob')
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_logs_jobs_job_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ end
+ return data, status_code, headers
+ end
+
+ # Request that the specified fileIds be uploaded from the Edge.
+ #
+ # @param edge_id Edge ID
+ # @param job_id Job ID
+ # @param [Hash] opts the optional parameters
+ # @option opts [EdgeLogsJobUploadRequest] :body
+ # @return [nil]
+ def post_edges_edge_id_logs_jobs_job_id_upload(edge_id, job_id, opts = {})
+ post_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, opts)
+ return nil
+ end
+
+ # Request that the specified fileIds be uploaded from the Edge.
+ #
+ # @param edge_id Edge ID
+ # @param job_id Job ID
+ # @param [Hash] opts the optional parameters
+ # @option opts [EdgeLogsJobUploadRequest] :body
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
+ def post_edges_edge_id_logs_jobs_job_id_upload_with_http_info(edge_id, job_id, opts = {})
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_logs_jobs_job_id_upload ..."
+ end
+
+ # verify the required parameter 'edge_id' is set
+ fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_logs_jobs_job_id_upload" if edge_id.nil?
+
+ # verify the required parameter 'job_id' is set
+ fail "Missing the required parameter 'job_id' when calling post_edges_edge_id_logs_jobs_job_id_upload" if job_id.nil?
+
+ # resource path
+ path = "/api/v1/configuration/edges/{edgeId}/logs/jobs/{jobId}/upload".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'jobId' + '}', job_id.to_s)
+
+ # query parameters
+ query_params = {}
+
+ # header parameters
+ header_params = {}
+
+ # HTTP header 'Accept' (if needed)
+ _header_accept = ['application/json']
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
+
+ # HTTP header 'Content-Type'
+ _header_content_type = ['application/json']
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
+
+ # form parameters
+ form_params = {}
+
+ # http body (model)
+ post_body = @api_client.object_to_http_body(opts[:'body'])
+
+
+ auth_names = ['PureCloud Auth']
+ data, status_code, headers = @api_client.call_api(:POST, path,
+ :header_params => header_params,
+ :query_params => query_params,
+ :form_params => form_params,
+ :body => post_body,
+ :auth_names => auth_names)
+ if @api_client.config.debugging
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_logs_jobs_job_id_upload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ end
+ return data, status_code, headers
+ end
+
# Retrieve a list of all configured physical interfaces from a specific edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [PhysicalInterfaceEntityListing]
- def get_edge_physicalinterfaces(edge_id, opts = {})
- data, status_code, headers = get_edge_physicalinterfaces_with_http_info(edge_id, opts)
+ def get_edges_edge_id_physicalinterfaces(edge_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_physicalinterfaces_with_http_info(edge_id, opts)
return data
end
# Retrieve a list of all configured physical interfaces from a specific edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Array<(PhysicalInterfaceEntityListing, Fixnum, Hash)>] PhysicalInterfaceEntityListing data, response status code and response headers
- def get_edge_physicalinterfaces_with_http_info(edge_id, opts = {})
+ def get_edges_edge_id_physicalinterfaces_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_physicalinterfaces ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_physicalinterfaces ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge_physicalinterfaces" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_physicalinterfaces" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/physicalinterfaces".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1705,42 +1901,42 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'PhysicalInterfaceEntityListing')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge_physicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_physicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get edge physical interface.
# Retrieve a physical interface from a specific edge.
# @param edge_id Edge ID
# @param interface_id Interface ID
# @param [Hash] opts the optional parameters
# @return [DomainPhysicalInterface]
- def get_edge_physicalinterfaces_by_interface_id(edge_id, interface_id, opts = {})
- data, status_code, headers = get_edge_physicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts)
+ def get_edges_edge_id_physicalinterfaces_interface_id(edge_id, interface_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_physicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts)
return data
end
# Get edge physical interface.
# Retrieve a physical interface from a specific edge.
# @param edge_id Edge ID
# @param interface_id Interface ID
# @param [Hash] opts the optional parameters
# @return [Array<(DomainPhysicalInterface, Fixnum, Hash)>] DomainPhysicalInterface data, response status code and response headers
- def get_edge_physicalinterfaces_by_interface_id_with_http_info(edge_id, interface_id, opts = {})
+ def get_edges_edge_id_physicalinterfaces_interface_id_with_http_info(edge_id, interface_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_physicalinterfaces_by_interface_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_physicalinterfaces_interface_id ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge_physicalinterfaces_by_interface_id" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_physicalinterfaces_interface_id" if edge_id.nil?
# verify the required parameter 'interface_id' is set
- fail "Missing the required parameter 'interface_id' when calling get_edge_physicalinterfaces_by_interface_id" if interface_id.nil?
+ fail "Missing the required parameter 'interface_id' when calling get_edges_edge_id_physicalinterfaces_interface_id" if interface_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/physicalinterfaces/{interfaceId}".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s).sub('{' + 'interfaceId' + '}', interface_id.to_s)
# query parameters
@@ -1771,37 +1967,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainPhysicalInterface')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge_physicalinterfaces_by_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_physicalinterfaces_interface_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Reboot an Edge
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [String]
- def create_edge_reboot(edge_id, opts = {})
- data, status_code, headers = create_edge_reboot_with_http_info(edge_id, opts)
+ def post_edges_edge_id_reboot(edge_id, opts = {})
+ data, status_code, headers = post_edges_edge_id_reboot_with_http_info(edge_id, opts)
return data
end
# Reboot an Edge
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def create_edge_reboot_with_http_info(edge_id, opts = {})
+ def post_edges_edge_id_reboot_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_edge_reboot ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_reboot ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling create_edge_reboot" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_reboot" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/reboot".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1832,37 +2028,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_edge_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_reboot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Gets software update status information about any edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [DomainEdgeSoftwareUpdateDto]
- def get_edge_softwareupdate(edge_id, opts = {})
- data, status_code, headers = get_edge_softwareupdate_with_http_info(edge_id, opts)
+ def get_edges_edge_id_softwareupdate(edge_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
return data
end
# Gets software update status information about any edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Array<(DomainEdgeSoftwareUpdateDto, Fixnum, Hash)>] DomainEdgeSoftwareUpdateDto data, response status code and response headers
- def get_edge_softwareupdate_with_http_info(edge_id, opts = {})
+ def get_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_softwareupdate ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_softwareupdate ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge_softwareupdate" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_softwareupdate" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1893,39 +2089,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainEdgeSoftwareUpdateDto')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Starts a software update for this edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @option opts [DomainEdgeSoftwareUpdateDto] :body
- # @return [nil]
- def create_edge_softwareupdate(edge_id, opts = {})
- create_edge_softwareupdate_with_http_info(edge_id, opts)
- return nil
+ # @return [DomainEdgeSoftwareUpdateDto]
+ def post_edges_edge_id_softwareupdate(edge_id, opts = {})
+ data, status_code, headers = post_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
+ return data
end
# Starts a software update for this edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @option opts [DomainEdgeSoftwareUpdateDto] :body
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
- def create_edge_softwareupdate_with_http_info(edge_id, opts = {})
+ # @return [Array<(DomainEdgeSoftwareUpdateDto, Fixnum, Hash)>] DomainEdgeSoftwareUpdateDto data, response status code and response headers
+ def post_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_edge_softwareupdate ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_softwareupdate ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling create_edge_softwareupdate" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_softwareupdate" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -1953,39 +2149,40 @@
data, status_code, headers = @api_client.call_api(:POST, path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
- :auth_names => auth_names)
+ :auth_names => auth_names,
+ :return_type => 'DomainEdgeSoftwareUpdateDto')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_edge_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Cancels any in-progress update for this edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_edge_softwareupdate(edge_id, opts = {})
- data, status_code, headers = delete_edge_softwareupdate_with_http_info(edge_id, opts)
+ def delete_edges_edge_id_softwareupdate(edge_id, opts = {})
+ data, status_code, headers = delete_edges_edge_id_softwareupdate_with_http_info(edge_id, opts)
return data
end
# Cancels any in-progress update for this edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_edge_softwareupdate_with_http_info(edge_id, opts = {})
+ def delete_edges_edge_id_softwareupdate_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edge_softwareupdate ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_edges_edge_id_softwareupdate ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling delete_edge_softwareupdate" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling delete_edges_edge_id_softwareupdate" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/softwareupdate".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -2016,37 +2213,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_edge_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_edges_edge_id_softwareupdate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Gets all the available software versions for this edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [DomainEdgeSoftwareVersionDto]
- def get_edge_softwareversions(edge_id, opts = {})
- data, status_code, headers = get_edge_softwareversions_with_http_info(edge_id, opts)
+ def get_edges_edge_id_softwareversions(edge_id, opts = {})
+ data, status_code, headers = get_edges_edge_id_softwareversions_with_http_info(edge_id, opts)
return data
end
# Gets all the available software versions for this edge.
#
# @param edge_id Edge ID
# @param [Hash] opts the optional parameters
# @return [Array<(DomainEdgeSoftwareVersionDto, Fixnum, Hash)>] DomainEdgeSoftwareVersionDto data, response status code and response headers
- def get_edge_softwareversions_with_http_info(edge_id, opts = {})
+ def get_edges_edge_id_softwareversions_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edge_softwareversions ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_edges_edge_id_softwareversions ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling get_edge_softwareversions" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling get_edges_edge_id_softwareversions" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/softwareversions".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -2077,37 +2274,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'DomainEdgeSoftwareVersionDto')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_edge_softwareversions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_edges_edge_id_softwareversions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Unpair an Edge
#
# @param edge_id Edge Id
# @param [Hash] opts the optional parameters
# @return [String]
- def create_edge_unpair(edge_id, opts = {})
- data, status_code, headers = create_edge_unpair_with_http_info(edge_id, opts)
+ def post_edges_edge_id_unpair(edge_id, opts = {})
+ data, status_code, headers = post_edges_edge_id_unpair_with_http_info(edge_id, opts)
return data
end
# Unpair an Edge
#
# @param edge_id Edge Id
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def create_edge_unpair_with_http_info(edge_id, opts = {})
+ def post_edges_edge_id_unpair_with_http_info(edge_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_edge_unpair ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_edges_edge_id_unpair ..."
end
# verify the required parameter 'edge_id' is set
- fail "Missing the required parameter 'edge_id' when calling create_edge_unpair" if edge_id.nil?
+ fail "Missing the required parameter 'edge_id' when calling post_edges_edge_id_unpair" if edge_id.nil?
# resource path
path = "/api/v1/configuration/edges/{edgeId}/unpair".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
# query parameters
@@ -2138,11 +2335,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_edge_unpair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_edges_edge_id_unpair\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get the edge version report.
@@ -2272,23 +2469,23 @@
# Create endpoint
#
# @param [Hash] opts the optional parameters
# @option opts [Endpoint] :body EndpointTemplate
# @return [Endpoint]
- def create_endpoints(opts = {})
- data, status_code, headers = create_endpoints_with_http_info(opts)
+ def post_endpoints(opts = {})
+ data, status_code, headers = post_endpoints_with_http_info(opts)
return data
end
# Create endpoint
#
# @param [Hash] opts the optional parameters
# @option opts [Endpoint] :body EndpointTemplate
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
- def create_endpoints_with_http_info(opts = {})
+ def post_endpoints_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_endpoints ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_endpoints ..."
end
# resource path
path = "/api/v1/configuration/endpoints".sub('{format}','json')
@@ -2320,37 +2517,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Endpoint')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get endpoint
#
# @param endpoint_id Endpoint ID
# @param [Hash] opts the optional parameters
# @return [Endpoint]
- def get_endpoint(endpoint_id, opts = {})
- data, status_code, headers = get_endpoint_with_http_info(endpoint_id, opts)
+ def get_endpoints_endpoint_id(endpoint_id, opts = {})
+ data, status_code, headers = get_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
return data
end
# Get endpoint
#
# @param endpoint_id Endpoint ID
# @param [Hash] opts the optional parameters
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
- def get_endpoint_with_http_info(endpoint_id, opts = {})
+ def get_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_endpoint ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_endpoints_endpoint_id ..."
end
# verify the required parameter 'endpoint_id' is set
- fail "Missing the required parameter 'endpoint_id' when calling get_endpoint" if endpoint_id.nil?
+ fail "Missing the required parameter 'endpoint_id' when calling get_endpoints_endpoint_id" if endpoint_id.nil?
# resource path
path = "/api/v1/configuration/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
# query parameters
@@ -2381,39 +2578,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Endpoint')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update endpoint
#
# @param endpoint_id Endpoint ID
# @param [Hash] opts the optional parameters
# @option opts [Endpoint] :body EndpointTemplate
# @return [Endpoint]
- def update_endpoint(endpoint_id, opts = {})
- data, status_code, headers = update_endpoint_with_http_info(endpoint_id, opts)
+ def put_endpoints_endpoint_id(endpoint_id, opts = {})
+ data, status_code, headers = put_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
return data
end
# Update endpoint
#
# @param endpoint_id Endpoint ID
# @param [Hash] opts the optional parameters
# @option opts [Endpoint] :body EndpointTemplate
# @return [Array<(Endpoint, Fixnum, Hash)>] Endpoint data, response status code and response headers
- def update_endpoint_with_http_info(endpoint_id, opts = {})
+ def put_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_endpoint ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_endpoints_endpoint_id ..."
end
# verify the required parameter 'endpoint_id' is set
- fail "Missing the required parameter 'endpoint_id' when calling update_endpoint" if endpoint_id.nil?
+ fail "Missing the required parameter 'endpoint_id' when calling put_endpoints_endpoint_id" if endpoint_id.nil?
# resource path
path = "/api/v1/configuration/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
# query parameters
@@ -2444,37 +2641,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Endpoint')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete endpoint
#
# @param endpoint_id Endpoint ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_endpoint(endpoint_id, opts = {})
- data, status_code, headers = delete_endpoint_with_http_info(endpoint_id, opts)
+ def delete_endpoints_endpoint_id(endpoint_id, opts = {})
+ data, status_code, headers = delete_endpoints_endpoint_id_with_http_info(endpoint_id, opts)
return data
end
# Delete endpoint
#
# @param endpoint_id Endpoint ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_endpoint_with_http_info(endpoint_id, opts = {})
+ def delete_endpoints_endpoint_id_with_http_info(endpoint_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_endpoint ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_endpoints_endpoint_id ..."
end
# verify the required parameter 'endpoint_id' is set
- fail "Missing the required parameter 'endpoint_id' when calling delete_endpoint" if endpoint_id.nil?
+ fail "Missing the required parameter 'endpoint_id' when calling delete_endpoints_endpoint_id" if endpoint_id.nil?
# resource path
path = "/api/v1/configuration/endpoints/{endpointId}".sub('{format}','json').sub('{' + 'endpointId' + '}', endpoint_id.to_s)
# query parameters
@@ -2505,11 +2702,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_endpoints_endpoint_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get a listing of extension pools
@@ -2583,23 +2780,23 @@
# Create a new extension pool
#
# @param [Hash] opts the optional parameters
# @option opts [ExtensionPool] :body ExtensionPool
# @return [Extension]
- def create_extensionpools(opts = {})
- data, status_code, headers = create_extensionpools_with_http_info(opts)
+ def post_extensionpools(opts = {})
+ data, status_code, headers = post_extensionpools_with_http_info(opts)
return data
end
# Create a new extension pool
#
# @param [Hash] opts the optional parameters
# @option opts [ExtensionPool] :body ExtensionPool
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
- def create_extensionpools_with_http_info(opts = {})
+ def post_extensionpools_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_extensionpools ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_extensionpools ..."
end
# resource path
path = "/api/v1/configuration/extensionpools".sub('{format}','json')
@@ -2631,37 +2828,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Extension')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_extensionpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_extensionpools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get an extension pool by ID
#
# @param extension_pool_id Extension pool ID
# @param [Hash] opts the optional parameters
# @return [ExtensionPool]
- def get_extension_pool(extension_pool_id, opts = {})
- data, status_code, headers = get_extension_pool_with_http_info(extension_pool_id, opts)
+ def get_extensionpools_extensionpool_id(extension_pool_id, opts = {})
+ data, status_code, headers = get_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
return data
end
# Get an extension pool by ID
#
# @param extension_pool_id Extension pool ID
# @param [Hash] opts the optional parameters
# @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
- def get_extension_pool_with_http_info(extension_pool_id, opts = {})
+ def get_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_extension_pool ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_extensionpools_extensionpool_id ..."
end
# verify the required parameter 'extension_pool_id' is set
- fail "Missing the required parameter 'extension_pool_id' when calling get_extension_pool" if extension_pool_id.nil?
+ fail "Missing the required parameter 'extension_pool_id' when calling get_extensionpools_extensionpool_id" if extension_pool_id.nil?
# resource path
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
# query parameters
@@ -2692,39 +2889,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'ExtensionPool')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_extension_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update an extension pool by ID
#
# @param extension_pool_id Extension pool ID
# @param [Hash] opts the optional parameters
# @option opts [ExtensionPool] :body ExtensionPool
# @return [ExtensionPool]
- def update_extension_pool(extension_pool_id, opts = {})
- data, status_code, headers = update_extension_pool_with_http_info(extension_pool_id, opts)
+ def put_extensionpools_extensionpool_id(extension_pool_id, opts = {})
+ data, status_code, headers = put_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
return data
end
# Update an extension pool by ID
#
# @param extension_pool_id Extension pool ID
# @param [Hash] opts the optional parameters
# @option opts [ExtensionPool] :body ExtensionPool
# @return [Array<(ExtensionPool, Fixnum, Hash)>] ExtensionPool data, response status code and response headers
- def update_extension_pool_with_http_info(extension_pool_id, opts = {})
+ def put_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_extension_pool ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_extensionpools_extensionpool_id ..."
end
# verify the required parameter 'extension_pool_id' is set
- fail "Missing the required parameter 'extension_pool_id' when calling update_extension_pool" if extension_pool_id.nil?
+ fail "Missing the required parameter 'extension_pool_id' when calling put_extensionpools_extensionpool_id" if extension_pool_id.nil?
# resource path
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
# query parameters
@@ -2755,37 +2952,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'ExtensionPool')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_extension_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete an extension pool by ID
#
# @param extension_pool_id Extension pool ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_extension_pool(extension_pool_id, opts = {})
- data, status_code, headers = delete_extension_pool_with_http_info(extension_pool_id, opts)
+ def delete_extensionpools_extensionpool_id(extension_pool_id, opts = {})
+ data, status_code, headers = delete_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts)
return data
end
# Delete an extension pool by ID
#
# @param extension_pool_id Extension pool ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_extension_pool_with_http_info(extension_pool_id, opts = {})
+ def delete_extensionpools_extensionpool_id_with_http_info(extension_pool_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_extension_pool ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_extensionpools_extensionpool_id ..."
end
# verify the required parameter 'extension_pool_id' is set
- fail "Missing the required parameter 'extension_pool_id' when calling delete_extension_pool" if extension_pool_id.nil?
+ fail "Missing the required parameter 'extension_pool_id' when calling delete_extensionpools_extensionpool_id" if extension_pool_id.nil?
# resource path
path = "/api/v1/configuration/extensionpools/{extensionPoolId}".sub('{format}','json').sub('{' + 'extensionPoolId' + '}', extension_pool_id.to_s)
# query parameters
@@ -2816,11 +3013,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_extension_pool\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_extensionpools_extensionpool_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get a listing of extensions
@@ -2897,27 +3094,27 @@
# Get an extension by ID.
#
# @param extension_id Extension ID
# @param [Hash] opts the optional parameters
# @return [Extension]
- def get_extension(extension_id, opts = {})
- data, status_code, headers = get_extension_with_http_info(extension_id, opts)
+ def get_extensions_extension_id(extension_id, opts = {})
+ data, status_code, headers = get_extensions_extension_id_with_http_info(extension_id, opts)
return data
end
# Get an extension by ID.
#
# @param extension_id Extension ID
# @param [Hash] opts the optional parameters
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
- def get_extension_with_http_info(extension_id, opts = {})
+ def get_extensions_extension_id_with_http_info(extension_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_extension ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_extensions_extension_id ..."
end
# verify the required parameter 'extension_id' is set
- fail "Missing the required parameter 'extension_id' when calling get_extension" if extension_id.nil?
+ fail "Missing the required parameter 'extension_id' when calling get_extensions_extension_id" if extension_id.nil?
# resource path
path = "/api/v1/configuration/extensions/{extensionId}".sub('{format}','json').sub('{' + 'extensionId' + '}', extension_id.to_s)
# query parameters
@@ -2948,39 +3145,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Extension')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_extension\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_extensions_extension_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update an extension by ID.
#
# @param extension_id Extension ID
# @param [Hash] opts the optional parameters
# @option opts [Extension] :body
# @return [Extension]
- def update_extension(extension_id, opts = {})
- data, status_code, headers = update_extension_with_http_info(extension_id, opts)
+ def put_extensions_extension_id(extension_id, opts = {})
+ data, status_code, headers = put_extensions_extension_id_with_http_info(extension_id, opts)
return data
end
# Update an extension by ID.
#
# @param extension_id Extension ID
# @param [Hash] opts the optional parameters
# @option opts [Extension] :body
# @return [Array<(Extension, Fixnum, Hash)>] Extension data, response status code and response headers
- def update_extension_with_http_info(extension_id, opts = {})
+ def put_extensions_extension_id_with_http_info(extension_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_extension ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_extensions_extension_id ..."
end
# verify the required parameter 'extension_id' is set
- fail "Missing the required parameter 'extension_id' when calling update_extension" if extension_id.nil?
+ fail "Missing the required parameter 'extension_id' when calling put_extensions_extension_id" if extension_id.nil?
# resource path
path = "/api/v1/configuration/extensions/{extensionId}".sub('{format}','json').sub('{' + 'extensionId' + '}', extension_id.to_s)
# query parameters
@@ -3011,11 +3208,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Extension')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_extension\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_extensions_extension_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get context organization.
@@ -3077,23 +3274,23 @@
# Update context organization.
#
# @param [Hash] opts the optional parameters
# @option opts [Organization] :body Organization
# @return [Organization]
- def update_organization(opts = {})
- data, status_code, headers = update_organization_with_http_info(opts)
+ def put_organization(opts = {})
+ data, status_code, headers = put_organization_with_http_info(opts)
return data
end
# Update context organization.
#
# @param [Hash] opts the optional parameters
# @option opts [Organization] :body Organization
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
- def update_organization_with_http_info(opts = {})
+ def put_organization_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_organization ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_organization ..."
end
# resource path
path = "/api/v1/configuration/organization".sub('{format}','json')
@@ -3125,33 +3322,33 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Organization')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Create organization.
#
# @param [Hash] opts the optional parameters
# @option opts [OrganizationCreate] :body Organization
# @return [Organization]
- def create_organizations(opts = {})
- data, status_code, headers = create_organizations_with_http_info(opts)
+ def post_organizations(opts = {})
+ data, status_code, headers = post_organizations_with_http_info(opts)
return data
end
# Create organization.
#
# @param [Hash] opts the optional parameters
# @option opts [OrganizationCreate] :body Organization
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
- def create_organizations_with_http_info(opts = {})
+ def post_organizations_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_organizations ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_organizations ..."
end
# resource path
path = "/api/v1/configuration/organizations".sub('{format}','json')
@@ -3183,37 +3380,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Organization')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_organizations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get organization.
#
# @param org_id Organization ID
# @param [Hash] opts the optional parameters
# @return [Organization]
- def get_organizations_org(org_id, opts = {})
- data, status_code, headers = get_organizations_org_with_http_info(org_id, opts)
+ def get_organizations_org_id(org_id, opts = {})
+ data, status_code, headers = get_organizations_org_id_with_http_info(org_id, opts)
return data
end
# Get organization.
#
# @param org_id Organization ID
# @param [Hash] opts the optional parameters
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
- def get_organizations_org_with_http_info(org_id, opts = {})
+ def get_organizations_org_id_with_http_info(org_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_organizations_org ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_organizations_org_id ..."
end
# verify the required parameter 'org_id' is set
- fail "Missing the required parameter 'org_id' when calling get_organizations_org" if org_id.nil?
+ fail "Missing the required parameter 'org_id' when calling get_organizations_org_id" if org_id.nil?
# resource path
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
# query parameters
@@ -3244,39 +3441,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Organization')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_organizations_org\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_organizations_org_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update organization.
#
# @param org_id Organization ID
# @param [Hash] opts the optional parameters
# @option opts [Organization] :body Organization
# @return [Organization]
- def update_organizations_org(org_id, opts = {})
- data, status_code, headers = update_organizations_org_with_http_info(org_id, opts)
+ def put_organizations_org_id(org_id, opts = {})
+ data, status_code, headers = put_organizations_org_id_with_http_info(org_id, opts)
return data
end
# Update organization.
#
# @param org_id Organization ID
# @param [Hash] opts the optional parameters
# @option opts [Organization] :body Organization
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
- def update_organizations_org_with_http_info(org_id, opts = {})
+ def put_organizations_org_id_with_http_info(org_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_organizations_org ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_organizations_org_id ..."
end
# verify the required parameter 'org_id' is set
- fail "Missing the required parameter 'org_id' when calling update_organizations_org" if org_id.nil?
+ fail "Missing the required parameter 'org_id' when calling put_organizations_org_id" if org_id.nil?
# resource path
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
# query parameters
@@ -3307,37 +3504,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Organization')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_organizations_org\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_organizations_org_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete an organization.
#
# @param org_id Organization ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_organizations_org(org_id, opts = {})
- data, status_code, headers = delete_organizations_org_with_http_info(org_id, opts)
+ def delete_organizations_org_id(org_id, opts = {})
+ data, status_code, headers = delete_organizations_org_id_with_http_info(org_id, opts)
return data
end
# Delete an organization.
#
# @param org_id Organization ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_organizations_org_with_http_info(org_id, opts = {})
+ def delete_organizations_org_id_with_http_info(org_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_organizations_org ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_organizations_org_id ..."
end
# verify the required parameter 'org_id' is set
- fail "Missing the required parameter 'org_id' when calling delete_organizations_org" if org_id.nil?
+ fail "Missing the required parameter 'org_id' when calling delete_organizations_org_id" if org_id.nil?
# resource path
path = "/api/v1/configuration/organizations/{orgId}".sub('{format}','json').sub('{' + 'orgId' + '}', org_id.to_s)
# query parameters
@@ -3368,11 +3565,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_organizations_org\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_organizations_org_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get encryption key list
@@ -3439,22 +3636,22 @@
# Create encryption key
#
# @param [Hash] opts the optional parameters
# @return [EncryptionKey]
- def create_recordingkeys(opts = {})
- data, status_code, headers = create_recordingkeys_with_http_info(opts)
+ def post_recordingkeys(opts = {})
+ data, status_code, headers = post_recordingkeys_with_http_info(opts)
return data
end
# Create encryption key
#
# @param [Hash] opts the optional parameters
# @return [Array<(EncryptionKey, Fixnum, Hash)>] EncryptionKey data, response status code and response headers
- def create_recordingkeys_with_http_info(opts = {})
+ def post_recordingkeys_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_recordingkeys ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_recordingkeys ..."
end
# resource path
path = "/api/v1/configuration/recordingkeys".sub('{format}','json')
@@ -3486,11 +3683,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'EncryptionKey')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_recordingkeys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_recordingkeys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get key rotation schedule
@@ -3552,23 +3749,23 @@
# Update key rotation schedule
#
# @param [Hash] opts the optional parameters
# @option opts [KeyRotationSchedule] :body KeyRotationSchedule
# @return [KeyRotationSchedule]
- def update_recordingkeys_rotationschedule(opts = {})
- data, status_code, headers = update_recordingkeys_rotationschedule_with_http_info(opts)
+ def put_recordingkeys_rotationschedule(opts = {})
+ data, status_code, headers = put_recordingkeys_rotationschedule_with_http_info(opts)
return data
end
# Update key rotation schedule
#
# @param [Hash] opts the optional parameters
# @option opts [KeyRotationSchedule] :body KeyRotationSchedule
# @return [Array<(KeyRotationSchedule, Fixnum, Hash)>] KeyRotationSchedule data, response status code and response headers
- def update_recordingkeys_rotationschedule_with_http_info(opts = {})
+ def put_recordingkeys_rotationschedule_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_recordingkeys_rotationschedule ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_recordingkeys_rotationschedule ..."
end
# resource path
path = "/api/v1/configuration/recordingkeys/rotationschedule".sub('{format}','json')
@@ -3600,11 +3797,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'KeyRotationSchedule')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_recordingkeys_rotationschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_recordingkeys_rotationschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Gets retention policy list with query options to filter on name and enabled.
@@ -3690,23 +3887,23 @@
# Create retention policy
#
# @param [Hash] opts the optional parameters
# @option opts [Policy] :body Policy
# @return [Policy]
- def create_retentionpolicies(opts = {})
- data, status_code, headers = create_retentionpolicies_with_http_info(opts)
+ def post_retentionpolicies(opts = {})
+ data, status_code, headers = post_retentionpolicies_with_http_info(opts)
return data
end
# Create retention policy
#
# @param [Hash] opts the optional parameters
# @option opts [Policy] :body Policy
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
- def create_retentionpolicies_with_http_info(opts = {})
+ def post_retentionpolicies_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_retentionpolicies ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_retentionpolicies ..."
end
# resource path
path = "/api/v1/configuration/retentionpolicies".sub('{format}','json')
@@ -3738,11 +3935,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Policy')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_retentionpolicies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_retentionpolicies\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete policies
@@ -3810,27 +4007,27 @@
# Get policy
#
# @param policy_id Policy ID
# @param [Hash] opts the optional parameters
# @return [Policy]
- def get_retentionpolicies_policy(policy_id, opts = {})
- data, status_code, headers = get_retentionpolicies_policy_with_http_info(policy_id, opts)
+ def get_retentionpolicies_policy_id(policy_id, opts = {})
+ data, status_code, headers = get_retentionpolicies_policy_id_with_http_info(policy_id, opts)
return data
end
# Get policy
#
# @param policy_id Policy ID
# @param [Hash] opts the optional parameters
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
- def get_retentionpolicies_policy_with_http_info(policy_id, opts = {})
+ def get_retentionpolicies_policy_id_with_http_info(policy_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_retentionpolicies_policy ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_retentionpolicies_policy_id ..."
end
# verify the required parameter 'policy_id' is set
- fail "Missing the required parameter 'policy_id' when calling get_retentionpolicies_policy" if policy_id.nil?
+ fail "Missing the required parameter 'policy_id' when calling get_retentionpolicies_policy_id" if policy_id.nil?
# resource path
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
# query parameters
@@ -3861,39 +4058,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Policy')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_retentionpolicies_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_retentionpolicies_policy_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update policy
#
# @param policy_id Policy ID
# @param [Hash] opts the optional parameters
# @option opts [Policy] :body Policy
# @return [Policy]
- def update_retentionpolicies_policy(policy_id, opts = {})
- data, status_code, headers = update_retentionpolicies_policy_with_http_info(policy_id, opts)
+ def put_retentionpolicies_policy_id(policy_id, opts = {})
+ data, status_code, headers = put_retentionpolicies_policy_id_with_http_info(policy_id, opts)
return data
end
# Update policy
#
# @param policy_id Policy ID
# @param [Hash] opts the optional parameters
# @option opts [Policy] :body Policy
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
- def update_retentionpolicies_policy_with_http_info(policy_id, opts = {})
+ def put_retentionpolicies_policy_id_with_http_info(policy_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_retentionpolicies_policy ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_retentionpolicies_policy_id ..."
end
# verify the required parameter 'policy_id' is set
- fail "Missing the required parameter 'policy_id' when calling update_retentionpolicies_policy" if policy_id.nil?
+ fail "Missing the required parameter 'policy_id' when calling put_retentionpolicies_policy_id" if policy_id.nil?
# resource path
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
# query parameters
@@ -3924,37 +4121,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Policy')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_retentionpolicies_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_retentionpolicies_policy_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete policy
#
# @param policy_id Policy ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_retentionpolicies_policy(policy_id, opts = {})
- data, status_code, headers = delete_retentionpolicies_policy_with_http_info(policy_id, opts)
+ def delete_retentionpolicies_policy_id(policy_id, opts = {})
+ data, status_code, headers = delete_retentionpolicies_policy_id_with_http_info(policy_id, opts)
return data
end
# Delete policy
#
# @param policy_id Policy ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_retentionpolicies_policy_with_http_info(policy_id, opts = {})
+ def delete_retentionpolicies_policy_id_with_http_info(policy_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_retentionpolicies_policy ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_retentionpolicies_policy_id ..."
end
# verify the required parameter 'policy_id' is set
- fail "Missing the required parameter 'policy_id' when calling delete_retentionpolicies_policy" if policy_id.nil?
+ fail "Missing the required parameter 'policy_id' when calling delete_retentionpolicies_policy_id" if policy_id.nil?
# resource path
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
# query parameters
@@ -3985,39 +4182,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_retentionpolicies_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_retentionpolicies_policy_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Patch a retention policy
#
# @param policy_id Policy ID
# @param [Hash] opts the optional parameters
# @option opts [Policy] :body Policy
# @return [Policy]
- def patch_retentionpolicies_policy(policy_id, opts = {})
- data, status_code, headers = patch_retentionpolicies_policy_with_http_info(policy_id, opts)
+ def patch_retentionpolicies_policy_id(policy_id, opts = {})
+ data, status_code, headers = patch_retentionpolicies_policy_id_with_http_info(policy_id, opts)
return data
end
# Patch a retention policy
#
# @param policy_id Policy ID
# @param [Hash] opts the optional parameters
# @option opts [Policy] :body Policy
# @return [Array<(Policy, Fixnum, Hash)>] Policy data, response status code and response headers
- def patch_retentionpolicies_policy_with_http_info(policy_id, opts = {})
+ def patch_retentionpolicies_policy_id_with_http_info(policy_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#patch_retentionpolicies_policy ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#patch_retentionpolicies_policy_id ..."
end
# verify the required parameter 'policy_id' is set
- fail "Missing the required parameter 'policy_id' when calling patch_retentionpolicies_policy" if policy_id.nil?
+ fail "Missing the required parameter 'policy_id' when calling patch_retentionpolicies_policy_id" if policy_id.nil?
# resource path
path = "/api/v1/configuration/retentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
# query parameters
@@ -4048,11 +4245,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Policy')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#patch_retentionpolicies_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#patch_retentionpolicies_policy_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Lists available schema categories
@@ -4122,29 +4319,29 @@
# @param schema_category Schema category
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @return [SchemaReferenceEntityListing]
- def get_schemas_edges_vnext_schema_category(schema_category, opts = {})
- data, status_code, headers = get_schemas_edges_vnext_schema_category_with_http_info(schema_category, opts)
+ def get_schemas_edges_vnext_schemacategory(schema_category, opts = {})
+ data, status_code, headers = get_schemas_edges_vnext_schemacategory_with_http_info(schema_category, opts)
return data
end
# List schemas of a specific category
#
# @param schema_category Schema category
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @return [Array<(SchemaReferenceEntityListing, Fixnum, Hash)>] SchemaReferenceEntityListing data, response status code and response headers
- def get_schemas_edges_vnext_schema_category_with_http_info(schema_category, opts = {})
+ def get_schemas_edges_vnext_schemacategory_with_http_info(schema_category, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schema_category ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schemacategory ..."
end
# verify the required parameter 'schema_category' is set
- fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schema_category" if schema_category.nil?
+ fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory" if schema_category.nil?
# resource path
path = "/api/v1/configuration/schemas/edges/vnext/{schemaCategory}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s)
# query parameters
@@ -4177,11 +4374,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'SchemaReferenceEntityListing')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schema_category\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schemacategory\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# List schemas of a specific category
@@ -4190,12 +4387,12 @@
# @param schema_type Schema type
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @return [SchemaReferenceEntityListing]
- def get_schemas_edges_vnext_schema_category_by_schema_type(schema_category, schema_type, opts = {})
- data, status_code, headers = get_schemas_edges_vnext_schema_category_by_schema_type_with_http_info(schema_category, schema_type, opts)
+ def get_schemas_edges_vnext_schemacategory_schematype(schema_category, schema_type, opts = {})
+ data, status_code, headers = get_schemas_edges_vnext_schemacategory_schematype_with_http_info(schema_category, schema_type, opts)
return data
end
# List schemas of a specific category
#
@@ -4203,20 +4400,20 @@
# @param schema_type Schema type
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @return [Array<(SchemaReferenceEntityListing, Fixnum, Hash)>] SchemaReferenceEntityListing data, response status code and response headers
- def get_schemas_edges_vnext_schema_category_by_schema_type_with_http_info(schema_category, schema_type, opts = {})
+ def get_schemas_edges_vnext_schemacategory_schematype_with_http_info(schema_category, schema_type, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype ..."
end
# verify the required parameter 'schema_category' is set
- fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schema_category_by_schema_type" if schema_category.nil?
+ fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype" if schema_category.nil?
# verify the required parameter 'schema_type' is set
- fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schema_category_by_schema_type" if schema_type.nil?
+ fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype" if schema_type.nil?
# resource path
path = "/api/v1/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}".sub('{format}','json').sub('{' + 'schemaCategory' + '}', schema_category.to_s).sub('{' + 'schemaType' + '}', schema_type.to_s)
# query parameters
@@ -4249,11 +4446,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'SchemaReferenceEntityListing')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get a json schema
@@ -4261,35 +4458,35 @@
# @param schema_category Schema category
# @param schema_type Schema type
# @param schema_id Schema ID
# @param [Hash] opts the optional parameters
# @return [Organization]
- def get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id(schema_category, schema_type, schema_id, opts = {})
- data, status_code, headers = get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_with_http_info(schema_category, schema_type, schema_id, opts)
+ def get_schemas_edges_vnext_schemacategory_schematype_schema_id(schema_category, schema_type, schema_id, opts = {})
+ data, status_code, headers = get_schemas_edges_vnext_schemacategory_schematype_schema_id_with_http_info(schema_category, schema_type, schema_id, opts)
return data
end
# Get a json schema
#
# @param schema_category Schema category
# @param schema_type Schema type
# @param schema_id Schema ID
# @param [Hash] opts the optional parameters
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
- def get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_with_http_info(schema_category, schema_type, schema_id, opts = {})
+ def get_schemas_edges_vnext_schemacategory_schematype_schema_id_with_http_info(schema_category, schema_type, schema_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id ..."
end
# verify the required parameter 'schema_category' is set
- fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id" if schema_category.nil?
+ fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_category.nil?
# verify the required parameter 'schema_type' is set
- fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id" if schema_type.nil?
+ fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_type.nil?
# verify the required parameter 'schema_id' is set
- fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id" if schema_id.nil?
+ fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id" if schema_id.nil?
# resource path
path = "/api/v1/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)
# query parameters
@@ -4320,11 +4517,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Organization')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get metadata for a schema
@@ -4335,12 +4532,12 @@
# @param extension extension
# @param metadata_id Metadata ID
# @param [Hash] opts the optional parameters
# @option opts [String] :type Type
# @return [Organization]
- def get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
- data, status_code, headers = get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id_with_http_info(schema_category, schema_type, schema_id, extension, metadata_id, opts)
+ def get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
+ 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)
return data
end
# Get metadata for a schema
#
@@ -4350,29 +4547,29 @@
# @param extension extension
# @param metadata_id Metadata ID
# @param [Hash] opts the optional parameters
# @option opts [String] :type Type
# @return [Array<(Organization, Fixnum, Hash)>] Organization data, response status code and response headers
- def get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id_with_http_info(schema_category, schema_type, schema_id, extension, metadata_id, opts = {})
+ 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 = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id ..."
end
# verify the required parameter 'schema_category' is set
- fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if schema_category.nil?
+ fail "Missing the required parameter 'schema_category' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_category.nil?
# verify the required parameter 'schema_type' is set
- fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if schema_type.nil?
+ fail "Missing the required parameter 'schema_type' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_type.nil?
# verify the required parameter 'schema_id' is set
- fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if schema_id.nil?
+ fail "Missing the required parameter 'schema_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if schema_id.nil?
# verify the required parameter 'extension' is set
- fail "Missing the required parameter 'extension' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if extension.nil?
+ fail "Missing the required parameter 'extension' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if extension.nil?
# verify the required parameter 'metadata_id' is set
- fail "Missing the required parameter 'metadata_id' when calling get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id" if metadata_id.nil?
+ fail "Missing the required parameter 'metadata_id' when calling get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id" if metadata_id.nil?
# resource path
path = "/api/v1/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)
# query parameters
@@ -4404,11 +4601,11 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Organization')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schema_category_by_schema_type_by_schema_id_by_extension_by_metadata_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_schemas_edges_vnext_schemacategory_schematype_schema_id_extension_metadata_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get the list of sites.
@@ -4488,23 +4685,23 @@
# Create a endpoint.
#
# @param [Hash] opts the optional parameters
# @option opts [Site] :body Site
# @return [Site]
- def create_sites(opts = {})
- data, status_code, headers = create_sites_with_http_info(opts)
+ def post_sites(opts = {})
+ data, status_code, headers = post_sites_with_http_info(opts)
return data
end
# Create a endpoint.
#
# @param [Hash] opts the optional parameters
# @option opts [Site] :body Site
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
- def create_sites_with_http_info(opts = {})
+ def post_sites_with_http_info(opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_sites ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_sites ..."
end
# resource path
path = "/api/v1/configuration/sites".sub('{format}','json')
@@ -4536,37 +4733,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Site')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_sites\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_sites\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get endpoint.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @return [Site]
- def get_site(site_id, opts = {})
- data, status_code, headers = get_site_with_http_info(site_id, opts)
+ def get_sites_site_id(site_id, opts = {})
+ data, status_code, headers = get_sites_site_id_with_http_info(site_id, opts)
return data
end
# Get endpoint.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
- def get_site_with_http_info(site_id, opts = {})
+ def get_sites_site_id_with_http_info(site_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_site ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_sites_site_id ..."
end
# verify the required parameter 'site_id' is set
- fail "Missing the required parameter 'site_id' when calling get_site" if site_id.nil?
+ fail "Missing the required parameter 'site_id' when calling get_sites_site_id" if site_id.nil?
# resource path
path = "/api/v1/configuration/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
# query parameters
@@ -4597,39 +4794,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Site')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_site\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update a endpoint.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @option opts [Site] :body Site
# @return [Site]
- def update_site(site_id, opts = {})
- data, status_code, headers = update_site_with_http_info(site_id, opts)
+ def put_sites_site_id(site_id, opts = {})
+ data, status_code, headers = put_sites_site_id_with_http_info(site_id, opts)
return data
end
# Update a endpoint.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @option opts [Site] :body Site
# @return [Array<(Site, Fixnum, Hash)>] Site data, response status code and response headers
- def update_site_with_http_info(site_id, opts = {})
+ def put_sites_site_id_with_http_info(site_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_site ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_sites_site_id ..."
end
# verify the required parameter 'site_id' is set
- fail "Missing the required parameter 'site_id' when calling update_site" if site_id.nil?
+ fail "Missing the required parameter 'site_id' when calling put_sites_site_id" if site_id.nil?
# resource path
path = "/api/v1/configuration/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
# query parameters
@@ -4660,37 +4857,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Site')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_site\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete an ednpoint
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @return [String]
- def delete_site(site_id, opts = {})
- data, status_code, headers = delete_site_with_http_info(site_id, opts)
+ def delete_sites_site_id(site_id, opts = {})
+ data, status_code, headers = delete_sites_site_id_with_http_info(site_id, opts)
return data
end
# Delete an ednpoint
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
- def delete_site_with_http_info(site_id, opts = {})
+ def delete_sites_site_id_with_http_info(site_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_site ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#delete_sites_site_id ..."
end
# verify the required parameter 'site_id' is set
- fail "Missing the required parameter 'site_id' when calling delete_site" if site_id.nil?
+ fail "Missing the required parameter 'site_id' when calling delete_sites_site_id" if site_id.nil?
# resource path
path = "/api/v1/configuration/sites/{siteId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
# query parameters
@@ -4721,37 +4918,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'String')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#delete_site\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#delete_sites_site_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get the list of Number Plans for this Site.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @return [Array<NumberPlan>]
- def get_site_numberplans(site_id, opts = {})
- data, status_code, headers = get_site_numberplans_with_http_info(site_id, opts)
+ def get_sites_site_id_numberplans(site_id, opts = {})
+ data, status_code, headers = get_sites_site_id_numberplans_with_http_info(site_id, opts)
return data
end
# Get the list of Number Plans for this Site.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @return [Array<(Array<NumberPlan>, Fixnum, Hash)>] Array<NumberPlan> data, response status code and response headers
- def get_site_numberplans_with_http_info(site_id, opts = {})
+ def get_sites_site_id_numberplans_with_http_info(site_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_site_numberplans ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_sites_site_id_numberplans ..."
end
# verify the required parameter 'site_id' is set
- fail "Missing the required parameter 'site_id' when calling get_site_numberplans" if site_id.nil?
+ fail "Missing the required parameter 'site_id' when calling get_sites_site_id_numberplans" if site_id.nil?
# resource path
path = "/api/v1/configuration/sites/{siteId}/numberplans".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
# query parameters
@@ -4782,39 +4979,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Array<NumberPlan>')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_site_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_sites_site_id_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update the list of Number Plans.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @option opts [Array<NumberPlan>] :body
# @return [Array<NumberPlan>]
- def update_site_numberplans(site_id, opts = {})
- data, status_code, headers = update_site_numberplans_with_http_info(site_id, opts)
+ def put_sites_site_id_numberplans(site_id, opts = {})
+ data, status_code, headers = put_sites_site_id_numberplans_with_http_info(site_id, opts)
return data
end
# Update the list of Number Plans.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @option opts [Array<NumberPlan>] :body
# @return [Array<(Array<NumberPlan>, Fixnum, Hash)>] Array<NumberPlan> data, response status code and response headers
- def update_site_numberplans_with_http_info(site_id, opts = {})
+ def put_sites_site_id_numberplans_with_http_info(site_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#update_site_numberplans ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#put_sites_site_id_numberplans ..."
end
# verify the required parameter 'site_id' is set
- fail "Missing the required parameter 'site_id' when calling update_site_numberplans" if site_id.nil?
+ fail "Missing the required parameter 'site_id' when calling put_sites_site_id_numberplans" if site_id.nil?
# resource path
path = "/api/v1/configuration/sites/{siteId}/numberplans".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
# query parameters
@@ -4845,39 +5042,39 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Array<NumberPlan>')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#update_site_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#put_sites_site_id_numberplans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get a list of Classifications for this Site
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @option opts [String] :classification Classification
# @return [Array<String>]
- def get_site_numberplans_classifications(site_id, opts = {})
- data, status_code, headers = get_site_numberplans_classifications_with_http_info(site_id, opts)
+ def get_sites_site_id_numberplans_classifications(site_id, opts = {})
+ data, status_code, headers = get_sites_site_id_numberplans_classifications_with_http_info(site_id, opts)
return data
end
# Get a list of Classifications for this Site
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @option opts [String] :classification Classification
# @return [Array<(Array<String>, Fixnum, Hash)>] Array<String> data, response status code and response headers
- def get_site_numberplans_classifications_with_http_info(site_id, opts = {})
+ def get_sites_site_id_numberplans_classifications_with_http_info(site_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_site_numberplans_classifications ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_sites_site_id_numberplans_classifications ..."
end
# verify the required parameter 'site_id' is set
- fail "Missing the required parameter 'site_id' when calling get_site_numberplans_classifications" if site_id.nil?
+ fail "Missing the required parameter 'site_id' when calling get_sites_site_id_numberplans_classifications" if site_id.nil?
# resource path
path = "/api/v1/configuration/sites/{siteId}/numberplans/classifications".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
# query parameters
@@ -4909,42 +5106,42 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'Array<String>')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_site_numberplans_classifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_sites_site_id_numberplans_classifications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Get a Number Plan by ID.
#
# @param site_id Site ID
# @param number_plan_id Number Plan ID
# @param [Hash] opts the optional parameters
# @return [NumberPlan]
- def get_site_numberplans_by_number_plan_id(site_id, number_plan_id, opts = {})
- data, status_code, headers = get_site_numberplans_by_number_plan_id_with_http_info(site_id, number_plan_id, opts)
+ def get_sites_site_id_numberplans_numberplan_id(site_id, number_plan_id, opts = {})
+ data, status_code, headers = get_sites_site_id_numberplans_numberplan_id_with_http_info(site_id, number_plan_id, opts)
return data
end
# Get a Number Plan by ID.
#
# @param site_id Site ID
# @param number_plan_id Number Plan ID
# @param [Hash] opts the optional parameters
# @return [Array<(NumberPlan, Fixnum, Hash)>] NumberPlan data, response status code and response headers
- def get_site_numberplans_by_number_plan_id_with_http_info(site_id, number_plan_id, opts = {})
+ def get_sites_site_id_numberplans_numberplan_id_with_http_info(site_id, number_plan_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#get_site_numberplans_by_number_plan_id ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#get_sites_site_id_numberplans_numberplan_id ..."
end
# verify the required parameter 'site_id' is set
- fail "Missing the required parameter 'site_id' when calling get_site_numberplans_by_number_plan_id" if site_id.nil?
+ fail "Missing the required parameter 'site_id' when calling get_sites_site_id_numberplans_numberplan_id" if site_id.nil?
# verify the required parameter 'number_plan_id' is set
- fail "Missing the required parameter 'number_plan_id' when calling get_site_numberplans_by_number_plan_id" if number_plan_id.nil?
+ fail "Missing the required parameter 'number_plan_id' when calling get_sites_site_id_numberplans_numberplan_id" if number_plan_id.nil?
# resource path
path = "/api/v1/configuration/sites/{siteId}/numberplans/{numberPlanId}".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s).sub('{' + 'numberPlanId' + '}', number_plan_id.to_s)
# query parameters
@@ -4975,37 +5172,37 @@
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'NumberPlan')
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#get_site_numberplans_by_number_plan_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#get_sites_site_id_numberplans_numberplan_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Triggers the rebalance operation.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @return [nil]
- def create_site_rebalance(site_id, opts = {})
- create_site_rebalance_with_http_info(site_id, opts)
+ def post_sites_site_id_rebalance(site_id, opts = {})
+ post_sites_site_id_rebalance_with_http_info(site_id, opts)
return nil
end
# Triggers the rebalance operation.
#
# @param site_id Site ID
# @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
- def create_site_rebalance_with_http_info(site_id, opts = {})
+ def post_sites_site_id_rebalance_with_http_info(site_id, opts = {})
if @api_client.config.debugging
- @api_client.config.logger.debug "Calling API: ConfigurationApi#create_site_rebalance ..."
+ @api_client.config.logger.debug "Calling API: ConfigurationApi#post_sites_site_id_rebalance ..."
end
# verify the required parameter 'site_id' is set
- fail "Missing the required parameter 'site_id' when calling create_site_rebalance" if site_id.nil?
+ fail "Missing the required parameter 'site_id' when calling post_sites_site_id_rebalance" if site_id.nil?
# resource path
path = "/api/v1/configuration/sites/{siteId}/rebalance".sub('{format}','json').sub('{' + 'siteId' + '}', site_id.to_s)
# query parameters
@@ -5035,10 +5232,10 @@
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names)
if @api_client.config.debugging
- @api_client.config.logger.debug "API called: ConfigurationApi#create_site_rebalance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+ @api_client.config.logger.debug "API called: ConfigurationApi#post_sites_site_id_rebalance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
end
end