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\CloudSearch; 19 20class ItemMetadata extends \Google\Collection 21{ 22 protected $collection_key = 'keywords'; 23 /** 24 * @var string 25 */ 26 public $containerName; 27 /** 28 * @var string 29 */ 30 public $contentLanguage; 31 protected $contextAttributesType = ContextAttribute::class; 32 protected $contextAttributesDataType = 'array'; 33 /** 34 * @var string 35 */ 36 public $createTime; 37 /** 38 * @var string 39 */ 40 public $hash; 41 protected $interactionsType = Interaction::class; 42 protected $interactionsDataType = 'array'; 43 /** 44 * @var string[] 45 */ 46 public $keywords; 47 /** 48 * @var string 49 */ 50 public $mimeType; 51 /** 52 * @var string 53 */ 54 public $objectType; 55 protected $searchQualityMetadataType = SearchQualityMetadata::class; 56 protected $searchQualityMetadataDataType = ''; 57 /** 58 * @var string 59 */ 60 public $sourceRepositoryUrl; 61 /** 62 * @var string 63 */ 64 public $title; 65 /** 66 * @var string 67 */ 68 public $updateTime; 69 70 /** 71 * @param string 72 */ 73 public function setContainerName($containerName) 74 { 75 $this->containerName = $containerName; 76 } 77 /** 78 * @return string 79 */ 80 public function getContainerName() 81 { 82 return $this->containerName; 83 } 84 /** 85 * @param string 86 */ 87 public function setContentLanguage($contentLanguage) 88 { 89 $this->contentLanguage = $contentLanguage; 90 } 91 /** 92 * @return string 93 */ 94 public function getContentLanguage() 95 { 96 return $this->contentLanguage; 97 } 98 /** 99 * @param ContextAttribute[] 100 */ 101 public function setContextAttributes($contextAttributes) 102 { 103 $this->contextAttributes = $contextAttributes; 104 } 105 /** 106 * @return ContextAttribute[] 107 */ 108 public function getContextAttributes() 109 { 110 return $this->contextAttributes; 111 } 112 /** 113 * @param string 114 */ 115 public function setCreateTime($createTime) 116 { 117 $this->createTime = $createTime; 118 } 119 /** 120 * @return string 121 */ 122 public function getCreateTime() 123 { 124 return $this->createTime; 125 } 126 /** 127 * @param string 128 */ 129 public function setHash($hash) 130 { 131 $this->hash = $hash; 132 } 133 /** 134 * @return string 135 */ 136 public function getHash() 137 { 138 return $this->hash; 139 } 140 /** 141 * @param Interaction[] 142 */ 143 public function setInteractions($interactions) 144 { 145 $this->interactions = $interactions; 146 } 147 /** 148 * @return Interaction[] 149 */ 150 public function getInteractions() 151 { 152 return $this->interactions; 153 } 154 /** 155 * @param string[] 156 */ 157 public function setKeywords($keywords) 158 { 159 $this->keywords = $keywords; 160 } 161 /** 162 * @return string[] 163 */ 164 public function getKeywords() 165 { 166 return $this->keywords; 167 } 168 /** 169 * @param string 170 */ 171 public function setMimeType($mimeType) 172 { 173 $this->mimeType = $mimeType; 174 } 175 /** 176 * @return string 177 */ 178 public function getMimeType() 179 { 180 return $this->mimeType; 181 } 182 /** 183 * @param string 184 */ 185 public function setObjectType($objectType) 186 { 187 $this->objectType = $objectType; 188 } 189 /** 190 * @return string 191 */ 192 public function getObjectType() 193 { 194 return $this->objectType; 195 } 196 /** 197 * @param SearchQualityMetadata 198 */ 199 public function setSearchQualityMetadata(SearchQualityMetadata $searchQualityMetadata) 200 { 201 $this->searchQualityMetadata = $searchQualityMetadata; 202 } 203 /** 204 * @return SearchQualityMetadata 205 */ 206 public function getSearchQualityMetadata() 207 { 208 return $this->searchQualityMetadata; 209 } 210 /** 211 * @param string 212 */ 213 public function setSourceRepositoryUrl($sourceRepositoryUrl) 214 { 215 $this->sourceRepositoryUrl = $sourceRepositoryUrl; 216 } 217 /** 218 * @return string 219 */ 220 public function getSourceRepositoryUrl() 221 { 222 return $this->sourceRepositoryUrl; 223 } 224 /** 225 * @param string 226 */ 227 public function setTitle($title) 228 { 229 $this->title = $title; 230 } 231 /** 232 * @return string 233 */ 234 public function getTitle() 235 { 236 return $this->title; 237 } 238 /** 239 * @param string 240 */ 241 public function setUpdateTime($updateTime) 242 { 243 $this->updateTime = $updateTime; 244 } 245 /** 246 * @return string 247 */ 248 public function getUpdateTime() 249 { 250 return $this->updateTime; 251 } 252} 253 254// Adding a class alias for backwards compatibility with the previous class name. 255class_alias(ItemMetadata::class, 'Google_Service_CloudSearch_ItemMetadata'); 256