com.tencent.devops.process.pojo.classify.PipelineViewDict.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 = "流水线组与流水线的对应关系")
data class PipelineViewDict(
@get:Schema(title = "个人流水线组列表")
val personalViewList: List,
@get:Schema(title = "项目流水线列表")
val projectViewList: List
) {
@Schema(title = "流水线组信息")
data class ViewInfo(
@get:Schema(title = "流水线组ID")
val viewId: String,
@get:Schema(title = "流水线组名")
val viewName: String,
@get:Schema(title = "流水线列表")
val pipelineList: List
) {
@Schema(title = "流水线信息")
data class PipelineInfo(
@get:Schema(title = "流水线ID")
val pipelineId: String,
@get:Schema(title = "流水线名称")
val pipelineName: String,
@get:Schema(title = "流水线组ID")
val viewId: String,
@get:Schema(title = "是否删除")
val delete: Boolean
)
}
companion object {
val EMPTY = PipelineViewDict(emptyList(), emptyList())
}
}