@@ -24,7 +24,6 @@ private constructor(
2424 private val binding: JsonField <Binding >,
2525 private val createdAt: JsonField <String >,
2626 private val description: JsonField <String >,
27- private val hint: JsonField <String >,
2827 private val key: JsonField <String >,
2928 private val lastAccessedAt: JsonField <String >,
3029 private val updatedAt: JsonField <String >,
@@ -39,23 +38,12 @@ private constructor(
3938 @JsonProperty(" description" )
4039 @ExcludeMissing
4140 description: JsonField <String > = JsonMissing .of(),
42- @JsonProperty(" hint" ) @ExcludeMissing hint: JsonField <String > = JsonMissing .of(),
4341 @JsonProperty(" key" ) @ExcludeMissing key: JsonField <String > = JsonMissing .of(),
4442 @JsonProperty(" last_accessed_at" )
4543 @ExcludeMissing
4644 lastAccessedAt: JsonField <String > = JsonMissing .of(),
4745 @JsonProperty(" updated_at" ) @ExcludeMissing updatedAt: JsonField <String > = JsonMissing .of(),
48- ) : this (
49- id,
50- binding,
51- createdAt,
52- description,
53- hint,
54- key,
55- lastAccessedAt,
56- updatedAt,
57- mutableMapOf (),
58- )
46+ ) : this (id, binding, createdAt, description, key, lastAccessedAt, updatedAt, mutableMapOf ())
5947
6048 /* *
6149 * @throws ArcadeInvalidDataException if the JSON field has an unexpected type (e.g. if the
@@ -81,12 +69,6 @@ private constructor(
8169 */
8270 fun description (): Optional <String > = description.getOptional(" description" )
8371
84- /* *
85- * @throws ArcadeInvalidDataException if the JSON field has an unexpected type (e.g. if the
86- * server responded with an unexpected value).
87- */
88- fun hint (): Optional <String > = hint.getOptional(" hint" )
89-
9072 /* *
9173 * @throws ArcadeInvalidDataException if the JSON field has an unexpected type (e.g. if the
9274 * server responded with an unexpected value).
@@ -133,13 +115,6 @@ private constructor(
133115 */
134116 @JsonProperty(" description" ) @ExcludeMissing fun _description (): JsonField <String > = description
135117
136- /* *
137- * Returns the raw JSON value of [hint].
138- *
139- * Unlike [hint], this method doesn't throw if the JSON field has an unexpected type.
140- */
141- @JsonProperty(" hint" ) @ExcludeMissing fun _hint (): JsonField <String > = hint
142-
143118 /* *
144119 * Returns the raw JSON value of [key].
145120 *
@@ -188,7 +163,6 @@ private constructor(
188163 private var binding: JsonField <Binding > = JsonMissing .of()
189164 private var createdAt: JsonField <String > = JsonMissing .of()
190165 private var description: JsonField <String > = JsonMissing .of()
191- private var hint: JsonField <String > = JsonMissing .of()
192166 private var key: JsonField <String > = JsonMissing .of()
193167 private var lastAccessedAt: JsonField <String > = JsonMissing .of()
194168 private var updatedAt: JsonField <String > = JsonMissing .of()
@@ -200,7 +174,6 @@ private constructor(
200174 binding = secretResponse.binding
201175 createdAt = secretResponse.createdAt
202176 description = secretResponse.description
203- hint = secretResponse.hint
204177 key = secretResponse.key
205178 lastAccessedAt = secretResponse.lastAccessedAt
206179 updatedAt = secretResponse.updatedAt
@@ -249,16 +222,6 @@ private constructor(
249222 */
250223 fun description (description : JsonField <String >) = apply { this .description = description }
251224
252- fun hint (hint : String ) = hint(JsonField .of(hint))
253-
254- /* *
255- * Sets [Builder.hint] to an arbitrary JSON value.
256- *
257- * You should usually call [Builder.hint] with a well-typed [String] value instead. This
258- * method is primarily for setting the field to an undocumented or not yet supported value.
259- */
260- fun hint (hint : JsonField <String >) = apply { this .hint = hint }
261-
262225 fun key (key : String ) = key(JsonField .of(key))
263226
264227 /* *
@@ -323,7 +286,6 @@ private constructor(
323286 binding,
324287 createdAt,
325288 description,
326- hint,
327289 key,
328290 lastAccessedAt,
329291 updatedAt,
@@ -342,7 +304,6 @@ private constructor(
342304 binding().ifPresent { it.validate() }
343305 createdAt()
344306 description()
345- hint()
346307 key()
347308 lastAccessedAt()
348309 updatedAt()
@@ -368,7 +329,6 @@ private constructor(
368329 (binding.asKnown().getOrNull()?.validity() ? : 0 ) +
369330 (if (createdAt.asKnown().isPresent) 1 else 0 ) +
370331 (if (description.asKnown().isPresent) 1 else 0 ) +
371- (if (hint.asKnown().isPresent) 1 else 0 ) +
372332 (if (key.asKnown().isPresent) 1 else 0 ) +
373333 (if (lastAccessedAt.asKnown().isPresent) 1 else 0 ) +
374334 (if (updatedAt.asKnown().isPresent) 1 else 0 )
@@ -692,7 +652,6 @@ private constructor(
692652 binding == other.binding &&
693653 createdAt == other.createdAt &&
694654 description == other.description &&
695- hint == other.hint &&
696655 key == other.key &&
697656 lastAccessedAt == other.lastAccessedAt &&
698657 updatedAt == other.updatedAt &&
@@ -705,7 +664,6 @@ private constructor(
705664 binding,
706665 createdAt,
707666 description,
708- hint,
709667 key,
710668 lastAccessedAt,
711669 updatedAt,
@@ -716,5 +674,5 @@ private constructor(
716674 override fun hashCode (): Int = hashCode
717675
718676 override fun toString () =
719- " SecretResponse{id=$id , binding=$binding , createdAt=$createdAt , description=$description , hint= $hint , key=$key , lastAccessedAt=$lastAccessedAt , updatedAt=$updatedAt , additionalProperties=$additionalProperties }"
677+ " SecretResponse{id=$id , binding=$binding , createdAt=$createdAt , description=$description , key=$key , lastAccessedAt=$lastAccessedAt , updatedAt=$updatedAt , additionalProperties=$additionalProperties }"
720678}
0 commit comments