mirror of
https://github.com/appwrite/appwrite
synced 2026-05-19 06:58:21 +00:00
26 lines
407 B
PHP
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;
|
|
}
|
|
}
|