203 lines
3.9 KiB
PHP
203 lines
3.9 KiB
PHP
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
namespace Google\Service\YouTube;
|
|
|
|
class SuperChatEventSnippet extends \Google\Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $amountMicros;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $channelId;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $commentText;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $createdAt;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $currency;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $displayString;
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $isSuperStickerEvent;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $messageType;
|
|
protected $superStickerMetadataType = SuperStickerMetadata::class;
|
|
protected $superStickerMetadataDataType = '';
|
|
protected $supporterDetailsType = ChannelProfileDetails::class;
|
|
protected $supporterDetailsDataType = '';
|
|
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setAmountMicros($amountMicros)
|
|
{
|
|
$this->amountMicros = $amountMicros;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getAmountMicros()
|
|
{
|
|
return $this->amountMicros;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setChannelId($channelId)
|
|
{
|
|
$this->channelId = $channelId;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getChannelId()
|
|
{
|
|
return $this->channelId;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setCommentText($commentText)
|
|
{
|
|
$this->commentText = $commentText;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getCommentText()
|
|
{
|
|
return $this->commentText;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setCreatedAt($createdAt)
|
|
{
|
|
$this->createdAt = $createdAt;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getCreatedAt()
|
|
{
|
|
return $this->createdAt;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setCurrency($currency)
|
|
{
|
|
$this->currency = $currency;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getCurrency()
|
|
{
|
|
return $this->currency;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setDisplayString($displayString)
|
|
{
|
|
$this->displayString = $displayString;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDisplayString()
|
|
{
|
|
return $this->displayString;
|
|
}
|
|
/**
|
|
* @param bool
|
|
*/
|
|
public function setIsSuperStickerEvent($isSuperStickerEvent)
|
|
{
|
|
$this->isSuperStickerEvent = $isSuperStickerEvent;
|
|
}
|
|
/**
|
|
* @return bool
|
|
*/
|
|
public function getIsSuperStickerEvent()
|
|
{
|
|
return $this->isSuperStickerEvent;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setMessageType($messageType)
|
|
{
|
|
$this->messageType = $messageType;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getMessageType()
|
|
{
|
|
return $this->messageType;
|
|
}
|
|
/**
|
|
* @param SuperStickerMetadata
|
|
*/
|
|
public function setSuperStickerMetadata(SuperStickerMetadata $superStickerMetadata)
|
|
{
|
|
$this->superStickerMetadata = $superStickerMetadata;
|
|
}
|
|
/**
|
|
* @return SuperStickerMetadata
|
|
*/
|
|
public function getSuperStickerMetadata()
|
|
{
|
|
return $this->superStickerMetadata;
|
|
}
|
|
/**
|
|
* @param ChannelProfileDetails
|
|
*/
|
|
public function setSupporterDetails(ChannelProfileDetails $supporterDetails)
|
|
{
|
|
$this->supporterDetails = $supporterDetails;
|
|
}
|
|
/**
|
|
* @return ChannelProfileDetails
|
|
*/
|
|
public function getSupporterDetails()
|
|
{
|
|
return $this->supporterDetails;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(SuperChatEventSnippet::class, 'Google_Service_YouTube_SuperChatEventSnippet');
|