models.time_of_day module

class models.time_of_day.TimeOfDay(hour=None, minute=None)[source]

Bases: object

Implementation of the ‘TimeOfDay’ model.

Specifies a time in day with hours and minutes.

Attributes:

hour (int): Specifies an (0-23) hour in a day. minute (int): Specifies a (0-59) minute in an hour.

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.