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\DatabaseMigrationService;
|
---|
19 |
|
---|
20 | class BackgroundJobLogEntry extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $applyJobDetailsType = ApplyJobDetails::class;
|
---|
23 | protected $applyJobDetailsDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $completionComment;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $completionState;
|
---|
32 | protected $convertJobDetailsType = ConvertJobDetails::class;
|
---|
33 | protected $convertJobDetailsDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $finishTime;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $id;
|
---|
42 | protected $importRulesJobDetailsType = ImportRulesJobDetails::class;
|
---|
43 | protected $importRulesJobDetailsDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $jobType;
|
---|
48 | /**
|
---|
49 | * @var bool
|
---|
50 | */
|
---|
51 | public $requestAutocommit;
|
---|
52 | protected $seedJobDetailsType = SeedJobDetails::class;
|
---|
53 | protected $seedJobDetailsDataType = '';
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $startTime;
|
---|
58 |
|
---|
59 | /**
|
---|
60 | * @param ApplyJobDetails
|
---|
61 | */
|
---|
62 | public function setApplyJobDetails(ApplyJobDetails $applyJobDetails)
|
---|
63 | {
|
---|
64 | $this->applyJobDetails = $applyJobDetails;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @return ApplyJobDetails
|
---|
68 | */
|
---|
69 | public function getApplyJobDetails()
|
---|
70 | {
|
---|
71 | return $this->applyJobDetails;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @param string
|
---|
75 | */
|
---|
76 | public function setCompletionComment($completionComment)
|
---|
77 | {
|
---|
78 | $this->completionComment = $completionComment;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return string
|
---|
82 | */
|
---|
83 | public function getCompletionComment()
|
---|
84 | {
|
---|
85 | return $this->completionComment;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @param string
|
---|
89 | */
|
---|
90 | public function setCompletionState($completionState)
|
---|
91 | {
|
---|
92 | $this->completionState = $completionState;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @return string
|
---|
96 | */
|
---|
97 | public function getCompletionState()
|
---|
98 | {
|
---|
99 | return $this->completionState;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @param ConvertJobDetails
|
---|
103 | */
|
---|
104 | public function setConvertJobDetails(ConvertJobDetails $convertJobDetails)
|
---|
105 | {
|
---|
106 | $this->convertJobDetails = $convertJobDetails;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @return ConvertJobDetails
|
---|
110 | */
|
---|
111 | public function getConvertJobDetails()
|
---|
112 | {
|
---|
113 | return $this->convertJobDetails;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param string
|
---|
117 | */
|
---|
118 | public function setFinishTime($finishTime)
|
---|
119 | {
|
---|
120 | $this->finishTime = $finishTime;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return string
|
---|
124 | */
|
---|
125 | public function getFinishTime()
|
---|
126 | {
|
---|
127 | return $this->finishTime;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @param string
|
---|
131 | */
|
---|
132 | public function setId($id)
|
---|
133 | {
|
---|
134 | $this->id = $id;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @return string
|
---|
138 | */
|
---|
139 | public function getId()
|
---|
140 | {
|
---|
141 | return $this->id;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @param ImportRulesJobDetails
|
---|
145 | */
|
---|
146 | public function setImportRulesJobDetails(ImportRulesJobDetails $importRulesJobDetails)
|
---|
147 | {
|
---|
148 | $this->importRulesJobDetails = $importRulesJobDetails;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @return ImportRulesJobDetails
|
---|
152 | */
|
---|
153 | public function getImportRulesJobDetails()
|
---|
154 | {
|
---|
155 | return $this->importRulesJobDetails;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @param string
|
---|
159 | */
|
---|
160 | public function setJobType($jobType)
|
---|
161 | {
|
---|
162 | $this->jobType = $jobType;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @return string
|
---|
166 | */
|
---|
167 | public function getJobType()
|
---|
168 | {
|
---|
169 | return $this->jobType;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @param bool
|
---|
173 | */
|
---|
174 | public function setRequestAutocommit($requestAutocommit)
|
---|
175 | {
|
---|
176 | $this->requestAutocommit = $requestAutocommit;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @return bool
|
---|
180 | */
|
---|
181 | public function getRequestAutocommit()
|
---|
182 | {
|
---|
183 | return $this->requestAutocommit;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @param SeedJobDetails
|
---|
187 | */
|
---|
188 | public function setSeedJobDetails(SeedJobDetails $seedJobDetails)
|
---|
189 | {
|
---|
190 | $this->seedJobDetails = $seedJobDetails;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @return SeedJobDetails
|
---|
194 | */
|
---|
195 | public function getSeedJobDetails()
|
---|
196 | {
|
---|
197 | return $this->seedJobDetails;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @param string
|
---|
201 | */
|
---|
202 | public function setStartTime($startTime)
|
---|
203 | {
|
---|
204 | $this->startTime = $startTime;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @return string
|
---|
208 | */
|
---|
209 | public function getStartTime()
|
---|
210 | {
|
---|
211 | return $this->startTime;
|
---|
212 | }
|
---|
213 | }
|
---|
214 |
|
---|
215 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
216 | class_alias(BackgroundJobLogEntry::class, 'Google_Service_DatabaseMigrationService_BackgroundJobLogEntry');
|
---|