1 | <?php |
||
7 | class Task extends \Acquia\Rest\Element |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | protected $idColumn = 'id'; |
||
13 | |||
14 | /** |
||
15 | * @return string |
||
16 | */ |
||
17 | 66 | public function id() |
|
21 | |||
22 | /** |
||
23 | * @return string |
||
24 | */ |
||
25 | 66 | public function state() |
|
29 | |||
30 | /** |
||
31 | * @return boolean |
||
32 | */ |
||
33 | 66 | public function started() |
|
37 | |||
38 | /** |
||
39 | * Gets the Unix timestamp indicating when this task was started. |
||
40 | * |
||
41 | * @return int |
||
42 | * The Unix timestamp. |
||
43 | */ |
||
44 | 66 | public function startTime() { |
|
47 | |||
48 | /** |
||
49 | * @return string|array |
||
50 | */ |
||
51 | 66 | public function body() |
|
60 | |||
61 | /** |
||
62 | * @return boolean |
||
63 | */ |
||
64 | 66 | public function hidden() |
|
68 | |||
69 | /** |
||
70 | * @return string |
||
71 | */ |
||
72 | 66 | public function description() |
|
76 | |||
77 | /** |
||
78 | * @return string |
||
79 | */ |
||
80 | 66 | public function result() |
|
84 | |||
85 | /** |
||
86 | * @return boolean |
||
87 | */ |
||
88 | 66 | public function completed() |
|
92 | |||
93 | /** |
||
94 | * Gets the Unix timestamp indicating when this task was completed. |
||
95 | * |
||
96 | * @return int |
||
97 | * The Unix timestamp. |
||
98 | */ |
||
99 | 66 | public function completedTime() { |
|
102 | |||
103 | /** |
||
104 | * @return \DateTime |
||
105 | */ |
||
106 | 66 | public function created() |
|
111 | |||
112 | /** |
||
113 | * @return string |
||
114 | */ |
||
115 | 66 | public function queue() |
|
119 | |||
120 | /** |
||
121 | * @return array |
||
122 | */ |
||
123 | 66 | public function cookie() |
|
127 | |||
128 | /** |
||
129 | * @return string |
||
130 | */ |
||
131 | 66 | public function recipient() |
|
135 | |||
136 | /** |
||
137 | * @return string |
||
138 | */ |
||
139 | 66 | public function sender() |
|
143 | |||
144 | /** |
||
145 | * @return percentage |
||
146 | */ |
||
147 | 66 | public function percentage() |
|
151 | |||
152 | /** |
||
153 | * Gets the task log data. |
||
154 | * |
||
155 | * @return string |
||
156 | * The log data. |
||
157 | */ |
||
158 | 6 | public function logs() { |
|
161 | } |
||
162 |