File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,26 @@ class Activity(Enum):
29
29
AWAY = "Away"
30
30
PRESENTING = "Presenting"
31
31
32
+ class PreferredAvailability (Enum ):
33
+ """Valid values for Availability."""
34
+
35
+ AVAILABLE = "Available"
36
+ BUSY = "Busy"
37
+ DONOTDISTURB = "DoNotDisturb"
38
+ BERIGHTBACK = "BeRightBack"
39
+ AWAY = "Away"
40
+ OFFLINE = "Offline"
41
+
42
+
43
+ class PreferredActivity (Enum ):
44
+ """Valid values for Activity."""
45
+
46
+ AVAILABLE = "Available"
47
+ BUSY = "Busy"
48
+ DONOTDISTURB = "DoNotDisturb"
49
+ BERIGHTBACK = "BeRightBack"
50
+ AWAY = "Away"
51
+ OFFWORK = "OffWork"
32
52
33
53
class ConversationMember (ApiComponent ):
34
54
""" A Microsoft Teams conversation member """
@@ -781,8 +801,8 @@ def set_my_presence(
781
801
782
802
def set_my_user_preferred_presence (
783
803
self ,
784
- availability : Availability ,
785
- activity : Activity ,
804
+ availability : PreferredAvailability ,
805
+ activity : PreferredActivity ,
786
806
expiration_duration ,
787
807
):
788
808
"""Sets my user preferred presence status
You can’t perform that action at this time.
0 commit comments