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

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

There is a newer version: 0.1.129
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.CertNotConfigForDescribeCertConfigOutput;
import com.volcengine.cdn.model.OtherCertConfigForDescribeCertConfigOutput;
import com.volcengine.cdn.model.SpecifiedCertConfigForDescribeCertConfigOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
 * DescribeCertConfigResponse
 */



public class DescribeCertConfigResponse extends com.volcengine.model.AbstractResponse {
  @SerializedName("CertNotConfig")
  private List certNotConfig = null;

  @SerializedName("OtherCertConfig")
  private List otherCertConfig = null;

  @SerializedName("SpecifiedCertConfig")
  private List specifiedCertConfig = null;

  public DescribeCertConfigResponse certNotConfig(List certNotConfig) {
    this.certNotConfig = certNotConfig;
    return this;
  }

  public DescribeCertConfigResponse addCertNotConfigItem(CertNotConfigForDescribeCertConfigOutput certNotConfigItem) {
    if (this.certNotConfig == null) {
      this.certNotConfig = new ArrayList();
    }
    this.certNotConfig.add(certNotConfigItem);
    return this;
  }

   /**
   * Get certNotConfig
   * @return certNotConfig
  **/
  @Valid
  @Schema(description = "")
  public List getCertNotConfig() {
    return certNotConfig;
  }

  public void setCertNotConfig(List certNotConfig) {
    this.certNotConfig = certNotConfig;
  }

  public DescribeCertConfigResponse otherCertConfig(List otherCertConfig) {
    this.otherCertConfig = otherCertConfig;
    return this;
  }

  public DescribeCertConfigResponse addOtherCertConfigItem(OtherCertConfigForDescribeCertConfigOutput otherCertConfigItem) {
    if (this.otherCertConfig == null) {
      this.otherCertConfig = new ArrayList();
    }
    this.otherCertConfig.add(otherCertConfigItem);
    return this;
  }

   /**
   * Get otherCertConfig
   * @return otherCertConfig
  **/
  @Valid
  @Schema(description = "")
  public List getOtherCertConfig() {
    return otherCertConfig;
  }

  public void setOtherCertConfig(List otherCertConfig) {
    this.otherCertConfig = otherCertConfig;
  }

  public DescribeCertConfigResponse specifiedCertConfig(List specifiedCertConfig) {
    this.specifiedCertConfig = specifiedCertConfig;
    return this;
  }

  public DescribeCertConfigResponse addSpecifiedCertConfigItem(SpecifiedCertConfigForDescribeCertConfigOutput specifiedCertConfigItem) {
    if (this.specifiedCertConfig == null) {
      this.specifiedCertConfig = new ArrayList();
    }
    this.specifiedCertConfig.add(specifiedCertConfigItem);
    return this;
  }

   /**
   * Get specifiedCertConfig
   * @return specifiedCertConfig
  **/
  @Valid
  @Schema(description = "")
  public List getSpecifiedCertConfig() {
    return specifiedCertConfig;
  }

  public void setSpecifiedCertConfig(List specifiedCertConfig) {
    this.specifiedCertConfig = specifiedCertConfig;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DescribeCertConfigResponse describeCertConfigResponse = (DescribeCertConfigResponse) o;
    return Objects.equals(this.certNotConfig, describeCertConfigResponse.certNotConfig) &&
        Objects.equals(this.otherCertConfig, describeCertConfigResponse.otherCertConfig) &&
        Objects.equals(this.specifiedCertConfig, describeCertConfigResponse.specifiedCertConfig);
  }

  @Override
  public int hashCode() {
    return Objects.hash(certNotConfig, otherCertConfig, specifiedCertConfig);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DescribeCertConfigResponse {\n");
    
    sb.append("    certNotConfig: ").append(toIndentedString(certNotConfig)).append("\n");
    sb.append("    otherCertConfig: ").append(toIndentedString(otherCertConfig)).append("\n");
    sb.append("    specifiedCertConfig: ").append(toIndentedString(specifiedCertConfig)).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