created = $created; $this->data = $data; } public static function fromJson(object $json): self { return new self( $json->created, $json->data, ); } }