説明なし

RepoSource.php 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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_CloudBuild_RepoSource extends Google_Model
  18. {
  19. public $branchName;
  20. public $commitSha;
  21. public $dir;
  22. public $projectId;
  23. public $repoName;
  24. public $tagName;
  25. public function setBranchName($branchName)
  26. {
  27. $this->branchName = $branchName;
  28. }
  29. public function getBranchName()
  30. {
  31. return $this->branchName;
  32. }
  33. public function setCommitSha($commitSha)
  34. {
  35. $this->commitSha = $commitSha;
  36. }
  37. public function getCommitSha()
  38. {
  39. return $this->commitSha;
  40. }
  41. public function setDir($dir)
  42. {
  43. $this->dir = $dir;
  44. }
  45. public function getDir()
  46. {
  47. return $this->dir;
  48. }
  49. public function setProjectId($projectId)
  50. {
  51. $this->projectId = $projectId;
  52. }
  53. public function getProjectId()
  54. {
  55. return $this->projectId;
  56. }
  57. public function setRepoName($repoName)
  58. {
  59. $this->repoName = $repoName;
  60. }
  61. public function getRepoName()
  62. {
  63. return $this->repoName;
  64. }
  65. public function setTagName($tagName)
  66. {
  67. $this->tagName = $tagName;
  68. }
  69. public function getTagName()
  70. {
  71. return $this->tagName;
  72. }
  73. }