ScheduleDetails#

class ScheduleDetails(start_hours=None, start_minutes=None, duration_minutes=None, *args, **kwargs)#

Bases: object

Schedule for each day of week.

Parameters:
  • start_hours – (start_hours) Start time hour of the schedule when tiering should start. For Ex. 15 (this means schedule will start at 3PM on that specific day.)

  • start_minutes – (start_minutes) Start time minute of the schedule.

  • duration_minutes – (duration_minutes) The time difference between the start and the end time of schedule in minutes.

property duration_minutes#

The time difference between the start and the end time of schedule in minutes.

Type:

int

property start_hours#

Start time hour of the schedule when tiering should start. For Ex. 15 (this means schedule will start at 3PM on that specific day.)

Type:

int

property start_minutes#

Start time minute of the schedule.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model