com.tencent.devops.process.pojo.classify.PipelineViewPreview.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-process Show documentation
Show all versions of api-process Show documentation
Tencent blueking ci project
The newest version!
package com.tencent.devops.process.pojo.classify
import io.swagger.v3.oas.annotations.media.Schema
@Schema(title = "Pipeline视图预览")
data class PipelineViewPreview(
@get:Schema(title = "新增的流水线ID列表", required = true)
val addedPipelineInfos: List,
@get:Schema(title = "删除的流水线ID列表", required = true)
val removedPipelineInfos: List,
@get:Schema(title = "保留的流水线ID列表", required = true)
val reservePipelineInfos: List
) {
data class PipelineInfo(
@get:Schema(title = "名称", required = true)
val pipelineName: String,
@get:Schema(title = "ID", required = true)
val pipelineId: String,
@get:Schema(title = "是否删除", required = true)
val delete: Boolean
)
companion object {
val EMPTY = PipelineViewPreview(emptyList(), emptyList(), emptyList())
}
}