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\Document; 19 20class GoogleCloudDocumentaiV1SchemaEntityType extends \Google\Collection 21{ 22 protected $collection_key = 'properties'; 23 public $baseType; 24 public $description; 25 public $enumValues; 26 public $occurrenceType; 27 protected $propertiesType = GoogleCloudDocumentaiV1SchemaEntityType::class; 28 protected $propertiesDataType = 'array'; 29 public $source; 30 public $type; 31 32 public function setBaseType($baseType) 33 { 34 $this->baseType = $baseType; 35 } 36 public function getBaseType() 37 { 38 return $this->baseType; 39 } 40 public function setDescription($description) 41 { 42 $this->description = $description; 43 } 44 public function getDescription() 45 { 46 return $this->description; 47 } 48 public function setEnumValues($enumValues) 49 { 50 $this->enumValues = $enumValues; 51 } 52 public function getEnumValues() 53 { 54 return $this->enumValues; 55 } 56 public function setOccurrenceType($occurrenceType) 57 { 58 $this->occurrenceType = $occurrenceType; 59 } 60 public function getOccurrenceType() 61 { 62 return $this->occurrenceType; 63 } 64 /** 65 * @param GoogleCloudDocumentaiV1SchemaEntityType[] 66 */ 67 public function setProperties($properties) 68 { 69 $this->properties = $properties; 70 } 71 /** 72 * @return GoogleCloudDocumentaiV1SchemaEntityType[] 73 */ 74 public function getProperties() 75 { 76 return $this->properties; 77 } 78 public function setSource($source) 79 { 80 $this->source = $source; 81 } 82 public function getSource() 83 { 84 return $this->source; 85 } 86 public function setType($type) 87 { 88 $this->type = $type; 89 } 90 public function getType() 91 { 92 return $this->type; 93 } 94} 95 96// Adding a class alias for backwards compatibility with the previous class name. 97class_alias(GoogleCloudDocumentaiV1SchemaEntityType::class, 'Google_Service_Document_GoogleCloudDocumentaiV1SchemaEntityType'); 98