Bez popisu

LiveChatMessage.php 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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_YouTube_LiveChatMessage extends Google_Model
  18. {
  19. protected $authorDetailsType = 'Google_Service_YouTube_LiveChatMessageAuthorDetails';
  20. protected $authorDetailsDataType = '';
  21. public $etag;
  22. public $id;
  23. public $kind;
  24. protected $snippetType = 'Google_Service_YouTube_LiveChatMessageSnippet';
  25. protected $snippetDataType = '';
  26. /**
  27. * @param Google_Service_YouTube_LiveChatMessageAuthorDetails
  28. */
  29. public function setAuthorDetails(Google_Service_YouTube_LiveChatMessageAuthorDetails $authorDetails)
  30. {
  31. $this->authorDetails = $authorDetails;
  32. }
  33. /**
  34. * @return Google_Service_YouTube_LiveChatMessageAuthorDetails
  35. */
  36. public function getAuthorDetails()
  37. {
  38. return $this->authorDetails;
  39. }
  40. public function setEtag($etag)
  41. {
  42. $this->etag = $etag;
  43. }
  44. public function getEtag()
  45. {
  46. return $this->etag;
  47. }
  48. public function setId($id)
  49. {
  50. $this->id = $id;
  51. }
  52. public function getId()
  53. {
  54. return $this->id;
  55. }
  56. public function setKind($kind)
  57. {
  58. $this->kind = $kind;
  59. }
  60. public function getKind()
  61. {
  62. return $this->kind;
  63. }
  64. /**
  65. * @param Google_Service_YouTube_LiveChatMessageSnippet
  66. */
  67. public function setSnippet(Google_Service_YouTube_LiveChatMessageSnippet $snippet)
  68. {
  69. $this->snippet = $snippet;
  70. }
  71. /**
  72. * @return Google_Service_YouTube_LiveChatMessageSnippet
  73. */
  74. public function getSnippet()
  75. {
  76. return $this->snippet;
  77. }
  78. }