@@ -17,23 +17,23 @@ class Calendar(Entity):
17
17
of a Microsoft 365 group.
18
18
"""
19
19
20
- def get_schedule (self , schedules , startTime = None , endTime = None , availabilityViewInterval = 30 ):
20
+ def get_schedule (self , schedules , start_time = None , end_time = None , availability_view_interval = 30 ):
21
21
"""
22
22
Get the free/busy availability information for a collection of users, distributions lists, or resources
23
23
(rooms or equipment) for a specified time period.
24
24
25
- :param datetime.datetime endTime : The date, time, and time zone that the period ends.
26
- :param int availabilityViewInterval : Represents the duration of a time slot in an availabilityView
25
+ :param datetime.datetime end_time : The date, time, and time zone that the period ends.
26
+ :param int availability_view_interval : Represents the duration of a time slot in an availabilityView
27
27
in the response. The default is 30 minutes, minimum is 5, maximum is 1440. Optional.
28
- :param datetime.datetime startTime : The date, time, and time zone that the period starts.
28
+ :param datetime.datetime start_time : The date, time, and time zone that the period starts.
29
29
:param list[str] schedules: A collection of SMTP addresses of users, distribution lists,
30
30
or resources to get availability information for.
31
31
"""
32
32
payload = {
33
33
"schedules" : schedules ,
34
- "startTime" : DateTimeTimeZone .parse (startTime ),
35
- "endTime" : DateTimeTimeZone .parse (endTime ),
36
- "availabilityViewInterval" : availabilityViewInterval
34
+ "startTime" : DateTimeTimeZone .parse (start_time ),
35
+ "endTime" : DateTimeTimeZone .parse (end_time ),
36
+ "availabilityViewInterval" : availability_view_interval
37
37
}
38
38
result = ClientResult (self .context , ClientValueCollection (ScheduleInformation ))
39
39
qry = ServiceOperationQuery (self , "getSchedule" , None , payload , None , result )
0 commit comments