All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.arms20190808.models.QueryCommercialUsageResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;

import com.aliyun.tea.*;

public class QueryCommercialUsageResponseBody extends TeaModel {
    /**
     * 

The response status. Valid values: 2XX: The request is successful. 3XX: A redirection message is returned. 4XX: The request is invalid. 5XX: A server error occurs.

* * example: *

200

*/ @NameInMap("Code") public Integer code; /** *

The returned struct.

*/ @NameInMap("Data") public QueryCommercialUsageResponseBodyData data; @NameInMap("HttpStatusCode") public Integer httpStatusCode; /** *

The error message returned if the request failed.

* * example: *

success

*/ @NameInMap("Message") public String message; /** *

The request ID.

* * example: *

99A663CB-8D7B-4B0D-A006-03C8EE38E7BB

*/ @NameInMap("RequestId") public String requestId; /** *

Indicates whether the request was successful. Valid values:

*
    *
  • true
  • *
  • false
  • *
* * example: *

true

*/ @NameInMap("Success") public Boolean success; public static QueryCommercialUsageResponseBody build(java.util.Map map) throws Exception { QueryCommercialUsageResponseBody self = new QueryCommercialUsageResponseBody(); return TeaModel.build(map, self); } public QueryCommercialUsageResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public QueryCommercialUsageResponseBody setData(QueryCommercialUsageResponseBodyData data) { this.data = data; return this; } public QueryCommercialUsageResponseBodyData getData() { return this.data; } public QueryCommercialUsageResponseBody setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public QueryCommercialUsageResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public QueryCommercialUsageResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public QueryCommercialUsageResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class QueryCommercialUsageResponseBodyData extends TeaModel { /** *

Indicates whether a multi-region query is complete. Valid values:

*
    *
  • true
  • *
  • false
  • *
* * example: *

true

*/ @NameInMap("Complete") public Boolean complete; /** *

The returned struct.

*/ @NameInMap("Items") public java.util.List> items; public static QueryCommercialUsageResponseBodyData build(java.util.Map map) throws Exception { QueryCommercialUsageResponseBodyData self = new QueryCommercialUsageResponseBodyData(); return TeaModel.build(map, self); } public QueryCommercialUsageResponseBodyData setComplete(Boolean complete) { this.complete = complete; return this; } public Boolean getComplete() { return this.complete; } public QueryCommercialUsageResponseBodyData setItems(java.util.List> items) { this.items = items; return this; } public java.util.List> getItems() { return this.items; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy