com.aliyun.dingtalkim_1_0.models.CreateSceneGroupConversationRequest 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_1_0.models;
import com.aliyun.tea.*;
public class CreateSceneGroupConversationRequest extends TeaModel {
@NameInMap("features")
public java.util.Map features;
/**
* This parameter is required.
*
* example:
* 客户群
*/
@NameInMap("groupName")
public String groupName;
/**
* This parameter is required.
*
* example:
* 1107****2120
*/
@NameInMap("groupOwnerId")
public String groupOwnerId;
/**
* example:
* http://***.png
*/
@NameInMap("icon")
public String icon;
@NameInMap("managementOptions")
public CreateSceneGroupConversationRequestManagementOptions managementOptions;
/**
* This parameter is required.
*
* example:
* 8d42****nkld
*/
@NameInMap("templateId")
public String templateId;
@NameInMap("userIdList")
public java.util.List userIdList;
/**
* example:
* asdazxc
*/
@NameInMap("uuid")
public String uuid;
public static CreateSceneGroupConversationRequest build(java.util.Map map) throws Exception {
CreateSceneGroupConversationRequest self = new CreateSceneGroupConversationRequest();
return TeaModel.build(map, self);
}
public CreateSceneGroupConversationRequest setFeatures(java.util.Map features) {
this.features = features;
return this;
}
public java.util.Map getFeatures() {
return this.features;
}
public CreateSceneGroupConversationRequest setGroupName(String groupName) {
this.groupName = groupName;
return this;
}
public String getGroupName() {
return this.groupName;
}
public CreateSceneGroupConversationRequest setGroupOwnerId(String groupOwnerId) {
this.groupOwnerId = groupOwnerId;
return this;
}
public String getGroupOwnerId() {
return this.groupOwnerId;
}
public CreateSceneGroupConversationRequest setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public CreateSceneGroupConversationRequest setManagementOptions(CreateSceneGroupConversationRequestManagementOptions managementOptions) {
this.managementOptions = managementOptions;
return this;
}
public CreateSceneGroupConversationRequestManagementOptions getManagementOptions() {
return this.managementOptions;
}
public CreateSceneGroupConversationRequest setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public CreateSceneGroupConversationRequest setUserIdList(java.util.List userIdList) {
this.userIdList = userIdList;
return this;
}
public java.util.List getUserIdList() {
return this.userIdList;
}
public CreateSceneGroupConversationRequest setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
public static class CreateSceneGroupConversationRequestManagementOptions extends TeaModel {
@NameInMap("chatBannedType")
public Integer chatBannedType;
@NameInMap("managementType")
public Integer managementType;
@NameInMap("mentionAllAuthority")
public Integer mentionAllAuthority;
@NameInMap("searchable")
public Integer searchable;
@NameInMap("showHistoryType")
public Integer showHistoryType;
@NameInMap("validationType")
public Integer validationType;
public static CreateSceneGroupConversationRequestManagementOptions build(java.util.Map map) throws Exception {
CreateSceneGroupConversationRequestManagementOptions self = new CreateSceneGroupConversationRequestManagementOptions();
return TeaModel.build(map, self);
}
public CreateSceneGroupConversationRequestManagementOptions setChatBannedType(Integer chatBannedType) {
this.chatBannedType = chatBannedType;
return this;
}
public Integer getChatBannedType() {
return this.chatBannedType;
}
public CreateSceneGroupConversationRequestManagementOptions setManagementType(Integer managementType) {
this.managementType = managementType;
return this;
}
public Integer getManagementType() {
return this.managementType;
}
public CreateSceneGroupConversationRequestManagementOptions setMentionAllAuthority(Integer mentionAllAuthority) {
this.mentionAllAuthority = mentionAllAuthority;
return this;
}
public Integer getMentionAllAuthority() {
return this.mentionAllAuthority;
}
public CreateSceneGroupConversationRequestManagementOptions setSearchable(Integer searchable) {
this.searchable = searchable;
return this;
}
public Integer getSearchable() {
return this.searchable;
}
public CreateSceneGroupConversationRequestManagementOptions setShowHistoryType(Integer showHistoryType) {
this.showHistoryType = showHistoryType;
return this;
}
public Integer getShowHistoryType() {
return this.showHistoryType;
}
public CreateSceneGroupConversationRequestManagementOptions setValidationType(Integer validationType) {
this.validationType = validationType;
return this;
}
public Integer getValidationType() {
return this.validationType;
}
}
}