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

com.volcengine.rdsmssql.model.DescribeDBInstanceParametersResponse Maven / Gradle / Ivy

There is a newer version: 0.1.129
Show newest version
/*
 * rds_mssql
 * 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.rdsmssql.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.rdsmssql.model.InstanceParameterForDescribeDBInstanceParametersOutput;
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;
/**
 * DescribeDBInstanceParametersResponse
 */


public class DescribeDBInstanceParametersResponse extends com.volcengine.model.AbstractResponse {
  @SerializedName("DBEngine")
  private String dbEngine = null;

  @SerializedName("DBEngineVersion")
  private String dbEngineVersion = null;

  @SerializedName("InstanceId")
  private String instanceId = null;

  @SerializedName("InstanceParameters")
  private List instanceParameters = null;

  @SerializedName("ParameterCount")
  private Integer parameterCount = null;

  public DescribeDBInstanceParametersResponse dbEngine(String dbEngine) {
    this.dbEngine = dbEngine;
    return this;
  }

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

  public void setDbEngine(String dbEngine) {
    this.dbEngine = dbEngine;
  }

  public DescribeDBInstanceParametersResponse dbEngineVersion(String dbEngineVersion) {
    this.dbEngineVersion = dbEngineVersion;
    return this;
  }

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

  public void setDbEngineVersion(String dbEngineVersion) {
    this.dbEngineVersion = dbEngineVersion;
  }

  public DescribeDBInstanceParametersResponse instanceId(String instanceId) {
    this.instanceId = instanceId;
    return this;
  }

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

  public void setInstanceId(String instanceId) {
    this.instanceId = instanceId;
  }

  public DescribeDBInstanceParametersResponse instanceParameters(List instanceParameters) {
    this.instanceParameters = instanceParameters;
    return this;
  }

  public DescribeDBInstanceParametersResponse addInstanceParametersItem(InstanceParameterForDescribeDBInstanceParametersOutput instanceParametersItem) {
    if (this.instanceParameters == null) {
      this.instanceParameters = new ArrayList();
    }
    this.instanceParameters.add(instanceParametersItem);
    return this;
  }

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

  public void setInstanceParameters(List instanceParameters) {
    this.instanceParameters = instanceParameters;
  }

  public DescribeDBInstanceParametersResponse parameterCount(Integer parameterCount) {
    this.parameterCount = parameterCount;
    return this;
  }

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

  public void setParameterCount(Integer parameterCount) {
    this.parameterCount = parameterCount;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    DescribeDBInstanceParametersResponse describeDBInstanceParametersResponse = (DescribeDBInstanceParametersResponse) o;
    return Objects.equals(this.dbEngine, describeDBInstanceParametersResponse.dbEngine) &&
        Objects.equals(this.dbEngineVersion, describeDBInstanceParametersResponse.dbEngineVersion) &&
        Objects.equals(this.instanceId, describeDBInstanceParametersResponse.instanceId) &&
        Objects.equals(this.instanceParameters, describeDBInstanceParametersResponse.instanceParameters) &&
        Objects.equals(this.parameterCount, describeDBInstanceParametersResponse.parameterCount);
  }

  @Override
  public int hashCode() {
    return Objects.hash(dbEngine, dbEngineVersion, instanceId, instanceParameters, parameterCount);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class DescribeDBInstanceParametersResponse {\n");
    
    sb.append("    dbEngine: ").append(toIndentedString(dbEngine)).append("\n");
    sb.append("    dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n");
    sb.append("    instanceId: ").append(toIndentedString(instanceId)).append("\n");
    sb.append("    instanceParameters: ").append(toIndentedString(instanceParameters)).append("\n");
    sb.append("    parameterCount: ").append(toIndentedString(parameterCount)).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