appwrite/src/Appwrite/SDK/Response.php
2025-06-17 16:02:17 -04:00

26 lines
407 B
PHP

<?php
namespace Appwrite\SDK;
readonly class Response
{
/**
* @param int $code
* @param string|array $model
*/
public function __construct(
private int $code,
private string|array $model
) {
}
public function getCode(): int
{
return $this->code;
}
public function getModel(): string|array
{
return $this->model;
}
}