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

com.aliyun.pds20220301.models.AddGroupMemberRequest Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;

import com.aliyun.tea.*;

public class AddGroupMemberRequest extends TeaModel {
    /**
     * 

The ID of the destination group to which the member is added.

*

This parameter is required.

* * example: *

3e5***2c2

*/ @NameInMap("group_id") public String groupId; /** *

The member ID. If member_type is set to user, set this parameter to a user ID.

*

This parameter is required.

* * example: *

2e4***1b1

*/ @NameInMap("member_id") public String memberId; /** *

The type of the member. Set the value to user. When you create a group, you can directly add the group to a parent group.

*
    *
  • user
  • *
*

Note: A group can be added to only one group. A user can be added to multiple groups.

*

This parameter is required.

* * example: *

user

*/ @NameInMap("member_type") public String memberType; public static AddGroupMemberRequest build(java.util.Map map) throws Exception { AddGroupMemberRequest self = new AddGroupMemberRequest(); return TeaModel.build(map, self); } public AddGroupMemberRequest setGroupId(String groupId) { this.groupId = groupId; return this; } public String getGroupId() { return this.groupId; } public AddGroupMemberRequest setMemberId(String memberId) { this.memberId = memberId; return this; } public String getMemberId() { return this.memberId; } public AddGroupMemberRequest setMemberType(String memberType) { this.memberType = memberType; return this; } public String getMemberType() { return this.memberType; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy