forked from supportpal/api-client-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIpBan.php
More file actions
34 lines (31 loc) · 869 Bytes
/
IpBan.php
File metadata and controls
34 lines (31 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php declare(strict_types=1);
namespace SupportPal\ApiClient\Model\Core;
use SupportPal\ApiClient\Model\Model;
/**
* @property int $id
* @property string|null $ip
* @property string|null $reason
* @property bool $event_user
* @property bool $event_operator
* @property bool $event_api
* @property int $type
* @property int|null $expiry
* @property int $created_at
* @property int $updated_at
*/
class IpBan extends Model
{
/** @var array<string, string> */
protected $casts = [
'id' => 'int',
'ip' => 'string',
'reason' => 'string',
'event_user' => 'bool',
'event_operator' => 'bool',
'event_api' => 'bool',
'type' => 'int',
'expiry' => 'int',
'created_at' => 'int',
'updated_at' => 'int',
];
}