@@ -112,26 +112,22 @@ def ical_uid(self):
112
112
113
113
@property
114
114
def importance (self ):
115
- """
116
- The importance of the event. The possible values are: low, normal, high.
117
- :rtype: str
118
- """
115
+ # type: () -> Optional[str]
116
+ """The importance of the event. The possible values are: low, normal, high."""
119
117
return self .properties .get ("importance" , None )
120
118
121
119
@property
122
120
def is_all_day (self ):
121
+ # type: () -> Optional[bool]
123
122
"""
124
123
Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event,
125
124
start and end time must be set to midnight and be in the same time zone.
126
- :rtype: bool or None
127
125
"""
128
126
return self .properties .get ("isAllDay" , None )
129
127
130
128
@property
131
129
def start (self ):
132
- """
133
- The date, time, and time zone that the event starts. By default, the start time is in UTC.
134
- """
130
+ """The date, time, and time zone that the event starts. By default, the start time is in UTC."""
135
131
return self .properties .get ("start" , DateTimeTimeZone ())
136
132
137
133
@start .setter
@@ -145,9 +141,7 @@ def start(self, value):
145
141
146
142
@property
147
143
def end (self ):
148
- """
149
- The date, time, and time zone that the event starts. By default, the start time is in UTC.
150
- """
144
+ """The date, time, and time zone that the event starts. By default, the start time is in UTC."""
151
145
return self .properties .get ("end" , DateTimeTimeZone ())
152
146
153
147
@end .setter
@@ -187,40 +181,30 @@ def multi_value_extended_properties(self):
187
181
188
182
@property
189
183
def body (self ):
190
- """
191
- The body of the message associated with the event. It can be in HTML or text format.
192
- """
184
+ """The body of the message associated with the event. It can be in HTML or text format."""
193
185
return self .properties .get ("body" , ItemBody ())
194
186
195
187
@body .setter
196
188
def body (self , value ):
197
- """
198
- Sets The body of the message associated with the event. It can be in HTML or text format.
199
- """
189
+ """Sets The body of the message associated with the event. It can be in HTML or text format."""
200
190
self .set_property ("body" , ItemBody (value , "HTML" ))
201
191
202
192
@property
203
193
def body_preview (self ):
204
- """
205
- The preview of the message associated with the event. It is in text format.
206
- :rtype: str or None
207
- """
194
+ # type: () -> Optional[str]
195
+ """The preview of the message associated with the event. It is in text format."""
208
196
return self .properties .get ("bodyPreview" , None )
209
197
210
198
@property
211
199
def subject (self ):
212
200
# type: () -> Optional[str]
213
- """
214
- The text of the event's subject line.
215
- """
201
+ """The text of the event's subject line."""
216
202
return self .properties .get ("subject" , None )
217
203
218
204
@subject .setter
219
205
def subject (self , value ):
220
- """
221
- Sets The text of the event's subject line.
222
- :type: str or None
223
- """
206
+ # type: (str) -> None
207
+ """Sets The text of the event's subject line."""
224
208
self .set_property ("subject" , value )
225
209
226
210
@property
0 commit comments