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\Compute;
19
20class AutoscalerList extends \Google\Collection
21{
22  protected $collection_key = 'items';
23  /**
24   * @var string
25   */
26  public $id;
27  protected $itemsType = Autoscaler::class;
28  protected $itemsDataType = 'array';
29  /**
30   * @var string
31   */
32  public $kind;
33  /**
34   * @var string
35   */
36  public $nextPageToken;
37  /**
38   * @var string
39   */
40  public $selfLink;
41  protected $warningType = AutoscalerListWarning::class;
42  protected $warningDataType = '';
43
44  /**
45   * @param string
46   */
47  public function setId($id)
48  {
49    $this->id = $id;
50  }
51  /**
52   * @return string
53   */
54  public function getId()
55  {
56    return $this->id;
57  }
58  /**
59   * @param Autoscaler[]
60   */
61  public function setItems($items)
62  {
63    $this->items = $items;
64  }
65  /**
66   * @return Autoscaler[]
67   */
68  public function getItems()
69  {
70    return $this->items;
71  }
72  /**
73   * @param string
74   */
75  public function setKind($kind)
76  {
77    $this->kind = $kind;
78  }
79  /**
80   * @return string
81   */
82  public function getKind()
83  {
84    return $this->kind;
85  }
86  /**
87   * @param string
88   */
89  public function setNextPageToken($nextPageToken)
90  {
91    $this->nextPageToken = $nextPageToken;
92  }
93  /**
94   * @return string
95   */
96  public function getNextPageToken()
97  {
98    return $this->nextPageToken;
99  }
100  /**
101   * @param string
102   */
103  public function setSelfLink($selfLink)
104  {
105    $this->selfLink = $selfLink;
106  }
107  /**
108   * @return string
109   */
110  public function getSelfLink()
111  {
112    return $this->selfLink;
113  }
114  /**
115   * @param AutoscalerListWarning
116   */
117  public function setWarning(AutoscalerListWarning $warning)
118  {
119    $this->warning = $warning;
120  }
121  /**
122   * @return AutoscalerListWarning
123   */
124  public function getWarning()
125  {
126    return $this->warning;
127  }
128}
129
130// Adding a class alias for backwards compatibility with the previous class name.
131class_alias(AutoscalerList::class, 'Google_Service_Compute_AutoscalerList');
132