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

com.volcengine.cdn.model.ListCertInfoRequest Maven / Gradle / Ivy

There is a newer version: 0.1.144
Show newest version
/*
 * cdn
 * 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.cdn.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.cdn.model.SortRuleForListCertInfoInput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * ListCertInfoRequest
 */



public class ListCertInfoRequest {
  @SerializedName("CertId")
  private String certId = null;

  @SerializedName("CertType")
  private String certType = null;

  @SerializedName("ConfiguredDomain")
  private String configuredDomain = null;

  @SerializedName("EncryType")
  private String encryType = null;

  @SerializedName("FuzzyMatch")
  private Boolean fuzzyMatch = null;

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

  @SerializedName("PageNum")
  private Integer pageNum = null;

  @SerializedName("PageSize")
  private Integer pageSize = null;

  @SerializedName("SortRule")
  private SortRuleForListCertInfoInput sortRule = null;

  @SerializedName("Source")
  private String source = null;

  @SerializedName("Status")
  private String status = null;

  public ListCertInfoRequest certId(String certId) {
    this.certId = certId;
    return this;
  }

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

  public void setCertId(String certId) {
    this.certId = certId;
  }

  public ListCertInfoRequest certType(String certType) {
    this.certType = certType;
    return this;
  }

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

  public void setCertType(String certType) {
    this.certType = certType;
  }

  public ListCertInfoRequest configuredDomain(String configuredDomain) {
    this.configuredDomain = configuredDomain;
    return this;
  }

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

  public void setConfiguredDomain(String configuredDomain) {
    this.configuredDomain = configuredDomain;
  }

  public ListCertInfoRequest encryType(String encryType) {
    this.encryType = encryType;
    return this;
  }

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

  public void setEncryType(String encryType) {
    this.encryType = encryType;
  }

  public ListCertInfoRequest fuzzyMatch(Boolean fuzzyMatch) {
    this.fuzzyMatch = fuzzyMatch;
    return this;
  }

   /**
   * Get fuzzyMatch
   * @return fuzzyMatch
  **/
  @Schema(description = "")
  public Boolean isFuzzyMatch() {
    return fuzzyMatch;
  }

  public void setFuzzyMatch(Boolean fuzzyMatch) {
    this.fuzzyMatch = fuzzyMatch;
  }

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

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

  public void setPageNum(Integer pageNum) {
    this.pageNum = pageNum;
  }

  public ListCertInfoRequest pageSize(Integer pageSize) {
    this.pageSize = pageSize;
    return this;
  }

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

  public void setPageSize(Integer pageSize) {
    this.pageSize = pageSize;
  }

  public ListCertInfoRequest sortRule(SortRuleForListCertInfoInput sortRule) {
    this.sortRule = sortRule;
    return this;
  }

   /**
   * Get sortRule
   * @return sortRule
  **/
  @Valid
  @Schema(description = "")
  public SortRuleForListCertInfoInput getSortRule() {
    return sortRule;
  }

  public void setSortRule(SortRuleForListCertInfoInput sortRule) {
    this.sortRule = sortRule;
  }

  public ListCertInfoRequest source(String source) {
    this.source = source;
    return this;
  }

   /**
   * Get source
   * @return source
  **/
  @NotNull
  @Schema(required = true, description = "")
  public String getSource() {
    return source;
  }

  public void setSource(String source) {
    this.source = source;
  }

  public ListCertInfoRequest status(String status) {
    this.status = status;
    return this;
  }

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

  public void setStatus(String status) {
    this.status = status;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ListCertInfoRequest listCertInfoRequest = (ListCertInfoRequest) o;
    return Objects.equals(this.certId, listCertInfoRequest.certId) &&
        Objects.equals(this.certType, listCertInfoRequest.certType) &&
        Objects.equals(this.configuredDomain, listCertInfoRequest.configuredDomain) &&
        Objects.equals(this.encryType, listCertInfoRequest.encryType) &&
        Objects.equals(this.fuzzyMatch, listCertInfoRequest.fuzzyMatch) &&
        Objects.equals(this.name, listCertInfoRequest.name) &&
        Objects.equals(this.pageNum, listCertInfoRequest.pageNum) &&
        Objects.equals(this.pageSize, listCertInfoRequest.pageSize) &&
        Objects.equals(this.sortRule, listCertInfoRequest.sortRule) &&
        Objects.equals(this.source, listCertInfoRequest.source) &&
        Objects.equals(this.status, listCertInfoRequest.status);
  }

  @Override
  public int hashCode() {
    return Objects.hash(certId, certType, configuredDomain, encryType, fuzzyMatch, name, pageNum, pageSize, sortRule, source, status);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ListCertInfoRequest {\n");
    
    sb.append("    certId: ").append(toIndentedString(certId)).append("\n");
    sb.append("    certType: ").append(toIndentedString(certType)).append("\n");
    sb.append("    configuredDomain: ").append(toIndentedString(configuredDomain)).append("\n");
    sb.append("    encryType: ").append(toIndentedString(encryType)).append("\n");
    sb.append("    fuzzyMatch: ").append(toIndentedString(fuzzyMatch)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    pageNum: ").append(toIndentedString(pageNum)).append("\n");
    sb.append("    pageSize: ").append(toIndentedString(pageSize)).append("\n");
    sb.append("    sortRule: ").append(toIndentedString(sortRule)).append("\n");
    sb.append("    source: ").append(toIndentedString(source)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).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