1 | <?php |
||
11 | class JobInstance extends LazyResource |
||
12 | { |
||
13 | /** @var Job */ |
||
14 | public $job; |
||
15 | |||
16 | /** @var string */ |
||
17 | public $job_instance_id; |
||
18 | |||
19 | /** |
||
20 | * JobInstance constructor. |
||
21 | * |
||
22 | * @param Client $client |
||
23 | * @param Job $job |
||
24 | * @param string $job_instance_id |
||
25 | */ |
||
26 | public function __construct(Client $client, Job $job, string $job_instance_id) |
||
32 | |||
33 | /** |
||
34 | * Check if we have the full representation of our data object. |
||
35 | * |
||
36 | * @param \stdClass $data |
||
37 | * |
||
38 | * @return bool |
||
39 | */ |
||
40 | protected function isInitialized($data) |
||
44 | |||
45 | /** |
||
46 | * Generate the base URL for this resource. |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | protected function urlBase() |
||
54 | } |
||
55 |