com.aliyun.dingtalkcalendar_1_0.models.CreateSubscribedCalendarRequest 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.dingtalkcalendar_1_0.models;
import com.aliyun.tea.*;
public class CreateSubscribedCalendarRequest extends TeaModel {
// 日历介绍
@NameInMap("description")
public String description;
// 日历管理员列表
@NameInMap("managers")
public java.util.List managers;
// 日历名
@NameInMap("name")
public String name;
// 可订阅列表
@NameInMap("subscribeScope")
public CreateSubscribedCalendarRequestSubscribeScope subscribeScope;
public static CreateSubscribedCalendarRequest build(java.util.Map map) throws Exception {
CreateSubscribedCalendarRequest self = new CreateSubscribedCalendarRequest();
return TeaModel.build(map, self);
}
public CreateSubscribedCalendarRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public CreateSubscribedCalendarRequest setManagers(java.util.List managers) {
this.managers = managers;
return this;
}
public java.util.List getManagers() {
return this.managers;
}
public CreateSubscribedCalendarRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateSubscribedCalendarRequest setSubscribeScope(CreateSubscribedCalendarRequestSubscribeScope subscribeScope) {
this.subscribeScope = subscribeScope;
return this;
}
public CreateSubscribedCalendarRequestSubscribeScope getSubscribeScope() {
return this.subscribeScope;
}
public static class CreateSubscribedCalendarRequestSubscribeScope extends TeaModel {
// 可订阅组织列表
@NameInMap("corpIds")
public java.util.List corpIds;
// 可订阅群组列表
@NameInMap("openConversationIds")
public java.util.List openConversationIds;
// 可订阅人员列表
@NameInMap("unionIds")
public java.util.List unionIds;
public static CreateSubscribedCalendarRequestSubscribeScope build(java.util.Map map) throws Exception {
CreateSubscribedCalendarRequestSubscribeScope self = new CreateSubscribedCalendarRequestSubscribeScope();
return TeaModel.build(map, self);
}
public CreateSubscribedCalendarRequestSubscribeScope setCorpIds(java.util.List corpIds) {
this.corpIds = corpIds;
return this;
}
public java.util.List getCorpIds() {
return this.corpIds;
}
public CreateSubscribedCalendarRequestSubscribeScope setOpenConversationIds(java.util.List openConversationIds) {
this.openConversationIds = openConversationIds;
return this;
}
public java.util.List getOpenConversationIds() {
return this.openConversationIds;
}
public CreateSubscribedCalendarRequestSubscribeScope setUnionIds(java.util.List unionIds) {
this.unionIds = unionIds;
return this;
}
public java.util.List getUnionIds() {
return this.unionIds;
}
}
}