All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkcalendar_1_0.models.GetScheduleResponseBody Maven / Gradle / Ivy

There is a newer version: 2.1.30
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcalendar_1_0.models;

import com.aliyun.tea.*;

public class GetScheduleResponseBody extends TeaModel {
    // 闲忙信息
    @NameInMap("scheduleInformation")
    public java.util.List scheduleInformation;

    public static GetScheduleResponseBody build(java.util.Map map) throws Exception {
        GetScheduleResponseBody self = new GetScheduleResponseBody();
        return TeaModel.build(map, self);
    }

    public GetScheduleResponseBody setScheduleInformation(java.util.List scheduleInformation) {
        this.scheduleInformation = scheduleInformation;
        return this;
    }
    public java.util.List getScheduleInformation() {
        return this.scheduleInformation;
    }

    public static class GetScheduleResponseBodyScheduleInformationScheduleItemsEnd extends TeaModel {
        // 结束日期
        @NameInMap("date")
        public String date;

        // 结束时间戳,按照ISO 8601格式
        @NameInMap("dateTime")
        public String dateTime;

        // 时间戳所属时区
        @NameInMap("timeZone")
        public String timeZone;

        public static GetScheduleResponseBodyScheduleInformationScheduleItemsEnd build(java.util.Map map) throws Exception {
            GetScheduleResponseBodyScheduleInformationScheduleItemsEnd self = new GetScheduleResponseBodyScheduleInformationScheduleItemsEnd();
            return TeaModel.build(map, self);
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItemsEnd setDate(String date) {
            this.date = date;
            return this;
        }
        public String getDate() {
            return this.date;
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItemsEnd setDateTime(String dateTime) {
            this.dateTime = dateTime;
            return this;
        }
        public String getDateTime() {
            return this.dateTime;
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItemsEnd setTimeZone(String timeZone) {
            this.timeZone = timeZone;
            return this;
        }
        public String getTimeZone() {
            return this.timeZone;
        }

    }

    public static class GetScheduleResponseBodyScheduleInformationScheduleItemsStart extends TeaModel {
        // 开始日期
        @NameInMap("date")
        public String date;

        // 开始时间戳,按照ISO 8601格式
        @NameInMap("dateTime")
        public String dateTime;

        // 所属时区
        @NameInMap("timeZone")
        public String timeZone;

        public static GetScheduleResponseBodyScheduleInformationScheduleItemsStart build(java.util.Map map) throws Exception {
            GetScheduleResponseBodyScheduleInformationScheduleItemsStart self = new GetScheduleResponseBodyScheduleInformationScheduleItemsStart();
            return TeaModel.build(map, self);
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItemsStart setDate(String date) {
            this.date = date;
            return this;
        }
        public String getDate() {
            return this.date;
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItemsStart setDateTime(String dateTime) {
            this.dateTime = dateTime;
            return this;
        }
        public String getDateTime() {
            return this.dateTime;
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItemsStart setTimeZone(String timeZone) {
            this.timeZone = timeZone;
            return this;
        }
        public String getTimeZone() {
            return this.timeZone;
        }

    }

    public static class GetScheduleResponseBodyScheduleInformationScheduleItems extends TeaModel {
        // 结束时间,表示一个日期,或者一个带时区的时间戳
        @NameInMap("end")
        public GetScheduleResponseBodyScheduleInformationScheduleItemsEnd end;

        // 开始时间,表示一个日期,或者一个带时区的时间戳
        @NameInMap("start")
        public GetScheduleResponseBodyScheduleInformationScheduleItemsStart start;

        // 状态: - BUSY:繁忙, - TENTATIVE:暂定繁忙
        @NameInMap("status")
        public String status;

        public static GetScheduleResponseBodyScheduleInformationScheduleItems build(java.util.Map map) throws Exception {
            GetScheduleResponseBodyScheduleInformationScheduleItems self = new GetScheduleResponseBodyScheduleInformationScheduleItems();
            return TeaModel.build(map, self);
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItems setEnd(GetScheduleResponseBodyScheduleInformationScheduleItemsEnd end) {
            this.end = end;
            return this;
        }
        public GetScheduleResponseBodyScheduleInformationScheduleItemsEnd getEnd() {
            return this.end;
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItems setStart(GetScheduleResponseBodyScheduleInformationScheduleItemsStart start) {
            this.start = start;
            return this;
        }
        public GetScheduleResponseBodyScheduleInformationScheduleItemsStart getStart() {
            return this.start;
        }

        public GetScheduleResponseBodyScheduleInformationScheduleItems setStatus(String status) {
            this.status = status;
            return this;
        }
        public String getStatus() {
            return this.status;
        }

    }

    public static class GetScheduleResponseBodyScheduleInformation extends TeaModel {
        // 异常描述
        @NameInMap("error")
        public String error;

        @NameInMap("scheduleItems")
        public java.util.List scheduleItems;

        // 用户userId
        @NameInMap("userId")
        public String userId;

        public static GetScheduleResponseBodyScheduleInformation build(java.util.Map map) throws Exception {
            GetScheduleResponseBodyScheduleInformation self = new GetScheduleResponseBodyScheduleInformation();
            return TeaModel.build(map, self);
        }

        public GetScheduleResponseBodyScheduleInformation setError(String error) {
            this.error = error;
            return this;
        }
        public String getError() {
            return this.error;
        }

        public GetScheduleResponseBodyScheduleInformation setScheduleItems(java.util.List scheduleItems) {
            this.scheduleItems = scheduleItems;
            return this;
        }
        public java.util.List getScheduleItems() {
            return this.scheduleItems;
        }

        public GetScheduleResponseBodyScheduleInformation setUserId(String userId) {
            this.userId = userId;
            return this;
        }
        public String getUserId() {
            return this.userId;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy