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_Drive_Comment extends Google_Collection 19{ 20 protected $collection_key = 'replies'; 21 public $anchor; 22 protected $authorType = 'Google_Service_Drive_User'; 23 protected $authorDataType = ''; 24 public $content; 25 public $createdTime; 26 public $deleted; 27 public $htmlContent; 28 public $id; 29 public $kind; 30 public $modifiedTime; 31 protected $quotedFileContentType = 'Google_Service_Drive_CommentQuotedFileContent'; 32 protected $quotedFileContentDataType = ''; 33 protected $repliesType = 'Google_Service_Drive_Reply'; 34 protected $repliesDataType = 'array'; 35 public $resolved; 36 37 public function setAnchor($anchor) 38 { 39 $this->anchor = $anchor; 40 } 41 public function getAnchor() 42 { 43 return $this->anchor; 44 } 45 /** 46 * @param Google_Service_Drive_User 47 */ 48 public function setAuthor(Google_Service_Drive_User $author) 49 { 50 $this->author = $author; 51 } 52 /** 53 * @return Google_Service_Drive_User 54 */ 55 public function getAuthor() 56 { 57 return $this->author; 58 } 59 public function setContent($content) 60 { 61 $this->content = $content; 62 } 63 public function getContent() 64 { 65 return $this->content; 66 } 67 public function setCreatedTime($createdTime) 68 { 69 $this->createdTime = $createdTime; 70 } 71 public function getCreatedTime() 72 { 73 return $this->createdTime; 74 } 75 public function setDeleted($deleted) 76 { 77 $this->deleted = $deleted; 78 } 79 public function getDeleted() 80 { 81 return $this->deleted; 82 } 83 public function setHtmlContent($htmlContent) 84 { 85 $this->htmlContent = $htmlContent; 86 } 87 public function getHtmlContent() 88 { 89 return $this->htmlContent; 90 } 91 public function setId($id) 92 { 93 $this->id = $id; 94 } 95 public function getId() 96 { 97 return $this->id; 98 } 99 public function setKind($kind) 100 { 101 $this->kind = $kind; 102 } 103 public function getKind() 104 { 105 return $this->kind; 106 } 107 public function setModifiedTime($modifiedTime) 108 { 109 $this->modifiedTime = $modifiedTime; 110 } 111 public function getModifiedTime() 112 { 113 return $this->modifiedTime; 114 } 115 /** 116 * @param Google_Service_Drive_CommentQuotedFileContent 117 */ 118 public function setQuotedFileContent(Google_Service_Drive_CommentQuotedFileContent $quotedFileContent) 119 { 120 $this->quotedFileContent = $quotedFileContent; 121 } 122 /** 123 * @return Google_Service_Drive_CommentQuotedFileContent 124 */ 125 public function getQuotedFileContent() 126 { 127 return $this->quotedFileContent; 128 } 129 /** 130 * @param Google_Service_Drive_Reply[] 131 */ 132 public function setReplies($replies) 133 { 134 $this->replies = $replies; 135 } 136 /** 137 * @return Google_Service_Drive_Reply[] 138 */ 139 public function getReplies() 140 { 141 return $this->replies; 142 } 143 public function setResolved($resolved) 144 { 145 $this->resolved = $resolved; 146 } 147 public function getResolved() 148 { 149 return $this->resolved; 150 } 151} 152