cn.com.antcloud.api.catronus.v1_0.request.CreateRiskTaskRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of antcloud-api-catronus Show documentation
Show all versions of antcloud-api-catronus Show documentation
Ant Chain API SDK For Java
Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
The newest version!
//
// Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
package cn.com.antcloud.api.catronus.v1_0.request;
import cn.com.antcloud.api.catronus.v1_0.response.CreateRiskTaskResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.String;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
/**
* 创建风险工单/任务 */
public class CreateRiskTaskRequest extends AntCloudProdRequest {
@NotNull
private String name;
@NotNull
private String source;
@NotNull
private String identity;
private String priority;
@NotNull
private String displayName;
private String respondPhase;
@NotNull
private String owner;
@NotNull
private String secOwner;
@NotNull
private List followers;
@NotNull
private Date deadlineTime;
@NotNull
private String envId;
private String _prod_code = "CATRONUS";
public CreateRiskTaskRequest(String productInstanceId) {
super("antcloud.catronus.risk.task.create", "1.0", "Java-SDK-20230525", productInstanceId);
}
public CreateRiskTaskRequest() {
super("antcloud.catronus.risk.task.create", "1.0", null);
this.setSdkVersion("Java-SDK-20230525");
}
/**
* Product code */
public String get_prod_code() {
return this._prod_code;
}
/**
* Product code */
public void set_prod_code(String _prod_code) {
this._prod_code = _prod_code;
}
/**
* 风险任务名称 */
public String getName() {
return this.name;
}
/**
* 风险任务名称 */
public void setName(String name) {
this.name = name;
}
/**
* 风险来源,image/benchmark/runtime */
public String getSource() {
return this.source;
}
/**
* 风险来源,image/benchmark/runtime */
public void setSource(String source) {
this.source = source;
}
/**
* 风险唯一标识 */
public String getIdentity() {
return this.identity;
}
/**
* 风险唯一标识 */
public void setIdentity(String identity) {
this.identity = identity;
}
/**
* 风险等级 */
public String getPriority() {
return this.priority;
}
/**
* 风险等级 */
public void setPriority(String priority) {
this.priority = priority;
}
/**
* 风险任务显示名称 */
public String getDisplayName() {
return this.displayName;
}
/**
* 风险任务显示名称 */
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
/**
* 响应阶段,默认是日常阶段 */
public String getRespondPhase() {
return this.respondPhase;
}
/**
* 响应阶段,默认是日常阶段 */
public void setRespondPhase(String respondPhase) {
this.respondPhase = respondPhase;
}
/**
* 风险责任人 */
public String getOwner() {
return this.owner;
}
/**
* 风险责任人 */
public void setOwner(String owner) {
this.owner = owner;
}
/**
* 安全责任人 */
public String getSecOwner() {
return this.secOwner;
}
/**
* 安全责任人 */
public void setSecOwner(String secOwner) {
this.secOwner = secOwner;
}
/**
* 风险关注者 */
public List getFollowers() {
return this.followers;
}
/**
* 风险关注者 */
public void setFollowers(List followers) {
this.followers = followers;
}
/**
* 到期时间 */
public Date getDeadlineTime() {
return this.deadlineTime;
}
/**
* 到期时间 */
public void setDeadlineTime(Date deadlineTime) {
this.deadlineTime = deadlineTime;
}
/**
* 环境标识ID */
public String getEnvId() {
return this.envId;
}
/**
* 环境标识ID */
public void setEnvId(String envId) {
this.envId = envId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy