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

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

There is a newer version: 0.1.129
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 com.volcengine.waf.model.GroupForListBotAnalyseProtectRuleOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * RuleForListBotAnalyseProtectRuleOutput
 */



public class RuleForListBotAnalyseProtectRuleOutput {
  @SerializedName("AccurateGroup")
  private GroupForListBotAnalyseProtectRuleOutput accurateGroup = null;

  @SerializedName("AccurateGroupPriority")
  private Integer accurateGroupPriority = null;

  @SerializedName("ActionAfterVerification")
  private Integer actionAfterVerification = null;

  @SerializedName("ActionType")
  private Integer actionType = null;

  @SerializedName("EffectTime")
  private Integer effectTime = null;

  @SerializedName("Enable")
  private Integer enable = null;

  @SerializedName("ExemptionTime")
  private Integer exemptionTime = null;

  @SerializedName("Field")
  private String field = null;

  @SerializedName("Host")
  private String host = null;

  @SerializedName("Id")
  private Integer id = null;

  @SerializedName("Name")
  private String name = null;

  @SerializedName("PassRatio")
  private Float passRatio = null;

  @SerializedName("Path")
  private String path = null;

  @SerializedName("PathThreshold")
  private Integer pathThreshold = null;

  @SerializedName("RulePriority")
  private Integer rulePriority = null;

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

  @SerializedName("SingleProportion")
  private String singleProportion = null;

  @SerializedName("SingleThreshold")
  private Integer singleThreshold = null;

  @SerializedName("StatisticalDuration")
  private Integer statisticalDuration = null;

  @SerializedName("StatisticalType")
  private Integer statisticalType = null;

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

  public RuleForListBotAnalyseProtectRuleOutput accurateGroup(GroupForListBotAnalyseProtectRuleOutput accurateGroup) {
    this.accurateGroup = accurateGroup;
    return this;
  }

   /**
   * Get accurateGroup
   * @return accurateGroup
  **/
  @Valid
  @Schema(description = "")
  public GroupForListBotAnalyseProtectRuleOutput getAccurateGroup() {
    return accurateGroup;
  }

  public void setAccurateGroup(GroupForListBotAnalyseProtectRuleOutput accurateGroup) {
    this.accurateGroup = accurateGroup;
  }

  public RuleForListBotAnalyseProtectRuleOutput accurateGroupPriority(Integer accurateGroupPriority) {
    this.accurateGroupPriority = accurateGroupPriority;
    return this;
  }

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

  public void setAccurateGroupPriority(Integer accurateGroupPriority) {
    this.accurateGroupPriority = accurateGroupPriority;
  }

  public RuleForListBotAnalyseProtectRuleOutput actionAfterVerification(Integer actionAfterVerification) {
    this.actionAfterVerification = actionAfterVerification;
    return this;
  }

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

  public void setActionAfterVerification(Integer actionAfterVerification) {
    this.actionAfterVerification = actionAfterVerification;
  }

  public RuleForListBotAnalyseProtectRuleOutput actionType(Integer actionType) {
    this.actionType = actionType;
    return this;
  }

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

  public void setActionType(Integer actionType) {
    this.actionType = actionType;
  }

  public RuleForListBotAnalyseProtectRuleOutput effectTime(Integer effectTime) {
    this.effectTime = effectTime;
    return this;
  }

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

  public void setEffectTime(Integer effectTime) {
    this.effectTime = effectTime;
  }

  public RuleForListBotAnalyseProtectRuleOutput enable(Integer enable) {
    this.enable = enable;
    return this;
  }

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

  public void setEnable(Integer enable) {
    this.enable = enable;
  }

  public RuleForListBotAnalyseProtectRuleOutput exemptionTime(Integer exemptionTime) {
    this.exemptionTime = exemptionTime;
    return this;
  }

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

  public void setExemptionTime(Integer exemptionTime) {
    this.exemptionTime = exemptionTime;
  }

