def __init__(self, client, raw_result):
self._client = client<EOL>self._raw_result = raw_result<EOL>raw_monitor = raw_result['<STR_LIT>']<EOL>self._monitor_id = int(raw_monitor['<STR_LIT>'])<EOL>self._monitor_url = '<STR_LIT>'.format(self._monitor_id)<EOL>self._name = raw_monitor['<STR_LIT:Name>']<EOL>self._controllable = bool(raw_monitor['<STR_LIT>'])<EOL>self._mjpeg_image_url = self._build_image_url(<EOL>raw_monitor, '<STR_LIT>')<EOL>self._still_image_url = self._build_image_url(<EOL>raw_monitor, '<STR_LIT>')<EOL>
Create a new Monitor.