com.aliyun.dms_enterprise20181101.models.DeleteLhMembersRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dms_enterprise20181101 Show documentation
Show all versions of dms_enterprise20181101 Show documentation
Alibaba Cloud dms-enterprise (20181101) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dms_enterprise20181101.models;
import com.aliyun.tea.*;
public class DeleteLhMembersRequest extends TeaModel {
/**
* The ID of the user to be removed. You can call the ListUsers or GetUser operation to obtain the user ID.
* This parameter is required.
*/
@NameInMap("MemberIds")
public java.util.List memberIds;
/**
* The ID of the object.
*
* - If the object is a workspace, you can call the GetLhSpaceByName operation to obtain the workspace ID.
* - If the object is a task flow, you can call the ListLhTaskFlowAndScenario operation to obtain the task flow ID.
*
* This parameter is required.
*
* example:
* 9***
*/
@NameInMap("ObjectId")
public Long objectId;
/**
* The type of the object. Valid values:
*
* - 0: workspace
* - 1: task flow
*
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("ObjectType")
public Integer objectType;
/**
* The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID.
*
* example:
* 3***
*/
@NameInMap("Tid")
public Long tid;
public static DeleteLhMembersRequest build(java.util.Map map) throws Exception {
DeleteLhMembersRequest self = new DeleteLhMembersRequest();
return TeaModel.build(map, self);
}
public DeleteLhMembersRequest setMemberIds(java.util.List memberIds) {
this.memberIds = memberIds;
return this;
}
public java.util.List getMemberIds() {
return this.memberIds;
}
public DeleteLhMembersRequest setObjectId(Long objectId) {
this.objectId = objectId;
return this;
}
public Long getObjectId() {
return this.objectId;
}
public DeleteLhMembersRequest setObjectType(Integer objectType) {
this.objectType = objectType;
return this;
}
public Integer getObjectType() {
return this.objectType;
}
public DeleteLhMembersRequest setTid(Long tid) {
this.tid = tid;
return this;
}
public Long getTid() {
return this.tid;
}
}