No Description

Operation.php 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. class Google_Service_SQLAdmin_Operation extends Google_Model
  18. {
  19. public $endTime;
  20. protected $errorType = 'Google_Service_SQLAdmin_OperationErrors';
  21. protected $errorDataType = '';
  22. protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
  23. protected $exportContextDataType = '';
  24. protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
  25. protected $importContextDataType = '';
  26. public $insertTime;
  27. public $kind;
  28. public $name;
  29. public $operationType;
  30. public $selfLink;
  31. public $startTime;
  32. public $status;
  33. public $targetId;
  34. public $targetLink;
  35. public $targetProject;
  36. public $user;
  37. public function setEndTime($endTime)
  38. {
  39. $this->endTime = $endTime;
  40. }
  41. public function getEndTime()
  42. {
  43. return $this->endTime;
  44. }
  45. /**
  46. * @param Google_Service_SQLAdmin_OperationErrors
  47. */
  48. public function setError(Google_Service_SQLAdmin_OperationErrors $error)
  49. {
  50. $this->error = $error;
  51. }
  52. /**
  53. * @return Google_Service_SQLAdmin_OperationErrors
  54. */
  55. public function getError()
  56. {
  57. return $this->error;
  58. }
  59. /**
  60. * @param Google_Service_SQLAdmin_ExportContext
  61. */
  62. public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
  63. {
  64. $this->exportContext = $exportContext;
  65. }
  66. /**
  67. * @return Google_Service_SQLAdmin_ExportContext
  68. */
  69. public function getExportContext()
  70. {
  71. return $this->exportContext;
  72. }
  73. /**
  74. * @param Google_Service_SQLAdmin_ImportContext
  75. */
  76. public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
  77. {
  78. $this->importContext = $importContext;
  79. }
  80. /**
  81. * @return Google_Service_SQLAdmin_ImportContext
  82. */
  83. public function getImportContext()
  84. {
  85. return $this->importContext;
  86. }
  87. public function setInsertTime($insertTime)
  88. {
  89. $this->insertTime = $insertTime;
  90. }
  91. public function getInsertTime()
  92. {
  93. return $this->insertTime;
  94. }
  95. public function setKind($kind)
  96. {
  97. $this->kind = $kind;
  98. }
  99. public function getKind()
  100. {
  101. return $this->kind;
  102. }
  103. public function setName($name)
  104. {
  105. $this->name = $name;
  106. }
  107. public function getName()
  108. {
  109. return $this->name;
  110. }
  111. public function setOperationType($operationType)
  112. {
  113. $this->operationType = $operationType;
  114. }
  115. public function getOperationType()
  116. {
  117. return $this->operationType;
  118. }
  119. public function setSelfLink($selfLink)
  120. {
  121. $this->selfLink = $selfLink;
  122. }
  123. public function getSelfLink()
  124. {
  125. return $this->selfLink;
  126. }
  127. public function setStartTime($startTime)
  128. {
  129. $this->startTime = $startTime;
  130. }
  131. public function getStartTime()
  132. {
  133. return $this->startTime;
  134. }
  135. public function setStatus($status)
  136. {
  137. $this->status = $status;
  138. }
  139. public function getStatus()
  140. {
  141. return $this->status;
  142. }
  143. public function setTargetId($targetId)
  144. {
  145. $this->targetId = $targetId;
  146. }
  147. public function getTargetId()
  148. {
  149. return $this->targetId;
  150. }
  151. public function setTargetLink($targetLink)
  152. {
  153. $this->targetLink = $targetLink;
  154. }
  155. public function getTargetLink()
  156. {
  157. return $this->targetLink;
  158. }
  159. public function setTargetProject($targetProject)
  160. {
  161. $this->targetProject = $targetProject;
  162. }
  163. public function getTargetProject()
  164. {
  165. return $this->targetProject;
  166. }
  167. public function setUser($user)
  168. {
  169. $this->user = $user;
  170. }
  171. public function getUser()
  172. {
  173. return $this->user;
  174. }
  175. }