
com.tencentcloudapi.billing.v20180709.models.ConsumptionProjectSummaryDataItem 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 ConsumptionProjectSummaryDataItem extends AbstractModel{
/**
* 项目ID
*/
@SerializedName("ProjectId")
@Expose
private String ProjectId;
/**
* 项目名称
*/
@SerializedName("ProjectName")
@Expose
private String ProjectName;
/**
* 折后总价
*/
@SerializedName("RealTotalCost")
@Expose
private String RealTotalCost;
/**
* 趋势
*/
@SerializedName("Trend")
@Expose
private ConsumptionSummaryTrend Trend;
/**
* 产品消耗详情
*/
@SerializedName("Business")
@Expose
private ConsumptionBusinessSummaryDataItem [] Business;
/**
* Get 项目ID
* @return ProjectId 项目ID
*/
public String getProjectId() {
return this.ProjectId;
}
/**
* Set 项目ID
* @param ProjectId 项目ID
*/
public void setProjectId(String ProjectId) {
this.ProjectId = ProjectId;
}
/**
* Get 项目名称
* @return ProjectName 项目名称
*/
public String getProjectName() {
return this.ProjectName;
}
/**
* Set 项目名称
* @param ProjectName 项目名称
*/
public void setProjectName(String ProjectName) {
this.ProjectName = ProjectName;
}
/**
* Get 折后总价
* @return RealTotalCost 折后总价
*/
public String getRealTotalCost() {
return this.RealTotalCost;
}
/**
* Set 折后总价
* @param RealTotalCost 折后总价
*/
public void setRealTotalCost(String RealTotalCost) {
this.RealTotalCost = RealTotalCost;
}
/**
* Get 趋势
* @return Trend 趋势
*/
public ConsumptionSummaryTrend getTrend() {
return this.Trend;
}
/**
* Set 趋势
* @param Trend 趋势
*/
public void setTrend(ConsumptionSummaryTrend Trend) {
this.Trend = Trend;
}
/**
* Get 产品消耗详情
* @return Business 产品消耗详情
*/
public ConsumptionBusinessSummaryDataItem [] getBusiness() {
return this.Business;
}
/**
* Set 产品消耗详情
* @param Business 产品消耗详情
*/
public void setBusiness(ConsumptionBusinessSummaryDataItem [] Business) {
this.Business = Business;
}
public ConsumptionProjectSummaryDataItem() {
}
/**
* 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 ConsumptionProjectSummaryDataItem(ConsumptionProjectSummaryDataItem source) {
if (source.ProjectId != null) {
this.ProjectId = new String(source.ProjectId);
}
if (source.ProjectName != null) {
this.ProjectName = new String(source.ProjectName);
}
if (source.RealTotalCost != null) {
this.RealTotalCost = new String(source.RealTotalCost);
}
if (source.Trend != null) {
this.Trend = new ConsumptionSummaryTrend(source.Trend);
}
if (source.Business != null) {
this.Business = new ConsumptionBusinessSummaryDataItem[source.Business.length];
for (int i = 0; i < source.Business.length; i++) {
this.Business[i] = new ConsumptionBusinessSummaryDataItem(source.Business[i]);
}
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.setParamSimple(map, prefix + "ProjectName", this.ProjectName);
this.setParamSimple(map, prefix + "RealTotalCost", this.RealTotalCost);
this.setParamObj(map, prefix + "Trend.", this.Trend);
this.setParamArrayObj(map, prefix + "Business.", this.Business);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy