lib/purecloud/api/licensing_api.rb in purecloud-0.27.0 vs lib/purecloud/api/licensing_api.rb in purecloud-0.28.0

- old
+ new

@@ -27,11 +27,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: LicensingApi#get_licenses ..." end # resource path - path = "/api/v1/licensing/licenses".sub('{format}','json') + path = "/api/v2/licensing/licenses".sub('{format}','json') # query parameters query_params = {} query_params[:'permission'] = @api_client.build_collection_param(opts[:'permission'], :multi) if opts[:'permission'] @@ -84,11 +84,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: LicensingApi#get_orgassignments ..." end # resource path - path = "/api/v1/licensing/orgassignments".sub('{format}','json') + path = "/api/v2/licensing/orgassignments".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -145,11 +145,11 @@ # verify the required parameter 'id' is set fail "Missing the required parameter 'id' when calling get_orgassignments_id" if id.nil? # resource path - path = "/api/v1/licensing/orgassignments/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s) + path = "/api/v2/licensing/orgassignments/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters @@ -203,11 +203,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: LicensingApi#get_permissions ..." end # resource path - path = "/api/v1/licensing/permissions".sub('{format}','json') + path = "/api/v2/licensing/permissions".sub('{format}','json') # query parameters query_params = {} query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id'] @@ -264,11 +264,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: LicensingApi#post_permissions ..." end # resource path - path = "/api/v1/licensing/permissions".sub('{format}','json') + path = "/api/v2/licensing/permissions".sub('{format}','json') # query parameters query_params = {} query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id'] @@ -321,11 +321,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: LicensingApi#get_userassignments ..." end # resource path - path = "/api/v1/licensing/userassignments".sub('{format}','json') + path = "/api/v2/licensing/userassignments".sub('{format}','json') # query parameters query_params = {} # header parameters @@ -382,10 +382,10 @@ # verify the required parameter 'id' is set fail "Missing the required parameter 'id' when calling get_userassignments_id" if id.nil? # resource path - path = "/api/v1/licensing/userassignments/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s) + path = "/api/v2/licensing/userassignments/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s) # query parameters query_params = {} # header parameters