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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy