1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\Genomics;
|
---|
19 |
|
---|
20 | class CheckInRequest extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'events';
|
---|
23 | protected $deadlineExpiredType = GenomicsEmpty::class;
|
---|
24 | protected $deadlineExpiredDataType = '';
|
---|
25 | /**
|
---|
26 | * @var array[]
|
---|
27 | */
|
---|
28 | public $event;
|
---|
29 | protected $eventsType = TimestampedEvent::class;
|
---|
30 | protected $eventsDataType = 'array';
|
---|
31 | protected $resultType = Status::class;
|
---|
32 | protected $resultDataType = '';
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $sosReport;
|
---|
37 | protected $workerStatusType = WorkerStatus::class;
|
---|
38 | protected $workerStatusDataType = '';
|
---|
39 |
|
---|
40 | /**
|
---|
41 | * @param GenomicsEmpty
|
---|
42 | */
|
---|
43 | public function setDeadlineExpired(GenomicsEmpty $deadlineExpired)
|
---|
44 | {
|
---|
45 | $this->deadlineExpired = $deadlineExpired;
|
---|
46 | }
|
---|
47 | /**
|
---|
48 | * @return GenomicsEmpty
|
---|
49 | */
|
---|
50 | public function getDeadlineExpired()
|
---|
51 | {
|
---|
52 | return $this->deadlineExpired;
|
---|
53 | }
|
---|
54 | /**
|
---|
55 | * @param array[]
|
---|
56 | */
|
---|
57 | public function setEvent($event)
|
---|
58 | {
|
---|
59 | $this->event = $event;
|
---|
60 | }
|
---|
61 | /**
|
---|
62 | * @return array[]
|
---|
63 | */
|
---|
64 | public function getEvent()
|
---|
65 | {
|
---|
66 | return $this->event;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @param TimestampedEvent[]
|
---|
70 | */
|
---|
71 | public function setEvents($events)
|
---|
72 | {
|
---|
73 | $this->events = $events;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @return TimestampedEvent[]
|
---|
77 | */
|
---|
78 | public function getEvents()
|
---|
79 | {
|
---|
80 | return $this->events;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @param Status
|
---|
84 | */
|
---|
85 | public function setResult(Status $result)
|
---|
86 | {
|
---|
87 | $this->result = $result;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @return Status
|
---|
91 | */
|
---|
92 | public function getResult()
|
---|
93 | {
|
---|
94 | return $this->result;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @param string
|
---|
98 | */
|
---|
99 | public function setSosReport($sosReport)
|
---|
100 | {
|
---|
101 | $this->sosReport = $sosReport;
|
---|
102 | }
|
---|
103 | /**
|
---|
104 | * @return string
|
---|
105 | */
|
---|
106 | public function getSosReport()
|
---|
107 | {
|
---|
108 | return $this->sosReport;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @param WorkerStatus
|
---|
112 | */
|
---|
113 | public function setWorkerStatus(WorkerStatus $workerStatus)
|
---|
114 | {
|
---|
115 | $this->workerStatus = $workerStatus;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @return WorkerStatus
|
---|
119 | */
|
---|
120 | public function getWorkerStatus()
|
---|
121 | {
|
---|
122 | return $this->workerStatus;
|
---|
123 | }
|
---|
124 | }
|
---|
125 |
|
---|
126 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
127 | class_alias(CheckInRequest::class, 'Google_Service_Genomics_CheckInRequest');
|
---|