com.aliyun.dingtalkim_2_0.models.CreateCoupleGroupRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkim_2_0.models;
import com.aliyun.tea.*;
public class CreateCoupleGroupRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 8d42****nkld
*/
@NameInMap("groupTemplateId")
public String groupTemplateId;
/**
* example:
* 1745****8777
*/
@NameInMap("operatorId")
public String operatorId;
@NameInMap("users")
public java.util.List users;
public static CreateCoupleGroupRequest build(java.util.Map map) throws Exception {
CreateCoupleGroupRequest self = new CreateCoupleGroupRequest();
return TeaModel.build(map, self);
}
public CreateCoupleGroupRequest setGroupTemplateId(String groupTemplateId) {
this.groupTemplateId = groupTemplateId;
return this;
}
public String getGroupTemplateId() {
return this.groupTemplateId;
}
public CreateCoupleGroupRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public CreateCoupleGroupRequest setUsers(java.util.List users) {
this.users = users;
return this;
}
public java.util.List getUsers() {
return this.users;
}
public static class CreateCoupleGroupRequestUsers extends TeaModel {
/**
* example:
* 1107****2120
*/
@NameInMap("appUserId")
public String appUserId;
/**
* This parameter is required.
*/
@NameInMap("groupOwner")
public Boolean groupOwner;
/**
* example:
* 1745****8778
*/
@NameInMap("userId")
public String userId;
public static CreateCoupleGroupRequestUsers build(java.util.Map map) throws Exception {
CreateCoupleGroupRequestUsers self = new CreateCoupleGroupRequestUsers();
return TeaModel.build(map, self);
}
public CreateCoupleGroupRequestUsers setAppUserId(String appUserId) {
this.appUserId = appUserId;
return this;
}
public String getAppUserId() {
return this.appUserId;
}
public CreateCoupleGroupRequestUsers setGroupOwner(Boolean groupOwner) {
this.groupOwner = groupOwner;
return this;
}
public Boolean getGroupOwner() {
return this.groupOwner;
}
public CreateCoupleGroupRequestUsers setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}