com.aliyun.dingtalkcalendar_1_0.models.UpdateSubscribedCalendarsRequest 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 UpdateSubscribedCalendarsRequest extends TeaModel {
@NameInMap("description")
public String description;
@NameInMap("managers")
public java.util.List managers;
@NameInMap("name")
public String name;
@NameInMap("subscribeScope")
public UpdateSubscribedCalendarsRequestSubscribeScope subscribeScope;
public static UpdateSubscribedCalendarsRequest build(java.util.Map map) throws Exception {
UpdateSubscribedCalendarsRequest self = new UpdateSubscribedCalendarsRequest();
return TeaModel.build(map, self);
}
public UpdateSubscribedCalendarsRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public UpdateSubscribedCalendarsRequest setManagers(java.util.List managers) {
this.managers = managers;
return this;
}
public java.util.List getManagers() {
return this.managers;
}
public UpdateSubscribedCalendarsRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateSubscribedCalendarsRequest setSubscribeScope(UpdateSubscribedCalendarsRequestSubscribeScope subscribeScope) {
this.subscribeScope = subscribeScope;
return this;
}
public UpdateSubscribedCalendarsRequestSubscribeScope getSubscribeScope() {
return this.subscribeScope;
}
public static class UpdateSubscribedCalendarsRequestSubscribeScope 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 UpdateSubscribedCalendarsRequestSubscribeScope build(java.util.Map map) throws Exception {
UpdateSubscribedCalendarsRequestSubscribeScope self = new UpdateSubscribedCalendarsRequestSubscribeScope();
return TeaModel.build(map, self);
}
public UpdateSubscribedCalendarsRequestSubscribeScope setCorpIds(java.util.List corpIds) {
this.corpIds = corpIds;
return this;
}
public java.util.List getCorpIds() {
return this.corpIds;
}
public UpdateSubscribedCalendarsRequestSubscribeScope setOpenConversationIds(java.util.List openConversationIds) {
this.openConversationIds = openConversationIds;
return this;
}
public java.util.List getOpenConversationIds() {
return this.openConversationIds;
}
public UpdateSubscribedCalendarsRequestSubscribeScope setUnionIds(java.util.List unionIds) {
this.unionIds = unionIds;
return this;
}
public java.util.List getUnionIds() {
return this.unionIds;
}
}
}