Sin descripción

TransferJob.php 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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_Storagetransfer_TransferJob extends Google_Model
  18. {
  19. public $creationTime;
  20. public $deletionTime;
  21. public $description;
  22. public $lastModificationTime;
  23. public $name;
  24. public $projectId;
  25. protected $scheduleType = 'Google_Service_Storagetransfer_Schedule';
  26. protected $scheduleDataType = '';
  27. public $status;
  28. protected $transferSpecType = 'Google_Service_Storagetransfer_TransferSpec';
  29. protected $transferSpecDataType = '';
  30. public function setCreationTime($creationTime)
  31. {
  32. $this->creationTime = $creationTime;
  33. }
  34. public function getCreationTime()
  35. {
  36. return $this->creationTime;
  37. }
  38. public function setDeletionTime($deletionTime)
  39. {
  40. $this->deletionTime = $deletionTime;
  41. }
  42. public function getDeletionTime()
  43. {
  44. return $this->deletionTime;
  45. }
  46. public function setDescription($description)
  47. {
  48. $this->description = $description;
  49. }
  50. public function getDescription()
  51. {
  52. return $this->description;
  53. }
  54. public function setLastModificationTime($lastModificationTime)
  55. {
  56. $this->lastModificationTime = $lastModificationTime;
  57. }
  58. public function getLastModificationTime()
  59. {
  60. return $this->lastModificationTime;
  61. }
  62. public function setName($name)
  63. {
  64. $this->name = $name;
  65. }
  66. public function getName()
  67. {
  68. return $this->name;
  69. }
  70. public function setProjectId($projectId)
  71. {
  72. $this->projectId = $projectId;
  73. }
  74. public function getProjectId()
  75. {
  76. return $this->projectId;
  77. }
  78. /**
  79. * @param Google_Service_Storagetransfer_Schedule
  80. */
  81. public function setSchedule(Google_Service_Storagetransfer_Schedule $schedule)
  82. {
  83. $this->schedule = $schedule;
  84. }
  85. /**
  86. * @return Google_Service_Storagetransfer_Schedule
  87. */
  88. public function getSchedule()
  89. {
  90. return $this->schedule;
  91. }
  92. public function setStatus($status)
  93. {
  94. $this->status = $status;
  95. }
  96. public function getStatus()
  97. {
  98. return $this->status;
  99. }
  100. /**
  101. * @param Google_Service_Storagetransfer_TransferSpec
  102. */
  103. public function setTransferSpec(Google_Service_Storagetransfer_TransferSpec $transferSpec)
  104. {
  105. $this->transferSpec = $transferSpec;
  106. }
  107. /**
  108. * @return Google_Service_Storagetransfer_TransferSpec
  109. */
  110. public function getTransferSpec()
  111. {
  112. return $this->transferSpec;
  113. }
  114. }