1 | <?php |
||
13 | class Job extends Analytics |
||
14 | { |
||
15 | const RESOURCE_COLLECTION = 'stats/jobs/accounts/{account_id}'; |
||
16 | const RESOURCE = 'stats/jobs/accounts/{account_id}'; |
||
17 | const ENTITY = 'JOBS'; |
||
18 | |||
19 | /** Read Only */ |
||
20 | protected $id; |
||
21 | protected $start_time; |
||
22 | protected $segmentation_type; |
||
23 | protected $url; |
||
24 | protected $id_str; |
||
25 | protected $entity_ids; |
||
26 | protected $end_time; |
||
27 | protected $placement; |
||
28 | protected $expires_at; |
||
29 | protected $account_id; |
||
30 | protected $status; |
||
31 | protected $granularity; |
||
32 | protected $entity; |
||
33 | protected $created_at; |
||
34 | protected $updated_at; |
||
35 | protected $metric_groups; |
||
36 | |||
37 | protected $properties = []; |
||
38 | |||
39 | |||
40 | public function read($params = []) |
||
51 | |||
52 | /** |
||
53 | * @return mixed |
||
54 | */ |
||
55 | public function getId() |
||
59 | |||
60 | /** |
||
61 | * @return mixed |
||
62 | */ |
||
63 | public function getStartTime() |
||
67 | |||
68 | /** |
||
69 | * @return mixed |
||
70 | */ |
||
71 | public function getSegmentationType() |
||
75 | |||
76 | /** |
||
77 | * @return mixed |
||
78 | */ |
||
79 | public function getUrl() |
||
83 | |||
84 | /** |
||
85 | * @return mixed |
||
86 | */ |
||
87 | public function getIdStr() |
||
91 | |||
92 | /** |
||
93 | * @return mixed |
||
94 | */ |
||
95 | public function getEntityIds() |
||
99 | |||
100 | /** |
||
101 | * @return mixed |
||
102 | */ |
||
103 | public function getEndTime() |
||
107 | |||
108 | /** |
||
109 | * @return mixed |
||
110 | */ |
||
111 | public function getPlacement() |
||
115 | |||
116 | /** |
||
117 | * @return mixed |
||
118 | */ |
||
119 | public function getExpiresAt() |
||
123 | |||
124 | /** |
||
125 | * @return mixed |
||
126 | */ |
||
127 | public function getAccountId() |
||
131 | |||
132 | /** |
||
133 | * @return mixed |
||
134 | */ |
||
135 | public function getStatus() |
||
139 | |||
140 | /** |
||
141 | * @return mixed |
||
142 | */ |
||
143 | public function getGranularity() |
||
147 | |||
148 | /** |
||
149 | * @return mixed |
||
150 | */ |
||
151 | public function getEntity() |
||
155 | |||
156 | /** |
||
157 | * @return mixed |
||
158 | */ |
||
159 | public function getCreatedAt() |
||
163 | |||
164 | /** |
||
165 | * @return mixed |
||
166 | */ |
||
167 | public function getUpdatedAt() |
||
171 | |||
172 | /** |
||
173 | * @return mixed |
||
174 | */ |
||
175 | public function getMetricGroups() |
||
179 | |||
180 | /** |
||
181 | * @return array |
||
182 | */ |
||
183 | public function getProperties() |
||
187 | |||
188 | |||
189 | } |
||
190 |