Skip to content

Commit dc8f9d4

Browse files
fix: fix casing issue
1 parent 6edfb4d commit dc8f9d4

File tree

324 files changed

+5779
-5610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+5779
-5610
lines changed

lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -220,33 +220,33 @@ class LithicOkHttpClient private constructor() {
220220

221221
fun putHeader(name: String, value: String) = apply { clientOptions.putHeader(name, value) }
222222

223-
fun putheaders(name: String, values: Iterable<String>) = apply {
224-
clientOptions.putheaders(name, values)
223+
fun putHeaders(name: String, values: Iterable<String>) = apply {
224+
clientOptions.putHeaders(name, values)
225225
}
226226

227-
fun putAllheaders(headers: Headers) = apply { clientOptions.putAllheaders(headers) }
227+
fun putAllHeaders(headers: Headers) = apply { clientOptions.putAllHeaders(headers) }
228228

229-
fun putAllheaders(headers: Map<String, Iterable<String>>) = apply {
230-
clientOptions.putAllheaders(headers)
229+
fun putAllHeaders(headers: Map<String, Iterable<String>>) = apply {
230+
clientOptions.putAllHeaders(headers)
231231
}
232232

233-
fun replaceheaders(name: String, value: String) = apply {
234-
clientOptions.replaceheaders(name, value)
233+
fun replaceHeaders(name: String, value: String) = apply {
234+
clientOptions.replaceHeaders(name, value)
235235
}
236236

237-
fun replaceheaders(name: String, values: Iterable<String>) = apply {
238-
clientOptions.replaceheaders(name, values)
237+
fun replaceHeaders(name: String, values: Iterable<String>) = apply {
238+
clientOptions.replaceHeaders(name, values)
239239
}
240240

241-
fun replaceAllheaders(headers: Headers) = apply { clientOptions.replaceAllheaders(headers) }
241+
fun replaceAllHeaders(headers: Headers) = apply { clientOptions.replaceAllHeaders(headers) }
242242

243-
fun replaceAllheaders(headers: Map<String, Iterable<String>>) = apply {
244-
clientOptions.replaceAllheaders(headers)
243+
fun replaceAllHeaders(headers: Map<String, Iterable<String>>) = apply {
244+
clientOptions.replaceAllHeaders(headers)
245245
}
246246

247-
fun removeheaders(name: String) = apply { clientOptions.removeheaders(name) }
247+
fun removeHeaders(name: String) = apply { clientOptions.removeHeaders(name) }
248248

249-
fun removeAllheaders(names: Set<String>) = apply { clientOptions.removeAllheaders(names) }
249+
fun removeAllHeaders(names: Set<String>) = apply { clientOptions.removeAllHeaders(names) }
250250

251251
fun queryParams(queryParams: QueryParams) = apply { clientOptions.queryParams(queryParams) }
252252

@@ -258,38 +258,38 @@ class LithicOkHttpClient private constructor() {
258258
clientOptions.putQueryParam(key, value)
259259
}
260260

261-
fun putquery_params(key: String, values: Iterable<String>) = apply {
262-
clientOptions.putquery_params(key, values)
261+
fun putQueryParams(key: String, values: Iterable<String>) = apply {
262+
clientOptions.putQueryParams(key, values)
263263
}
264264

265-
fun putAllquery_params(queryParams: QueryParams) = apply {
266-
clientOptions.putAllquery_params(queryParams)
265+
fun putAllQueryParams(queryParams: QueryParams) = apply {
266+
clientOptions.putAllQueryParams(queryParams)
267267
}
268268

269-
fun putAllquery_params(queryParams: Map<String, Iterable<String>>) = apply {
270-
clientOptions.putAllquery_params(queryParams)
269+
fun putAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
270+
clientOptions.putAllQueryParams(queryParams)
271271
}
272272

273-
fun replacequery_params(key: String, value: String) = apply {
274-
clientOptions.replacequery_params(key, value)
273+
fun replaceQueryParams(key: String, value: String) = apply {
274+
clientOptions.replaceQueryParams(key, value)
275275
}
276276

277-
fun replacequery_params(key: String, values: Iterable<String>) = apply {
278-
clientOptions.replacequery_params(key, values)
277+
fun replaceQueryParams(key: String, values: Iterable<String>) = apply {
278+
clientOptions.replaceQueryParams(key, values)
279279
}
280280

281-
fun replaceAllquery_params(queryParams: QueryParams) = apply {
282-
clientOptions.replaceAllquery_params(queryParams)
281+
fun replaceAllQueryParams(queryParams: QueryParams) = apply {
282+
clientOptions.replaceAllQueryParams(queryParams)
283283
}
284284

285-
fun replaceAllquery_params(queryParams: Map<String, Iterable<String>>) = apply {
286-
clientOptions.replaceAllquery_params(queryParams)
285+
fun replaceAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
286+
clientOptions.replaceAllQueryParams(queryParams)
287287
}
288288

289-
fun removequery_params(key: String) = apply { clientOptions.removequery_params(key) }
289+
fun removeQueryParams(key: String) = apply { clientOptions.removeQueryParams(key) }
290290

291-
fun removeAllquery_params(keys: Set<String>) = apply {
292-
clientOptions.removeAllquery_params(keys)
291+
fun removeAllQueryParams(keys: Set<String>) = apply {
292+
clientOptions.removeAllQueryParams(keys)
293293
}
294294

295295
/**

lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -220,33 +220,33 @@ class LithicOkHttpClientAsync private constructor() {
220220

221221
fun putHeader(name: String, value: String) = apply { clientOptions.putHeader(name, value) }
222222

223-
fun putheaders(name: String, values: Iterable<String>) = apply {
224-
clientOptions.putheaders(name, values)
223+
fun putHeaders(name: String, values: Iterable<String>) = apply {
224+
clientOptions.putHeaders(name, values)
225225
}
226226

227-
fun putAllheaders(headers: Headers) = apply { clientOptions.putAllheaders(headers) }
227+
fun putAllHeaders(headers: Headers) = apply { clientOptions.putAllHeaders(headers) }
228228

229-
fun putAllheaders(headers: Map<String, Iterable<String>>) = apply {
230-
clientOptions.putAllheaders(headers)
229+
fun putAllHeaders(headers: Map<String, Iterable<String>>) = apply {
230+
clientOptions.putAllHeaders(headers)
231231
}
232232

233-
fun replaceheaders(name: String, value: String) = apply {
234-
clientOptions.replaceheaders(name, value)
233+
fun replaceHeaders(name: String, value: String) = apply {
234+
clientOptions.replaceHeaders(name, value)
235235
}
236236

237-
fun replaceheaders(name: String, values: Iterable<String>) = apply {
238-
clientOptions.replaceheaders(name, values)
237+
fun replaceHeaders(name: String, values: Iterable<String>) = apply {
238+
clientOptions.replaceHeaders(name, values)
239239
}
240240

241-
fun replaceAllheaders(headers: Headers) = apply { clientOptions.replaceAllheaders(headers) }
241+
fun replaceAllHeaders(headers: Headers) = apply { clientOptions.replaceAllHeaders(headers) }
242242

243-
fun replaceAllheaders(headers: Map<String, Iterable<String>>) = apply {
244-
clientOptions.replaceAllheaders(headers)
243+
fun replaceAllHeaders(headers: Map<String, Iterable<String>>) = apply {
244+
clientOptions.replaceAllHeaders(headers)
245245
}
246246

247-
fun removeheaders(name: String) = apply { clientOptions.removeheaders(name) }
247+
fun removeHeaders(name: String) = apply { clientOptions.removeHeaders(name) }
248248

249-
fun removeAllheaders(names: Set<String>) = apply { clientOptions.removeAllheaders(names) }
249+
fun removeAllHeaders(names: Set<String>) = apply { clientOptions.removeAllHeaders(names) }
250250

251251
fun queryParams(queryParams: QueryParams) = apply { clientOptions.queryParams(queryParams) }
252252

@@ -258,38 +258,38 @@ class LithicOkHttpClientAsync private constructor() {
258258
clientOptions.putQueryParam(key, value)
259259
}
260260

261-
fun putquery_params(key: String, values: Iterable<String>) = apply {
262-
clientOptions.putquery_params(key, values)
261+
fun putQueryParams(key: String, values: Iterable<String>) = apply {
262+
clientOptions.putQueryParams(key, values)
263263
}
264264

265-
fun putAllquery_params(queryParams: QueryParams) = apply {
266-
clientOptions.putAllquery_params(queryParams)
265+
fun putAllQueryParams(queryParams: QueryParams) = apply {
266+
clientOptions.putAllQueryParams(queryParams)
267267
}
268268

269-
fun putAllquery_params(queryParams: Map<String, Iterable<String>>) = apply {
270-
clientOptions.putAllquery_params(queryParams)
269+
fun putAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
270+
clientOptions.putAllQueryParams(queryParams)
271271
}
272272

273-
fun replacequery_params(key: String, value: String) = apply {
274-
clientOptions.replacequery_params(key, value)
273+
fun replaceQueryParams(key: String, value: String) = apply {
274+
clientOptions.replaceQueryParams(key, value)
275275
}
276276

277-
fun replacequery_params(key: String, values: Iterable<String>) = apply {
278-
clientOptions.replacequery_params(key, values)
277+
fun replaceQueryParams(key: String, values: Iterable<String>) = apply {
278+
clientOptions.replaceQueryParams(key, values)
279279
}
280280

281-
fun replaceAllquery_params(queryParams: QueryParams) = apply {
282-
clientOptions.replaceAllquery_params(queryParams)
281+
fun replaceAllQueryParams(queryParams: QueryParams) = apply {
282+
clientOptions.replaceAllQueryParams(queryParams)
283283
}
284284

285-
fun replaceAllquery_params(queryParams: Map<String, Iterable<String>>) = apply {
286-
clientOptions.replaceAllquery_params(queryParams)
285+
fun replaceAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
286+
clientOptions.replaceAllQueryParams(queryParams)
287287
}
288288

289-
fun removequery_params(key: String) = apply { clientOptions.removequery_params(key) }
289+
fun removeQueryParams(key: String) = apply { clientOptions.removeQueryParams(key) }
290290

291-
fun removeAllquery_params(keys: Set<String>) = apply {
292-
clientOptions.removeAllquery_params(keys)
291+
fun removeAllQueryParams(keys: Set<String>) = apply {
292+
clientOptions.removeAllQueryParams(keys)
293293
}
294294

295295
/**

lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -303,83 +303,83 @@ private constructor(
303303

304304
fun headers(headers: Headers) = apply {
305305
this.headers.clear()
306-
putAllheaders(headers)
306+
putAllHeaders(headers)
307307
}
308308

309309
fun headers(headers: Map<String, Iterable<String>>) = apply {
310310
this.headers.clear()
311-
putAllheaders(headers)
311+
putAllHeaders(headers)
312312
}
313313

314314
fun putHeader(name: String, value: String) = apply { headers.put(name, value) }
315315

316-
fun putheaders(name: String, values: Iterable<String>) = apply { headers.put(name, values) }
316+
fun putHeaders(name: String, values: Iterable<String>) = apply { headers.put(name, values) }
317317

318-
fun putAllheaders(headers: Headers) = apply { this.headers.putAll(headers) }
318+
fun putAllHeaders(headers: Headers) = apply { this.headers.putAll(headers) }
319319

320-
fun putAllheaders(headers: Map<String, Iterable<String>>) = apply {
320+
fun putAllHeaders(headers: Map<String, Iterable<String>>) = apply {
321321
this.headers.putAll(headers)
322322
}
323323

324-
fun replaceheaders(name: String, value: String) = apply { headers.replace(name, value) }
324+
fun replaceHeaders(name: String, value: String) = apply { headers.replace(name, value) }
325325

326-
fun replaceheaders(name: String, values: Iterable<String>) = apply {
326+
fun replaceHeaders(name: String, values: Iterable<String>) = apply {
327327
headers.replace(name, values)
328328
}
329329

330-
fun replaceAllheaders(headers: Headers) = apply { this.headers.replaceAll(headers) }
330+
fun replaceAllHeaders(headers: Headers) = apply { this.headers.replaceAll(headers) }
331331

332-
fun replaceAllheaders(headers: Map<String, Iterable<String>>) = apply {
332+
fun replaceAllHeaders(headers: Map<String, Iterable<String>>) = apply {
333333
this.headers.replaceAll(headers)
334334
}
335335

336-
fun removeheaders(name: String) = apply { headers.remove(name) }
336+
fun removeHeaders(name: String) = apply { headers.remove(name) }
337337

338-
fun removeAllheaders(names: Set<String>) = apply { headers.removeAll(names) }
338+
fun removeAllHeaders(names: Set<String>) = apply { headers.removeAll(names) }
339339

340340
fun queryParams(queryParams: QueryParams) = apply {
341341
this.queryParams.clear()
342-
putAllquery_params(queryParams)
342+
putAllQueryParams(queryParams)
343343
}
344344

345345
fun queryParams(queryParams: Map<String, Iterable<String>>) = apply {
346346
this.queryParams.clear()
347-
putAllquery_params(queryParams)
347+
putAllQueryParams(queryParams)
348348
}
349349

350350
fun putQueryParam(key: String, value: String) = apply { queryParams.put(key, value) }
351351

352-
fun putquery_params(key: String, values: Iterable<String>) = apply {
352+
fun putQueryParams(key: String, values: Iterable<String>) = apply {
353353
queryParams.put(key, values)
354354
}
355355

356-
fun putAllquery_params(queryParams: QueryParams) = apply {
356+
fun putAllQueryParams(queryParams: QueryParams) = apply {
357357
this.queryParams.putAll(queryParams)
358358
}
359359

360-
fun putAllquery_params(queryParams: Map<String, Iterable<String>>) = apply {
360+
fun putAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
361361
this.queryParams.putAll(queryParams)
362362
}
363363

364-
fun replacequery_params(key: String, value: String) = apply {
364+
fun replaceQueryParams(key: String, value: String) = apply {
365365
queryParams.replace(key, value)
366366
}
367367

368-
fun replacequery_params(key: String, values: Iterable<String>) = apply {
368+
fun replaceQueryParams(key: String, values: Iterable<String>) = apply {
369369
queryParams.replace(key, values)
370370
}
371371

372-
fun replaceAllquery_params(queryParams: QueryParams) = apply {
372+
fun replaceAllQueryParams(queryParams: QueryParams) = apply {
373373
this.queryParams.replaceAll(queryParams)
374374
}
375375

376-
fun replaceAllquery_params(queryParams: Map<String, Iterable<String>>) = apply {
376+
fun replaceAllQueryParams(queryParams: Map<String, Iterable<String>>) = apply {
377377
this.queryParams.replaceAll(queryParams)
378378
}
379379

380-
fun removequery_params(key: String) = apply { queryParams.remove(key) }
380+
fun removeQueryParams(key: String) = apply { queryParams.remove(key) }
381381

382-
fun removeAllquery_params(keys: Set<String>) = apply { queryParams.removeAll(keys) }
382+
fun removeAllQueryParams(keys: Set<String>) = apply { queryParams.removeAll(keys) }
383383

384384
fun timeout(): Timeout = timeout
385385

0 commit comments

Comments
 (0)