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

com.aliyun.dingtalkim_2_0.models.CreateGroupRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class CreateGroupRequest extends TeaModel {
    @NameInMap("groupAvatar")
    public String groupAvatar;

    /**
     * 

This parameter is required.

*/ @NameInMap("groupName") public String groupName; /** *

This parameter is required.

*/ @NameInMap("groupTemplateId") public String groupTemplateId; @NameInMap("operatorId") public String operatorId; /** *

This parameter is required.

*/ @NameInMap("users") public java.util.List users; public static CreateGroupRequest build(java.util.Map map) throws Exception { CreateGroupRequest self = new CreateGroupRequest(); return TeaModel.build(map, self); } public CreateGroupRequest setGroupAvatar(String groupAvatar) { this.groupAvatar = groupAvatar; return this; } public String getGroupAvatar() { return this.groupAvatar; } public CreateGroupRequest setGroupName(String groupName) { this.groupName = groupName; return this; } public String getGroupName() { return this.groupName; } public CreateGroupRequest setGroupTemplateId(String groupTemplateId) { this.groupTemplateId = groupTemplateId; return this; } public String getGroupTemplateId() { return this.groupTemplateId; } public CreateGroupRequest setOperatorId(String operatorId) { this.operatorId = operatorId; return this; } public String getOperatorId() { return this.operatorId; } public CreateGroupRequest setUsers(java.util.List users) { this.users = users; return this; } public java.util.List getUsers() { return this.users; } public static class CreateGroupRequestUsers extends TeaModel { @NameInMap("appUserId") public String appUserId; /** *

This parameter is required.

*/ @NameInMap("groupOwner") public Boolean groupOwner; @NameInMap("userId") public String userId; public static CreateGroupRequestUsers build(java.util.Map map) throws Exception { CreateGroupRequestUsers self = new CreateGroupRequestUsers(); return TeaModel.build(map, self); } public CreateGroupRequestUsers setAppUserId(String appUserId) { this.appUserId = appUserId; return this; } public String getAppUserId() { return this.appUserId; } public CreateGroupRequestUsers setGroupOwner(Boolean groupOwner) { this.groupOwner = groupOwner; return this; } public Boolean getGroupOwner() { return this.groupOwner; } public CreateGroupRequestUsers setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy