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

com.aliyun.sdk.service.cloudapi20160714.models.CreateAppCodeRequest Maven / Gradle / Ivy

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

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link CreateAppCodeRequest} extends {@link RequestModel}
 *
 * 

CreateAppCodeRequest

*/ public class CreateAppCodeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppCode") private String appCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; private CreateAppCodeRequest(Builder builder) { super(builder); this.appCode = builder.appCode; this.appId = builder.appId; } public static Builder builder() { return new Builder(); } public static CreateAppCodeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appCode */ public String getAppCode() { return this.appCode; } /** * @return appId */ public String getAppId() { return this.appId; } public static final class Builder extends Request.Builder { private String appCode; private String appId; private Builder() { super(); } private Builder(CreateAppCodeRequest request) { super(request); this.appCode = request.appCode; this.appId = request.appId; } /** *

The application AppCode.

* * example: *

3aaf905a0a1f4f0eabc6d891dfa08afc

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

The application ID.

*

This parameter is required.

* * example: *

111203109

*/ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } @Override public CreateAppCodeRequest build() { return new CreateAppCodeRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy