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

cn.com.antcloud.api.catronus.v1_0.request.CreateRiskSolutionRequest Maven / Gradle / Ivy

Go to download

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.CreateRiskSolutionResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * 创建风险解决方案 */
public class CreateRiskSolutionRequest extends AntCloudProdRequest {
  @NotNull
  private String name;

  @NotNull
  private String riskId;

  @NotNull
  private String source;

  @NotNull
  private String fixType;

  @NotNull
  private String riskDescription;

  @NotNull
  private String solutionPlan;

  @NotNull
  private String emergencyPlan;

  private String _prod_code = "CATRONUS";

  public CreateRiskSolutionRequest(String productInstanceId) {
    super("antcloud.catronus.risk.solution.create", "1.0", "Java-SDK-20230525", productInstanceId);
  }

  public CreateRiskSolutionRequest() {
    super("antcloud.catronus.risk.solution.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;
  }

  /**
   * 关联风险ID */
  public String getRiskId() {
    return this.riskId;
  }

  /**
   * 关联风险ID */
  public void setRiskId(String riskId) {
    this.riskId = riskId;
  }

  /**
   * 解决方案来源 */
  public String getSource() {
    return this.source;
  }

  /**
   * 解决方案来源 */
  public void setSource(String source) {
    this.source = source;
  }

  /**
   * 修复类型 */
  public String getFixType() {
    return this.fixType;
  }

  /**
   * 修复类型 */
  public void setFixType(String fixType) {
    this.fixType = fixType;
  }

  /**
   * 风险描述 */
  public String getRiskDescription() {
    return this.riskDescription;
  }

  /**
   * 风险描述 */
  public void setRiskDescription(String riskDescription) {
    this.riskDescription = riskDescription;
  }

  /**
   * 风险解决方案 */
  public String getSolutionPlan() {
    return this.solutionPlan;
  }

  /**
   * 风险解决方案 */
  public void setSolutionPlan(String solutionPlan) {
    this.solutionPlan = solutionPlan;
  }

  /**
   * 应急解决方案 */
  public String getEmergencyPlan() {
    return this.emergencyPlan;
  }

  /**
   * 应急解决方案 */
  public void setEmergencyPlan(String emergencyPlan) {
    this.emergencyPlan = emergencyPlan;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy