Skip to content

Commit 23e9c7b

Browse files
chore(internal): codegen related update
1 parent b73560b commit 23e9c7b

223 files changed

Lines changed: 4182 additions & 1521 deletions

File tree

Some content is hidden

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

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/core/Timeout.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,14 @@ private constructor(
157157
return true
158158
}
159159

160-
return /* spotless:off */ other is Timeout && connect == other.connect && read == other.read && write == other.write && request == other.request /* spotless:on */
160+
return other is Timeout &&
161+
connect == other.connect &&
162+
read == other.read &&
163+
write == other.write &&
164+
request == other.request
161165
}
162166

163-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(connect, read, write, request) /* spotless:on */
167+
override fun hashCode(): Int = Objects.hash(connect, read, write, request)
164168

165169
override fun toString() =
166170
"Timeout{connect=$connect, read=$read, write=$write, request=$request}"

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/AISecret.kt

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -507,12 +507,10 @@ private constructor(
507507
return true
508508
}
509509

510-
return /* spotless:off */ other is Metadata && additionalProperties == other.additionalProperties /* spotless:on */
510+
return other is Metadata && additionalProperties == other.additionalProperties
511511
}
512512

513-
/* spotless:off */
514513
private val hashCode: Int by lazy { Objects.hash(additionalProperties) }
515-
/* spotless:on */
516514

517515
override fun hashCode(): Int = hashCode
518516

@@ -524,12 +522,31 @@ private constructor(
524522
return true
525523
}
526524

527-
return /* spotless:off */ other is AISecret && id == other.id && name == other.name && orgId == other.orgId && created == other.created && metadata == other.metadata && previewSecret == other.previewSecret && type == other.type && updatedAt == other.updatedAt && additionalProperties == other.additionalProperties /* spotless:on */
525+
return other is AISecret &&
526+
id == other.id &&
527+
name == other.name &&
528+
orgId == other.orgId &&
529+
created == other.created &&
530+
metadata == other.metadata &&
531+
previewSecret == other.previewSecret &&
532+
type == other.type &&
533+
updatedAt == other.updatedAt &&
534+
additionalProperties == other.additionalProperties
528535
}
529536

530-
/* spotless:off */
531-
private val hashCode: Int by lazy { Objects.hash(id, name, orgId, created, metadata, previewSecret, type, updatedAt, additionalProperties) }
532-
/* spotless:on */
537+
private val hashCode: Int by lazy {
538+
Objects.hash(
539+
id,
540+
name,
541+
orgId,
542+
created,
543+
metadata,
544+
previewSecret,
545+
type,
546+
updatedAt,
547+
additionalProperties,
548+
)
549+
}
533550

534551
override fun hashCode(): Int = hashCode
535552

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/Acl.kt

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,12 +553,35 @@ private constructor(
553553
return true
554554
}
555555

556-
return /* spotless:off */ other is Acl && id == other.id && _objectOrgId == other._objectOrgId && objectId == other.objectId && objectType == other.objectType && created == other.created && groupId == other.groupId && permission == other.permission && restrictObjectType == other.restrictObjectType && roleId == other.roleId && userId == other.userId && additionalProperties == other.additionalProperties /* spotless:on */
556+
return other is Acl &&
557+
id == other.id &&
558+
_objectOrgId == other._objectOrgId &&
559+
objectId == other.objectId &&
560+
objectType == other.objectType &&
561+
created == other.created &&
562+
groupId == other.groupId &&
563+
permission == other.permission &&
564+
restrictObjectType == other.restrictObjectType &&
565+
roleId == other.roleId &&
566+
userId == other.userId &&
567+
additionalProperties == other.additionalProperties
557568
}
558569

559-
/* spotless:off */
560-
private val hashCode: Int by lazy { Objects.hash(id, _objectOrgId, objectId, objectType, created, groupId, permission, restrictObjectType, roleId, userId, additionalProperties) }
561-
/* spotless:on */
570+
private val hashCode: Int by lazy {
571+
Objects.hash(
572+
id,
573+
_objectOrgId,
574+
objectId,
575+
objectType,
576+
created,
577+
groupId,
578+
permission,
579+
restrictObjectType,
580+
roleId,
581+
userId,
582+
additionalProperties,
583+
)
584+
}
562585

563586
override fun hashCode(): Int = hashCode
564587

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/AclBatchUpdateParams.kt

Lines changed: 54 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -562,12 +562,15 @@ private constructor(
562562
return true
563563
}
564564

565-
return /* spotless:off */ other is Body && addAcls == other.addAcls && removeAcls == other.removeAcls && additionalProperties == other.additionalProperties /* spotless:on */
565+
return other is Body &&
566+
addAcls == other.addAcls &&
567+
removeAcls == other.removeAcls &&
568+
additionalProperties == other.additionalProperties
566569
}
567570

568-
/* spotless:off */
569-
private val hashCode: Int by lazy { Objects.hash(addAcls, removeAcls, additionalProperties) }
570-
/* spotless:on */
571+
private val hashCode: Int by lazy {
572+
Objects.hash(addAcls, removeAcls, additionalProperties)
573+
}
571574

572575
override fun hashCode(): Int = hashCode
573576

@@ -1006,12 +1009,29 @@ private constructor(
10061009
return true
10071010
}
10081011

1009-
return /* spotless:off */ other is AddAcl && objectId == other.objectId && objectType == other.objectType && groupId == other.groupId && permission == other.permission && restrictObjectType == other.restrictObjectType && roleId == other.roleId && userId == other.userId && additionalProperties == other.additionalProperties /* spotless:on */
1012+
return other is AddAcl &&
1013+
objectId == other.objectId &&
1014+
objectType == other.objectType &&
1015+
groupId == other.groupId &&
1016+
permission == other.permission &&
1017+
restrictObjectType == other.restrictObjectType &&
1018+
roleId == other.roleId &&
1019+
userId == other.userId &&
1020+
additionalProperties == other.additionalProperties
10101021
}
10111022

1012-
/* spotless:off */
1013-
private val hashCode: Int by lazy { Objects.hash(objectId, objectType, groupId, permission, restrictObjectType, roleId, userId, additionalProperties) }
1014-
/* spotless:on */
1023+
private val hashCode: Int by lazy {
1024+
Objects.hash(
1025+
objectId,
1026+
objectType,
1027+
groupId,
1028+
permission,
1029+
restrictObjectType,
1030+
roleId,
1031+
userId,
1032+
additionalProperties,
1033+
)
1034+
}
10151035

10161036
override fun hashCode(): Int = hashCode
10171037

@@ -1450,12 +1470,29 @@ private constructor(
14501470
return true
14511471
}
14521472

1453-
return /* spotless:off */ other is RemoveAcl && objectId == other.objectId && objectType == other.objectType && groupId == other.groupId && permission == other.permission && restrictObjectType == other.restrictObjectType && roleId == other.roleId && userId == other.userId && additionalProperties == other.additionalProperties /* spotless:on */
1473+
return other is RemoveAcl &&
1474+
objectId == other.objectId &&
1475+
objectType == other.objectType &&
1476+
groupId == other.groupId &&
1477+
permission == other.permission &&
1478+
restrictObjectType == other.restrictObjectType &&
1479+
roleId == other.roleId &&
1480+
userId == other.userId &&
1481+
additionalProperties == other.additionalProperties
14541482
}
14551483

1456-
/* spotless:off */
1457-
private val hashCode: Int by lazy { Objects.hash(objectId, objectType, groupId, permission, restrictObjectType, roleId, userId, additionalProperties) }
1458-
/* spotless:on */
1484+
private val hashCode: Int by lazy {
1485+
Objects.hash(
1486+
objectId,
1487+
objectType,
1488+
groupId,
1489+
permission,
1490+
restrictObjectType,
1491+
roleId,
1492+
userId,
1493+
additionalProperties,
1494+
)
1495+
}
14591496

