-
Notifications
You must be signed in to change notification settings - Fork 451
/
Page.php
118 lines (98 loc) · 2.28 KB
/
Page.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?php
namespace Concrete\Core\Api\Model;
/**
* @OA\Schema(title="Page model", description="A Concrete Page object.")
*/
class Page
{
/**
* @OA\Property(type="integer", title="ID")
*
* @var string
*/
private $id;
/**
* @OA\Property(type="string", title="Page path")
*
* @var string
*/
private $path;
/**
* @OA\Property(type="string", title="Page Name")
*
* @var string
*/
private $name;
/**
* @OA\Property(type="string", title="Page Type")
*
* @var string
*/
private $type;
/**
* @OA\Property(type="string", title="Page Template")
*
* @var string
*/
private $template;
/**
* @OA\Property(type="date", title="Date page created")
*
* @var string
*/
private $date_added;
/**
* @OA\Property(type="date", title="Date page last updated")
*
* @var string
*/
private $date_last_updated;
/**
* @OA\Property(type="date", title="Locale of the page", description="Locale of the page - defaults to site if unset.")
*
* @var string
*/
private $locale;
/**
* @OA\Property(type="string", title="External Link URL", description="If this page node is actually an external link, the value of the link URL.")
*
* @var string
*/
private $external_link_url;
/**
* @OA\Property(type="string", title="Short description")
*
* @var string
*/
private $description;
/**
* @OA\Property(type="array", title="Custom Attributes", @OA\Items(ref="#/components/schemas/CustomAttribute"))
*
* @var string
*/
private $custom_attributes;
/**
* @OA\Property(type="array", title="Areas", @OA\Items(ref="#/components/schemas/Area"))
*
* @var string
*/
private $areas;
/**
* @OA\Property(type="array", title="Custom Attributes", @OA\Items(ref="#/components/schemas/File"))
*
* @var string
*/
private $files;
/**
* @OA\Property(title="Content", ref="#/components/schemas/Content")
*
* @var string
*/
private $content;
/**
* @OA\Property(title="Page Version", ref="#/components/schemas/PageVersion")
*
* @var string
*/
private $version;
}