@@ -31,7 +31,6 @@ private constructor(
3131 private val offset: JsonField <Long >,
3232 private val preview: JsonField <Boolean >,
3333 private val sortParams: JsonField <SortParamsForRunsComparisonView >,
34- private val stream: JsonField <Boolean >,
3534 private val additionalProperties: MutableMap <String , JsonValue >,
3635) {
3736
@@ -56,7 +55,6 @@ private constructor(
5655 @JsonProperty(" sort_params" )
5756 @ExcludeMissing
5857 sortParams: JsonField <SortParamsForRunsComparisonView > = JsonMissing .of(),
59- @JsonProperty(" stream" ) @ExcludeMissing stream: JsonField <Boolean > = JsonMissing .of(),
6058 ) : this (
6159 sessionIds,
6260 comparativeExperimentId,
@@ -67,7 +65,6 @@ private constructor(
6765 offset,
6866 preview,
6967 sortParams,
70- stream,
7168 mutableMapOf (),
7269 )
7370
@@ -128,12 +125,6 @@ private constructor(
128125 fun sortParams (): Optional <SortParamsForRunsComparisonView > =
129126 sortParams.getOptional(" sort_params" )
130127
131- /* *
132- * @throws LangChainInvalidDataException if the JSON field has an unexpected type (e.g. if the
133- * server responded with an unexpected value).
134- */
135- fun stream (): Optional <Boolean > = stream.getOptional(" stream" )
136-
137128 /* *
138129 * Returns the raw JSON value of [sessionIds].
139130 *
@@ -209,13 +200,6 @@ private constructor(
209200 @ExcludeMissing
210201 fun _sortParams (): JsonField <SortParamsForRunsComparisonView > = sortParams
211202
212- /* *
213- * Returns the raw JSON value of [stream].
214- *
215- * Unlike [stream], this method doesn't throw if the JSON field has an unexpected type.
216- */
217- @JsonProperty(" stream" ) @ExcludeMissing fun _stream (): JsonField <Boolean > = stream
218-
219203 @JsonAnySetter
220204 private fun putAdditionalProperty (key : String , value : JsonValue ) {
221205 additionalProperties.put(key, value)
@@ -253,7 +237,6 @@ private constructor(
253237 private var offset: JsonField <Long > = JsonMissing .of()
254238 private var preview: JsonField <Boolean > = JsonMissing .of()
255239 private var sortParams: JsonField <SortParamsForRunsComparisonView > = JsonMissing .of()
256- private var stream: JsonField <Boolean > = JsonMissing .of()
257240 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
258241
259242 @JvmSynthetic
@@ -267,7 +250,6 @@ private constructor(
267250 offset = queryExampleSchemaWithRuns.offset
268251 preview = queryExampleSchemaWithRuns.preview
269252 sortParams = queryExampleSchemaWithRuns.sortParams
270- stream = queryExampleSchemaWithRuns.stream
271253 additionalProperties = queryExampleSchemaWithRuns.additionalProperties.toMutableMap()
272254 }
273255
@@ -420,16 +402,6 @@ private constructor(
420402 this .sortParams = sortParams
421403 }
422404
423- fun stream (stream : Boolean ) = stream(JsonField .of(stream))
424-
425- /* *
426- * Sets [Builder.stream] to an arbitrary JSON value.
427- *
428- * You should usually call [Builder.stream] with a well-typed [Boolean] value instead. This
429- * method is primarily for setting the field to an undocumented or not yet supported value.
430- */
431- fun stream (stream : JsonField <Boolean >) = apply { this .stream = stream }
432-
433405 fun additionalProperties (additionalProperties : Map <String , JsonValue >) = apply {
434406 this .additionalProperties.clear()
435407 putAllAdditionalProperties(additionalProperties)
@@ -472,7 +444,6 @@ private constructor(
472444 offset,
473445 preview,
474446 sortParams,
475- stream,
476447 additionalProperties.toMutableMap(),
477448 )
478449 }
@@ -493,7 +464,6 @@ private constructor(
493464 offset()
494465 preview()
495466 sortParams().ifPresent { it.validate() }
496- stream()
497467 validated = true
498468 }
499469
@@ -520,8 +490,7 @@ private constructor(
520490 (if (limit.asKnown().isPresent) 1 else 0 ) +
521491 (if (offset.asKnown().isPresent) 1 else 0 ) +
522492 (if (preview.asKnown().isPresent) 1 else 0 ) +
523- (sortParams.asKnown().getOrNull()?.validity() ? : 0 ) +
524- (if (stream.asKnown().isPresent) 1 else 0 )
493+ (sortParams.asKnown().getOrNull()?.validity() ? : 0 )
525494
526495 class Filters
527496 @JsonCreator
@@ -637,7 +606,6 @@ private constructor(
637606 offset == other.offset &&
638607 preview == other.preview &&
639608 sortParams == other.sortParams &&
640- stream == other.stream &&
641609 additionalProperties == other.additionalProperties
642610 }
643611
@@ -652,13 +620,12 @@ private constructor(
652620 offset,
653621 preview,
654622 sortParams,
655- stream,
656623 additionalProperties,
657624 )
658625 }
659626
660627 override fun hashCode (): Int = hashCode
661628
662629 override fun toString () =
663- " QueryExampleSchemaWithRuns{sessionIds=$sessionIds , comparativeExperimentId=$comparativeExperimentId , exampleIds=$exampleIds , filters=$filters , includeAnnotatorDetail=$includeAnnotatorDetail , limit=$limit , offset=$offset , preview=$preview , sortParams=$sortParams , stream= $stream , additionalProperties=$additionalProperties }"
630+ " QueryExampleSchemaWithRuns{sessionIds=$sessionIds , comparativeExperimentId=$comparativeExperimentId , exampleIds=$exampleIds , filters=$filters , includeAnnotatorDetail=$includeAnnotatorDetail , limit=$limit , offset=$offset , preview=$preview , sortParams=$sortParams , additionalProperties=$additionalProperties }"
664631}
0 commit comments