14601497
override fun hashCode(): Int = hashCode
14611498

@@ -1468,10 +1505,13 @@ private constructor(
14681505
return true
14691506
}
14701507

1471-
return /* spotless:off */ other is AclBatchUpdateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */
1508+
return other is AclBatchUpdateParams &&
1509+
body == other.body &&
1510+
additionalHeaders == other.additionalHeaders &&
1511+
additionalQueryParams == other.additionalQueryParams
14721512
}
14731513

1474-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */
1514+
override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams)
14751515

14761516
override fun toString() =
14771517
"AclBatchUpdateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}"

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/AclBatchUpdateResponse.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,13 @@ private constructor(
266266
return true
267267
}
268268

269-
return /* spotless:off */ other is AclBatchUpdateResponse && addedAcls == other.addedAcls && removedAcls == other.removedAcls && additionalProperties == other.additionalProperties /* spotless:on */
269+
return other is AclBatchUpdateResponse &&
270+
addedAcls == other.addedAcls &&
271+
removedAcls == other.removedAcls &&
272+
additionalProperties == other.additionalProperties
270273
}
271274

272-
/* spotless:off */
273275
private val hashCode: Int by lazy { Objects.hash(addedAcls, removedAcls, additionalProperties) }
274-
/* spotless:on */
275276

276277
override fun hashCode(): Int = hashCode
277278

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/AclCreateParams.kt

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -874,13 +874,30 @@ private constructor(
874874
return true
875875
}
876876

877-
return /* spotless:off */ other is Body && objectId == other.objectId && objectType == other.objectType && groupId == other.groupId && permission == other.permission && restrictObjectType == other.restrictObjectType && roleId == other.roleId && userId == other.userId && additionalProperties == other.additionalProperties /* spotless:on */
877+
return other is Body &&
878+
objectId == other.objectId &&
879+
objectType == other.objectType &&
880+
groupId == other.groupId &&
881+
permission == other.permission &&
882+
restrictObjectType == other.restrictObjectType &&
883+
roleId == other.roleId &&
884+
userId == other.userId &&
885+
additionalProperties == other.additionalProperties
886+
}
887+
888+
private val hashCode: Int by lazy {
889+
Objects.hash(
890+
objectId,
891+
objectType,
892+
groupId,
893+
permission,
894+
restrictObjectType,
895+
roleId,
896+
userId,
897+
additionalProperties,
898+
)
878899
}
879900

880-
/* spotless:off */
881-
private val hashCode: Int by lazy { Objects.hash(objectId, objectType, groupId, permission, restrictObjectType, roleId, userId, additionalProperties) }
882-
/* spotless:on */
883-
884901
override fun hashCode(): Int = hashCode
885902

886903
override fun toString() =
@@ -892,10 +909,13 @@ private constructor(
892909
return true
893910
}
894911

895-
return /* spotless:off */ other is AclCreateParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */
912+
return other is AclCreateParams &&
913+
body == other.body &&
914+
additionalHeaders == other.additionalHeaders &&
915+
additionalQueryParams == other.additionalQueryParams
896916
}
897917

898-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */
918+
override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams)
899919

900920
override fun toString() =
901921
"AclCreateParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}"

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/AclDeleteParams.kt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,15 @@ private constructor(
216216
return true
217217
}
218218

219-
return /* spotless:off */ other is AclDeleteParams && aclId == other.aclId && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams && additionalBodyProperties == other.additionalBodyProperties /* spotless:on */
219+
return other is AclDeleteParams &&
220+
aclId == other.aclId &&
221+
additionalHeaders == other.additionalHeaders &&
222+
additionalQueryParams == other.additionalQueryParams &&
223+
additionalBodyProperties == other.additionalBodyProperties
220224
}
221225

222-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(aclId, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */
226+
override fun hashCode(): Int =
227+
Objects.hash(aclId, additionalHeaders, additionalQueryParams, additionalBodyProperties)
223228

224229
override fun toString() =
225230
"AclDeleteParams{aclId=$aclId, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}"

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/AclFindAndDeleteParams.kt

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -875,13 +875,30 @@ private constructor(
875875
return true
876876
}
877877

878-
return /* spotless:off */ other is Body && objectId == other.objectId && objectType == other.objectType && groupId == other.groupId && permission == other.permission && restrictObjectType == other.restrictObjectType && roleId == other.roleId && userId == other.userId && additionalProperties == other.additionalProperties /* spotless:on */
878+
return other is Body &&
879+
objectId == other.objectId &&
880+
objectType == other.objectType &&
881+
groupId == other.groupId &&
882+
permission == other.permission &&
883+
restrictObjectType == other.restrictObjectType &&
884+
roleId == other.roleId &&
885+
userId == other.userId &&
886+
additionalProperties == other.additionalProperties
887+
}
888+
889+
private val hashCode: Int by lazy {
890+
Objects.hash(
891+
objectId,
892+
objectType,
893+
groupId,
894+
permission,
895+
restrictObjectType,
896+
roleId,
897+
userId,
898+
additionalProperties,
899+
)
879900
}
880901

881-
/* spotless:off */
882-
private val hashCode: Int by lazy { Objects.hash(objectId, objectType, groupId, permission, restrictObjectType, roleId, userId, additionalProperties) }
883-
/* spotless:on */
884-
885902
override fun hashCode(): Int = hashCode
886903

887904
override fun toString() =
@@ -893,10 +910,13 @@ private constructor(
893910
return true
894911
}
895912

896-
return /* spotless:off */ other is AclFindAndDeleteParams && body == other.body && additionalHeaders == other.additionalHeaders && additionalQueryParams == other.additionalQueryParams /* spotless:on */
913+
return other is AclFindAndDeleteParams &&
914+
body == other.body &&
915+
additionalHeaders == other.additionalHeaders &&
916+
additionalQueryParams == other.additionalQueryParams
897917
}
898918

899-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(body, additionalHeaders, additionalQueryParams) /* spotless:on */
919+
override fun hashCode(): Int = Objects.hash(body, additionalHeaders, additionalQueryParams)
900920

901921
override fun toString() =
902922
"AclFindAndDeleteParams{body=$body, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams}"

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/AclListPage.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,13 @@ private constructor(
111111
return true
112112
}
113113

114-
return /* spotless:off */ other is AclListPage && service == other.service && params == other.params && response == other.response /* spotless:on */
114+
return other is AclListPage &&
115+
service == other.service &&
116+
params == other.params &&
117+
response == other.response
115118
}
116119

117-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, params, response) /* spotless:on */
120+
override fun hashCode(): Int = Objects.hash(service, params, response)
118121

119122
override fun toString() = "AclListPage{service=$service, params=$params, response=$response}"
120123
}

braintrust-java-core/src/main/kotlin/com/braintrustdata/api/models/AclListPageAsync.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,14 @@ private constructor(
123123
return true
124124
}
125125

126-
return /* spotless:off */ other is AclListPageAsync && service == other.service && streamHandlerExecutor == other.streamHandlerExecutor && params == other.params && response == other.response /* spotless:on */
126+
return other is AclListPageAsync &&
127+
service == other.service &&
128+
streamHandlerExecutor == other.streamHandlerExecutor &&
129+
params == other.params &&
130+
response == other.response
127131
}
128132

129-
override fun hashCode(): Int = /* spotless:off */ Objects.hash(service, streamHandlerExecutor, params, response) /* spotless:on */
133+
override fun hashCode(): Int = Objects.hash(service, streamHandlerExecutor, params, response)
130134

131135
override fun toString() =
132136
"AclListPageAsync{service=$service, streamHandlerExecutor=$streamHandlerExecutor, params=$params, response=$response}"

0 commit comments

Comments
 (0)