1
1
from datetime import datetime
2
+ from typing import AnyStr , Optional
2
3
3
4
from office365 .communications .onlinemeetings .participants import MeetingParticipants
4
5
from office365 .entity import Entity
@@ -14,49 +15,37 @@ class OnlineMeeting(Entity):
14
15
15
16
@property
16
17
def allow_attendee_to_enable_camera (self ):
17
- """
18
- Indicates whether attendees can turn on their camera.
19
- :rtype: str
20
- """
18
+ # type: () -> Optional[bool]
19
+ """Indicates whether attendees can turn on their camera."""
21
20
return self .properties .get ("allowAttendeeToEnableCamera" , None )
22
21
23
22
@property
24
23
def allow_attendee_to_enable_mic (self ):
25
- """
26
- Indicates whether attendees can turn on their microphone.
27
- :rtype: str
28
- """
24
+ # type: () -> Optional[bool]
25
+ """Indicates whether attendees can turn on their microphone."""
29
26
return self .properties .get ("allowAttendeeToEnableMic" , None )
30
27
31
28
@property
32
29
def allowed_presenters (self ):
33
- """
34
- Specifies who can be a presenter in a meeting. Possible values are listed in the following table.
35
- """
30
+ """Specifies who can be a presenter in a meeting. Possible values are listed in the following table."""
36
31
return self .properties .get ("allowedPresenters" , StringCollection ())
37
32
38
33
@property
39
34
def allow_meeting_chat (self ):
40
- """
41
- Specifies the mode of meeting chat.
42
- :rtype: str or None
43
- """
35
+ # type: () -> Optional[bool]
36
+ """Specifies the mode of meeting chat."""
44
37
return self .properties .get ("allowMeetingChat" , None )
45
38
46
39
@property
47
40
def allow_participants_to_change_name (self ):
48
- """
49
- Specifies if participants are allowed to rename themselves in an instance of the meeting.
50
- :rtype: bool or None
51
- """
41
+ # type: () -> Optional[bool]
42
+ """Specifies if participants are allowed to rename themselves in an instance of the meeting."""
52
43
return self .properties .get ("allowParticipantsToChangeName" , None )
53
44
54
45
@property
55
46
def attendee_report (self ):
56
- """
57
- The content stream of the attendee report of a Microsoft Teams live event.
58
- :rtype: bytes or None
59
- """
47
+ # type: () -> Optional[AnyStr]
48
+ """The content stream of the attendee report of a Microsoft Teams live event."""
60
49
return self .properties .get ("attendeeReport" , None )
61
50
62
51
@property
@@ -68,17 +57,13 @@ def participants(self):
68
57
69
58
@property
70
59
def subject (self ):
71
- """
72
- The subject of the online meeting.
73
- :rtype: str or None
74
- """
60
+ # type: () -> Optional[str]
61
+ """The subject of the online meeting."""
75
62
return self .properties .get ("subject" , None )
76
63
77
64
@subject .setter
78
65
def subject (self , value ):
79
- """
80
- :type value: str
81
- """
66
+ # type: (str) -> None
82
67
self .set_property ("subject" , value )
83
68
84
69
@property
@@ -88,9 +73,9 @@ def start_datetime(self):
88
73
89
74
@start_datetime .setter
90
75
def start_datetime (self , value ):
76
+ # type: (datetime) -> None
91
77
"""
92
78
Sets the meeting start time in UTC.
93
- :type value: datetime.datetime
94
79
"""
95
80
self .set_property ("startDateTime" , value .isoformat ())
96
81
@@ -101,10 +86,8 @@ def end_datetime(self):
101
86
102
87
@end_datetime .setter
103
88
def end_datetime (self , value ):
104
- """
105
- Sets the meeting end time in UTC.
106
- :type value: datetime.datetime
107
- """
89
+ # type: (datetime) -> None
90
+ """Sets the meeting end time in UTC."""
108
91
self .set_property ("endDateTime" , value .isoformat ())
109
92
110
93
@property
@@ -114,11 +97,13 @@ def join_information(self):
114
97
115
98
@property
116
99
def join_web_url (self ):
100
+ # type: () -> Optional[str]
117
101
"""The join URL of the online meeting. Read-only."""
118
102
return self .properties .get ("joinWebUrl" , None )
119
103
120
104
@property
121
105
def video_teleconference_id (self ):
106
+ # type: () -> Optional[str]
122
107
"""The video teleconferencing ID."""
123
108
return self .properties .get ("videoTeleconferenceId" , None )
124
109
0 commit comments