lib/phrase/api/locales_api.rb in phrase-2.8.2 vs lib/phrase/api/locales_api.rb in phrase-2.8.3

- old
+ new

@@ -11,11 +11,11 @@ # List all locales unique by locale code used across all projects within an account. # @param id [String] ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [Integer] :page Page number - # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default + # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default # @return [Array<LocalePreview1>] def account_locales(id, opts = {}) data, _status_code, _headers = account_locales_with_http_info(id, opts) data end @@ -24,11 +24,11 @@ # List all locales unique by locale code used across all projects within an account. # @param id [String] ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [Integer] :page Page number - # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default + # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default # @return [Array<(Response<(Array<LocalePreview1>)>, Integer, Hash)>] Response<(Array<LocalePreview1>)> data, response status code and response headers def account_locales_with_http_info(id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: LocalesApi.account_locales ...' end @@ -505,11 +505,11 @@ # List all locales for the given project. # @param project_id [String] Project ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [Integer] :page Page number - # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default + # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default # @option opts [String] :sort_by Sort locales. Valid options are \&quot;name_asc\&quot;, \&quot;name_desc\&quot;, \&quot;default_asc\&quot;, \&quot;default_desc\&quot;. # @option opts [String] :branch specify the branch to use # @return [Array<Locale>] def locales_list(project_id, opts = {}) data, _status_code, _headers = locales_list_with_http_info(project_id, opts) @@ -520,10 +520,10 @@ # List all locales for the given project. # @param project_id [String] Project ID # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [Integer] :page Page number - # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default + # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default # @option opts [String] :sort_by Sort locales. Valid options are \&quot;name_asc\&quot;, \&quot;name_desc\&quot;, \&quot;default_asc\&quot;, \&quot;default_desc\&quot;. # @option opts [String] :branch specify the branch to use # @return [Array<(Response<(Array<Locale>)>, Integer, Hash)>] Response<(Array<Locale>)> data, response status code and response headers def locales_list_with_http_info(project_id, opts = {}) if @api_client.config.debugging