123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?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.
- */
-
- class Google_Service_HangoutsChat_Message extends Google_Collection
- {
- protected $collection_key = 'cards';
- protected $actionResponseType = 'Google_Service_HangoutsChat_ActionResponse';
- protected $actionResponseDataType = '';
- protected $annotationsType = 'Google_Service_HangoutsChat_Annotation';
- protected $annotationsDataType = 'array';
- public $argumentText;
- protected $cardsType = 'Google_Service_HangoutsChat_Card';
- protected $cardsDataType = 'array';
- public $createTime;
- public $fallbackText;
- public $name;
- public $previewText;
- protected $senderType = 'Google_Service_HangoutsChat_User';
- protected $senderDataType = '';
- protected $spaceType = 'Google_Service_HangoutsChat_Space';
- protected $spaceDataType = '';
- public $text;
- protected $threadType = 'Google_Service_HangoutsChat_Thread';
- protected $threadDataType = '';
-
- /**
- * @param Google_Service_HangoutsChat_ActionResponse
- */
- public function setActionResponse(Google_Service_HangoutsChat_ActionResponse $actionResponse)
- {
- $this->actionResponse = $actionResponse;
- }
- /**
- * @return Google_Service_HangoutsChat_ActionResponse
- */
- public function getActionResponse()
- {
- return $this->actionResponse;
- }
- /**
- * @param Google_Service_HangoutsChat_Annotation
- */
- public function setAnnotations($annotations)
- {
- $this->annotations = $annotations;
- }
- /**
- * @return Google_Service_HangoutsChat_Annotation
- */
- public function getAnnotations()
- {
- return $this->annotations;
- }
- public function setArgumentText($argumentText)
- {
- $this->argumentText = $argumentText;
- }
- public function getArgumentText()
- {
- return $this->argumentText;
- }
- /**
- * @param Google_Service_HangoutsChat_Card
- */
- public function setCards($cards)
- {
- $this->cards = $cards;
- }
- /**
- * @return Google_Service_HangoutsChat_Card
- */
- public function getCards()
- {
- return $this->cards;
- }
- public function setCreateTime($createTime)
- {
- $this->createTime = $createTime;
- }
- public function getCreateTime()
- {
- return $this->createTime;
- }
- public function setFallbackText($fallbackText)
- {
- $this->fallbackText = $fallbackText;
- }
- public function getFallbackText()
- {
- return $this->fallbackText;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setPreviewText($previewText)
- {
- $this->previewText = $previewText;
- }
- public function getPreviewText()
- {
- return $this->previewText;
- }
- /**
- * @param Google_Service_HangoutsChat_User
- */
- public function setSender(Google_Service_HangoutsChat_User $sender)
- {
- $this->sender = $sender;
- }
- /**
- * @return Google_Service_HangoutsChat_User
- */
- public function getSender()
- {
- return $this->sender;
- }
- /**
- * @param Google_Service_HangoutsChat_Space
- */
- public function setSpace(Google_Service_HangoutsChat_Space $space)
- {
- $this->space = $space;
- }
- /**
- * @return Google_Service_HangoutsChat_Space
- */
- public function getSpace()
- {
- return $this->space;
- }
- public function setText($text)
- {
- $this->text = $text;
- }
- public function getText()
- {
- return $this->text;
- }
- /**
- * @param Google_Service_HangoutsChat_Thread
- */
- public function setThread(Google_Service_HangoutsChat_Thread $thread)
- {
- $this->thread = $thread;
- }
- /**
- * @return Google_Service_HangoutsChat_Thread
- */
- public function getThread()
- {
- return $this->thread;
- }
- }
|