All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.volcengine.waf.model.UpdateWafServiceControlRequest Maven / Gradle / Ivy
/*
* 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;
/**
* UpdateWafServiceControlRequest
*/
public class UpdateWafServiceControlRequest {
@SerializedName("ApiEnable")
private Integer apiEnable = null;
@SerializedName("AutoCCEnable")
private Integer autoCCEnable = null;
@SerializedName("BlackIpEnable")
private Integer blackIpEnable = null;
@SerializedName("BlackLctEnable")
private Integer blackLctEnable = null;
@SerializedName("BotDytokenEnable")
private String botDytokenEnable = null;
@SerializedName("BotFrequencyEnable")
private Integer botFrequencyEnable = null;
@SerializedName("BotRepeatEnable")
private Integer botRepeatEnable = null;
@SerializedName("BotSequenceDefaultAction")
private Integer botSequenceDefaultAction = null;
@SerializedName("BotSequenceEnable")
private Integer botSequenceEnable = null;
@SerializedName("CcEnable")
private Integer ccEnable = null;
@SerializedName("CustomBotEnable")
private Integer customBotEnable = null;
@SerializedName("CustomRspEnable")
private Integer customRspEnable = null;
@SerializedName("DlpEnable")
private Integer dlpEnable = null;
@SerializedName("Host")
private String host = null;
@SerializedName("SystemBotEnable")
private Integer systemBotEnable = null;
@SerializedName("TLSEnable")
private Integer tlSEnable = null;
@SerializedName("TamperProofEnable")
private Integer tamperProofEnable = null;
@SerializedName("WafEnable")
private Integer wafEnable = null;
@SerializedName("WafWhiteReqEnable")
private Integer wafWhiteReqEnable = null;
@SerializedName("WhiteEnable")
private Integer whiteEnable = null;
@SerializedName("WhiteFieldEnable")
private Integer whiteFieldEnable = null;
public UpdateWafServiceControlRequest apiEnable(Integer apiEnable) {
this.apiEnable = apiEnable;
return this;
}
/**
* Get apiEnable
* @return apiEnable
**/
@Schema(description = "")
public Integer getApiEnable() {
return apiEnable;
}
public void setApiEnable(Integer apiEnable) {
this.apiEnable = apiEnable;
}
public UpdateWafServiceControlRequest autoCCEnable(Integer autoCCEnable) {
this.autoCCEnable = autoCCEnable;
return this;
}
/**
* Get autoCCEnable
* @return autoCCEnable
**/
@Schema(description = "")
public Integer getAutoCCEnable() {
return autoCCEnable;
}
public void setAutoCCEnable(Integer autoCCEnable) {
this.autoCCEnable = autoCCEnable;
}
public UpdateWafServiceControlRequest blackIpEnable(Integer blackIpEnable) {
this.blackIpEnable = blackIpEnable;
return this;
}
/**
* Get blackIpEnable
* @return blackIpEnable
**/
@Schema(description = "")
public Integer getBlackIpEnable() {
return blackIpEnable;
}
public void setBlackIpEnable(Integer blackIpEnable) {
this.blackIpEnable = blackIpEnable;
}
public UpdateWafServiceControlRequest blackLctEnable(Integer blackLctEnable) {
this.blackLctEnable = blackLctEnable;
return this;
}
/**
* Get blackLctEnable
* @return blackLctEnable
**/
@Schema(description = "")
public Integer getBlackLctEnable() {
return blackLctEnable;
}
public void setBlackLctEnable(Integer blackLctEnable) {
this.blackLctEnable = blackLctEnable;
}
public UpdateWafServiceControlRequest botDytokenEnable(String botDytokenEnable) {
this.botDytokenEnable = botDytokenEnable;
return this;
}
/**
* Get botDytokenEnable
* @return botDytokenEnable
**/
@Schema(description = "")
public String getBotDytokenEnable() {
return botDytokenEnable;
}
public void setBotDytokenEnable(String botDytokenEnable) {
this.botDytokenEnable = botDytokenEnable;
}
public UpdateWafServiceControlRequest botFrequencyEnable(Integer botFrequencyEnable) {
this.botFrequencyEnable = botFrequencyEnable;
return this;
}
/**
* Get botFrequencyEnable
* @return botFrequencyEnable
**/
@Schema(description = "")
public Integer getBotFrequencyEnable() {
return botFrequencyEnable;
}
public void setBotFrequencyEnable(Integer botFrequencyEnable) {
this.botFrequencyEnable = botFrequencyEnable;
}
public UpdateWafServiceControlRequest botRepeatEnable(Integer botRepeatEnable) {
this.botRepeatEnable = botRepeatEnable;
return this;
}
/**
* Get botRepeatEnable
* @return botRepeatEnable
**/
@Schema(description = "")
public Integer getBotRepeatEnable() {
return botRepeatEnable;
}
public void setBotRepeatEnable(Integer botRepeatEnable) {
this.botRepeatEnable = botRepeatEnable;
}
public UpdateWafServiceControlRequest botSequenceDefaultAction(Integer botSequenceDefaultAction) {
this.botSequenceDefaultAction = botSequenceDefaultAction;
return this;
}
/**
* Get botSequenceDefaultAction
* @return botSequenceDefaultAction
**/
@Schema(description = "")
public Integer getBotSequenceDefaultAction() {
return botSequenceDefaultAction;
}
public void setBotSequenceDefaultAction(Integer botSequenceDefaultAction) {
this.botSequenceDefaultAction = botSequenceDefaultAction;
}
public UpdateWafServiceControlRequest botSequenceEnable(Integer botSequenceEnable) {
this.botSequenceEnable = botSequenceEnable;
return this;
}
/**
* Get botSequenceEnable
* @return botSequenceEnable
**/
@Schema(description = "")
public Integer getBotSequenceEnable() {
return botSequenceEnable;
}
public void setBotSequenceEnable(Integer botSequenceEnable) {
this.botSequenceEnable = botSequenceEnable;
}
public UpdateWafServiceControlRequest ccEnable(Integer ccEnable) {
this.ccEnable = ccEnable;
return this;
}
/**
* Get ccEnable
* @return ccEnable
**/
@Schema(description = "")
public Integer getCcEnable() {
return ccEnable;
}
public void setCcEnable(Integer ccEnable) {
this.ccEnable = ccEnable;
}
public UpdateWafServiceControlRequest customBotEnable(Integer customBotEnable) {
this.customBotEnable = customBotEnable;
return this;
}
/**
* Get customBotEnable
* @return customBotEnable
**/
@Schema(description = "")
public Integer getCustomBotEnable() {
return customBotEnable;
}
public void setCustomBotEnable(Integer customBotEnable) {
this.customBotEnable = customBotEnable;
}
public UpdateWafServiceControlRequest customRspEnable(Integer customRspEnable) {
this.customRspEnable = customRspEnable;
return this;
}
/**
* Get customRspEnable
* @return customRspEnable
**/
@Schema(description = "")
public Integer getCustomRspEnable() {
return customRspEnable;
}
public void setCustomRspEnable(Integer customRspEnable) {
this.customRspEnable = customRspEnable;
}
public UpdateWafServiceControlRequest dlpEnable(Integer dlpEnable) {
this.dlpEnable = dlpEnable;
return this;
}
/**
* Get dlpEnable
* @return dlpEnable
**/
@Schema(description = "")
public Integer getDlpEnable() {
return dlpEnable;
}
public void setDlpEnable(Integer dlpEnable) {
this.dlpEnable = dlpEnable;
}
public UpdateWafServiceControlRequest host(String host) {
this.host = host;
return this;
}
/**
* Get host
* @return host
**/
@NotNull
@Schema(required = true, description = "")
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
public UpdateWafServiceControlRequest systemBotEnable(Integer systemBotEnable) {
this.systemBotEnable = systemBotEnable;
return this;
}
/**
* Get systemBotEnable
* @return systemBotEnable
**/
@Schema(description = "")
public Integer getSystemBotEnable() {
return systemBotEnable;
}
public void setSystemBotEnable(Integer systemBotEnable) {
this.systemBotEnable = systemBotEnable;
}
public UpdateWafServiceControlRequest tlSEnable(Integer tlSEnable) {
this.tlSEnable = tlSEnable;
return this;
}
/**
* Get tlSEnable
* @return tlSEnable
**/
@Schema(description = "")
public Integer getTlSEnable() {
return tlSEnable;
}
public void setTlSEnable(Integer tlSEnable) {
this.tlSEnable = tlSEnable;
}
public UpdateWafServiceControlRequest tamperProofEnable(Integer tamperProofEnable) {
this.tamperProofEnable = tamperProofEnable;
return this;
}
/**
* Get tamperProofEnable
* @return tamperProofEnable
**/
@Schema(description = "")
public Integer getTamperProofEnable() {
return tamperProofEnable;
}
public void setTamperProofEnable(Integer tamperProofEnable) {
this.tamperProofEnable = tamperProofEnable;
}
public UpdateWafServiceControlRequest wafEnable(Integer wafEnable) {
this.wafEnable = wafEnable;
return this;
}
/**
* Get wafEnable
* @return wafEnable
**/
@Schema(description = "")
public Integer getWafEnable() {
return wafEnable;
}
public void setWafEnable(Integer wafEnable) {
this.wafEnable = wafEnable;
}
public UpdateWafServiceControlRequest wafWhiteReqEnable(Integer wafWhiteReqEnable) {
this.wafWhiteReqEnable = wafWhiteReqEnable;
return this;
}
/**
* Get wafWhiteReqEnable
* @return wafWhiteReqEnable
**/
@Schema(description = "")
public Integer getWafWhiteReqEnable() {
return wafWhiteReqEnable;
}
public void setWafWhiteReqEnable(Integer wafWhiteReqEnable) {
this.wafWhiteReqEnable = wafWhiteReqEnable;
}
public UpdateWafServiceControlRequest whiteEnable(Integer whiteEnable) {
this.whiteEnable = whiteEnable;
return this;
}
/**
* Get whiteEnable
* @return whiteEnable
**/
@Schema(description = "")
public Integer getWhiteEnable() {
return whiteEnable;
}
public void setWhiteEnable(Integer whiteEnable) {
this.whiteEnable = whiteEnable;
}
public UpdateWafServiceControlRequest whiteFieldEnable(Integer whiteFieldEnable) {
this.whiteFieldEnable = whiteFieldEnable;
return this;
}
/**
* Get whiteFieldEnable
* @return whiteFieldEnable
**/
@Schema(description = "")
public Integer getWhiteFieldEnable() {
return whiteFieldEnable;
}
public void setWhiteFieldEnable(Integer whiteFieldEnable) {
this.whiteFieldEnable = whiteFieldEnable;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UpdateWafServiceControlRequest updateWafServiceControlRequest = (UpdateWafServiceControlRequest) o;
return Objects.equals(this.apiEnable, updateWafServiceControlRequest.apiEnable) &&
Objects.equals(this.autoCCEnable, updateWafServiceControlRequest.autoCCEnable) &&
Objects.equals(this.blackIpEnable, updateWafServiceControlRequest.blackIpEnable) &&
Objects.equals(this.blackLctEnable, updateWafServiceControlRequest.blackLctEnable) &&
Objects.equals(this.botDytokenEnable, updateWafServiceControlRequest.botDytokenEnable) &&
Objects.equals(this.botFrequencyEnable, updateWafServiceControlRequest.botFrequencyEnable) &&
Objects.equals(this.botRepeatEnable, updateWafServiceControlRequest.botRepeatEnable) &&
Objects.equals(this.botSequenceDefaultAction, updateWafServiceControlRequest.botSequenceDefaultAction) &&
Objects.equals(this.botSequenceEnable, updateWafServiceControlRequest.botSequenceEnable) &&
Objects.equals(this.ccEnable, updateWafServiceControlRequest.ccEnable) &&
Objects.equals(this.customBotEnable, updateWafServiceControlRequest.customBotEnable) &&
Objects.equals(this.customRspEnable, updateWafServiceControlRequest.customRspEnable) &&
Objects.equals(this.dlpEnable, updateWafServiceControlRequest.dlpEnable) &&
Objects.equals(this.host, updateWafServiceControlRequest.host) &&
Objects.equals(this.systemBotEnable, updateWafServiceControlRequest.systemBotEnable) &&
Objects.equals(this.tlSEnable, updateWafServiceControlRequest.tlSEnable) &&
Objects.equals(this.tamperProofEnable, updateWafServiceControlRequest.tamperProofEnable) &&
Objects.equals(this.wafEnable, updateWafServiceControlRequest.wafEnable) &&
Objects.equals(this.wafWhiteReqEnable, updateWafServiceControlRequest.wafWhiteReqEnable) &&
Objects.equals(this.whiteEnable, updateWafServiceControlRequest.whiteEnable) &&
Objects.equals(this.whiteFieldEnable, updateWafServiceControlRequest.whiteFieldEnable);
}
@Override
public int hashCode() {
return Objects.hash(apiEnable, autoCCEnable, blackIpEnable, blackLctEnable, botDytokenEnable, botFrequencyEnable, botRepeatEnable, botSequenceDefaultAction, botSequenceEnable, ccEnable, customBotEnable, customRspEnable, dlpEnable, host, systemBotEnable, tlSEnable, tamperProofEnable, wafEnable, wafWhiteReqEnable, whiteEnable, whiteFieldEnable);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UpdateWafServiceControlRequest {\n");
sb.append(" apiEnable: ").append(toIndentedString(apiEnable)).append("\n");
sb.append(" autoCCEnable: ").append(toIndentedString(autoCCEnable)).append("\n");
sb.append(" blackIpEnable: ").append(toIndentedString(blackIpEnable)).append("\n");
sb.append(" blackLctEnable: ").append(toIndentedString(blackLctEnable)).append("\n");
sb.append(" botDytokenEnable: ").append(toIndentedString(botDytokenEnable)).append("\n");
sb.append(" botFrequencyEnable: ").append(toIndentedString(botFrequencyEnable)).append("\n");
sb.append(" botRepeatEnable: ").append(toIndentedString(botRepeatEnable)).append("\n");
sb.append(" botSequenceDefaultAction: ").append(toIndentedString(botSequenceDefaultAction)).append("\n");
sb.append(" botSequenceEnable: ").append(toIndentedString(botSequenceEnable)).append("\n");
sb.append(" ccEnable: ").append(toIndentedString(ccEnable)).append("\n");
sb.append(" customBotEnable: ").append(toIndentedString(customBotEnable)).append("\n");
sb.append(" customRspEnable: ").append(toIndentedString(customRspEnable)).append("\n");
sb.append(" dlpEnable: ").append(toIndentedString(dlpEnable)).append("\n");
sb.append(" host: ").append(toIndentedString(host)).append("\n");
sb.append(" systemBotEnable: ").append(toIndentedString(systemBotEnable)).append("\n");
sb.append(" tlSEnable: ").append(toIndentedString(tlSEnable)).append("\n");
sb.append(" tamperProofEnable: ").append(toIndentedString(tamperProofEnable)).append("\n");
sb.append(" wafEnable: ").append(toIndentedString(wafEnable)).append("\n");
sb.append(" wafWhiteReqEnable: ").append(toIndentedString(wafWhiteReqEnable)).append("\n");
sb.append(" whiteEnable: ").append(toIndentedString(whiteEnable)).append("\n");
sb.append(" whiteFieldEnable: ").append(toIndentedString(whiteFieldEnable)).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 ");
}
}