com.aliyun.dingtalkimpaas_1_0.models.CreateTrustGroupRequest 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.dingtalkimpaas_1_0.models;
import com.aliyun.tea.*;
public class CreateTrustGroupRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* channel_abcd
*/
@NameInMap("channel")
public String channel;
/**
* example:
* @lALOKACADDA
*/
@NameInMap("iconMediaId")
public String iconMediaId;
@NameInMap("members")
public java.util.List members;
/**
* This parameter is required.
*
* example:
* 测试群名称XXX
*/
@NameInMap("name")
public String name;
@NameInMap("properties")
public java.util.Map properties;
/**
* example:
* 你有新的会话
*/
@NameInMap("systemMsg")
public String systemMsg;
/**
* This parameter is required.
*
* example:
* 1657099913071
*/
@NameInMap("uuid")
public String uuid;
public static CreateTrustGroupRequest build(java.util.Map map) throws Exception {
CreateTrustGroupRequest self = new CreateTrustGroupRequest();
return TeaModel.build(map, self);
}
public CreateTrustGroupRequest setChannel(String channel) {
this.channel = channel;
return this;
}
public String getChannel() {
return this.channel;
}
public CreateTrustGroupRequest setIconMediaId(String iconMediaId) {
this.iconMediaId = iconMediaId;
return this;
}
public String getIconMediaId() {
return this.iconMediaId;
}
public CreateTrustGroupRequest setMembers(java.util.List members) {
this.members = members;
return this;
}
public java.util.List getMembers() {
return this.members;
}
public CreateTrustGroupRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateTrustGroupRequest setProperties(java.util.Map properties) {
this.properties = properties;
return this;
}
public java.util.Map getProperties() {
return this.properties;
}
public CreateTrustGroupRequest setSystemMsg(String systemMsg) {
this.systemMsg = systemMsg;
return this;
}
public String getSystemMsg() {
return this.systemMsg;
}
public CreateTrustGroupRequest setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
public static class CreateTrustGroupRequestMembers extends TeaModel {
@NameInMap("nick")
public String nick;
@NameInMap("uid")
public String uid;
public static CreateTrustGroupRequestMembers build(java.util.Map map) throws Exception {
CreateTrustGroupRequestMembers self = new CreateTrustGroupRequestMembers();
return TeaModel.build(map, self);
}
public CreateTrustGroupRequestMembers setNick(String nick) {
this.nick = nick;
return this;
}
public String getNick() {
return this.nick;
}
public CreateTrustGroupRequestMembers setUid(String uid) {
this.uid = uid;
return this;
}
public String getUid() {
return this.uid;
}
}
}