  public RuleForListBotAnalyseProtectRuleOutput field(String field) {
    this.field = field;
    return this;
  }

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

  public void setField(String field) {
    this.field = field;
  }

  public RuleForListBotAnalyseProtectRuleOutput host(String host) {
    this.host = host;
    return this;
  }

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

  public void setHost(String host) {
    this.host = host;
  }

  public RuleForListBotAnalyseProtectRuleOutput id(Integer id) {
    this.id = id;
    return this;
  }

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

  public void setId(Integer id) {
    this.id = id;
  }

  public RuleForListBotAnalyseProtectRuleOutput name(String name) {
    this.name = name;
    return this;
  }

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

  public void setName(String name) {
    this.name = name;
  }

  public RuleForListBotAnalyseProtectRuleOutput passRatio(Float passRatio) {
    this.passRatio = passRatio;
    return this;
  }

   /**
   * Get passRatio
   * @return passRatio
  **/
  @Schema(description = "")
  public Float getPassRatio() {
    return passRatio;
  }

  public void setPassRatio(Float passRatio) {
    this.passRatio = passRatio;
  }

  public RuleForListBotAnalyseProtectRuleOutput path(String path) {
    this.path = path;
    return this;
  }

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

  public void setPath(String path) {
    this.path = path;
  }

  public RuleForListBotAnalyseProtectRuleOutput pathThreshold(Integer pathThreshold) {
    this.pathThreshold = pathThreshold;
    return this;
  }

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

  public void setPathThreshold(Integer pathThreshold) {
    this.pathThreshold = pathThreshold;
  }

  public RuleForListBotAnalyseProtectRuleOutput rulePriority(Integer rulePriority) {
    this.rulePriority = rulePriority;
    return this;
  }

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

  public void setRulePriority(Integer rulePriority) {
    this.rulePriority = rulePriority;
  }

  public RuleForListBotAnalyseProtectRuleOutput 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 RuleForListBotAnalyseProtectRuleOutput singleProportion(String singleProportion) {
    this.singleProportion = singleProportion;
    return this;
  }

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

  public void setSingleProportion(String singleProportion) {
    this.singleProportion = singleProportion;
  }

  public RuleForListBotAnalyseProtectRuleOutput singleThreshold(Integer singleThreshold) {
    this.singleThreshold = singleThreshold;
    return this;
  }

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

  public void setSingleThreshold(Integer singleThreshold) {
    this.singleThreshold = singleThreshold;
  }

  public RuleForListBotAnalyseProtectRuleOutput statisticalDuration(Integer statisticalDuration) {
    this.statisticalDuration = statisticalDuration;
    return this;
  }

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

  public void setStatisticalDuration(Integer statisticalDuration) {
    this.statisticalDuration = statisticalDuration;
  }

  public RuleForListBotAnalyseProtectRuleOutput statisticalType(Integer statisticalType) {
    this.statisticalType = statisticalType;
    return this;
  }

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

  public void setStatisticalType(Integer statisticalType) {
    this.statisticalType = statisticalType;
  }

