com.volcengine.vepfs.model.MountServiceForDescribeMountServicesOutput Maven / Gradle / Ivy
/*
* 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 com.volcengine.vepfs.model.AttachFileSystemForDescribeMountServicesOutput;
import com.volcengine.vepfs.model.NodeForDescribeMountServicesOutput;
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;
/**
* MountServiceForDescribeMountServicesOutput
*/
public class MountServiceForDescribeMountServicesOutput {
@SerializedName("AccountId")
private String accountId = null;
@SerializedName("AttachFileSystems")
private List attachFileSystems = null;
@SerializedName("CreateTime")
private String createTime = null;
@SerializedName("MountServiceId")
private String mountServiceId = null;
@SerializedName("MountServiceName")
private String mountServiceName = null;
@SerializedName("Nodes")
private List nodes = null;
@SerializedName("Project")
private String project = null;
@SerializedName("RegionId")
private String regionId = null;
@SerializedName("SecondarySecurityGroupId")
private String secondarySecurityGroupId = null;
@SerializedName("SecondarySubnetId")
private String secondarySubnetId = null;
@SerializedName("SecondaryVpcId")
private String secondaryVpcId = null;
@SerializedName("SecurityGroupId")
private String securityGroupId = null;
@SerializedName("Status")
private String status = null;
@SerializedName("SubnetId")
private String subnetId = null;
@SerializedName("SubnetName")
private String subnetName = null;
@SerializedName("Version")
private String version = null;
@SerializedName("VpcId")
private String vpcId = null;
@SerializedName("VpcName")
private String vpcName = null;
@SerializedName("ZoneId")
private String zoneId = null;
@SerializedName("ZoneName")
private String zoneName = null;
public MountServiceForDescribeMountServicesOutput accountId(String accountId) {
this.accountId = accountId;
return this;
}
/**
* Get accountId
* @return accountId
**/
@Schema(description = "")
public String getAccountId() {
return accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public MountServiceForDescribeMountServicesOutput attachFileSystems(List attachFileSystems) {
this.attachFileSystems = attachFileSystems;
return this;
}
public MountServiceForDescribeMountServicesOutput addAttachFileSystemsItem(AttachFileSystemForDescribeMountServicesOutput attachFileSystemsItem) {
if (this.attachFileSystems == null) {
this.attachFileSystems = new ArrayList();
}
this.attachFileSystems.add(attachFileSystemsItem);
return this;
}
/**
* Get attachFileSystems
* @return attachFileSystems
**/
@Valid
@Schema(description = "")
public List getAttachFileSystems() {
return attachFileSystems;
}
public void setAttachFileSystems(List attachFileSystems) {
this.attachFileSystems = attachFileSystems;
}
public MountServiceForDescribeMountServicesOutput createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Get createTime
* @return createTime
**/
@Schema(description = "")
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public MountServiceForDescribeMountServicesOutput mountServiceId(String mountServiceId) {
this.mountServiceId = mountServiceId;
return this;
}
/**
* Get mountServiceId
* @return mountServiceId
**/
@Schema(description = "")
public String getMountServiceId() {
return mountServiceId;
}
public void setMountServiceId(String mountServiceId) {
this.mountServiceId = mountServiceId;
}
public MountServiceForDescribeMountServicesOutput 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 MountServiceForDescribeMountServicesOutput nodes(List nodes) {
this.nodes = nodes;
return this;
}
public MountServiceForDescribeMountServicesOutput addNodesItem(NodeForDescribeMountServicesOutput nodesItem) {
if (this.nodes == null) {
this.nodes = new ArrayList();
}
this.nodes.add(nodesItem);
return this;
}
/**
* Get nodes
* @return nodes
**/
@Valid
@Schema(description = "")
public List getNodes() {
return nodes;
}
public void setNodes(List nodes) {
this.nodes = nodes;
}
public MountServiceForDescribeMountServicesOutput 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 MountServiceForDescribeMountServicesOutput regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* Get regionId
* @return regionId
**/
@Schema(description = "")
public String getRegionId() {
return regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public MountServiceForDescribeMountServicesOutput secondarySecurityGroupId(String secondarySecurityGroupId) {
this.secondarySecurityGroupId = secondarySecurityGroupId;
return this;
}
/**
* Get secondarySecurityGroupId
* @return secondarySecurityGroupId
**/
@Schema(description = "")
public String getSecondarySecurityGroupId() {
return secondarySecurityGroupId;
}
public void setSecondarySecurityGroupId(String secondarySecurityGroupId) {
this.secondarySecurityGroupId = secondarySecurityGroupId;
}
public MountServiceForDescribeMountServicesOutput secondarySubnetId(String secondarySubnetId) {
this.secondarySubnetId = secondarySubnetId;
return this;
}
/**
* Get secondarySubnetId
* @return secondarySubnetId
**/
@Schema(description = "")
public String getSecondarySubnetId() {
return secondarySubnetId;
}
public void setSecondarySubnetId(String secondarySubnetId) {
this.secondarySubnetId = secondarySubnetId;
}
public MountServiceForDescribeMountServicesOutput secondaryVpcId(String secondaryVpcId) {
this.secondaryVpcId = secondaryVpcId;
return this;
}
/**
* Get secondaryVpcId
* @return secondaryVpcId
**/
@Schema(description = "")
public String getSecondaryVpcId() {
return secondaryVpcId;
}
public void setSecondaryVpcId(String secondaryVpcId) {
this.secondaryVpcId = secondaryVpcId;
}
public MountServiceForDescribeMountServicesOutput securityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
return this;
}
/**
* Get securityGroupId
* @return securityGroupId
**/
@Schema(description = "")
public String getSecurityGroupId() {
return securityGroupId;
}
public void setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
}
public MountServiceForDescribeMountServicesOutput 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;
}
public MountServiceForDescribeMountServicesOutput 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 MountServiceForDescribeMountServicesOutput subnetName(String subnetName) {
this.subnetName = subnetName;
return this;
}
/**
* Get subnetName
* @return subnetName
**/
@Schema(description = "")
public String getSubnetName() {
return subnetName;
}
public void setSubnetName(String subnetName) {
this.subnetName = subnetName;
}
public MountServiceForDescribeMountServicesOutput version(String version) {
this.version = version;
return this;
}
/**
* Get version
* @return version
**/
@Schema(description = "")
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public MountServiceForDescribeMountServicesOutput 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 MountServiceForDescribeMountServicesOutput vpcName(String vpcName) {
this.vpcName = vpcName;
return this;
}
/**
* Get vpcName
* @return vpcName
**/
@Schema(description = "")
public String getVpcName() {
return vpcName;
}
public void setVpcName(String vpcName) {
this.vpcName = vpcName;
}
public MountServiceForDescribeMountServicesOutput 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;
}
public MountServiceForDescribeMountServicesOutput zoneName(String zoneName) {
this.zoneName = zoneName;
return this;
}
/**
* Get zoneName
* @return zoneName
**/
@Schema(description = "")
public String getZoneName() {
return zoneName;
}
public void setZoneName(String zoneName) {
this.zoneName = zoneName;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MountServiceForDescribeMountServicesOutput mountServiceForDescribeMountServicesOutput = (MountServiceForDescribeMountServicesOutput) o;
return Objects.equals(this.accountId, mountServiceForDescribeMountServicesOutput.accountId) &&
Objects.equals(this.attachFileSystems, mountServiceForDescribeMountServicesOutput.attachFileSystems) &&
Objects.equals(this.createTime, mountServiceForDescribeMountServicesOutput.createTime) &&
Objects.equals(this.mountServiceId, mountServiceForDescribeMountServicesOutput.mountServiceId) &&
Objects.equals(this.mountServiceName, mountServiceForDescribeMountServicesOutput.mountServiceName) &&
Objects.equals(this.nodes, mountServiceForDescribeMountServicesOutput.nodes) &&
Objects.equals(this.project, mountServiceForDescribeMountServicesOutput.project) &&
Objects.equals(this.regionId, mountServiceForDescribeMountServicesOutput.regionId) &&
Objects.equals(this.secondarySecurityGroupId, mountServiceForDescribeMountServicesOutput.secondarySecurityGroupId) &&
Objects.equals(this.secondarySubnetId, mountServiceForDescribeMountServicesOutput.secondarySubnetId) &&
Objects.equals(this.secondaryVpcId, mountServiceForDescribeMountServicesOutput.secondaryVpcId) &&
Objects.equals(this.securityGroupId, mountServiceForDescribeMountServicesOutput.securityGroupId) &&
Objects.equals(this.status, mountServiceForDescribeMountServicesOutput.status) &&
Objects.equals(this.subnetId, mountServiceForDescribeMountServicesOutput.subnetId) &&
Objects.equals(this.subnetName, mountServiceForDescribeMountServicesOutput.subnetName) &&
Objects.equals(this.version, mountServiceForDescribeMountServicesOutput.version) &&
Objects.equals(this.vpcId, mountServiceForDescribeMountServicesOutput.vpcId) &&
Objects.equals(this.vpcName, mountServiceForDescribeMountServicesOutput.vpcName) &&
Objects.equals(this.zoneId, mountServiceForDescribeMountServicesOutput.zoneId) &&
Objects.equals(this.zoneName, mountServiceForDescribeMountServicesOutput.zoneName);
}
@Override
public int hashCode() {
return Objects.hash(accountId, attachFileSystems, createTime, mountServiceId, mountServiceName, nodes, project, regionId, secondarySecurityGroupId, secondarySubnetId, secondaryVpcId, securityGroupId, status, subnetId, subnetName, version, vpcId, vpcName, zoneId, zoneName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MountServiceForDescribeMountServicesOutput {\n");
sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n");
sb.append(" attachFileSystems: ").append(toIndentedString(attachFileSystems)).append("\n");
sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n");
sb.append(" mountServiceId: ").append(toIndentedString(mountServiceId)).append("\n");
sb.append(" mountServiceName: ").append(toIndentedString(mountServiceName)).append("\n");
sb.append(" nodes: ").append(toIndentedString(nodes)).append("\n");
sb.append(" project: ").append(toIndentedString(project)).append("\n");
sb.append(" regionId: ").append(toIndentedString(regionId)).append("\n");
sb.append(" secondarySecurityGroupId: ").append(toIndentedString(secondarySecurityGroupId)).append("\n");
sb.append(" secondarySubnetId: ").append(toIndentedString(secondarySubnetId)).append("\n");
sb.append(" secondaryVpcId: ").append(toIndentedString(secondaryVpcId)).append("\n");
sb.append(" securityGroupId: ").append(toIndentedString(securityGroupId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n");
sb.append(" subnetName: ").append(toIndentedString(subnetName)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n");
sb.append(" vpcName: ").append(toIndentedString(vpcName)).append("\n");
sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n");
sb.append(" zoneName: ").append(toIndentedString(zoneName)).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