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\Recommender;
19
20class GoogleCloudRecommenderV1Recommendation extends \Google\Collection
21{
22  protected $collection_key = 'associatedInsights';
23  protected $additionalImpactType = GoogleCloudRecommenderV1Impact::class;
24  protected $additionalImpactDataType = 'array';
25  protected $associatedInsightsType = GoogleCloudRecommenderV1RecommendationInsightReference::class;
26  protected $associatedInsightsDataType = 'array';
27  protected $contentType = GoogleCloudRecommenderV1RecommendationContent::class;
28  protected $contentDataType = '';
29  /**
30   * @var string
31   */
32  public $description;
33  /**
34   * @var string
35   */
36  public $etag;
37  /**
38   * @var string
39   */
40  public $lastRefreshTime;
41  /**
42   * @var string
43   */
44  public $name;
45  protected $primaryImpactType = GoogleCloudRecommenderV1Impact::class;
46  protected $primaryImpactDataType = '';
47  /**
48   * @var string
49   */
50  public $priority;
51  /**
52   * @var string
53   */
54  public $recommenderSubtype;
55  protected $stateInfoType = GoogleCloudRecommenderV1RecommendationStateInfo::class;
56  protected $stateInfoDataType = '';
57  /**
58   * @var string
59   */
60  public $xorGroupId;
61
62  /**
63   * @param GoogleCloudRecommenderV1Impact[]
64   */
65  public function setAdditionalImpact($additionalImpact)
66  {
67    $this->additionalImpact = $additionalImpact;
68  }
69  /**
70   * @return GoogleCloudRecommenderV1Impact[]
71   */
72  public function getAdditionalImpact()
73  {
74    return $this->additionalImpact;
75  }
76  /**
77   * @param GoogleCloudRecommenderV1RecommendationInsightReference[]
78   */
79  public function setAssociatedInsights($associatedInsights)
80  {
81    $this->associatedInsights = $associatedInsights;
82  }
83  /**
84   * @return GoogleCloudRecommenderV1RecommendationInsightReference[]
85   */
86  public function getAssociatedInsights()
87  {
88    return $this->associatedInsights;
89  }
90  /**
91   * @param GoogleCloudRecommenderV1RecommendationContent
92   */
93  public function setContent(GoogleCloudRecommenderV1RecommendationContent $content)
94  {
95    $this->content = $content;
96  }
97  /**
98   * @return GoogleCloudRecommenderV1RecommendationContent
99   */
100  public function getContent()
101  {
102    return $this->content;
103  }
104  /**
105   * @param string
106   */
107  public function setDescription($description)
108  {
109    $this->description = $description;
110  }
111  /**
112   * @return string
113   */
114  public function getDescription()
115  {
116    return $this->description;
117  }
118  /**
119   * @param string
120   */
121  public function setEtag($etag)
122  {
123    $this->etag = $etag;
124  }
125  /**
126   * @return string
127   */
128  public function getEtag()
129  {
130    return $this->etag;
131  }
132  /**
133   * @param string
134   */
135  public function setLastRefreshTime($lastRefreshTime)
136  {
137    $this->lastRefreshTime = $lastRefreshTime;
138  }
139  /**
140   * @return string
141   */
142  public function getLastRefreshTime()
143  {
144    return $this->lastRefreshTime;
145  }
146  /**
147   * @param string
148   */
149  public function setName($name)
150  {
151    $this->name = $name;
152  }
153  /**
154   * @return string
155   */
156  public function getName()
157  {
158    return $this->name;
159  }
160  /**
161   * @param GoogleCloudRecommenderV1Impact
162   */
163  public function setPrimaryImpact(GoogleCloudRecommenderV1Impact $primaryImpact)
164  {
165    $this->primaryImpact = $primaryImpact;
166  }
167  /**
168   * @return GoogleCloudRecommenderV1Impact
169   */
170  public function getPrimaryImpact()
171  {
172    return $this->primaryImpact;
173  }
174  /**
175   * @param string
176   */
177  public function setPriority($priority)
178  {
179    $this->priority = $priority;
180  }
181  /**
182   * @return string
183   */
184  public function getPriority()
185  {
186    return $this->priority;
187  }
188  /**
189   * @param string
190   */
191  public function setRecommenderSubtype($recommenderSubtype)
192  {
193    $this->recommenderSubtype = $recommenderSubtype;
194  }
195  /**
196   * @return string
197   */
198  public function getRecommenderSubtype()
199  {
200    return $this->recommenderSubtype;
201  }
202  /**
203   * @param GoogleCloudRecommenderV1RecommendationStateInfo
204   */
205  public function setStateInfo(GoogleCloudRecommenderV1RecommendationStateInfo $stateInfo)
206  {
207    $this->stateInfo = $stateInfo;
208  }
209  /**
210   * @return GoogleCloudRecommenderV1RecommendationStateInfo
211   */
212  public function getStateInfo()
213  {
214    return $this->stateInfo;
215  }
216  /**
217   * @param string
218   */
219  public function setXorGroupId($xorGroupId)
220  {
221    $this->xorGroupId = $xorGroupId;
222  }
223  /**
224   * @return string
225   */
226  public function getXorGroupId()
227  {
228    return $this->xorGroupId;
229  }
230}
231
232// Adding a class alias for backwards compatibility with the previous class name.
233class_alias(GoogleCloudRecommenderV1Recommendation::class, 'Google_Service_Recommender_GoogleCloudRecommenderV1Recommendation');
234