@@ -62,8 +62,6 @@ public void setApiClient(ApiClient apiClient) {
6262 * Build call for accountLocales
6363 * @param id ID (required)
6464 * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
65- * @param page Page number (optional)
66- * @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional)
6765 * @param _callback Callback for upload/download progress
6866 * @return Call to execute
6967 * @throws ApiException If fail to serialize the request body object
@@ -76,7 +74,7 @@ public void setApiClient(ApiClient apiClient) {
7674 <tr><td> 429 </td><td> Rate Limiting </td><td> * X-Rate-Limit-Limit - <br> * X-Rate-Limit-Remaining - <br> * X-Rate-Limit-Reset - <br> </td></tr>
7775 </table>
7876 */
79- public okhttp3 .Call accountLocalesCall (String id , String xPhraseAppOTP , Integer page , Integer perPage , final ApiCallback _callback ) throws ApiException {
77+ public okhttp3 .Call accountLocalesCall (String id , String xPhraseAppOTP , final ApiCallback _callback ) throws ApiException {
8078 Object localVarPostBody = null ;
8179
8280 // create path and map variables
@@ -85,14 +83,6 @@ public okhttp3.Call accountLocalesCall(String id, String xPhraseAppOTP, Integer
8583
8684 List <Pair > localVarQueryParams = new ArrayList <Pair >();
8785 List <Pair > localVarCollectionQueryParams = new ArrayList <Pair >();
88- if (page != null ) {
89- localVarQueryParams .addAll (localVarApiClient .parameterToPair ("page" , page ));
90- }
91-
92- if (perPage != null ) {
93- localVarQueryParams .addAll (localVarApiClient .parameterToPair ("per_page" , perPage ));
94- }
95-
9686 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
9787 if (xPhraseAppOTP != null ) {
9888 localVarHeaderParams .put ("X-PhraseApp-OTP" , localVarApiClient .parameterToString (xPhraseAppOTP ));
@@ -119,15 +109,15 @@ public okhttp3.Call accountLocalesCall(String id, String xPhraseAppOTP, Integer
119109 }
120110
121111 @ SuppressWarnings ("rawtypes" )
122- private okhttp3 .Call accountLocalesValidateBeforeCall (String id , String xPhraseAppOTP , Integer page , Integer perPage , final ApiCallback _callback ) throws ApiException {
112+ private okhttp3 .Call accountLocalesValidateBeforeCall (String id , String xPhraseAppOTP , final ApiCallback _callback ) throws ApiException {
123113
124114 // verify the required parameter 'id' is set
125115 if (id == null ) {
126116 throw new ApiException ("Missing the required parameter 'id' when calling accountLocales(Async)" );
127117 }
128118
129119
130- okhttp3 .Call localVarCall = accountLocalesCall (id , xPhraseAppOTP , page , perPage , _callback );
120+ okhttp3 .Call localVarCall = accountLocalesCall (id , xPhraseAppOTP , _callback );
131121 return localVarCall ;
132122
133123 }
@@ -137,8 +127,6 @@ private okhttp3.Call accountLocalesValidateBeforeCall(String id, String xPhraseA
137127 * List all locales unique by locale code used across all projects within an account.
138128 * @param id ID (required)
139129 * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
140- * @param page Page number (optional)
141- * @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional)
142130 * @return List<LocalePreview1>
143131 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
144132 * @http.response.details
@@ -150,8 +138,8 @@ private okhttp3.Call accountLocalesValidateBeforeCall(String id, String xPhraseA
150138 <tr><td> 429 </td><td> Rate Limiting </td><td> * X-Rate-Limit-Limit - <br> * X-Rate-Limit-Remaining - <br> * X-Rate-Limit-Reset - <br> </td></tr>
151139 </table>
152140 */
153- public List <LocalePreview1 > accountLocales (String id , String xPhraseAppOTP , Integer page , Integer perPage ) throws ApiException {
154- ApiResponse <List <LocalePreview1 >> localVarResp = accountLocalesWithHttpInfo (id , xPhraseAppOTP , page , perPage );
141+ public List <LocalePreview1 > accountLocales (String id , String xPhraseAppOTP ) throws ApiException {
142+ ApiResponse <List <LocalePreview1 >> localVarResp = accountLocalesWithHttpInfo (id , xPhraseAppOTP );
155143 return localVarResp .getData ();
156144 }
157145
@@ -160,8 +148,6 @@ public List<LocalePreview1> accountLocales(String id, String xPhraseAppOTP, Inte
160148 * List all locales unique by locale code used across all projects within an account.
161149 * @param id ID (required)
162150 * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
163- * @param page Page number (optional)
164- * @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional)
165151 * @return ApiResponse<List<LocalePreview1>>
166152 * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
167153 * @http.response.details
@@ -173,8 +159,8 @@ public List<LocalePreview1> accountLocales(String id, String xPhraseAppOTP, Inte
173159 <tr><td> 429 </td><td> Rate Limiting </td><td> * X-Rate-Limit-Limit - <br> * X-Rate-Limit-Remaining - <br> * X-Rate-Limit-Reset - <br> </td></tr>
174160 </table>
175161 */
176- public ApiResponse <List <LocalePreview1 >> accountLocalesWithHttpInfo (String id , String xPhraseAppOTP , Integer page , Integer perPage ) throws ApiException {
177- okhttp3 .Call localVarCall = accountLocalesValidateBeforeCall (id , xPhraseAppOTP , page , perPage , null );
162+ public ApiResponse <List <LocalePreview1 >> accountLocalesWithHttpInfo (String id , String xPhraseAppOTP ) throws ApiException {
163+ okhttp3 .Call localVarCall = accountLocalesValidateBeforeCall (id , xPhraseAppOTP , null );
178164 Type localVarReturnType = new TypeToken <List <LocalePreview1 >>(){}.getType ();
179165 return localVarApiClient .execute (localVarCall , localVarReturnType );
180166 }
@@ -184,8 +170,6 @@ public ApiResponse<List<LocalePreview1>> accountLocalesWithHttpInfo(String id, S
184170 * List all locales unique by locale code used across all projects within an account.
185171 * @param id ID (required)
186172 * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
187- * @param page Page number (optional)
188- * @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional)
189173 * @param _callback The callback to be executed when the API call finishes
190174 * @return The request call
191175 * @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -198,9 +182,9 @@ public ApiResponse<List<LocalePreview1>> accountLocalesWithHttpInfo(String id, S
198182 <tr><td> 429 </td><td> Rate Limiting </td><td> * X-Rate-Limit-Limit - <br> * X-Rate-Limit-Remaining - <br> * X-Rate-Limit-Reset - <br> </td></tr>
199183 </table>
200184 */
201- public okhttp3 .Call accountLocalesAsync (String id , String xPhraseAppOTP , Integer page , Integer perPage , final ApiCallback <List <LocalePreview1 >> _callback ) throws ApiException {
185+ public okhttp3 .Call accountLocalesAsync (String id , String xPhraseAppOTP , final ApiCallback <List <LocalePreview1 >> _callback ) throws ApiException {
202186
203- okhttp3 .Call localVarCall = accountLocalesValidateBeforeCall (id , xPhraseAppOTP , page , perPage , _callback );
187+ okhttp3 .Call localVarCall = accountLocalesValidateBeforeCall (id , xPhraseAppOTP , _callback );
204188 Type localVarReturnType = new TypeToken <List <LocalePreview1 >>(){}.getType ();
205189 localVarApiClient .executeAsync (localVarCall , localVarReturnType , _callback );
206190 return localVarCall ;
0 commit comments