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\ServiceControl;
19
20class Request extends \Google\Model
21{
22  protected $authType = Auth::class;
23  protected $authDataType = '';
24  /**
25   * @var string[]
26   */
27  public $headers;
28  /**
29   * @var string
30   */
31  public $host;
32  /**
33   * @var string
34   */
35  public $id;
36  /**
37   * @var string
38   */
39  public $method;
40  /**
41   * @var string
42   */
43  public $path;
44  /**
45   * @var string
46   */
47  public $protocol;
48  /**
49   * @var string
50   */
51  public $query;
52  /**
53   * @var string
54   */
55  public $reason;
56  /**
57   * @var string
58   */
59  public $scheme;
60  /**
61   * @var string
62   */
63  public $size;
64  /**
65   * @var string
66   */
67  public $time;
68
69  /**
70   * @param Auth
71   */
72  public function setAuth(Auth $auth)
73  {
74    $this->auth = $auth;
75  }
76  /**
77   * @return Auth
78   */
79  public function getAuth()
80  {
81    return $this->auth;
82  }
83  /**
84   * @param string[]
85   */
86  public function setHeaders($headers)
87  {
88    $this->headers = $headers;
89  }
90  /**
91   * @return string[]
92   */
93  public function getHeaders()
94  {
95    return $this->headers;
96  }
97  /**
98   * @param string
99   */
100  public function setHost($host)
101  {
102    $this->host = $host;
103  }
104  /**
105   * @return string
106   */
107  public function getHost()
108  {
109    return $this->host;
110  }
111  /**
112   * @param string
113   */
114  public function setId($id)
115  {
116    $this->id = $id;
117  }
118  /**
119   * @return string
120   */
121  public function getId()
122  {
123    return $this->id;
124  }
125  /**
126   * @param string
127   */
128  public function setMethod($method)
129  {
130    $this->method = $method;
131  }
132  /**
133   * @return string
134   */
135  public function getMethod()
136  {
137    return $this->method;
138  }
139  /**
140   * @param string
141   */
142  public function setPath($path)
143  {
144    $this->path = $path;
145  }
146  /**
147   * @return string
148   */
149  public function getPath()
150  {
151    return $this->path;
152  }
153  /**
154   * @param string
155   */
156  public function setProtocol($protocol)
157  {
158    $this->protocol = $protocol;
159  }
160  /**
161   * @return string
162   */
163  public function getProtocol()
164  {
165    return $this->protocol;
166  }
167  /**
168   * @param string
169   */
170  public function setQuery($query)
171  {
172    $this->query = $query;
173  }
174  /**
175   * @return string
176   */
177  public function getQuery()
178  {
179    return $this->query;
180  }
181  /**
182   * @param string
183   */
184  public function setReason($reason)
185  {
186    $this->reason = $reason;
187  }
188  /**
189   * @return string
190   */
191  public function getReason()
192  {
193    return $this->reason;
194  }
195  /**
196   * @param string
197   */
198  public function setScheme($scheme)
199  {
200    $this->scheme = $scheme;
201  }
202  /**
203   * @return string
204   */
205  public function getScheme()
206  {
207    return $this->scheme;
208  }
209  /**
210   * @param string
211   */
212  public function setSize($size)
213  {
214    $this->size = $size;
215  }
216  /**
217   * @return string
218   */
219  public function getSize()
220  {
221    return $this->size;
222  }
223  /**
224   * @param string
225   */
226  public function setTime($time)
227  {
228    $this->time = $time;
229  }
230  /**
231   * @return string
232   */
233  public function getTime()
234  {
235    return $this->time;
236  }
237}
238
239// Adding a class alias for backwards compatibility with the previous class name.
240class_alias(Request::class, 'Google_Service_ServiceControl_Request');
241