  public RuleForListBotAnalyseProtectRuleOutput 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;
    }
    RuleForListBotAnalyseProtectRuleOutput ruleForListBotAnalyseProtectRuleOutput = (RuleForListBotAnalyseProtectRuleOutput) o;
    return Objects.equals(this.accurateGroup, ruleForListBotAnalyseProtectRuleOutput.accurateGroup) &&
        Objects.equals(this.accurateGroupPriority, ruleForListBotAnalyseProtectRuleOutput.accurateGroupPriority) &&
        Objects.equals(this.actionAfterVerification, ruleForListBotAnalyseProtectRuleOutput.actionAfterVerification) &&
        Objects.equals(this.actionType, ruleForListBotAnalyseProtectRuleOutput.actionType) &&
        Objects.equals(this.effectTime, ruleForListBotAnalyseProtectRuleOutput.effectTime) &&
        Objects.equals(this.enable, ruleForListBotAnalyseProtectRuleOutput.enable) &&
        Objects.equals(this.exemptionTime, ruleForListBotAnalyseProtectRuleOutput.exemptionTime) &&
        Objects.equals(this.field, ruleForListBotAnalyseProtectRuleOutput.field) &&
        Objects.equals(this.host, ruleForListBotAnalyseProtectRuleOutput.host) &&
        Objects.equals(this.id, ruleForListBotAnalyseProtectRuleOutput.id) &&
        Objects.equals(this.name, ruleForListBotAnalyseProtectRuleOutput.name) &&
        Objects.equals(this.passRatio, ruleForListBotAnalyseProtectRuleOutput.passRatio) &&
        Objects.equals(this.path, ruleForListBotAnalyseProtectRuleOutput.path) &&
        Objects.equals(this.pathThreshold, ruleForListBotAnalyseProtectRuleOutput.pathThreshold) &&
        Objects.equals(this.rulePriority, ruleForListBotAnalyseProtectRuleOutput.rulePriority) &&
        Objects.equals(this.ruleTag, ruleForListBotAnalyseProtectRuleOutput.ruleTag) &&
        Objects.equals(this.singleProportion, ruleForListBotAnalyseProtectRuleOutput.singleProportion) &&
        Objects.equals(this.singleThreshold, ruleForListBotAnalyseProtectRuleOutput.singleThreshold) &&
        Objects.equals(this.statisticalDuration, ruleForListBotAnalyseProtectRuleOutput.statisticalDuration) &&
        Objects.equals(this.statisticalType, ruleForListBotAnalyseProtectRuleOutput.statisticalType) &&
        Objects.equals(this.updateTime, ruleForListBotAnalyseProtectRuleOutput.updateTime);
  }

  @Override
  public int hashCode() {
    return Objects.hash(accurateGroup, accurateGroupPriority, actionAfterVerification, actionType, effectTime, enable, exemptionTime, field, host, id, name, passRatio, path, pathThreshold, rulePriority, ruleTag, singleProportion, singleThreshold, statisticalDuration, statisticalType, updateTime);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class RuleForListBotAnalyseProtectRuleOutput {\n");
    
    sb.append("    accurateGroup: ").append(toIndentedString(accurateGroup)).append("\n");
    sb.append("    accurateGroupPriority: ").append(toIndentedString(accurateGroupPriority)).append("\n");
    sb.append("    actionAfterVerification: ").append(toIndentedString(actionAfterVerification)).append("\n");
    sb.append("    actionType: ").append(toIndentedString(actionType)).append("\n");
    sb.append("    effectTime: ").append(toIndentedString(effectTime)).append("\n");
    sb.append("    enable: ").append(toIndentedString(enable)).append("\n");
    sb.append("    exemptionTime: ").append(toIndentedString(exemptionTime)).append("\n");
    sb.append("    field: ").append(toIndentedString(field)).append("\n");
    sb.append("    host: ").append(toIndentedString(host)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    passRatio: ").append(toIndentedString(passRatio)).append("\n");
    sb.append("    path: ").append(toIndentedString(path)).append("\n");
    sb.append("    pathThreshold: ").append(toIndentedString(pathThreshold)).append("\n");
    sb.append("    rulePriority: ").append(toIndentedString(rulePriority)).append("\n");
    sb.append("    ruleTag: ").append(toIndentedString(ruleTag)).append("\n");
    sb.append("    singleProportion: ").append(toIndentedString(singleProportion)).append("\n");
    sb.append("    singleThreshold: ").append(toIndentedString(singleThreshold)).append("\n");
    sb.append("    statisticalDuration: ").append(toIndentedString(statisticalDuration)).append("\n");
    sb.append("    statisticalType: ").append(toIndentedString(statisticalType)).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