1/**
2 * @file Describe the file
3 * Copyright (c) 2023 Huawei Device Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17interface CalendarsType {
18  id: number
19  accountName: string
20  accountType: string
21  syncId: string
22  dirty: number
23  mutators: string
24  name: string
25  calendarDisplayName: string
26  calendarColor: number
27  calendarColorIndex: string
28  calendarAccessLevel: number
29  visible: number
30  syncEvents: number
31  calendarLocation: string
32  calendarTimezone: string
33  ownerAccount: string
34  isPrimary: number
35  canOrganizerRespond: number
36  canModifyTimeZone: number
37  canPartiallyUpdate: number
38  maxReminders: number
39  allowedReminders: string
40  allowedAvailability: string;
41  allowedAttendeeTypes: string;
42  deleted: number;
43  calendarTimeStamp: number;
44  calSync1: string;
45  calSync2: string;
46  calSync3: string;
47  calSync4: string;
48  calSync5: string;
49  calSync6: string;
50  calSync7: string;
51  calSync8: string;
52  calSync9: string;
53  calSync10: string;
54  canReminder: number;
55  creator: string;
56}
57
58/**
59 * the structure of table Calendars
60 *
61 * @since 2022-10-18
62 */
63export class Calendars implements CalendarsType {
64  id = 0;
65  accountName = '';
66  accountType = '';
67  syncId = '';
68  dirty = 0;
69  mutators = '';
70  name = '';
71  calendarDisplayName = '';
72  calendarColor = 0;
73  calendarColorIndex = '';
74  calendarAccessLevel = 0;
75  visible = 0;
76  syncEvents = 0;
77  calendarLocation = '';
78  calendarTimezone = '';
79  ownerAccount = '';
80  isPrimary = 0;
81  canOrganizerRespond = 0;
82  canModifyTimeZone = 0;
83  canPartiallyUpdate = 0;
84  maxReminders = 0;
85  allowedReminders = '';
86  allowedAvailability = '';
87  allowedAttendeeTypes = '';
88  deleted = 0;
89  calendarTimeStamp = 0;
90  calSync1 = '';
91  calSync2 = '';
92  calSync3 = '';
93  calSync4 = '';
94  calSync5 = '';
95  calSync6 = '';
96  calSync7 = '';
97  calSync8 = '';
98  calSync9 = '';
99  calSync10 = '';
100  canReminder = 0;
101  creator = '';
102}