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

com.aliyun.sdk.service.agency20221216.models.SetCreditLineRequest 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 SetCreditLineRequest} extends {@link RequestModel}
 *
 * 

SetCreditLineRequest

*/ public class SetCreditLineRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CreditLine") @com.aliyun.core.annotation.Validation(required = true) private String creditLine; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Uid") @com.aliyun.core.annotation.Validation(required = true) private Long uid; private SetCreditLineRequest(Builder builder) { super(builder); this.creditLine = builder.creditLine; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static SetCreditLineRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return creditLine */ public String getCreditLine() { return this.creditLine; } /** * @return uid */ public Long getUid() { return this.uid; } public static final class Builder extends Request.Builder { private String creditLine; private Long uid; private Builder() { super(); } private Builder(SetCreditLineRequest request) { super(request); this.creditLine = request.creditLine; this.uid = request.uid; } /** *

New Credit Line

*

This parameter is required.

* * example: *

100

*/ public Builder creditLine(String creditLine) { this.putQueryParameter("CreditLine", creditLine); this.creditLine = creditLine; return this; } /** *

The UID of Sub Account.

*

This parameter is required.

* * example: *

1263644979775567

*/ public Builder uid(Long uid) { this.putQueryParameter("Uid", uid); this.uid = uid; return this; } @Override public SetCreditLineRequest build() { return new SetCreditLineRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy