
com.tencentcloudapi.billing.v20180709.models.DetailSet Maven / Gradle / Ivy
/*
* 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.billing.v20180709.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DetailSet extends AbstractModel{
/**
* 域名
*/
@SerializedName("Domain")
@Expose
private String Domain;
/**
* 使用数据明细
*/
@SerializedName("DetailPoints")
@Expose
private DetailPoint [] DetailPoints;
/**
* 实例ID
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("InstanceID")
@Expose
private String InstanceID;
/**
* Get 域名
* @return Domain 域名
*/
public String getDomain() {
return this.Domain;
}
/**
* Set 域名
* @param Domain 域名
*/
public void setDomain(String Domain) {
this.Domain = Domain;
}
/**
* Get 使用数据明细
* @return DetailPoints 使用数据明细
*/
public DetailPoint [] getDetailPoints() {
return this.DetailPoints;
}
/**
* Set 使用数据明细
* @param DetailPoints 使用数据明细
*/
public void setDetailPoints(DetailPoint [] DetailPoints) {
this.DetailPoints = DetailPoints;
}
/**
* Get 实例ID
注意:此字段可能返回 null,表示取不到有效值。
* @return InstanceID 实例ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getInstanceID() {
return this.InstanceID;
}
/**
* Set 实例ID
注意:此字段可能返回 null,表示取不到有效值。
* @param InstanceID 实例ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setInstanceID(String InstanceID) {
this.InstanceID = InstanceID;
}
public DetailSet() {
}
/**
* 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 DetailSet(DetailSet source) {
if (source.Domain != null) {
this.Domain = new String(source.Domain);
}
if (source.DetailPoints != null) {
this.DetailPoints = new DetailPoint[source.DetailPoints.length];
for (int i = 0; i < source.DetailPoints.length; i++) {
this.DetailPoints[i] = new DetailPoint(source.DetailPoints[i]);
}
}
if (source.InstanceID != null) {
this.InstanceID = new String(source.InstanceID);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Domain", this.Domain);
this.setParamArrayObj(map, prefix + "DetailPoints.", this.DetailPoints);
this.setParamSimple(map, prefix + "InstanceID", this.InstanceID);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy