lib/purecloudplatformclientv2/api/locations_api.rb in purecloudplatformclientv2-6.0.0 vs lib/purecloudplatformclientv2/api/locations_api.rb in purecloudplatformclientv2-7.0.0

- old
+ new

@@ -85,11 +85,11 @@ # # @param [Hash] opts the optional parameters # @option opts [Integer] :page_size Page size (default to 25) # @option opts [Integer] :page_number Page number (default to 1) # @option opts [String] :sort_order Sort order - # @return [Array<LocationDefinition>] + # @return [LocationEntityListing] def get_locations(opts = {}) data, _status_code, _headers = get_locations_with_http_info(opts) return data end @@ -97,11 +97,11 @@ # # @param [Hash] opts the optional parameters # @option opts [Integer] :page_size Page size # @option opts [Integer] :page_number Page number # @option opts [String] :sort_order Sort order - # @return [Array<(Array<LocationDefinition>, Fixnum, Hash)>] Array<LocationDefinition> data, response status code and response headers + # @return [Array<(LocationEntityListing, Fixnum, Hash)>] LocationEntityListing data, response status code and response headers def get_locations_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: LocationsApi.get_locations ..." end if opts[:'sort_order'] && !['asc', 'desc'].include?(opts[:'sort_order']) @@ -137,10 +137,10 @@ :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'Array<LocationDefinition>') + :return_type => 'LocationEntityListing') if @api_client.config.debugging @api_client.config.logger.debug "API called: LocationsApi#get_locations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end