id = $json['id']; $this->type = $json['type']; $this->url = $json['url']; } }