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\ToolResults; 19 20class SuggestionProto extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $helpUrl; 26 protected $longMessageType = SafeHtmlProto::class; 27 protected $longMessageDataType = ''; 28 /** 29 * @var string 30 */ 31 public $priority; 32 /** 33 * @var string 34 */ 35 public $pseudoResourceId; 36 protected $regionType = RegionProto::class; 37 protected $regionDataType = ''; 38 /** 39 * @var string 40 */ 41 public $resourceName; 42 /** 43 * @var string 44 */ 45 public $screenId; 46 public $secondaryPriority; 47 protected $shortMessageType = SafeHtmlProto::class; 48 protected $shortMessageDataType = ''; 49 /** 50 * @var string 51 */ 52 public $title; 53 54 /** 55 * @param string 56 */ 57 public function setHelpUrl($helpUrl) 58 { 59 $this->helpUrl = $helpUrl; 60 } 61 /** 62 * @return string 63 */ 64 public function getHelpUrl() 65 { 66 return $this->helpUrl; 67 } 68 /** 69 * @param SafeHtmlProto 70 */ 71 public function setLongMessage(SafeHtmlProto $longMessage) 72 { 73 $this->longMessage = $longMessage; 74 } 75 /** 76 * @return SafeHtmlProto 77 */ 78 public function getLongMessage() 79 { 80 return $this->longMessage; 81 } 82 /** 83 * @param string 84 */ 85 public function setPriority($priority) 86 { 87 $this->priority = $priority; 88 } 89 /** 90 * @return string 91 */ 92 public function getPriority() 93 { 94 return $this->priority; 95 } 96 /** 97 * @param string 98 */ 99 public function setPseudoResourceId($pseudoResourceId) 100 { 101 $this->pseudoResourceId = $pseudoResourceId; 102 } 103 /** 104 * @return string 105 */ 106 public function getPseudoResourceId() 107 { 108 return $this->pseudoResourceId; 109 } 110 /** 111 * @param RegionProto 112 */ 113 public function setRegion(RegionProto $region) 114 { 115 $this->region = $region; 116 } 117 /** 118 * @return RegionProto 119 */ 120 public function getRegion() 121 { 122 return $this->region; 123 } 124 /** 125 * @param string 126 */ 127 public function setResourceName($resourceName) 128 { 129 $this->resourceName = $resourceName; 130 } 131 /** 132 * @return string 133 */ 134 public function getResourceName() 135 { 136 return $this->resourceName; 137 } 138 /** 139 * @param string 140 */ 141 public function setScreenId($screenId) 142 { 143 $this->screenId = $screenId; 144 } 145 /** 146 * @return string 147 */ 148 public function getScreenId() 149 { 150 return $this->screenId; 151 } 152 public function setSecondaryPriority($secondaryPriority) 153 { 154 $this->secondaryPriority = $secondaryPriority; 155 } 156 public function getSecondaryPriority() 157 { 158 return $this->secondaryPriority; 159 } 160 /** 161 * @param SafeHtmlProto 162 */ 163 public function setShortMessage(SafeHtmlProto $shortMessage) 164 { 165 $this->shortMessage = $shortMessage; 166 } 167 /** 168 * @return SafeHtmlProto 169 */ 170 public function getShortMessage() 171 { 172 return $this->shortMessage; 173 } 174 /** 175 * @param string 176 */ 177 public function setTitle($title) 178 { 179 $this->title = $title; 180 } 181 /** 182 * @return string 183 */ 184 public function getTitle() 185 { 186 return $this->title; 187 } 188} 189 190// Adding a class alias for backwards compatibility with the previous class name. 191class_alias(SuggestionProto::class, 'Google_Service_ToolResults_SuggestionProto'); 192