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

com.aliyun.sdk.service.agency20221216.models.CancelSubscriptionBillRequest Maven / Gradle / Ivy

The newest version!
// 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 CancelSubscriptionBillRequest} extends {@link RequestModel}
 *
 * 

CancelSubscriptionBillRequest

*/ public class CancelSubscriptionBillRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SubscribeType") @com.aliyun.core.annotation.Validation(required = true) private String subscribeType; private CancelSubscriptionBillRequest(Builder builder) { super(builder); this.subscribeType = builder.subscribeType; } public static Builder builder() { return new Builder(); } public static CancelSubscriptionBillRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return subscribeType */ public String getSubscribeType() { return this.subscribeType; } public static final class Builder extends Request.Builder { private String subscribeType; private Builder() { super(); } private Builder(CancelSubscriptionBillRequest request) { super(request); this.subscribeType = request.subscribeType; } /** *

The type of the bill to which you want to cancel the subscription. Valid values: PartnerBillingItemDetailForBillingPeriod, PartnerBillingItemDetailMonthly, PartnerInstanceDetailForBillingPeriod, and PartnerInstanceDetailMonthly.

*

This parameter is required.

* * example: *

PartnerBillingItemDetailForBillingPeriod

*/ public Builder subscribeType(String subscribeType) { this.putQueryParameter("SubscribeType", subscribeType); this.subscribeType = subscribeType; return this; } @Override public CancelSubscriptionBillRequest build() { return new CancelSubscriptionBillRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy