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

com.volcengine.waf.model.RuleDetailForListVulnerabilityRuleOutput Maven / Gradle / Ivy

There is a newer version: 0.1.143
Show newest version
/*
 * waf
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: common-version
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.volcengine.waf.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * RuleDetailForListVulnerabilityRuleOutput
 */



public class RuleDetailForListVulnerabilityRuleOutput {
  @SerializedName("Accuracy")
  private Integer accuracy = null;

  @SerializedName("CVEID")
  private String CVEID = null;

  @SerializedName("CustomSystemRuleSwitch")
  private Integer customSystemRuleSwitch = null;

  @SerializedName("Description")
  private String description = null;

  @SerializedName("RiskLevel")
  private Integer riskLevel = null;

  @SerializedName("RuleID")
  private Integer ruleID = null;

  @SerializedName("RuleName")
  private String ruleName = null;

  @SerializedName("RuleSetName")
  private String ruleSetName = null;

  @SerializedName("RuleTag")
  private String ruleTag = null;

  @SerializedName("RuleType")
  private String ruleType = null;

  @SerializedName("Subcategory")
  private String subcategory = null;

  @SerializedName("UpdateTime")
  private String updateTime = null;

  public RuleDetailForListVulnerabilityRuleOutput accuracy(Integer accuracy) {
    this.accuracy = accuracy;
    return this;
  }

   /**
   * Get accuracy
   * @return accuracy
  **/
  @Schema(description = "")
  public Integer getAccuracy() {
    return accuracy;
  }

  public void setAccuracy(Integer accuracy) {
    this.accuracy = accuracy;
  }

  public RuleDetailForListVulnerabilityRuleOutput CVEID(String CVEID) {
    this.CVEID = CVEID;
    return this;
  }

   /**
   * Get CVEID
   * @return CVEID
  **/
  @Schema(description = "")
  public String getCVEID() {
    return CVEID;
  }

  public void setCVEID(String CVEID) {
    this.CVEID = CVEID;
  }

  public RuleDetailForListVulnerabilityRuleOutput customSystemRuleSwitch(Integer customSystemRuleSwitch) {
    this.customSystemRuleSwitch = customSystemRuleSwitch;
    return this;
  }

   /**
   * Get customSystemRuleSwitch
   * @return customSystemRuleSwitch
  **/
  @Schema(description = "")
  public Integer getCustomSystemRuleSwitch() {
    return customSystemRuleSwitch;
  }

  public void setCustomSystemRuleSwitch(Integer customSystemRuleSwitch) {
    this.customSystemRuleSwitch = customSystemRuleSwitch;
  }

  public RuleDetailForListVulnerabilityRuleOutput description(String description) {
    this.description = description;
    return this;
  }

   /**
   * Get description
   * @return description
  **/
  @Schema(description = "")
  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public RuleDetailForListVulnerabilityRuleOutput riskLevel(Integer riskLevel) {
    this.riskLevel = riskLevel;
    return this;
  }

   /**
   * Get riskLevel
   * @return riskLevel
  **/
  @Schema(description = "")
  public Integer getRiskLevel() {
    return riskLevel;
  }

  public void setRiskLevel(Integer riskLevel) {
    this.riskLevel = riskLevel;
  }

  public RuleDetailForListVulnerabilityRuleOutput ruleID(Integer ruleID) {
    this.ruleID = ruleID;
    return this;
  }

   /**
   * Get ruleID
   * @return ruleID
  **/
  @Schema(description = "")
  public Integer getRuleID() {
    return ruleID;
  }

  public void setRuleID(Integer ruleID) {
    this.ruleID = ruleID;
  }

  public RuleDetailForListVulnerabilityRuleOutput ruleName(String ruleName) {
    this.ruleName = ruleName;
    return this;
  }

   /**
   * Get ruleName
   * @return ruleName
  **/
  @Schema(description = "")
  public String getRuleName() {
    return ruleName;
  }

  public void setRuleName(String ruleName) {
    this.ruleName = ruleName;
  }

  public RuleDetailForListVulnerabilityRuleOutput ruleSetName(String ruleSetName) {
    this.ruleSetName = ruleSetName;
    return this;
  }

   /**
   * Get ruleSetName
   * @return ruleSetName
  **/
  @Schema(description = "")
  public String getRuleSetName() {
    return ruleSetName;
  }

  public void setRuleSetName(String ruleSetName) {
    this.ruleSetName = ruleSetName;
  }

  public RuleDetailForListVulnerabilityRuleOutput ruleTag(String ruleTag) {
    this.ruleTag = ruleTag;
    return this;
  }

   /**
   * Get ruleTag
   * @return ruleTag
  **/
  @Schema(description = "")
  public String getRuleTag() {
    return ruleTag;
  }

  public void setRuleTag(String ruleTag) {
    this.ruleTag = ruleTag;
  }

  public RuleDetailForListVulnerabilityRuleOutput ruleType(String ruleType) {
    this.ruleType = ruleType;
    return this;
  }

   /**
   * Get ruleType
   * @return ruleType
  **/
  @Schema(description = "")
  public String getRuleType() {
    return ruleType;
  }

  public void setRuleType(String ruleType) {
    this.ruleType = ruleType;
  }

  public RuleDetailForListVulnerabilityRuleOutput subcategory(String subcategory) {
    this.subcategory = subcategory;
    return this;
  }

   /**
   * Get subcategory
   * @return subcategory
  **/
  @Schema(description = "")
  public String getSubcategory() {
    return subcategory;
  }

  public void setSubcategory(String subcategory) {
    this.subcategory = subcategory;
  }

  public RuleDetailForListVulnerabilityRuleOutput updateTime(String updateTime) {
    this.updateTime = updateTime;
    return this;
  }

   /**
   * Get updateTime
   * @return updateTime
  **/
  @Schema(description = "")
  public String getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(String updateTime) {
    this.updateTime = updateTime;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    RuleDetailForListVulnerabilityRuleOutput ruleDetailForListVulnerabilityRuleOutput = (RuleDetailForListVulnerabilityRuleOutput) o;
    return Objects.equals(this.accuracy, ruleDetailForListVulnerabilityRuleOutput.accuracy) &&
        Objects.equals(this.CVEID, ruleDetailForListVulnerabilityRuleOutput.CVEID) &&
        Objects.equals(this.customSystemRuleSwitch, ruleDetailForListVulnerabilityRuleOutput.customSystemRuleSwitch) &&
        Objects.equals(this.description, ruleDetailForListVulnerabilityRuleOutput.description) &&
        Objects.equals(this.riskLevel, ruleDetailForListVulnerabilityRuleOutput.riskLevel) &&
        Objects.equals(this.ruleID, ruleDetailForListVulnerabilityRuleOutput.ruleID) &&
        Objects.equals(this.ruleName, ruleDetailForListVulnerabilityRuleOutput.ruleName) &&
        Objects.equals(this.ruleSetName, ruleDetailForListVulnerabilityRuleOutput.ruleSetName) &&
        Objects.equals(this.ruleTag, ruleDetailForListVulnerabilityRuleOutput.ruleTag) &&
        Objects.equals(this.ruleType, ruleDetailForListVulnerabilityRuleOutput.ruleType) &&
        Objects.equals(this.subcategory, ruleDetailForListVulnerabilityRuleOutput.subcategory) &&
        Objects.equals(this.updateTime, ruleDetailForListVulnerabilityRuleOutput.updateTime);
  }

  @Override
  public int hashCode() {
    return Objects.hash(accuracy, CVEID, customSystemRuleSwitch, description, riskLevel, ruleID, ruleName, ruleSetName, ruleTag, ruleType, subcategory, updateTime);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class RuleDetailForListVulnerabilityRuleOutput {\n");
    
    sb.append("    accuracy: ").append(toIndentedString(accuracy)).append("\n");
    sb.append("    CVEID: ").append(toIndentedString(CVEID)).append("\n");
    sb.append("    customSystemRuleSwitch: ").append(toIndentedString(customSystemRuleSwitch)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    riskLevel: ").append(toIndentedString(riskLevel)).append("\n");
    sb.append("    ruleID: ").append(toIndentedString(ruleID)).append("\n");
    sb.append("    ruleName: ").append(toIndentedString(ruleName)).append("\n");
    sb.append("    ruleSetName: ").append(toIndentedString(ruleSetName)).append("\n");
    sb.append("    ruleTag: ").append(toIndentedString(ruleTag)).append("\n");
    sb.append("    ruleType: ").append(toIndentedString(ruleType)).append("\n");
    sb.append("    subcategory: ").append(toIndentedString(subcategory)).append("\n");
    sb.append("    updateTime: ").append(toIndentedString(updateTime)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy