lib/purecloudplatformclientv2/api/license_api.rb in purecloudplatformclientv2-9.0.0 vs lib/purecloudplatformclientv2/api/license_api.rb in purecloudplatformclientv2-10.0.0

- old
+ new

@@ -90,20 +90,20 @@ end # Get all PureCloud license definitions available for the organization. # # @param [Hash] opts the optional parameters - # @return [LicenseDefinitionListing] + # @return [Array<LicenseDefinition>] def get_license_definitions(opts = {}) data, _status_code, _headers = get_license_definitions_with_http_info(opts) return data end # Get all PureCloud license definitions available for the organization. # # @param [Hash] opts the optional parameters - # @return [Array<(LicenseDefinitionListing, Fixnum, Hash)>] LicenseDefinitionListing data, response status code and response headers + # @return [Array<(Array<LicenseDefinition>, Fixnum, Hash)>] Array<LicenseDefinition> data, response status code and response headers def get_license_definitions_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: LicenseApi.get_license_definitions ..." end @@ -135,11 +135,11 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'LicenseDefinitionListing') + :return_type => 'Array<LicenseDefinition>') if @api_client.config.debugging @api_client.config.logger.debug "API called: LicenseApi#get_license_definitions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -266,21 +266,21 @@ # Update the organization's license assignments in a batch. # # @param [Hash] opts the optional parameters # @option opts [LicenseBatchAssignmentRequest] :body The license assignments to update. - # @return [LicenseUpdateResponse] + # @return [Array<LicenseUpdateStatus>] def post_license_organization(opts = {}) data, _status_code, _headers = post_license_organization_with_http_info(opts) return data end # Update the organization&#39;s license assignments in a batch. # # @param [Hash] opts the optional parameters # @option opts [LicenseBatchAssignmentRequest] :body The license assignments to update. - # @return [Array<(LicenseUpdateResponse, Fixnum, Hash)>] LicenseUpdateResponse data, response status code and response headers + # @return [Array<(Array<LicenseUpdateStatus>, Fixnum, Hash)>] Array<LicenseUpdateStatus> data, response status code and response headers def post_license_organization_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: LicenseApi.post_license_organization ..." end @@ -318,10 +318,10 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'LicenseUpdateResponse') + :return_type => 'Array<LicenseUpdateStatus>') if @api_client.config.debugging @api_client.config.logger.debug "API called: LicenseApi#post_license_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end