id = $json['Id']; $this->monitor_id = $json['MonitorId']; $this->start_time = $json['StartDateTime']; $this->end_time = $json['EndDateTime']; } }