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 18class Google_Service_Dialogflow_GoogleCloudDialogflowV2Message extends Google_Model 19{ 20 public $content; 21 public $createTime; 22 public $languageCode; 23 protected $messageAnnotationType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2MessageAnnotation'; 24 protected $messageAnnotationDataType = ''; 25 public $name; 26 public $participant; 27 public $participantRole; 28 29 public function setContent($content) 30 { 31 $this->content = $content; 32 } 33 public function getContent() 34 { 35 return $this->content; 36 } 37 public function setCreateTime($createTime) 38 { 39 $this->createTime = $createTime; 40 } 41 public function getCreateTime() 42 { 43 return $this->createTime; 44 } 45 public function setLanguageCode($languageCode) 46 { 47 $this->languageCode = $languageCode; 48 } 49 public function getLanguageCode() 50 { 51 return $this->languageCode; 52 } 53 /** 54 * @param Google_Service_Dialogflow_GoogleCloudDialogflowV2MessageAnnotation 55 */ 56 public function setMessageAnnotation(Google_Service_Dialogflow_GoogleCloudDialogflowV2MessageAnnotation $messageAnnotation) 57 { 58 $this->messageAnnotation = $messageAnnotation; 59 } 60 /** 61 * @return Google_Service_Dialogflow_GoogleCloudDialogflowV2MessageAnnotation 62 */ 63 public function getMessageAnnotation() 64 { 65 return $this->messageAnnotation; 66 } 67 public function setName($name) 68 { 69 $this->name = $name; 70 } 71 public function getName() 72 { 73 return $this->name; 74 } 75 public function setParticipant($participant) 76 { 77 $this->participant = $participant; 78 } 79 public function getParticipant() 80 { 81 return $this->participant; 82 } 83 public function setParticipantRole($participantRole) 84 { 85 $this->participantRole = $participantRole; 86 } 87 public function getParticipantRole() 88 { 89 return $this->participantRole; 90 } 91} 92