class Interval:
    def __init__(self, time, office, bedroom, freezer, outside):
        self.time = time
        self.office = office
        self.bedroom = bedroom
        self.freezer = freezer
        self.outside = outside

class Intervals:
    def __init__(self, intervals):
        self.intervals = intervals