com.aliyun.sdk.service.agency20221216.models.GetMonthlyBillResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-agency20221216 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.agency20221216.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetMonthlyBillResponseBody} extends {@link TeaModel}
*
* GetMonthlyBillResponseBody
*/
public class GetMonthlyBillResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetMonthlyBillResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetMonthlyBillResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private Data data;
private String message;
private String requestId;
private Boolean success;
/**
* Result Code:
*
* - 200 OK
* - 1109 System error
* - 3030 Sub Account Nickname exceeds maximum length, maximum length 150 bytes.
* - 3031 Remark exceeds maximum length, maximum length 3000 bytes.
*
*
* example:
* 200
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* The returned data.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Same as Code parameters.
*
* example:
* 200
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* Request ID, the unique request identifier generated by Alibaba Cloud.
*
* example:
* 210e876f16704666020714468dab35
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
*
* example:
* true
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetMonthlyBillResponseBody build() {
return new GetMonthlyBillResponseBody(this);
}
}
/**
*
* {@link GetMonthlyBillResponseBody} extends {@link TeaModel}
*
* GetMonthlyBillResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BillLinkCSV")
private String billLinkCSV;
@com.aliyun.core.annotation.NameInMap("BillLinkXLSX")
private String billLinkXLSX;
@com.aliyun.core.annotation.NameInMap("BillOwner")
private String billOwner;
@com.aliyun.core.annotation.NameInMap("BillType")
private String billType;
@com.aliyun.core.annotation.NameInMap("InvoiceLink")
private String invoiceLink;
@com.aliyun.core.annotation.NameInMap("RefundInvoiceFlag")
private Boolean refundInvoiceFlag;
@com.aliyun.core.annotation.NameInMap("RefundInvoiceLink")
private String refundInvoiceLink;
@com.aliyun.core.annotation.NameInMap("SpendingTime")
private String spendingTime;
private Data(Builder builder) {
this.billLinkCSV = builder.billLinkCSV;
this.billLinkXLSX = builder.billLinkXLSX;
this.billOwner = builder.billOwner;
this.billType = builder.billType;
this.invoiceLink = builder.invoiceLink;
this.refundInvoiceFlag = builder.refundInvoiceFlag;
this.refundInvoiceLink = builder.refundInvoiceLink;
this.spendingTime = builder.spendingTime;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return billLinkCSV
*/
public String getBillLinkCSV() {
return this.billLinkCSV;
}
/**
* @return billLinkXLSX
*/
public String getBillLinkXLSX() {
return this.billLinkXLSX;
}
/**
* @return billOwner
*/
public String getBillOwner() {
return this.billOwner;
}
/**
* @return billType
*/
public String getBillType() {
return this.billType;
}
/**
* @return invoiceLink
*/
public String getInvoiceLink() {
return this.invoiceLink;
}
/**
* @return refundInvoiceFlag
*/
public Boolean getRefundInvoiceFlag() {
return this.refundInvoiceFlag;
}
/**
* @return refundInvoiceLink
*/
public String getRefundInvoiceLink() {
return this.refundInvoiceLink;
}
/**
* @return spendingTime
*/
public String getSpendingTime() {
return this.spendingTime;
}
public static final class Builder {
private String billLinkCSV;
private String billLinkXLSX;
private String billOwner;
private String billType;
private String invoiceLink;
private Boolean refundInvoiceFlag;
private String refundInvoiceLink;
private String spendingTime;
/**
* The link to download CSV file, please use HTTP Protocol.
*
* example:
* intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D
*/
public Builder billLinkCSV(String billLinkCSV) {
this.billLinkCSV = billLinkCSV;
return this;
}
/**
* The link to download XLSX file, please use HTTP Protocol.
*
* example:
* intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D
*/
public Builder billLinkXLSX(String billLinkXLSX) {
this.billLinkXLSX = billLinkXLSX;
return this;
}
/**
* Same as inserted parameter BillOwner.
*
* example:
* 1
*/
public Builder billOwner(String billOwner) {
this.billOwner = billOwner;
return this;
}
/**
* Same as inserted parameter BillType.
*
* example:
* MonthlyInvoice
*/
public Builder billType(String billType) {
this.billType = billType;
return this;
}
/**
* The URL to download invoice.
*
* example:
* intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D
*/
public Builder invoiceLink(String invoiceLink) {
this.invoiceLink = invoiceLink;
return this;
}
/**
* It states the existence of refund invoice.
* Candidate Values: True/False
*
* example:
* True
*/
public Builder refundInvoiceFlag(Boolean refundInvoiceFlag) {
this.refundInvoiceFlag = refundInvoiceFlag;
return this;
}
/**
* The URL to download refund invoice.
*
* example:
* intl-reseller-month-bill.oss-ap-southeast-1.aliyuncs.com/statements/month/dts/1064252248461886/202104/Month%20Billing%20Invoice%20202104.pdf?Expires=1671160973&OSSAccessKeyId=TMP.3KhvoD9pW264cPv8sYe8E2zJ5HLWmrijNHgKiKpXcy8yS472BcrvemgTfNrrXKu5fCCdbLr2XhmYAyYPmbCe8zJyEkmYzL&Signature=hns1PgiiYl1WdI%2FdiOqbEdsgmfI%3D
*/
public Builder refundInvoiceLink(String refundInvoiceLink) {
this.refundInvoiceLink = refundInvoiceLink;
return this;
}
/**
* Spending Time, refer to the exact time of costuming.
*
* example:
* 20221201
*/
public Builder spendingTime(String spendingTime) {
this.spendingTime = spendingTime;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}