Skip to content

Commit 3ae2e58

Browse files
chore(internal): change some comment formatting
1 parent 5672c1f commit 3ae2e58

File tree

13 files changed

+65
-65
lines changed

13 files changed

+65
-65
lines changed

openai-java-core/src/main/kotlin/com/openai/models/chat/completions/ChatCompletion.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ private constructor(
119119
* processed with the corresponding service tier.
120120
* - When not set, the default behavior is 'auto'.
121121
*
122-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
123-
* value based on the processing mode actually used to serve the request. This response value
124-
* may be different from the value set in the parameter.
122+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
123+
* value based on the processing mode actually used to serve the request. This response value
124+
* may be different from the value set in the parameter.
125125
*
126126
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
127127
* server responded with an unexpected value).
@@ -341,9 +341,9 @@ private constructor(
341341
* processed with the corresponding service tier.
342342
* - When not set, the default behavior is 'auto'.
343343
*
344-
* When the `service_tier` parameter is set, the response body will include the
345-
* `service_tier` value based on the processing mode actually used to serve the request.
346-
* This response value may be different from the value set in the parameter.
344+
* When the `service_tier` parameter is set, the response body will include the
345+
* `service_tier` value based on the processing mode actually used to serve the request.
346+
* This response value may be different from the value set in the parameter.
347347
*/
348348
fun serviceTier(serviceTier: ServiceTier?) = serviceTier(JsonField.ofNullable(serviceTier))
349349

@@ -1208,9 +1208,9 @@ private constructor(
12081208
* processed with the corresponding service tier.
12091209
* - When not set, the default behavior is 'auto'.
12101210
*
1211-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
1212-
* value based on the processing mode actually used to serve the request. This response value
1213-
* may be different from the value set in the parameter.
1211+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
1212+
* value based on the processing mode actually used to serve the request. This response value
1213+
* may be different from the value set in the parameter.
12141214
*/
12151215
class ServiceTier @JsonCreator private constructor(private val value: JsonField<String>) :
12161216
Enum {

openai-java-core/src/main/kotlin/com/openai/models/chat/completions/ChatCompletionChunk.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ private constructor(
125125
* processed with the corresponding service tier.
126126
* - When not set, the default behavior is 'auto'.
127127
*
128-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
129-
* value based on the processing mode actually used to serve the request. This response value
130-
* may be different from the value set in the parameter.
128+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
129+
* value based on the processing mode actually used to serve the request. This response value
130+
* may be different from the value set in the parameter.
131131
*
132132
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
133133
* server responded with an unexpected value).
@@ -358,9 +358,9 @@ private constructor(
358358
* processed with the corresponding service tier.
359359
* - When not set, the default behavior is 'auto'.
360360
*
361-
* When the `service_tier` parameter is set, the response body will include the
362-
* `service_tier` value based on the processing mode actually used to serve the request.
363-
* This response value may be different from the value set in the parameter.
361+
* When the `service_tier` parameter is set, the response body will include the
362+
* `service_tier` value based on the processing mode actually used to serve the request.
363+
* This response value may be different from the value set in the parameter.
364364
*/
365365
fun serviceTier(serviceTier: ServiceTier?) = serviceTier(JsonField.ofNullable(serviceTier))
366366

@@ -2520,9 +2520,9 @@ private constructor(
25202520
* processed with the corresponding service tier.
25212521
* - When not set, the default behavior is 'auto'.
25222522
*
2523-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
2524-
* value based on the processing mode actually used to serve the request. This response value
2525-
* may be different from the value set in the parameter.
2523+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
2524+
* value based on the processing mode actually used to serve the request. This response value
2525+
* may be different from the value set in the parameter.
25262526
*/
25272527
class ServiceTier @JsonCreator private constructor(private val value: JsonField<String>) :
25282528
Enum {

openai-java-core/src/main/kotlin/com/openai/models/chat/completions/ChatCompletionCreateParams.kt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ private constructor(
326326
* processed with the corresponding service tier.
327327
* - When not set, the default behavior is 'auto'.
328328
*
329-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
330-
* value based on the processing mode actually used to serve the request. This response value
331-
* may be different from the value set in the parameter.
329+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
330+
* value based on the processing mode actually used to serve the request. This response value
331+
* may be different from the value set in the parameter.
332332
*
333333
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
334334
* server responded with an unexpected value).
@@ -1491,9 +1491,9 @@ private constructor(
14911491
* processed with the corresponding service tier.
14921492
* - When not set, the default behavior is 'auto'.
14931493
*
1494-
* When the `service_tier` parameter is set, the response body will include the
1495-
* `service_tier` value based on the processing mode actually used to serve the request.
1496-
* This response value may be different from the value set in the parameter.
1494+
* When the `service_tier` parameter is set, the response body will include the
1495+
* `service_tier` value based on the processing mode actually used to serve the request.
1496+
* This response value may be different from the value set in the parameter.
14971497
*/
14981498
fun serviceTier(serviceTier: ServiceTier?) = apply { body.serviceTier(serviceTier) }
14991499

@@ -2408,9 +2408,9 @@ private constructor(
24082408
* processed with the corresponding service tier.
24092409
* - When not set, the default behavior is 'auto'.
24102410
*
2411-
* When the `service_tier` parameter is set, the response body will include the
2412-
* `service_tier` value based on the processing mode actually used to serve the request.
2413-
* This response value may be different from the value set in the parameter.
2411+
* When the `service_tier` parameter is set, the response body will include the
2412+
* `service_tier` value based on the processing mode actually used to serve the request.
2413+
* This response value may be different from the value set in the parameter.
24142414
*
24152415
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
24162416
* server responded with an unexpected value).
@@ -3722,9 +3722,9 @@ private constructor(
37223722
* processed with the corresponding service tier.
37233723
* - When not set, the default behavior is 'auto'.
37243724
*
3725-
* When the `service_tier` parameter is set, the response body will include the
3726-
* `service_tier` value based on the processing mode actually used to serve the request.
3727-
* This response value may be different from the value set in the parameter.
3725+
* When the `service_tier` parameter is set, the response body will include the
3726+
* `service_tier` value based on the processing mode actually used to serve the
3727+
* request. This response value may be different from the value set in the parameter.
37283728
*/
37293729
fun serviceTier(serviceTier: ServiceTier?) =
37303730
serviceTier(JsonField.ofNullable(serviceTier))
@@ -5563,9 +5563,9 @@ private constructor(
55635563
* processed with the corresponding service tier.
55645564
* - When not set, the default behavior is 'auto'.
55655565
*
5566-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
5567-
* value based on the processing mode actually used to serve the request. This response value
5568-
* may be different from the value set in the parameter.
5566+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
5567+
* value based on the processing mode actually used to serve the request. This response value
5568+
* may be different from the value set in the parameter.
55695569
*/
55705570
class ServiceTier @JsonCreator private constructor(private val value: JsonField<String>) :
55715571
Enum {

openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private constructor(
2626
fun data(): List<PermissionCreateResponse> =
2727
response._data().getOptional("data").getOrNull() ?: emptyList()
2828

29-
/** @see PermissionCreatePageResponse.object\_ */
29+
/** @see PermissionCreatePageResponse.object_ */
3030
fun object_(): JsonValue = response._object_()
3131

3232
override fun items(): List<PermissionCreateResponse> = data()

openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePageAsync.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private constructor(
2929
fun data(): List<PermissionCreateResponse> =
3030
response._data().getOptional("data").getOrNull() ?: emptyList()
3131

32-
/** @see PermissionCreatePageResponse.object\_ */
32+
/** @see PermissionCreatePageResponse.object_ */
3333
fun object_(): JsonValue = response._object_()
3434

3535
override fun items(): List<PermissionCreateResponse> = data()

openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ private constructor(
2525
*/
2626
fun data(): List<Model> = response._data().getOptional("data").getOrNull() ?: emptyList()
2727

28-
/** @see ModelListPageResponse.object\_ */
28+
/** @see ModelListPageResponse.object_ */
2929
fun object_(): JsonValue = response._object_()
3030

3131
override fun items(): List<Model> = data()

openai-java-core/src/main/kotlin/com/openai/models/models/ModelListPageAsync.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private constructor(
2828
*/
2929
fun data(): List<Model> = response._data().getOptional("data").getOrNull() ?: emptyList()
3030

31-
/** @see ModelListPageResponse.object\_ */
31+
/** @see ModelListPageResponse.object_ */
3232
fun object_(): JsonValue = response._object_()
3333

3434
override fun items(): List<Model> = data()

openai-java-core/src/main/kotlin/com/openai/models/responses/Response.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,9 @@ private constructor(
433433
* processed with the corresponding service tier.
434434
* - When not set, the default behavior is 'auto'.
435435
*
436-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
437-
* value based on the processing mode actually used to serve the request. This response value
438-
* may be different from the value set in the parameter.
436+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
437+
* value based on the processing mode actually used to serve the request. This response value
438+
* may be different from the value set in the parameter.
439439
*
440440
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
441441
* server responded with an unexpected value).
@@ -1555,9 +1555,9 @@ private constructor(
15551555
* processed with the corresponding service tier.
15561556
* - When not set, the default behavior is 'auto'.
15571557
*
1558-
* When the `service_tier` parameter is set, the response body will include the
1559-
* `service_tier` value based on the processing mode actually used to serve the request.
1560-
* This response value may be different from the value set in the parameter.
1558+
* When the `service_tier` parameter is set, the response body will include the
1559+
* `service_tier` value based on the processing mode actually used to serve the request.
1560+
* This response value may be different from the value set in the parameter.
15611561
*/
15621562
fun serviceTier(serviceTier: ServiceTier?) = serviceTier(JsonField.ofNullable(serviceTier))
15631563

@@ -2951,9 +2951,9 @@ private constructor(
29512951
* processed with the corresponding service tier.
29522952
* - When not set, the default behavior is 'auto'.
29532953
*
2954-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
2955-
* value based on the processing mode actually used to serve the request. This response value
2956-
* may be different from the value set in the parameter.
2954+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
2955+
* value based on the processing mode actually used to serve the request. This response value
2956+
* may be different from the value set in the parameter.
29572957
*/
29582958
class ServiceTier @JsonCreator private constructor(private val value: JsonField<String>) :
29592959
Enum {

openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseCreateParams.kt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,9 @@ private constructor(
238238
* processed with the corresponding service tier.
239239
* - When not set, the default behavior is 'auto'.
240240
*
241-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
242-
* value based on the processing mode actually used to serve the request. This response value
243-
* may be different from the value set in the parameter.
241+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
242+
* value based on the processing mode actually used to serve the request. This response value
243+
* may be different from the value set in the parameter.
244244
*
245245
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
246246
* server responded with an unexpected value).
@@ -988,9 +988,9 @@ private constructor(
988988
* processed with the corresponding service tier.
989989
* - When not set, the default behavior is 'auto'.
990990
*
991-
* When the `service_tier` parameter is set, the response body will include the
992-
* `service_tier` value based on the processing mode actually used to serve the request.
993-
* This response value may be different from the value set in the parameter.
991+
* When the `service_tier` parameter is set, the response body will include the
992+
* `service_tier` value based on the processing mode actually used to serve the request.
993+
* This response value may be different from the value set in the parameter.
994994
*/
995995
fun serviceTier(serviceTier: ServiceTier?) = apply { body.serviceTier(serviceTier) }
996996

@@ -1851,9 +1851,9 @@ private constructor(
18511851
* processed with the corresponding service tier.
18521852
* - When not set, the default behavior is 'auto'.
18531853
*
1854-
* When the `service_tier` parameter is set, the response body will include the
1855-
* `service_tier` value based on the processing mode actually used to serve the request.
1856-
* This response value may be different from the value set in the parameter.
1854+
* When the `service_tier` parameter is set, the response body will include the
1855+
* `service_tier` value based on the processing mode actually used to serve the request.
1856+
* This response value may be different from the value set in the parameter.
18571857
*
18581858
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
18591859
* server responded with an unexpected value).
@@ -2693,9 +2693,9 @@ private constructor(
26932693
* processed with the corresponding service tier.
26942694
* - When not set, the default behavior is 'auto'.
26952695
*
2696-
* When the `service_tier` parameter is set, the response body will include the
2697-
* `service_tier` value based on the processing mode actually used to serve the request.
2698-
* This response value may be different from the value set in the parameter.
2696+
* When the `service_tier` parameter is set, the response body will include the
2697+
* `service_tier` value based on the processing mode actually used to serve the
2698+
* request. This response value may be different from the value set in the parameter.
26992699
*/
27002700
fun serviceTier(serviceTier: ServiceTier?) =
27012701
serviceTier(JsonField.ofNullable(serviceTier))
@@ -3792,9 +3792,9 @@ private constructor(
37923792
* processed with the corresponding service tier.
37933793
* - When not set, the default behavior is 'auto'.
37943794
*
3795-
* When the `service_tier` parameter is set, the response body will include the `service_tier`
3796-
* value based on the processing mode actually used to serve the request. This response value
3797-
* may be different from the value set in the parameter.
3795+
* When the `service_tier` parameter is set, the response body will include the `service_tier`
3796+
* value based on the processing mode actually used to serve the request. This response value
3797+
* may be different from the value set in the parameter.
37983798
*/
37993799
class ServiceTier @JsonCreator private constructor(private val value: JsonField<String>) :
38003800
Enum {

openai-java-core/src/main/kotlin/com/openai/models/vectorstores/VectorStoreSearchPage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private constructor(
2626
fun data(): List<VectorStoreSearchResponse> =
2727
response._data().getOptional("data").getOrNull() ?: emptyList()
2828

29-
/** @see VectorStoreSearchPageResponse.object\_ */
29+
/** @see VectorStoreSearchPageResponse.object_ */
3030
fun object_(): JsonValue = response._object_()
3131

3232
override fun items(): List<VectorStoreSearchResponse> = data()

0 commit comments

Comments
 (0)