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

com.volcengine.vepfs.model.CreateMountServiceRequest Maven / Gradle / Ivy

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


public class CreateMountServiceRequest {
  @SerializedName("MountServiceName")
  private String mountServiceName = null;

  @SerializedName("NodeType")
  private String nodeType = null;

  @SerializedName("Project")
  private String project = null;

  @SerializedName("SubnetId")
  private String subnetId = null;

  @SerializedName("VpcId")
  private String vpcId = null;

  @SerializedName("ZoneId")
  private String zoneId = null;

  public CreateMountServiceRequest mountServiceName(String mountServiceName) {
    this.mountServiceName = mountServiceName;
    return this;
  }

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

  public void setMountServiceName(String mountServiceName) {
    this.mountServiceName = mountServiceName;
  }

  public CreateMountServiceRequest nodeType(String nodeType) {
    this.nodeType = nodeType;
    return this;
  }

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

  public void setNodeType(String nodeType) {
    this.nodeType = nodeType;
  }

  public CreateMountServiceRequest project(String project) {
    this.project = project;
    return this;
  }

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

  public void setProject(String project) {
    this.project = project;
  }

  public CreateMountServiceRequest subnetId(String subnetId) {
    this.subnetId = subnetId;
    return this;
  }

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

  public void setSubnetId(String subnetId) {
    this.subnetId = subnetId;
  }

  public CreateMountServiceRequest vpcId(String vpcId) {
    this.vpcId = vpcId;
    return this;
  }

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

  public void setVpcId(String vpcId) {
    this.vpcId = vpcId;
  }

  public CreateMountServiceRequest zoneId(String zoneId) {
    this.zoneId = zoneId;
    return this;
  }

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

  public void setZoneId(String zoneId) {
    this.zoneId = zoneId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CreateMountServiceRequest createMountServiceRequest = (CreateMountServiceRequest) o;
    return Objects.equals(this.mountServiceName, createMountServiceRequest.mountServiceName) &&
        Objects.equals(this.nodeType, createMountServiceRequest.nodeType) &&
        Objects.equals(this.project, createMountServiceRequest.project) &&
        Objects.equals(this.subnetId, createMountServiceRequest.subnetId) &&
        Objects.equals(this.vpcId, createMountServiceRequest.vpcId) &&
        Objects.equals(this.zoneId, createMountServiceRequest.zoneId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(mountServiceName, nodeType, project, subnetId, vpcId, zoneId);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CreateMountServiceRequest {\n");
    
    sb.append("    mountServiceName: ").append(toIndentedString(mountServiceName)).append("\n");
    sb.append("    nodeType: ").append(toIndentedString(nodeType)).append("\n");
    sb.append("    project: ").append(toIndentedString(project)).append("\n");
    sb.append("    subnetId: ").append(toIndentedString(subnetId)).append("\n");
    sb.append("    vpcId: ").append(toIndentedString(vpcId)).append("\n");
    sb.append("    zoneId: ").append(toIndentedString(zoneId)).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