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

com.volcengine.waf.model.DataForListCustomPageOutput 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 com.volcengine.waf.model.AccurateForListCustomPageOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * DataForListCustomPageOutput
 */



public class DataForListCustomPageOutput {
  @SerializedName("Accurate")
  private AccurateForListCustomPageOutput accurate = null;

  @SerializedName("Advanced")
  private Integer advanced = null;

  @SerializedName("Body")
  private String body = null;

  @SerializedName("ClientIp")
  private String clientIp = null;

  @SerializedName("Code")
  private String code = null;

  @SerializedName("ContentType")
  private String contentType = null;

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

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

  @SerializedName("GroupId")
  private Integer groupId = null;

  @SerializedName("Header")
  private String header = null;

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

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

  @SerializedName("IsolationId")
  private String isolationId = null;

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

  @SerializedName("PageMode")
  private Integer pageMode = null;

  @SerializedName("Policy")
  private Integer policy = null;

  @SerializedName("RedirectUrl")
  private String redirectUrl = null;

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

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

  @SerializedName("Url")
  private String url = null;

  public DataForListCustomPageOutput accurate(AccurateForListCustomPageOutput accurate) {
    this.accurate = accurate;
    return this;
  }

   /**
   * Get accurate
   * @return accurate
  **/
  @Valid
  @Schema(description = "")
  public AccurateForListCustomPageOutput getAccurate() {
    return accurate;
  }

  public void setAccurate(AccurateForListCustomPageOutput accurate) {
    this.accurate = accurate;
  }

  public DataForListCustomPageOutput advanced(Integer advanced) {
    this.advanced = advanced;
    return this;
  }

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

  public void setAdvanced(Integer advanced) {
    this.advanced = advanced;
  }

  public DataForListCustomPageOutput body(String body) {
    this.body = body;
    return this;
  }

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

  public void setBody(String body) {
    this.body = body;
  }

  public DataForListCustomPageOutput clientIp(String clientIp) {
    this.clientIp = clientIp;
    return this;
  }

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

  public void setClientIp(String clientIp) {
    this.clientIp = clientIp;
  }

  public DataForListCustomPageOutput code(String code) {
    this.code = code;
    return this;
  }

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

  public void setCode(String code) {
    this.code = code;
  }

  public DataForListCustomPageOutput contentType(String contentType) {
    this.contentType = contentType;
    return this;
  }

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

  public void setContentType(String contentType) {
    this.contentType = contentType;
  }

  public DataForListCustomPageOutput 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 DataForListCustomPageOutput 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 DataForListCustomPageOutput groupId(Integer groupId) {
    this.groupId = groupId;
    return this;
  }

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

  public void setGroupId(Integer groupId) {
    this.groupId = groupId;
  }

  public DataForListCustomPageOutput header(String header) {
    this.header = header;
    return this;
  }

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

  public void setHeader(String header) {
    this.header = header;
  }

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

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

  public void setIsolationId(String isolationId) {
    this.isolationId = isolationId;
  }

  public DataForListCustomPageOutput 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 DataForListCustomPageOutput pageMode(Integer pageMode) {
    this.pageMode = pageMode;
    return this;
  }

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

  public void setPageMode(Integer pageMode) {
    this.pageMode = pageMode;
  }

  public DataForListCustomPageOutput policy(Integer policy) {
    this.policy = policy;
    return this;
  }

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

  public void setPolicy(Integer policy) {
    this.policy = policy;
  }

  public DataForListCustomPageOutput redirectUrl(String redirectUrl) {
    this.redirectUrl = redirectUrl;
    return this;
  }

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

  public void setRedirectUrl(String redirectUrl) {
    this.redirectUrl = redirectUrl;
  }

  public DataForListCustomPageOutput 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 DataForListCustomPageOutput 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;
  }

  public DataForListCustomPageOutput url(String url) {
    this.url = url;
    return this;
  }

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

  public void setUrl(String url) {
    this.url = url;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DataForListCustomPageOutput dataForListCustomPageOutput = (DataForListCustomPageOutput) o;
    return Objects.equals(this.accurate, dataForListCustomPageOutput.accurate) &&
        Objects.equals(this.advanced, dataForListCustomPageOutput.advanced) &&
        Objects.equals(this.body, dataForListCustomPageOutput.body) &&
        Objects.equals(this.clientIp, dataForListCustomPageOutput.clientIp) &&
        Objects.equals(this.code, dataForListCustomPageOutput.code) &&
        Objects.equals(this.contentType, dataForListCustomPageOutput.contentType) &&
        Objects.equals(this.description, dataForListCustomPageOutput.description) &&
        Objects.equals(this.enable, dataForListCustomPageOutput.enable) &&
        Objects.equals(this.groupId, dataForListCustomPageOutput.groupId) &&
        Objects.equals(this.header, dataForListCustomPageOutput.header) &&
        Objects.equals(this.host, dataForListCustomPageOutput.host) &&
        Objects.equals(this.id, dataForListCustomPageOutput.id) &&
        Objects.equals(this.isolationId, dataForListCustomPageOutput.isolationId) &&
        Objects.equals(this.name, dataForListCustomPageOutput.name) &&
        Objects.equals(this.pageMode, dataForListCustomPageOutput.pageMode) &&
        Objects.equals(this.policy, dataForListCustomPageOutput.policy) &&
        Objects.equals(this.redirectUrl, dataForListCustomPageOutput.redirectUrl) &&
        Objects.equals(this.ruleTag, dataForListCustomPageOutput.ruleTag) &&
        Objects.equals(this.updateTime, dataForListCustomPageOutput.updateTime) &&
        Objects.equals(this.url, dataForListCustomPageOutput.url);
  }

  @Override
  public int hashCode() {
    return Objects.hash(accurate, advanced, body, clientIp, code, contentType, description, enable, groupId, header, host, id, isolationId, name, pageMode, policy, redirectUrl, ruleTag, updateTime, url);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DataForListCustomPageOutput {\n");
    
    sb.append("    accurate: ").append(toIndentedString(accurate)).append("\n");
    sb.append("    advanced: ").append(toIndentedString(advanced)).append("\n");
    sb.append("    body: ").append(toIndentedString(body)).append("\n");
    sb.append("    clientIp: ").append(toIndentedString(clientIp)).append("\n");
    sb.append("    code: ").append(toIndentedString(code)).append("\n");
    sb.append("    contentType: ").append(toIndentedString(contentType)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    enable: ").append(toIndentedString(enable)).append("\n");
    sb.append("    groupId: ").append(toIndentedString(groupId)).append("\n");
    sb.append("    header: ").append(toIndentedString(header)).append("\n");
    sb.append("    host: ").append(toIndentedString(host)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    isolationId: ").append(toIndentedString(isolationId)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    pageMode: ").append(toIndentedString(pageMode)).append("\n");
    sb.append("    policy: ").append(toIndentedString(policy)).append("\n");
    sb.append("    redirectUrl: ").append(toIndentedString(redirectUrl)).append("\n");
    sb.append("    ruleTag: ").append(toIndentedString(ruleTag)).append("\n");
    sb.append("    updateTime: ").append(toIndentedString(updateTime)).append("\n");
    sb.append("    url: ").append(toIndentedString(url)).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