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_Plus_Comment extends Google_Collection 19{ 20 protected $collection_key = 'inReplyTo'; 21 protected $actorType = 'Google_Service_Plus_CommentActor'; 22 protected $actorDataType = ''; 23 public $etag; 24 public $id; 25 protected $inReplyToType = 'Google_Service_Plus_CommentInReplyTo'; 26 protected $inReplyToDataType = 'array'; 27 public $kind; 28 protected $objectType = 'Google_Service_Plus_CommentObject'; 29 protected $objectDataType = ''; 30 protected $plusonersType = 'Google_Service_Plus_CommentPlusoners'; 31 protected $plusonersDataType = ''; 32 public $published; 33 public $selfLink; 34 public $updated; 35 public $verb; 36 37 /** 38 * @param Google_Service_Plus_CommentActor 39 */ 40 public function setActor(Google_Service_Plus_CommentActor $actor) 41 { 42 $this->actor = $actor; 43 } 44 /** 45 * @return Google_Service_Plus_CommentActor 46 */ 47 public function getActor() 48 { 49 return $this->actor; 50 } 51 public function setEtag($etag) 52 { 53 $this->etag = $etag; 54 } 55 public function getEtag() 56 { 57 return $this->etag; 58 } 59 public function setId($id) 60 { 61 $this->id = $id; 62 } 63 public function getId() 64 { 65 return $this->id; 66 } 67 /** 68 * @param Google_Service_Plus_CommentInReplyTo 69 */ 70 public function setInReplyTo($inReplyTo) 71 { 72 $this->inReplyTo = $inReplyTo; 73 } 74 /** 75 * @return Google_Service_Plus_CommentInReplyTo 76 */ 77 public function getInReplyTo() 78 { 79 return $this->inReplyTo; 80 } 81 public function setKind($kind) 82 { 83 $this->kind = $kind; 84 } 85 public function getKind() 86 { 87 return $this->kind; 88 } 89 /** 90 * @param Google_Service_Plus_CommentObject 91 */ 92 public function setObject(Google_Service_Plus_CommentObject $object) 93 { 94 $this->object = $object; 95 } 96 /** 97 * @return Google_Service_Plus_CommentObject 98 */ 99 public function getObject() 100 { 101 return $this->object; 102 } 103 /** 104 * @param Google_Service_Plus_CommentPlusoners 105 */ 106 public function setPlusoners(Google_Service_Plus_CommentPlusoners $plusoners) 107 { 108 $this->plusoners = $plusoners; 109 } 110 /** 111 * @return Google_Service_Plus_CommentPlusoners 112 */ 113 public function getPlusoners() 114 { 115 return $this->plusoners; 116 } 117 public function setPublished($published) 118 { 119 $this->published = $published; 120 } 121 public function getPublished() 122 { 123 return $this->published; 124 } 125 public function setSelfLink($selfLink) 126 { 127 $this->selfLink = $selfLink; 128 } 129 public function getSelfLink() 130 { 131 return $this->selfLink; 132 } 133 public function setUpdated($updated) 134 { 135 $this->updated = $updated; 136 } 137 public function getUpdated() 138 { 139 return $this->updated; 140 } 141 public function setVerb($verb) 142 { 143 $this->verb = $verb; 144 } 145 public function getVerb() 146 { 147 return $this->verb; 148 } 149} 150