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

com.tencent.devops.common.auth.api.pojo.ResourceAuthorizationResponse.kt Maven / Gradle / Ivy

There is a newer version: 3.1.0-rc.3
Show newest version
package com.tencent.devops.common.auth.api.pojo

import io.swagger.v3.oas.annotations.media.Schema

@Schema(title = "资源授权返回体")
@Suppress("LongParameterList")
data class ResourceAuthorizationResponse(
    @get:Schema(title = "项目ID")
    val projectCode: String,
    @get:Schema(title = "资源类型")
    val resourceType: String,
    @get:Schema(title = "资源名称")
    val resourceName: String,
    @get:Schema(title = "资源code")
    val resourceCode: String,
    @get:Schema(title = "授权时间")
    val handoverTime: Long,
    @get:Schema(title = "授予人")
    val handoverFrom: String,
    @get:Schema(title = "授予人中文名称")
    val handoverFromCnName: String? = null,
    @get:Schema(title = "是否有执行权限")
    val executePermission: Boolean? = null
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy