Nessuna descrizione

SuperChatEventSnippet.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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_SuperChatEventSnippet extends Google_Model
  18. {
  19. public $amountMicros;
  20. public $channelId;
  21. public $commentText;
  22. public $createdAt;
  23. public $currency;
  24. public $displayString;
  25. public $isSuperChatForGood;
  26. public $messageType;
  27. protected $nonprofitType = 'Google_Service_YouTube_Nonprofit';
  28. protected $nonprofitDataType = '';
  29. protected $supporterDetailsType = 'Google_Service_YouTube_ChannelProfileDetails';
  30. protected $supporterDetailsDataType = '';
  31. public function setAmountMicros($amountMicros)
  32. {
  33. $this->amountMicros = $amountMicros;
  34. }
  35. public function getAmountMicros()
  36. {
  37. return $this->amountMicros;
  38. }
  39. public function setChannelId($channelId)
  40. {
  41. $this->channelId = $channelId;
  42. }
  43. public function getChannelId()
  44. {
  45. return $this->channelId;
  46. }
  47. public function setCommentText($commentText)
  48. {
  49. $this->commentText = $commentText;
  50. }
  51. public function getCommentText()
  52. {
  53. return $this->commentText;
  54. }
  55. public function setCreatedAt($createdAt)
  56. {
  57. $this->createdAt = $createdAt;
  58. }
  59. public function getCreatedAt()
  60. {
  61. return $this->createdAt;
  62. }
  63. public function setCurrency($currency)
  64. {
  65. $this->currency = $currency;
  66. }
  67. public function getCurrency()
  68. {
  69. return $this->currency;
  70. }
  71. public function setDisplayString($displayString)
  72. {
  73. $this->displayString = $displayString;
  74. }
  75. public function getDisplayString()
  76. {
  77. return $this->displayString;
  78. }
  79. public function setIsSuperChatForGood($isSuperChatForGood)
  80. {
  81. $this->isSuperChatForGood = $isSuperChatForGood;
  82. }
  83. public function getIsSuperChatForGood()
  84. {
  85. return $this->isSuperChatForGood;
  86. }
  87. public function setMessageType($messageType)
  88. {
  89. $this->messageType = $messageType;
  90. }
  91. public function getMessageType()
  92. {
  93. return $this->messageType;
  94. }
  95. /**
  96. * @param Google_Service_YouTube_Nonprofit
  97. */
  98. public function setNonprofit(Google_Service_YouTube_Nonprofit $nonprofit)
  99. {
  100. $this->nonprofit = $nonprofit;
  101. }
  102. /**
  103. * @return Google_Service_YouTube_Nonprofit
  104. */
  105. public function getNonprofit()
  106. {
  107. return $this->nonprofit;
  108. }
  109. /**
  110. * @param Google_Service_YouTube_ChannelProfileDetails
  111. */
  112. public function setSupporterDetails(Google_Service_YouTube_ChannelProfileDetails $supporterDetails)
  113. {
  114. $this->supporterDetails = $supporterDetails;
  115. }
  116. /**
  117. * @return Google_Service_YouTube_ChannelProfileDetails
  118. */
  119. public function getSupporterDetails()
  120. {
  121. return $this->supporterDetails;
  122. }
  123. }