설명 없음

Notification.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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_Storage_Notification extends Google_Collection
  18. {
  19. protected $collection_key = 'event_types';
  20. protected $internal_gapi_mappings = array(
  21. "customAttributes" => "custom_attributes",
  22. "eventTypes" => "event_types",
  23. "objectNamePrefix" => "object_name_prefix",
  24. "payloadFormat" => "payload_format",
  25. );
  26. public $customAttributes;
  27. public $etag;
  28. public $eventTypes;
  29. public $id;
  30. public $kind;
  31. public $objectNamePrefix;
  32. public $payloadFormat;
  33. public $selfLink;
  34. public $topic;
  35. public function setCustomAttributes($customAttributes)
  36. {
  37. $this->customAttributes = $customAttributes;
  38. }
  39. public function getCustomAttributes()
  40. {
  41. return $this->customAttributes;
  42. }
  43. public function setEtag($etag)
  44. {
  45. $this->etag = $etag;
  46. }
  47. public function getEtag()
  48. {
  49. return $this->etag;
  50. }
  51. public function setEventTypes($eventTypes)
  52. {
  53. $this->eventTypes = $eventTypes;
  54. }
  55. public function getEventTypes()
  56. {
  57. return $this->eventTypes;
  58. }
  59. public function setId($id)
  60. {
  61. $this->id = $id;
  62. }
  63. public function getId()
  64. {
  65. return $this->id;
  66. }
  67. public function setKind($kind)
  68. {
  69. $this->kind = $kind;
  70. }
  71. public function getKind()
  72. {
  73. return $this->kind;
  74. }
  75. public function setObjectNamePrefix($objectNamePrefix)
  76. {
  77. $this->objectNamePrefix = $objectNamePrefix;
  78. }
  79. public function getObjectNamePrefix()
  80. {
  81. return $this->objectNamePrefix;
  82. }
  83. public function setPayloadFormat($payloadFormat)
  84. {
  85. $this->payloadFormat = $payloadFormat;
  86. }
  87. public function getPayloadFormat()
  88. {
  89. return $this->payloadFormat;
  90. }
  91. public function setSelfLink($selfLink)
  92. {
  93. $this->selfLink = $selfLink;
  94. }
  95. public function getSelfLink()
  96. {
  97. return $this->selfLink;
  98. }
  99. public function setTopic($topic)
  100. {
  101. $this->topic = $topic;
  102. }
  103. public function getTopic()
  104. {
  105. return $this->topic;
  106. }
  107. }