-
Notifications
You must be signed in to change notification settings - Fork 451
/
File.php
93 lines (68 loc) · 1.52 KB
/
File.php
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
namespace Concrete\Core\Api\Model;
/**
* @OA\Schema(title="File model")
*/
class File
{
/**
* @OA\Property(title="File ID")
*/
private $id;
/**
* @OA\Property(type="string", title="UUID")
* @var string
*/
private $uuid;
/**
* @OA\Property(type="string", title="Direct URL to access File")
* @var string
*/
private $url;
/**
* @OA\Property(type="string", title="Tracking URL", description="Forces download in all cases, tracks statistics")
* @var string
*/
private $tracked_url;
/**
* @OA\Property(type="string", title="File Type")
* @var string
*/
private $file_type;
/**
* @OA\Property(type="string", title="Extension")
* @var string
*/
private $extension;
/**
* @OA\Property(type="string", title="Title")
* @var string
*/
private $title;
/**
* @OA\Property(type="string", title="Description")
* @var string
*/
private $description;
/**
* @OA\Property(type="string", title="Tags")
* @var string
*/
private $tags;
/**
* @OA\Property(type="date", title="Date Added")
* @var string
*/
private $date_added;
/**
* @OA\Property(type="object", title="File Size")
* @var string
*/
private $size;
/**
* @OA\Property(type="array", title="Custom Attributes", @OA\Items(ref="#/components/schemas/CustomAttribute"))
*
* @var string
*/
private $custom_attributes;
}