All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencent.devops.process.pojo.classify.PipelineViewPreview.kt Maven / Gradle / Ivy

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())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy