models_v2.time_of_day module

class models_v2.time_of_day.TimeOfDay(hour=None, minute=None, time_zone='America/Los_Angeles')[source]

Bases: object

Implementation of the ‘TimeOfDay’ model.

Specifies the time of day. Used for scheduling purposes.

Attributes:

hour (int): Specifies the hour of the day (0-23). minute (int): Specifies the minute of the hour (0-59). time_zone (string): Specifies the time zone of the user. If not

specified, default value is assumed as America/Los_Angeles.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.