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

com.aliyun.sas20181203.models.GetCheckSaleResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class GetCheckSaleResponseBody extends TeaModel {
    /**
     * 

The sales information about the configuration assessment quota.

*/ @NameInMap("CheckSale") public GetCheckSaleResponseBodyCheckSale checkSale; /** *

The request ID.

* * example: *

F5CF78A7-30AA-59DB-847F-13EE3AE7****

*/ @NameInMap("RequestId") public String requestId; public static GetCheckSaleResponseBody build(java.util.Map map) throws Exception { GetCheckSaleResponseBody self = new GetCheckSaleResponseBody(); return TeaModel.build(map, self); } public GetCheckSaleResponseBody setCheckSale(GetCheckSaleResponseBodyCheckSale checkSale) { this.checkSale = checkSale; return this; } public GetCheckSaleResponseBodyCheckSale getCheckSale() { return this.checkSale; } public GetCheckSaleResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetCheckSaleResponseBodyCheckSale extends TeaModel { /** *

The consumed quota.

* * example: *

500

*/ @NameInMap("ConsumeCount") public Long consumeCount; /** *

Indicates whether the user is an existing user and whether the user uses the configuration assessment feature before the feature is released for sale on July 07, 2023. Valid values:

*
    *
  • true: existing user
  • *
  • false: new user
  • *
* * example: *

true

*/ @NameInMap("LoyalUser") public Boolean loyalUser; /** *

The purchased quota.

* * example: *

1000

*/ @NameInMap("PurchaseCount") public Long purchaseCount; /** *

The type of the user. Valid values:

*
    *
  • 1: a user who can use all check items.
  • *
  • 2: an user who can only use the check items before the release of the feature on July 07, 2023. This type of users must upgrade Security Center before the users can use all check items.
  • *
  • 3: a new user who cannot use the configuration assessment feature. This type of users must make a purchase before the users can use the feature.
  • *
* * example: *

1

*/ @NameInMap("SaleUserType") public Integer saleUserType; public static GetCheckSaleResponseBodyCheckSale build(java.util.Map map) throws Exception { GetCheckSaleResponseBodyCheckSale self = new GetCheckSaleResponseBodyCheckSale(); return TeaModel.build(map, self); } public GetCheckSaleResponseBodyCheckSale setConsumeCount(Long consumeCount) { this.consumeCount = consumeCount; return this; } public Long getConsumeCount() { return this.consumeCount; } public GetCheckSaleResponseBodyCheckSale setLoyalUser(Boolean loyalUser) { this.loyalUser = loyalUser; return this; } public Boolean getLoyalUser() { return this.loyalUser; } public GetCheckSaleResponseBodyCheckSale setPurchaseCount(Long purchaseCount) { this.purchaseCount = purchaseCount; return this; } public Long getPurchaseCount() { return this.purchaseCount; } public GetCheckSaleResponseBodyCheckSale setSaleUserType(Integer saleUserType) { this.saleUserType = saleUserType; return this; } public Integer getSaleUserType() { return this.saleUserType; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy