File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
openai-java-core/src/main/kotlin/com/openai/errors Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,6 @@ private constructor(
19
19
val additionalProperties: Map <String , JsonValue >,
20
20
) {
21
21
22
- override fun equals (other : Any? ): Boolean {
23
- if (this == = other) {
24
- return true
25
- }
26
-
27
- return /* spotless:off */ other is OpenAIError && additionalProperties == other.additionalProperties /* spotless:on */
28
- }
29
-
30
- override fun hashCode (): Int = /* spotless:off */ Objects .hash(additionalProperties) /* spotless:on */
31
-
32
- override fun toString () = " OpenAIError{additionalProperties=$additionalProperties }"
33
-
34
22
fun toBuilder () = Builder ().from(this )
35
23
36
24
companion object {
@@ -69,4 +57,16 @@ private constructor(
69
57
70
58
fun build (): OpenAIError = OpenAIError (additionalProperties.toImmutable())
71
59
}
60
+
61
+ override fun equals (other : Any? ): Boolean {
62
+ if (this == = other) {
63
+ return true
64
+ }
65
+
66
+ return /* spotless:off */ other is OpenAIError && additionalProperties == other.additionalProperties /* spotless:on */
67
+ }
68
+
69
+ override fun hashCode (): Int = /* spotless:off */ Objects .hash(additionalProperties) /* spotless:on */
70
+
71
+ override fun toString () = " OpenAIError{additionalProperties=$additionalProperties }"
72
72
}
You can’t perform that action at this time.
0 commit comments