def __init__(self, authtoken):
        """Rachio class initializer."""
        self._headers = {'Content-Type': 'application/json',
                         'Authorization': 'Bearer %s' % authtoken}

        self.person = Person(self)
        self.device = Device(self)
        self.zone = Zone(self)
        self.schedulerule = Schedulerule(self)
        self.flexschedulerule = FlexSchedulerule(self)
        self.notification = Notification(self)
def __init__ ( self , authtoken ) : self . _headers = { 'Content-Type' : 'application/json' , 'Authorization' : 'Bearer %s' % authtoken } self . person = Person ( self ) self . device = Device ( self ) self . zone = Zone ( self ) self . schedulerule = Schedulerule ( self ) self . flexschedulerule = FlexSchedulerule ( self ) self . notification = Notification ( self )
Rachio class initializer.