com.tencentcloudapi.cvm.v20170312.models.DescribeDisasterRecoverGroupQuotaResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-cvm Show documentation
Show all versions of tencentcloud-sdk-java-cvm Show documentation
Tencent Cloud Open API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.cvm.v20170312.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeDisasterRecoverGroupQuotaResponse extends AbstractModel{
/**
* 可创建置放群组数量的上限。
*/
@SerializedName("GroupQuota")
@Expose
private Long GroupQuota;
/**
* 当前用户已经创建的置放群组数量。
*/
@SerializedName("CurrentNum")
@Expose
private Long CurrentNum;
/**
* 物理机类型容灾组内实例的配额数。
*/
@SerializedName("CvmInHostGroupQuota")
@Expose
private Long CvmInHostGroupQuota;
/**
* 交换机类型容灾组内实例的配额数。
*/
@SerializedName("CvmInSwGroupQuota")
@Expose
private Long CvmInSwGroupQuota;
/**
* 机架类型容灾组内实例的配额数。
*/
@SerializedName("CvmInRackGroupQuota")
@Expose
private Long CvmInRackGroupQuota;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get 可创建置放群组数量的上限。
* @return GroupQuota 可创建置放群组数量的上限。
*/
public Long getGroupQuota() {
return this.GroupQuota;
}
/**
* Set 可创建置放群组数量的上限。
* @param GroupQuota 可创建置放群组数量的上限。
*/
public void setGroupQuota(Long GroupQuota) {
this.GroupQuota = GroupQuota;
}
/**
* Get 当前用户已经创建的置放群组数量。
* @return CurrentNum 当前用户已经创建的置放群组数量。
*/
public Long getCurrentNum() {
return this.CurrentNum;
}
/**
* Set 当前用户已经创建的置放群组数量。
* @param CurrentNum 当前用户已经创建的置放群组数量。
*/
public void setCurrentNum(Long CurrentNum) {
this.CurrentNum = CurrentNum;
}
/**
* Get 物理机类型容灾组内实例的配额数。
* @return CvmInHostGroupQuota 物理机类型容灾组内实例的配额数。
*/
public Long getCvmInHostGroupQuota() {
return this.CvmInHostGroupQuota;
}
/**
* Set 物理机类型容灾组内实例的配额数。
* @param CvmInHostGroupQuota 物理机类型容灾组内实例的配额数。
*/
public void setCvmInHostGroupQuota(Long CvmInHostGroupQuota) {
this.CvmInHostGroupQuota = CvmInHostGroupQuota;
}
/**
* Get 交换机类型容灾组内实例的配额数。
* @return CvmInSwGroupQuota 交换机类型容灾组内实例的配额数。
*/
public Long getCvmInSwGroupQuota() {
return this.CvmInSwGroupQuota;
}
/**
* Set 交换机类型容灾组内实例的配额数。
* @param CvmInSwGroupQuota 交换机类型容灾组内实例的配额数。
*/
public void setCvmInSwGroupQuota(Long CvmInSwGroupQuota) {
this.CvmInSwGroupQuota = CvmInSwGroupQuota;
}
/**
* Get 机架类型容灾组内实例的配额数。
* @return CvmInRackGroupQuota 机架类型容灾组内实例的配额数。
*/
public Long getCvmInRackGroupQuota() {
return this.CvmInRackGroupQuota;
}
/**
* Set 机架类型容灾组内实例的配额数。
* @param CvmInRackGroupQuota 机架类型容灾组内实例的配额数。
*/
public void setCvmInRackGroupQuota(Long CvmInRackGroupQuota) {
this.CvmInRackGroupQuota = CvmInRackGroupQuota;
}
/**
* Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @return RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @param RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public DescribeDisasterRecoverGroupQuotaResponse() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeDisasterRecoverGroupQuotaResponse(DescribeDisasterRecoverGroupQuotaResponse source) {
if (source.GroupQuota != null) {
this.GroupQuota = new Long(source.GroupQuota);
}
if (source.CurrentNum != null) {
this.CurrentNum = new Long(source.CurrentNum);
}
if (source.CvmInHostGroupQuota != null) {
this.CvmInHostGroupQuota = new Long(source.CvmInHostGroupQuota);
}
if (source.CvmInSwGroupQuota != null) {
this.CvmInSwGroupQuota = new Long(source.CvmInSwGroupQuota);
}
if (source.CvmInRackGroupQuota != null) {
this.CvmInRackGroupQuota = new Long(source.CvmInRackGroupQuota);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "GroupQuota", this.GroupQuota);
this.setParamSimple(map, prefix + "CurrentNum", this.CurrentNum);
this.setParamSimple(map, prefix + "CvmInHostGroupQuota", this.CvmInHostGroupQuota);
this.setParamSimple(map, prefix + "CvmInSwGroupQuota", this.CvmInSwGroupQuota);
this.setParamSimple(map, prefix + "CvmInRackGroupQuota", this.CvmInRackGroupQuota);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy