com.aliyun.dingtalkcalendar_1_0.models.ListCalendarsResponseBody 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 ListCalendarsResponseBody extends TeaModel {
@NameInMap("response")
public ListCalendarsResponseBodyResponse response;
public static ListCalendarsResponseBody build(java.util.Map map) throws Exception {
ListCalendarsResponseBody self = new ListCalendarsResponseBody();
return TeaModel.build(map, self);
}
public ListCalendarsResponseBody setResponse(ListCalendarsResponseBodyResponse response) {
this.response = response;
return this;
}
public ListCalendarsResponseBodyResponse getResponse() {
return this.response;
}
public static class ListCalendarsResponseBodyResponseCalendars extends TeaModel {
@NameInMap("description")
public String description;
/**
* This parameter is required.
*/
@NameInMap("eTag")
public String eTag;
/**
* This parameter is required.
*/
@NameInMap("id")
public String id;
/**
* This parameter is required.
*/
@NameInMap("privilege")
public String privilege;
/**
* This parameter is required.
*/
@NameInMap("summary")
public String summary;
@NameInMap("timeZone")
public String timeZone;
/**
* This parameter is required.
*/
@NameInMap("type")
public String type;
public static ListCalendarsResponseBodyResponseCalendars build(java.util.Map map) throws Exception {
ListCalendarsResponseBodyResponseCalendars self = new ListCalendarsResponseBodyResponseCalendars();
return TeaModel.build(map, self);
}
public ListCalendarsResponseBodyResponseCalendars setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public ListCalendarsResponseBodyResponseCalendars setETag(String eTag) {
this.eTag = eTag;
return this;
}
public String getETag() {
return this.eTag;
}
public ListCalendarsResponseBodyResponseCalendars setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public ListCalendarsResponseBodyResponseCalendars setPrivilege(String privilege) {
this.privilege = privilege;
return this;
}
public String getPrivilege() {
return this.privilege;
}
public ListCalendarsResponseBodyResponseCalendars setSummary(String summary) {
this.summary = summary;
return this;
}
public String getSummary() {
return this.summary;
}
public ListCalendarsResponseBodyResponseCalendars setTimeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}
public String getTimeZone() {
return this.timeZone;
}
public ListCalendarsResponseBodyResponseCalendars setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class ListCalendarsResponseBodyResponse extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("calendars")
public java.util.List calendars;
public static ListCalendarsResponseBodyResponse build(java.util.Map map) throws Exception {
ListCalendarsResponseBodyResponse self = new ListCalendarsResponseBodyResponse();
return TeaModel.build(map, self);
}
public ListCalendarsResponseBodyResponse setCalendars(java.util.List calendars) {
this.calendars = calendars;
return this;
}
public java.util.List getCalendars() {
return this.calendars;
}
}
}