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 18namespace Google\Service\Blogger; 19 20class Comment extends \Google\Model 21{ 22 protected $authorType = CommentAuthor::class; 23 protected $authorDataType = ''; 24 protected $blogType = CommentBlog::class; 25 protected $blogDataType = ''; 26 /** 27 * @var string 28 */ 29 public $content; 30 /** 31 * @var string 32 */ 33 public $id; 34 protected $inReplyToType = CommentInReplyTo::class; 35 protected $inReplyToDataType = ''; 36 /** 37 * @var string 38 */ 39 public $kind; 40 protected $postType = CommentPost::class; 41 protected $postDataType = ''; 42 /** 43 * @var string 44 */ 45 public $published; 46 /** 47 * @var string 48 */ 49 public $selfLink; 50 /** 51 * @var string 52 */ 53 public $status; 54 /** 55 * @var string 56 */ 57 public $updated; 58 59 /** 60 * @param CommentAuthor 61 */ 62 public function setAuthor(CommentAuthor $author) 63 { 64 $this->author = $author; 65 } 66 /** 67 * @return CommentAuthor 68 */ 69 public function getAuthor() 70 { 71 return $this->author; 72 } 73 /** 74 * @param CommentBlog 75 */ 76 public function setBlog(CommentBlog $blog) 77 { 78 $this->blog = $blog; 79 } 80 /** 81 * @return CommentBlog 82 */ 83 public function getBlog() 84 { 85 return $this->blog; 86 } 87 /** 88 * @param string 89 */ 90 public function setContent($content) 91 { 92 $this->content = $content; 93 } 94 /** 95 * @return string 96 */ 97 public function getContent() 98 { 99 return $this->content; 100 } 101 /** 102 * @param string 103 */ 104 public function setId($id) 105 { 106 $this->id = $id; 107 } 108 /** 109 * @return string 110 */ 111 public function getId() 112 { 113 return $this->id; 114 } 115 /** 116 * @param CommentInReplyTo 117 */ 118 public function setInReplyTo(CommentInReplyTo $inReplyTo) 119 { 120 $this->inReplyTo = $inReplyTo; 121 } 122 /** 123 * @return CommentInReplyTo 124 */ 125 public function getInReplyTo() 126 { 127 return $this->inReplyTo; 128 } 129 /** 130 * @param string 131 */ 132 public function setKind($kind) 133 { 134 $this->kind = $kind; 135 } 136 /** 137 * @return string 138 */ 139 public function getKind() 140 { 141 return $this->kind; 142 } 143 /** 144 * @param CommentPost 145 */ 146 public function setPost(CommentPost $post) 147 { 148 $this->post = $post; 149 } 150 /** 151 * @return CommentPost 152 */ 153 public function getPost() 154 { 155 return $this->post; 156 } 157 /** 158 * @param string 159 */ 160 public function setPublished($published) 161 { 162 $this->published = $published; 163 } 164 /** 165 * @return string 166 */ 167 public function getPublished() 168 { 169 return $this->published; 170 } 171 /** 172 * @param string 173 */ 174 public function setSelfLink($selfLink) 175 { 176 $this->selfLink = $selfLink; 177 } 178 /** 179 * @return string 180 */ 181 public function getSelfLink() 182 { 183 return $this->selfLink; 184 } 185 /** 186 * @param string 187 */ 188 public function setStatus($status) 189 { 190 $this->status = $status; 191 } 192 /** 193 * @return string 194 */ 195 public function getStatus() 196 { 197 return $this->status; 198 } 199 /** 200 * @param string 201 */ 202 public function setUpdated($updated) 203 { 204 $this->updated = $updated; 205 } 206 /** 207 * @return string 208 */ 209 public function getUpdated() 210 { 211 return $this->updated; 212 } 213} 214 215// Adding a class alias for backwards compatibility with the previous class name. 216class_alias(Comment::class, 'Google_Service_Blogger_Comment'); 217