Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.huaweicloud.sdk.cloudide.v2.model.InstancesVO Maven / Gradle / Ivy
package com.huaweicloud.sdk.cloudide.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.function.Consumer;
/**
* InstancesVO
*/
public class InstancesVO {
/**
* cpu架构 x86|arm
*/
public static final class ArchEnum {
/**
* Enum X86 for value: "x86"
*/
public static final ArchEnum X86 = new ArchEnum("x86");
/**
* Enum ARM for value: "arm"
*/
public static final ArchEnum ARM = new ArchEnum("arm");
private static final Map STATIC_FIELDS = createStaticFields();
private static Map createStaticFields() {
Map map = new HashMap<>();
map.put("x86", X86);
map.put("arm", ARM);
return Collections.unmodifiableMap(map);
}
private String value;
ArchEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static ArchEnum fromValue(String value) {
if (value == null) {
return null;
}
return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new ArchEnum(value));
}
public static ArchEnum valueOf(String value) {
if (value == null) {
return null;
}
return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
.orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
}
@Override
public boolean equals(Object obj) {
if (obj instanceof ArchEnum) {
return this.value.equals(((ArchEnum) obj).value);
}
return false;
}
@Override
public int hashCode() {
return this.value.hashCode();
}
}
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "arch")
private ArchEnum arch;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "attributes")
private Attributes attributes;
/**
* cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G
*/
public static final class CpuMemoryEnum {
/**
* Enum _1U1G for value: "1U1G"
*/
public static final CpuMemoryEnum _1U1G = new CpuMemoryEnum("1U1G");
/**
* Enum _2U4G for value: "2U4G"
*/
public static final CpuMemoryEnum _2U4G = new CpuMemoryEnum("2U4G");
/**
* Enum _2U8G for value: "2U8G"
*/
public static final CpuMemoryEnum _2U8G = new CpuMemoryEnum("2U8G");
/**
* Enum _4U8G for value: "4U8G"
*/
public static final CpuMemoryEnum _4U8G = new CpuMemoryEnum("4U8G");
private static final Map STATIC_FIELDS = createStaticFields();
private static Map createStaticFields() {
Map map = new HashMap<>();
map.put("1U1G", _1U1G);
map.put("2U4G", _2U4G);
map.put("2U8G", _2U8G);
map.put("4U8G", _4U8G);
return Collections.unmodifiableMap(map);
}
private String value;
CpuMemoryEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static CpuMemoryEnum fromValue(String value) {
if (value == null) {
return null;
}
return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new CpuMemoryEnum(value));
}
public static CpuMemoryEnum valueOf(String value) {
if (value == null) {
return null;
}
return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
.orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
}
@Override
public boolean equals(Object obj) {
if (obj instanceof CpuMemoryEnum) {
return this.value.equals(((CpuMemoryEnum) obj).value);
}
return false;
}
@Override
public int hashCode() {
return this.value.hashCode();
}
}
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "cpu_memory")
private CpuMemoryEnum cpuMemory;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "created_time")
private String createdTime;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "description")
private String description;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "display_name")
private String displayName;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "domain_name")
private String domainName;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "id")
private String id;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "is_temporary")
private Boolean isTemporary;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "label")
private String label;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "link")
private String link;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "name")
private String name;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "organization_id")
private String organizationId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "owner_id")
private String ownerId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "owner_name")
private String ownerName;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "platform_id")
private Long platformId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "private")
private Boolean _private;
/**
* PVC规格 5GB|10GB|20GB
*/
public static final class PvcQuantityEnum {
/**
* Enum _5GB for value: "5GB"
*/
public static final PvcQuantityEnum _5GB = new PvcQuantityEnum("5GB");
/**
* Enum _10GB for value: "10GB"
*/
public static final PvcQuantityEnum _10GB = new PvcQuantityEnum("10GB");
/**
* Enum _20GB for value: "20GB"
*/
public static final PvcQuantityEnum _20GB = new PvcQuantityEnum("20GB");
private static final Map STATIC_FIELDS = createStaticFields();
private static Map createStaticFields() {
Map map = new HashMap<>();
map.put("5GB", _5GB);
map.put("10GB", _10GB);
map.put("20GB", _20GB);
return Collections.unmodifiableMap(map);
}
private String value;
PvcQuantityEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static PvcQuantityEnum fromValue(String value) {
if (value == null) {
return null;
}
return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new PvcQuantityEnum(value));
}
public static PvcQuantityEnum valueOf(String value) {
if (value == null) {
return null;
}
return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
.orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
}
@Override
public boolean equals(Object obj) {
if (obj instanceof PvcQuantityEnum) {
return this.value.equals(((PvcQuantityEnum) obj).value);
}
return false;
}
@Override
public int hashCode() {
return this.value.hashCode();
}
}
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "pvc_quantity")
private PvcQuantityEnum pvcQuantity;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "refresh_interval")
private Long refreshInterval;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "region")
private String region;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "server_map")
private Map serverMap = null;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "server_url")
private String serverUrl;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "stack_id")
private String stackId;
/**
* 实例状态 。 - INIT 初始化 - STARTING 启动中 - RUNNING 运行中 - STOPPING 停止中 - STOPPED 已停止 - DELETING 删除中 - DELETED 已删除 - DELETE_FAILED 删除失败
*/
public static final class StatusEnum {
/**
* Enum INIT for value: "INIT"
*/
public static final StatusEnum INIT = new StatusEnum("INIT");
/**
* Enum STARTING for value: "STARTING"
*/
public static final StatusEnum STARTING = new StatusEnum("STARTING");
/**
* Enum RUNNING for value: "RUNNING"
*/
public static final StatusEnum RUNNING = new StatusEnum("RUNNING");
/**
* Enum STOPPING for value: "STOPPING"
*/
public static final StatusEnum STOPPING = new StatusEnum("STOPPING");
/**
* Enum STOPPED for value: "STOPPED"
*/
public static final StatusEnum STOPPED = new StatusEnum("STOPPED");
/**
* Enum DELETING for value: "DELETING"
*/
public static final StatusEnum DELETING = new StatusEnum("DELETING");
/**
* Enum DELETED for value: "DELETED"
*/
public static final StatusEnum DELETED = new StatusEnum("DELETED");
/**
* Enum DELETE_FAILED for value: "DELETE_FAILED"
*/
public static final StatusEnum DELETE_FAILED = new StatusEnum("DELETE_FAILED");
private static final Map STATIC_FIELDS = createStaticFields();
private static Map createStaticFields() {
Map map = new HashMap<>();
map.put("INIT", INIT);
map.put("STARTING", STARTING);
map.put("RUNNING", RUNNING);
map.put("STOPPING", STOPPING);
map.put("STOPPED", STOPPED);
map.put("DELETING", DELETING);
map.put("DELETED", DELETED);
map.put("DELETE_FAILED", DELETE_FAILED);
return Collections.unmodifiableMap(map);
}
private String value;
StatusEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static StatusEnum fromValue(String value) {
if (value == null) {
return null;
}
return java.util.Optional.ofNullable(STATIC_FIELDS.get(value)).orElse(new StatusEnum(value));
}
public static StatusEnum valueOf(String value) {
if (value == null) {
return null;
}
return java.util.Optional.ofNullable(STATIC_FIELDS.get(value))
.orElseThrow(() -> new IllegalArgumentException("Unexpected value '" + value + "'"));
}
@Override
public boolean equals(Object obj) {
if (obj instanceof StatusEnum) {
return this.value.equals(((StatusEnum) obj).value);
}
return false;
}
@Override
public int hashCode() {
return this.value.hashCode();
}
}
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "status")
private StatusEnum status;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "updated_time")
private String updatedTime;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "visitor_id")
private String visitorId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "visitor_name")
private String visitorName;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "visitor_domain_name")
private String visitorDomainName;
public InstancesVO withArch(ArchEnum arch) {
this.arch = arch;
return this;
}
/**
* cpu架构 x86|arm
* @return arch
*/
public ArchEnum getArch() {
return arch;
}
public void setArch(ArchEnum arch) {
this.arch = arch;
}
public InstancesVO withAttributes(Attributes attributes) {
this.attributes = attributes;
return this;
}
public InstancesVO withAttributes(Consumer attributesSetter) {
if (this.attributes == null) {
this.attributes = new Attributes();
attributesSetter.accept(this.attributes);
}
return this;
}
/**
* Get attributes
* @return attributes
*/
public Attributes getAttributes() {
return attributes;
}
public void setAttributes(Attributes attributes) {
this.attributes = attributes;
}
public InstancesVO withCpuMemory(CpuMemoryEnum cpuMemory) {
this.cpuMemory = cpuMemory;
return this;
}
/**
* cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G
* @return cpuMemory
*/
public CpuMemoryEnum getCpuMemory() {
return cpuMemory;
}
public void setCpuMemory(CpuMemoryEnum cpuMemory) {
this.cpuMemory = cpuMemory;
}
public InstancesVO withCreatedTime(String createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* 创建时间
* @return createdTime
*/
public String getCreatedTime() {
return createdTime;
}
public void setCreatedTime(String createdTime) {
this.createdTime = createdTime;
}
public InstancesVO withDescription(String description) {
this.description = description;
return this;
}
/**
* 描述
* @return description
*/
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public InstancesVO withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间
* @return displayName
*/
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public InstancesVO withDomainName(String domainName) {
this.domainName = domainName;
return this;
}
/**
* 租户名
* @return domainName
*/
public String getDomainName() {
return domainName;
}
public void setDomainName(String domainName) {
this.domainName = domainName;
}
public InstancesVO withId(String id) {
this.id = id;
return this;
}
/**
* id
* @return id
*/
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public InstancesVO withIsTemporary(Boolean isTemporary) {
this.isTemporary = isTemporary;
return this;
}
/**
* 是否页面显示(以标签配置为准)
* @return isTemporary
*/
public Boolean getIsTemporary() {
return isTemporary;
}
public void setIsTemporary(Boolean isTemporary) {
this.isTemporary = isTemporary;
}
public InstancesVO withLabel(String label) {
this.label = label;
return this;
}
/**
* 标签
* @return label
*/
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public InstancesVO withLink(String link) {
this.link = link;
return this;
}
/**
* 链接
* @return link
*/
public String getLink() {
return link;
}
public void setLink(String link) {
this.link = link;
}
public InstancesVO withName(String name) {
this.name = name;
return this;
}
/**
* 名称
* @return name
*/
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public InstancesVO withOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
/**
* 租户id(对应华为云帐号的domainId)
* @return organizationId
*/
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
public InstancesVO withOwnerId(String ownerId) {
this.ownerId = ownerId;
return this;
}
/**
* 用户id
* @return ownerId
*/
public String getOwnerId() {
return ownerId;
}
public void setOwnerId(String ownerId) {
this.ownerId = ownerId;
}
public InstancesVO withOwnerName(String ownerName) {
this.ownerName = ownerName;
return this;
}
/**
* 用户名
* @return ownerName
*/
public String getOwnerName() {
return ownerName;
}
public void setOwnerName(String ownerName) {
this.ownerName = ownerName;
}
public InstancesVO withPlatformId(Long platformId) {
this.platformId = platformId;
return this;
}
/**
* 平台ID
* minimum: 1
* maximum: 100
* @return platformId
*/
public Long getPlatformId() {
return platformId;
}
public void setPlatformId(Long platformId) {
this.platformId = platformId;
}
public InstancesVO withPrivate(Boolean _private) {
this._private = _private;
return this;
}
/**
* 是否私有平台
* @return _private
*/
public Boolean getPrivate() {
return _private;
}
public void setPrivate(Boolean _private) {
this._private = _private;
}
public InstancesVO withPvcQuantity(PvcQuantityEnum pvcQuantity) {
this.pvcQuantity = pvcQuantity;
return this;
}
/**
* PVC规格 5GB|10GB|20GB
* @return pvcQuantity
*/
public PvcQuantityEnum getPvcQuantity() {
return pvcQuantity;
}
public void setPvcQuantity(PvcQuantityEnum pvcQuantity) {
this.pvcQuantity = pvcQuantity;
}
public InstancesVO withRefreshInterval(Long refreshInterval) {
this.refreshInterval = refreshInterval;
return this;
}
/**
* 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止
* minimum: -1
* maximum: 1440
* @return refreshInterval
*/
public Long getRefreshInterval() {
return refreshInterval;
}
public void setRefreshInterval(Long refreshInterval) {
this.refreshInterval = refreshInterval;
}
public InstancesVO withRegion(String region) {
this.region = region;
return this;
}
/**
* 区域
* @return region
*/
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public InstancesVO withServerMap(Map serverMap) {
this.serverMap = serverMap;
return this;
}
public InstancesVO putServerMapItem(String key, String serverMapItem) {
if (this.serverMap == null) {
this.serverMap = new HashMap<>();
}
this.serverMap.put(key, serverMapItem);
return this;
}
public InstancesVO withServerMap(Consumer> serverMapSetter) {
if (this.serverMap == null) {
this.serverMap = new HashMap<>();
}
serverMapSetter.accept(this.serverMap);
return this;
}
/**
* server
* @return serverMap
*/
public Map getServerMap() {
return serverMap;
}
public void setServerMap(Map serverMap) {
this.serverMap = serverMap;
}
public InstancesVO withServerUrl(String serverUrl) {
this.serverUrl = serverUrl;
return this;
}
/**
* 服务链接
* @return serverUrl
*/
public String getServerUrl() {
return serverUrl;
}
public void setServerUrl(String serverUrl) {
this.serverUrl = serverUrl;
}
public InstancesVO withStackId(String stackId) {
this.stackId = stackId;
return this;
}
/**
* 技术栈ID,通过技术栈管理ListStacks接口获取。
* @return stackId
*/
public String getStackId() {
return stackId;
}
public void setStackId(String stackId) {
this.stackId = stackId;
}
public InstancesVO withStatus(StatusEnum status) {
this.status = status;
return this;
}
/**
* 实例状态 。 - INIT 初始化 - STARTING 启动中 - RUNNING 运行中 - STOPPING 停止中 - STOPPED 已停止 - DELETING 删除中 - DELETED 已删除 - DELETE_FAILED 删除失败
* @return status
*/
public StatusEnum getStatus() {
return status;
}
public void setStatus(StatusEnum status) {
this.status = status;
}
public InstancesVO withUpdatedTime(String updatedTime) {
this.updatedTime = updatedTime;
return this;
}
/**
* 更新时间
* @return updatedTime
*/
public String getUpdatedTime() {
return updatedTime;
}
public void setUpdatedTime(String updatedTime) {
this.updatedTime = updatedTime;
}
public InstancesVO withVisitorId(String visitorId) {
this.visitorId = visitorId;
return this;
}
/**
* 访问者id
* @return visitorId
*/
public String getVisitorId() {
return visitorId;
}
public void setVisitorId(String visitorId) {
this.visitorId = visitorId;
}
public InstancesVO withVisitorName(String visitorName) {
this.visitorName = visitorName;
return this;
}
/**
* 访问者名称
* @return visitorName
*/
public String getVisitorName() {
return visitorName;
}
public void setVisitorName(String visitorName) {
this.visitorName = visitorName;
}
public InstancesVO withVisitorDomainName(String visitorDomainName) {
this.visitorDomainName = visitorDomainName;
return this;
}
/**
* 访问者租户名称
* @return visitorDomainName
*/
public String getVisitorDomainName() {
return visitorDomainName;
}
public void setVisitorDomainName(String visitorDomainName) {
this.visitorDomainName = visitorDomainName;
}
@Override
public boolean equals(java.lang.Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
InstancesVO that = (InstancesVO) obj;
return Objects.equals(this.arch, that.arch) && Objects.equals(this.attributes, that.attributes)
&& Objects.equals(this.cpuMemory, that.cpuMemory) && Objects.equals(this.createdTime, that.createdTime)
&& Objects.equals(this.description, that.description) && Objects.equals(this.displayName, that.displayName)
&& Objects.equals(this.domainName, that.domainName) && Objects.equals(this.id, that.id)
&& Objects.equals(this.isTemporary, that.isTemporary) && Objects.equals(this.label, that.label)
&& Objects.equals(this.link, that.link) && Objects.equals(this.name, that.name)
&& Objects.equals(this.organizationId, that.organizationId) && Objects.equals(this.ownerId, that.ownerId)
&& Objects.equals(this.ownerName, that.ownerName) && Objects.equals(this.platformId, that.platformId)
&& Objects.equals(this._private, that._private) && Objects.equals(this.pvcQuantity, that.pvcQuantity)
&& Objects.equals(this.refreshInterval, that.refreshInterval) && Objects.equals(this.region, that.region)
&& Objects.equals(this.serverMap, that.serverMap) && Objects.equals(this.serverUrl, that.serverUrl)
&& Objects.equals(this.stackId, that.stackId) && Objects.equals(this.status, that.status)
&& Objects.equals(this.updatedTime, that.updatedTime) && Objects.equals(this.visitorId, that.visitorId)
&& Objects.equals(this.visitorName, that.visitorName)
&& Objects.equals(this.visitorDomainName, that.visitorDomainName);
}
@Override
public int hashCode() {
return Objects.hash(arch,
attributes,
cpuMemory,
createdTime,
description,
displayName,
domainName,
id,
isTemporary,
label,
link,
name,
organizationId,
ownerId,
ownerName,
platformId,
_private,
pvcQuantity,
refreshInterval,
region,
serverMap,
serverUrl,
stackId,
status,
updatedTime,
visitorId,
visitorName,
visitorDomainName);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InstancesVO {\n");
sb.append(" arch: ").append(toIndentedString(arch)).append("\n");
sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
sb.append(" cpuMemory: ").append(toIndentedString(cpuMemory)).append("\n");
sb.append(" createdTime: ").append(toIndentedString(createdTime)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" isTemporary: ").append(toIndentedString(isTemporary)).append("\n");
sb.append(" label: ").append(toIndentedString(label)).append("\n");
sb.append(" link: ").append(toIndentedString(link)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n");
sb.append(" ownerId: ").append(toIndentedString(ownerId)).append("\n");
sb.append(" ownerName: ").append(toIndentedString(ownerName)).append("\n");
sb.append(" platformId: ").append(toIndentedString(platformId)).append("\n");
sb.append(" _private: ").append(toIndentedString(_private)).append("\n");
sb.append(" pvcQuantity: ").append(toIndentedString(pvcQuantity)).append("\n");
sb.append(" refreshInterval: ").append(toIndentedString(refreshInterval)).append("\n");
sb.append(" region: ").append(toIndentedString(region)).append("\n");
sb.append(" serverMap: ").append(toIndentedString(serverMap)).append("\n");
sb.append(" serverUrl: ").append(toIndentedString(serverUrl)).append("\n");
sb.append(" stackId: ").append(toIndentedString(stackId)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" updatedTime: ").append(toIndentedString(updatedTime)).append("\n");
sb.append(" visitorId: ").append(toIndentedString(visitorId)).append("\n");
sb.append(" visitorName: ").append(toIndentedString(visitorName)).append("\n");
sb.append(" visitorDomainName: ").append(toIndentedString(visitorDomainName)).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 ");
}
}