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

com.aliyun.polardb20170801.models.DescribeLicenseOrdersResponseBody Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class DescribeLicenseOrdersResponseBody extends TeaModel {
    /**
     * 

The queried orders.

*/ @NameInMap("Items") public java.util.List items; /** *

The page number.

* * example: *

1

*/ @NameInMap("PageNumber") public Integer pageNumber; /** *

The number of entries returned on the current page.

* * example: *

12

*/ @NameInMap("PageRecordCount") public Integer pageRecordCount; /** *

The request ID.

* * example: *

34458CD3-33E0-4624-BFEF-840C15******

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

The total number of entries returned.

* * example: *

50

*/ @NameInMap("TotalRecordCount") public Integer totalRecordCount; public static DescribeLicenseOrdersResponseBody build(java.util.Map map) throws Exception { DescribeLicenseOrdersResponseBody self = new DescribeLicenseOrdersResponseBody(); return TeaModel.build(map, self); } public DescribeLicenseOrdersResponseBody setItems(java.util.List items) { this.items = items; return this; } public java.util.List getItems() { return this.items; } public DescribeLicenseOrdersResponseBody setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } public Integer getPageNumber() { return this.pageNumber; } public DescribeLicenseOrdersResponseBody setPageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } public Integer getPageRecordCount() { return this.pageRecordCount; } public DescribeLicenseOrdersResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DescribeLicenseOrdersResponseBody setTotalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public Integer getTotalRecordCount() { return this.totalRecordCount; } public static class DescribeLicenseOrdersResponseBodyItems extends TeaModel { /** *

The number of generated activation codes.

* * example: *

10

*/ @NameInMap("ActivatedCodeCount") public Integer activatedCodeCount; /** *

The maximum number of activation codes that you can apply for.

* * example: *

10

*/ @NameInMap("ActivationCodeQuota") public Integer activationCodeQuota; /** *

The ID of the Alibaba Cloud order. The ID of a virtual order may be returned.

* * example: *

227638319690519

*/ @NameInMap("AliyunOrderId") public String aliyunOrderId; /** *

Indicates whether the SystemIdentifier parameter can be left empty when the system generates an activation code.

* * example: *

false

*/ @NameInMap("AllowEmptySystemIdentifier") public Boolean allowEmptySystemIdentifier; /** *

The engine of the PolarDB cluster. Valid values: PG, Oracle, and MySQL.

* * example: *

PG

*/ @NameInMap("Engine") public String engine; /** *

The time when the order was created.

* * example: *

2022-02-11 03:14:15

*/ @NameInMap("GmtCreated") public String gmtCreated; /** *

The time when the order was updated.

* * example: *

2022-02-11 03:14:15

*/ @NameInMap("GmtModified") public String gmtModified; /** *

Indicates whether the order is a virtual order. Pre-generation of activation codes is allowed for virtual orders.

* * example: *

false

*/ @NameInMap("IsVirtualOrder") public Boolean isVirtualOrder; /** *

Indicates whether the virtual order is frozen. Generation of activation codes is not allowed for frozen virtual orders.

* * example: *

false

*/ @NameInMap("IsVirtualOrderFrozen") public Boolean isVirtualOrderFrozen; /** *

The type of the package. Valid values:

*
    *
  • single_node_subscribe: Single-node Edition (Subscription).
  • *
  • single_node_long_term: Single-node Edition (Long-term).
  • *
  • primary_backup_subscribe: HA Edition (Subscription).
  • *
  • primary_backup_long_term: HA Edition (Long-term).
  • *
  • pre_generation_long_term: Pre-generated (Long-term).
  • *
* * example: *

single_node_subscribe

*/ @NameInMap("PackageType") public String packageType; /** *

The validity period of the package. Valid values: 1 year and 30 years.

* * example: *

1 year

*/ @NameInMap("PackageValidity") public String packageValidity; /** *

The purchase channel. Valid values: aliyun_market and aliyun_public. aliyun_market indicates Alibaba Cloud Marketplace. aliyun_public indicates the PolarDB buy page.

* * example: *

aliyun_public

*/ @NameInMap("PurchaseChannel") public String purchaseChannel; /** *

The ID of the virtual order.

* * example: *

227638319690519

*/ @NameInMap("VirtualAliyunOrderId") public String virtualAliyunOrderId; public static DescribeLicenseOrdersResponseBodyItems build(java.util.Map map) throws Exception { DescribeLicenseOrdersResponseBodyItems self = new DescribeLicenseOrdersResponseBodyItems(); return TeaModel.build(map, self); } public DescribeLicenseOrdersResponseBodyItems setActivatedCodeCount(Integer activatedCodeCount) { this.activatedCodeCount = activatedCodeCount; return this; } public Integer getActivatedCodeCount() { return this.activatedCodeCount; } public DescribeLicenseOrdersResponseBodyItems setActivationCodeQuota(Integer activationCodeQuota) { this.activationCodeQuota = activationCodeQuota; return this; } public Integer getActivationCodeQuota() { return this.activationCodeQuota; } public DescribeLicenseOrdersResponseBodyItems setAliyunOrderId(String aliyunOrderId) { this.aliyunOrderId = aliyunOrderId; return this; } public String getAliyunOrderId() { return this.aliyunOrderId; } public DescribeLicenseOrdersResponseBodyItems setAllowEmptySystemIdentifier(Boolean allowEmptySystemIdentifier) { this.allowEmptySystemIdentifier = allowEmptySystemIdentifier; return this; } public Boolean getAllowEmptySystemIdentifier() { return this.allowEmptySystemIdentifier; } public DescribeLicenseOrdersResponseBodyItems setEngine(String engine) { this.engine = engine; return this; } public String getEngine() { return this.engine; } public DescribeLicenseOrdersResponseBodyItems setGmtCreated(String gmtCreated) { this.gmtCreated = gmtCreated; return this; } public String getGmtCreated() { return this.gmtCreated; } public DescribeLicenseOrdersResponseBodyItems setGmtModified(String gmtModified) { this.gmtModified = gmtModified; return this; } public String getGmtModified() { return this.gmtModified; } public DescribeLicenseOrdersResponseBodyItems setIsVirtualOrder(Boolean isVirtualOrder) { this.isVirtualOrder = isVirtualOrder; return this; } public Boolean getIsVirtualOrder() { return this.isVirtualOrder; } public DescribeLicenseOrdersResponseBodyItems setIsVirtualOrderFrozen(Boolean isVirtualOrderFrozen) { this.isVirtualOrderFrozen = isVirtualOrderFrozen; return this; } public Boolean getIsVirtualOrderFrozen() { return this.isVirtualOrderFrozen; } public DescribeLicenseOrdersResponseBodyItems setPackageType(String packageType) { this.packageType = packageType; return this; } public String getPackageType() { return this.packageType; } public DescribeLicenseOrdersResponseBodyItems setPackageValidity(String packageValidity) { this.packageValidity = packageValidity; return this; } public String getPackageValidity() { return this.packageValidity; } public DescribeLicenseOrdersResponseBodyItems setPurchaseChannel(String purchaseChannel) { this.purchaseChannel = purchaseChannel; return this; } public String getPurchaseChannel() { return this.purchaseChannel; } public DescribeLicenseOrdersResponseBodyItems setVirtualAliyunOrderId(String virtualAliyunOrderId) { this.virtualAliyunOrderId = virtualAliyunOrderId; return this; } public String getVirtualAliyunOrderId() { return this.virtualAliyunOrderId; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy