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

com.aliyun.sdk.service.dataphin_public20230630.models.OnlineBizEntityRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.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 OnlineBizEntityRequest} extends {@link RequestModel}
 *
 * 

OnlineBizEntityRequest

*/ public class OnlineBizEntityRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("OnlineCommand") @com.aliyun.core.annotation.Validation(required = true) private OnlineCommand onlineCommand; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OpTenantId") @com.aliyun.core.annotation.Validation(required = true) private Long opTenantId; private OnlineBizEntityRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.onlineCommand = builder.onlineCommand; this.opTenantId = builder.opTenantId; } public static Builder builder() { return new Builder(); } public static OnlineBizEntityRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return onlineCommand */ public OnlineCommand getOnlineCommand() { return this.onlineCommand; } /** * @return opTenantId */ public Long getOpTenantId() { return this.opTenantId; } public static final class Builder extends Request.Builder { private String regionId; private OnlineCommand onlineCommand; private Long opTenantId; private Builder() { super(); } private Builder(OnlineBizEntityRequest request) { super(request); this.regionId = request.regionId; this.onlineCommand = request.onlineCommand; this.opTenantId = request.opTenantId; } /** * RegionId. */ public Builder regionId(String regionId) { this.putHostParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

This parameter is required.

*/ public Builder onlineCommand(OnlineCommand onlineCommand) { String onlineCommandShrink = shrink(onlineCommand, "OnlineCommand", "json"); this.putBodyParameter("OnlineCommand", onlineCommandShrink); this.onlineCommand = onlineCommand; return this; } /** *

This parameter is required.

* * example: *

30001011

*/ public Builder opTenantId(Long opTenantId) { this.putQueryParameter("OpTenantId", opTenantId); this.opTenantId = opTenantId; return this; } @Override public OnlineBizEntityRequest build() { return new OnlineBizEntityRequest(this); } } /** * * {@link OnlineBizEntityRequest} extends {@link TeaModel} * *

OnlineBizEntityRequest

*/ public static class OnlineCommand extends TeaModel { @com.aliyun.core.annotation.NameInMap("BizUnitId") @com.aliyun.core.annotation.Validation(required = true) private Long bizUnitId; @com.aliyun.core.annotation.NameInMap("Comment") @com.aliyun.core.annotation.Validation(required = true) private String comment; @com.aliyun.core.annotation.NameInMap("Id") @com.aliyun.core.annotation.Validation(required = true) private Long id; @com.aliyun.core.annotation.NameInMap("Type") @com.aliyun.core.annotation.Validation(required = true) private String type; private OnlineCommand(Builder builder) { this.bizUnitId = builder.bizUnitId; this.comment = builder.comment; this.id = builder.id; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static OnlineCommand create() { return builder().build(); } /** * @return bizUnitId */ public Long getBizUnitId() { return this.bizUnitId; } /** * @return comment */ public String getComment() { return this.comment; } /** * @return id */ public Long getId() { return this.id; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Long bizUnitId; private String comment; private Long id; private String type; /** *

This parameter is required.

* * example: *

6798087749072704

*/ public Builder bizUnitId(Long bizUnitId) { this.bizUnitId = bizUnitId; return this; } /** *

This parameter is required.

* * example: *

test

*/ public Builder comment(String comment) { this.comment = comment; return this; } /** *

This parameter is required.

* * example: *

101001201

*/ public Builder id(Long id) { this.id = id; return this; } /** *

This parameter is required.

* * example: *

BIZ_OBJECT

*/ public Builder type(String type) { this.type = type; return this; } public OnlineCommand build() { return new OnlineCommand(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy