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

com.volcengine.escloud.model.NodeSpecsAssignForModifyNodeSpecInOneStepInput Maven / Gradle / Ivy

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



public class NodeSpecsAssignForModifyNodeSpecInOneStepInput {
  @SerializedName("ExtraPerformance")
  private ExtraPerformanceForModifyNodeSpecInOneStepInput extraPerformance = null;

  @SerializedName("Number")
  private Integer number = null;

  @SerializedName("ResourceSpecName")
  private String resourceSpecName = null;

  @SerializedName("StorageSize")
  private Integer storageSize = null;

  @SerializedName("StorageSpecName")
  private String storageSpecName = null;

  @SerializedName("Type")
  private String type = null;

  public NodeSpecsAssignForModifyNodeSpecInOneStepInput extraPerformance(ExtraPerformanceForModifyNodeSpecInOneStepInput extraPerformance) {
    this.extraPerformance = extraPerformance;
    return this;
  }

   /**
   * Get extraPerformance
   * @return extraPerformance
  **/
  @Valid
  @Schema(description = "")
  public ExtraPerformanceForModifyNodeSpecInOneStepInput getExtraPerformance() {
    return extraPerformance;
  }

  public void setExtraPerformance(ExtraPerformanceForModifyNodeSpecInOneStepInput extraPerformance) {
    this.extraPerformance = extraPerformance;
  }

  public NodeSpecsAssignForModifyNodeSpecInOneStepInput number(Integer number) {
    this.number = number;
    return this;
  }

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

  public void setNumber(Integer number) {
    this.number = number;
  }

  public NodeSpecsAssignForModifyNodeSpecInOneStepInput resourceSpecName(String resourceSpecName) {
    this.resourceSpecName = resourceSpecName;
    return this;
  }

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

  public void setResourceSpecName(String resourceSpecName) {
    this.resourceSpecName = resourceSpecName;
  }

  public NodeSpecsAssignForModifyNodeSpecInOneStepInput storageSize(Integer storageSize) {
    this.storageSize = storageSize;
    return this;
  }

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

  public void setStorageSize(Integer storageSize) {
    this.storageSize = storageSize;
  }

  public NodeSpecsAssignForModifyNodeSpecInOneStepInput storageSpecName(String storageSpecName) {
    this.storageSpecName = storageSpecName;
    return this;
  }

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

  public void setStorageSpecName(String storageSpecName) {
    this.storageSpecName = storageSpecName;
  }

  public NodeSpecsAssignForModifyNodeSpecInOneStepInput type(String type) {
    this.type = type;
    return this;
  }

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

  public void setType(String type) {
    this.type = type;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    NodeSpecsAssignForModifyNodeSpecInOneStepInput nodeSpecsAssignForModifyNodeSpecInOneStepInput = (NodeSpecsAssignForModifyNodeSpecInOneStepInput) o;
    return Objects.equals(this.extraPerformance, nodeSpecsAssignForModifyNodeSpecInOneStepInput.extraPerformance) &&
        Objects.equals(this.number, nodeSpecsAssignForModifyNodeSpecInOneStepInput.number) &&
        Objects.equals(this.resourceSpecName, nodeSpecsAssignForModifyNodeSpecInOneStepInput.resourceSpecName) &&
        Objects.equals(this.storageSize, nodeSpecsAssignForModifyNodeSpecInOneStepInput.storageSize) &&
        Objects.equals(this.storageSpecName, nodeSpecsAssignForModifyNodeSpecInOneStepInput.storageSpecName) &&
        Objects.equals(this.type, nodeSpecsAssignForModifyNodeSpecInOneStepInput.type);
  }

  @Override
  public int hashCode() {
    return Objects.hash(extraPerformance, number, resourceSpecName, storageSize, storageSpecName, type);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class NodeSpecsAssignForModifyNodeSpecInOneStepInput {\n");
    
    sb.append("    extraPerformance: ").append(toIndentedString(extraPerformance)).append("\n");
    sb.append("    number: ").append(toIndentedString(number)).append("\n");
    sb.append("    resourceSpecName: ").append(toIndentedString(resourceSpecName)).append("\n");
    sb.append("    storageSize: ").append(toIndentedString(storageSize)).append("\n");
    sb.append("    storageSpecName: ").append(toIndentedString(storageSpecName)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).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 - 2025 Weber Informatics LLC | Privacy Policy