com.aliyun.sdk.service.dataphin_public20230630.models.UpdateBizEntityRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Alibaba Cloud dataphin-public (20230630) Async SDK for Java
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 UpdateBizEntityRequest} extends {@link RequestModel}
*
* UpdateBizEntityRequest
*/
public class UpdateBizEntityRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OpTenantId")
@com.aliyun.core.annotation.Validation(required = true)
private Long opTenantId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("UpdateCommand")
@com.aliyun.core.annotation.Validation(required = true)
private UpdateCommand updateCommand;
private UpdateBizEntityRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.opTenantId = builder.opTenantId;
this.updateCommand = builder.updateCommand;
}
public static Builder builder() {
return new Builder();
}
public static UpdateBizEntityRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return opTenantId
*/
public Long getOpTenantId() {
return this.opTenantId;
}
/**
* @return updateCommand
*/
public UpdateCommand getUpdateCommand() {
return this.updateCommand;
}
public static final class Builder extends Request.Builder {
private String regionId;
private Long opTenantId;
private UpdateCommand updateCommand;
private Builder() {
super();
}
private Builder(UpdateBizEntityRequest request) {
super(request);
this.regionId = request.regionId;
this.opTenantId = request.opTenantId;
this.updateCommand = request.updateCommand;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* This parameter is required.
*
* example:
* 30001011
*/
public Builder opTenantId(Long opTenantId) {
this.putQueryParameter("OpTenantId", opTenantId);
this.opTenantId = opTenantId;
return this;
}
/**
* This parameter is required.
*/
public Builder updateCommand(UpdateCommand updateCommand) {
String updateCommandShrink = shrink(updateCommand, "UpdateCommand", "json");
this.putBodyParameter("UpdateCommand", updateCommandShrink);
this.updateCommand = updateCommand;
return this;
}
@Override
public UpdateBizEntityRequest build() {
return new UpdateBizEntityRequest(this);
}
}
/**
*
* {@link UpdateBizEntityRequest} extends {@link TeaModel}
*
* UpdateBizEntityRequest
*/
public static class BizObject extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("DisplayName")
@com.aliyun.core.annotation.Validation(required = true)
private String displayName;
@com.aliyun.core.annotation.NameInMap("Name")
@com.aliyun.core.annotation.Validation(required = true)
private String name;
@com.aliyun.core.annotation.NameInMap("OwnerUserId")
@com.aliyun.core.annotation.Validation(required = true)
private String ownerUserId;
@com.aliyun.core.annotation.NameInMap("ParentId")
private Long parentId;
@com.aliyun.core.annotation.NameInMap("RefBizEntityIdList")
private java.util.List refBizEntityIdList;
private BizObject(Builder builder) {
this.description = builder.description;
this.displayName = builder.displayName;
this.name = builder.name;
this.ownerUserId = builder.ownerUserId;
this.parentId = builder.parentId;
this.refBizEntityIdList = builder.refBizEntityIdList;
}
public static Builder builder() {
return new Builder();
}
public static BizObject create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return ownerUserId
*/
public String getOwnerUserId() {
return this.ownerUserId;
}
/**
* @return parentId
*/
public Long getParentId() {
return this.parentId;
}
/**
* @return refBizEntityIdList
*/
public java.util.List getRefBizEntityIdList() {
return this.refBizEntityIdList;
}
public static final class Builder {
private String description;
private String displayName;
private String name;
private String ownerUserId;
private Long parentId;
private java.util.List refBizEntityIdList;
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* This parameter is required.
*
* example:
* create_object_name
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* This parameter is required.
*
* example:
* create_object_code_name
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* This parameter is required.
*
* example:
* 30010010
*/
public Builder ownerUserId(String ownerUserId) {
this.ownerUserId = ownerUserId;
return this;
}
/**
* ParentId.
*/
public Builder parentId(Long parentId) {
this.parentId = parentId;
return this;
}
/**
* RefBizEntityIdList.
*/
public Builder refBizEntityIdList(java.util.List refBizEntityIdList) {
this.refBizEntityIdList = refBizEntityIdList;
return this;
}
public BizObject build() {
return new BizObject(this);
}
}
}
/**
*
* {@link UpdateBizEntityRequest} extends {@link TeaModel}
*
* UpdateBizEntityRequest
*/
public static class BizProcess extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BizEventEntityIdList")
private java.util.List bizEventEntityIdList;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("DisplayName")
@com.aliyun.core.annotation.Validation(required = true)
private String displayName;
@com.aliyun.core.annotation.NameInMap("Name")
@com.aliyun.core.annotation.Validation(required = true)
private String name;
@com.aliyun.core.annotation.NameInMap("OwnerUserId")
@com.aliyun.core.annotation.Validation(required = true)
private String ownerUserId;
@com.aliyun.core.annotation.NameInMap("PreBizProcessIdList")
private java.util.List preBizProcessIdList;
@com.aliyun.core.annotation.NameInMap("RefBizEntityIdList")
private java.util.List refBizEntityIdList;
private BizProcess(Builder builder) {
this.bizEventEntityIdList = builder.bizEventEntityIdList;
this.description = builder.description;
this.displayName = builder.displayName;
this.name = builder.name;
this.ownerUserId = builder.ownerUserId;
this.preBizProcessIdList = builder.preBizProcessIdList;
this.refBizEntityIdList = builder.refBizEntityIdList;
}
public static Builder builder() {
return new Builder();
}
public static BizProcess create() {
return builder().build();
}
/**
* @return bizEventEntityIdList
*/
public java.util.List getBizEventEntityIdList() {
return this.bizEventEntityIdList;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return ownerUserId
*/
public String getOwnerUserId() {
return this.ownerUserId;
}
/**
* @return preBizProcessIdList
*/
public java.util.List getPreBizProcessIdList() {
return this.preBizProcessIdList;
}
/**
* @return refBizEntityIdList
*/
public java.util.List getRefBizEntityIdList() {
return this.refBizEntityIdList;
}
public static final class Builder {
private java.util.List bizEventEntityIdList;
private String description;
private String displayName;
private String name;
private String ownerUserId;
private java.util.List preBizProcessIdList;
private java.util.List refBizEntityIdList;
/**
* BizEventEntityIdList.
*/
public Builder bizEventEntityIdList(java.util.List bizEventEntityIdList) {
this.bizEventEntityIdList = bizEventEntityIdList;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* This parameter is required.
*
* example:
* create_process_name
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* This parameter is required.
*
* example:
* create_process_code_name
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* This parameter is required.
*
* example:
* 30010010
*/
public Builder ownerUserId(String ownerUserId) {
this.ownerUserId = ownerUserId;
return this;
}
/**
* PreBizProcessIdList.
*/
public Builder preBizProcessIdList(java.util.List preBizProcessIdList) {
this.preBizProcessIdList = preBizProcessIdList;
return this;
}
/**
* RefBizEntityIdList.
*/
public Builder refBizEntityIdList(java.util.List refBizEntityIdList) {
this.refBizEntityIdList = refBizEntityIdList;
return this;
}
public BizProcess build() {
return new BizProcess(this);
}
}
}
/**
*
* {@link UpdateBizEntityRequest} extends {@link TeaModel}
*
* UpdateBizEntityRequest
*/
public static class UpdateCommand extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BizObject")
private BizObject bizObject;
@com.aliyun.core.annotation.NameInMap("BizProcess")
private BizProcess bizProcess;
@com.aliyun.core.annotation.NameInMap("BizUnitId")
@com.aliyun.core.annotation.Validation(required = true)
private Long bizUnitId;
@com.aliyun.core.annotation.NameInMap("DataDomainId")
@com.aliyun.core.annotation.Validation(required = true)
private Long dataDomainId;
@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 UpdateCommand(Builder builder) {
this.bizObject = builder.bizObject;
this.bizProcess = builder.bizProcess;
this.bizUnitId = builder.bizUnitId;
this.dataDomainId = builder.dataDomainId;
this.id = builder.id;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static UpdateCommand create() {
return builder().build();
}
/**
* @return bizObject
*/
public BizObject getBizObject() {
return this.bizObject;
}
/**
* @return bizProcess
*/
public BizProcess getBizProcess() {
return this.bizProcess;
}
/**
* @return bizUnitId
*/
public Long getBizUnitId() {
return this.bizUnitId;
}
/**
* @return dataDomainId
*/
public Long getDataDomainId() {
return this.dataDomainId;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private BizObject bizObject;
private BizProcess bizProcess;
private Long bizUnitId;
private Long dataDomainId;
private Long id;
private String type;
/**
* BizObject.
*/
public Builder bizObject(BizObject bizObject) {
this.bizObject = bizObject;
return this;
}
/**
* BizProcess.
*/
public Builder bizProcess(BizProcess bizProcess) {
this.bizProcess = bizProcess;
return this;
}
/**
* This parameter is required.
*
* example:
* 6798087749072704
*/
public Builder bizUnitId(Long bizUnitId) {
this.bizUnitId = bizUnitId;
return this;
}
/**
* This parameter is required.
*
* example:
* 20101011
*/
public Builder dataDomainId(Long dataDomainId) {
this.dataDomainId = dataDomainId;
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 UpdateCommand build() {
return new UpdateCommand(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy