@@ -32,7 +32,7 @@ import java.util.Optional
3232import kotlin.jvm.optionals.getOrNull
3333
3434/* * A pipeline returned by the legacy list endpoint. */
35- class PipelineListResponse
35+ class PipelineListItem
3636@JsonCreator(mode = JsonCreator .Mode .DISABLED )
3737private constructor (
3838 private val id: JsonField <String >,
@@ -449,7 +449,7 @@ private constructor(
449449 companion object {
450450
451451 /* *
452- * Returns a mutable builder for constructing an instance of [PipelineListResponse ].
452+ * Returns a mutable builder for constructing an instance of [PipelineListItem ].
453453 *
454454 * The following fields are required:
455455 * ```java
@@ -462,7 +462,7 @@ private constructor(
462462 @JvmStatic fun builder () = Builder ()
463463 }
464464
465- /* * A builder for [PipelineListResponse ]. */
465+ /* * A builder for [PipelineListItem ]. */
466466 class Builder internal constructor() {
467467
468468 private var id: JsonField <String >? = null
@@ -486,26 +486,26 @@ private constructor(
486486 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
487487
488488 @JvmSynthetic
489- internal fun from (pipelineListResponse : PipelineListResponse ) = apply {
490- id = pipelineListResponse .id
491- embeddingConfig = pipelineListResponse .embeddingConfig
492- name = pipelineListResponse .name
493- projectId = pipelineListResponse .projectId
494- configHash = pipelineListResponse .configHash
495- createdAt = pipelineListResponse .createdAt
496- dataSink = pipelineListResponse .dataSink
497- embeddingModelConfig = pipelineListResponse .embeddingModelConfig
498- embeddingModelConfigId = pipelineListResponse .embeddingModelConfigId
499- llamaParseParameters = pipelineListResponse .llamaParseParameters
500- managedPipelineId = pipelineListResponse .managedPipelineId
501- metadataConfig = pipelineListResponse .metadataConfig
502- pipelineType = pipelineListResponse .pipelineType
503- presetRetrievalParameters = pipelineListResponse .presetRetrievalParameters
504- sparseModelConfig = pipelineListResponse .sparseModelConfig
505- status = pipelineListResponse .status
506- transformConfig = pipelineListResponse .transformConfig
507- updatedAt = pipelineListResponse .updatedAt
508- additionalProperties = pipelineListResponse .additionalProperties.toMutableMap()
489+ internal fun from (pipelineListItem : PipelineListItem ) = apply {
490+ id = pipelineListItem .id
491+ embeddingConfig = pipelineListItem .embeddingConfig
492+ name = pipelineListItem .name
493+ projectId = pipelineListItem .projectId
494+ configHash = pipelineListItem .configHash
495+ createdAt = pipelineListItem .createdAt
496+ dataSink = pipelineListItem .dataSink
497+ embeddingModelConfig = pipelineListItem .embeddingModelConfig
498+ embeddingModelConfigId = pipelineListItem .embeddingModelConfigId
499+ llamaParseParameters = pipelineListItem .llamaParseParameters
500+ managedPipelineId = pipelineListItem .managedPipelineId
501+ metadataConfig = pipelineListItem .metadataConfig
502+ pipelineType = pipelineListItem .pipelineType
503+ presetRetrievalParameters = pipelineListItem .presetRetrievalParameters
504+ sparseModelConfig = pipelineListItem .sparseModelConfig
505+ status = pipelineListItem .status
506+ transformConfig = pipelineListItem .transformConfig
507+ updatedAt = pipelineListItem .updatedAt
508+ additionalProperties = pipelineListItem .additionalProperties.toMutableMap()
509509 }
510510
511511 /* * Unique identifier */
@@ -895,7 +895,7 @@ private constructor(
895895 }
896896
897897 /* *
898- * Returns an immutable instance of [PipelineListResponse ].
898+ * Returns an immutable instance of [PipelineListItem ].
899899 *
900900 * Further updates to this [Builder] will not mutate the returned instance.
901901 *
@@ -909,8 +909,8 @@ private constructor(
909909 *
910910 * @throws IllegalStateException if any required field is unset.
911911 */
912- fun build (): PipelineListResponse =
913- PipelineListResponse (
912+ fun build (): PipelineListItem =
913+ PipelineListItem (
914914 checkRequired(" id" , id),
915915 checkRequired(" embeddingConfig" , embeddingConfig),
916916 checkRequired(" name" , name),
@@ -943,7 +943,7 @@ private constructor(
943943 * @throws LlamaCloudInvalidDataException if any value type in this object doesn't match its
944944 * expected type.
945945 */
946- fun validate (): PipelineListResponse = apply {
946+ fun validate (): PipelineListItem = apply {
947947 if (validated) {
948948 return @apply
949949 }
@@ -3735,7 +3735,7 @@ private constructor(
37353735 return true
37363736 }
37373737
3738- return other is PipelineListResponse &&
3738+ return other is PipelineListItem &&
37393739 id == other.id &&
37403740 embeddingConfig == other.embeddingConfig &&
37413741 name == other.name &&
@@ -3784,5 +3784,5 @@ private constructor(
37843784 override fun hashCode (): Int = hashCode
37853785
37863786 override fun toString () =
3787- " PipelineListResponse {id=$id , embeddingConfig=$embeddingConfig , name=$name , projectId=$projectId , configHash=$configHash , createdAt=$createdAt , dataSink=$dataSink , embeddingModelConfig=$embeddingModelConfig , embeddingModelConfigId=$embeddingModelConfigId , llamaParseParameters=$llamaParseParameters , managedPipelineId=$managedPipelineId , metadataConfig=$metadataConfig , pipelineType=$pipelineType , presetRetrievalParameters=$presetRetrievalParameters , sparseModelConfig=$sparseModelConfig , status=$status , transformConfig=$transformConfig , updatedAt=$updatedAt , additionalProperties=$additionalProperties }"
3787+ " PipelineListItem {id=$id , embeddingConfig=$embeddingConfig , name=$name , projectId=$projectId , configHash=$configHash , createdAt=$createdAt , dataSink=$dataSink , embeddingModelConfig=$embeddingModelConfig , embeddingModelConfigId=$embeddingModelConfigId , llamaParseParameters=$llamaParseParameters , managedPipelineId=$managedPipelineId , metadataConfig=$metadataConfig , pipelineType=$pipelineType , presetRetrievalParameters=$presetRetrievalParameters , sparseModelConfig=$sparseModelConfig , status=$status , transformConfig=$transformConfig , updatedAt=$updatedAt , additionalProperties=$additionalProperties }"
37883788}
0 commit comments