
com.tencentcloudapi.intlpartnersmgt.v20220928.models.DescribeBillSummaryRequest 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.intlpartnersmgt.v20220928.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeBillSummaryRequest extends AbstractModel {
/**
* Bill month in the format of "yyyy-mm".
*/
@SerializedName("Month")
@Expose
private String Month;
/**
* Billing dimension. Optional parameters: product, project, tag
*/
@SerializedName("GroupType")
@Expose
private String GroupType;
/**
* Tag value list
*/
@SerializedName("TagKey")
@Expose
private String [] TagKey;
/**
* Get Bill month in the format of "yyyy-mm".
* @return Month Bill month in the format of "yyyy-mm".
*/
public String getMonth() {
return this.Month;
}
/**
* Set Bill month in the format of "yyyy-mm".
* @param Month Bill month in the format of "yyyy-mm".
*/
public void setMonth(String Month) {
this.Month = Month;
}
/**
* Get Billing dimension. Optional parameters: product, project, tag
* @return GroupType Billing dimension. Optional parameters: product, project, tag
*/
public String getGroupType() {
return this.GroupType;
}
/**
* Set Billing dimension. Optional parameters: product, project, tag
* @param GroupType Billing dimension. Optional parameters: product, project, tag
*/
public void setGroupType(String GroupType) {
this.GroupType = GroupType;
}
/**
* Get Tag value list
* @return TagKey Tag value list
*/
public String [] getTagKey() {
return this.TagKey;
}
/**
* Set Tag value list
* @param TagKey Tag value list
*/
public void setTagKey(String [] TagKey) {
this.TagKey = TagKey;
}
public DescribeBillSummaryRequest() {
}
/**
* 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 DescribeBillSummaryRequest(DescribeBillSummaryRequest source) {
if (source.Month != null) {
this.Month = new String(source.Month);
}
if (source.GroupType != null) {
this.GroupType = new String(source.GroupType);
}
if (source.TagKey != null) {
this.TagKey = new String[source.TagKey.length];
for (int i = 0; i < source.TagKey.length; i++) {
this.TagKey[i] = new String(source.TagKey[i]);
}
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Month", this.Month);
this.setParamSimple(map, prefix + "GroupType", this.GroupType);
this.setParamArraySimple(map, prefix + "TagKey.", this.TagKey);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy