def parse_time_of_day(time_of_day):
    """
    Parse a TimeOfDay from string.
    time_of_day is a dictionary of
    "Hour": int
    "Minute": int
    """
    from azure.servicefabric.models import TimeOfDay
    if not time_of_day:
        return None
    hour = time_of_day.get('Hour')
    minute = time_of_day.get('Minute')
    if hour is None or minute is None:
        return None
    return TimeOfDay(hour=hour, minute=minute)
