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\CivicInfo;
19
20class RepresentativeInfoResponse extends \Google\Collection
21{
22  protected $collection_key = 'officials';
23  protected $divisionsType = GeographicDivision::class;
24  protected $divisionsDataType = 'map';
25  /**
26   * @var string
27   */
28  public $kind;
29  protected $normalizedInputType = SimpleAddressType::class;
30  protected $normalizedInputDataType = '';
31  protected $officesType = Office::class;
32  protected $officesDataType = 'array';
33  protected $officialsType = Official::class;
34  protected $officialsDataType = 'array';
35
36  /**
37   * @param GeographicDivision[]
38   */
39  public function setDivisions($divisions)
40  {
41    $this->divisions = $divisions;
42  }
43  /**
44   * @return GeographicDivision[]
45   */
46  public function getDivisions()
47  {
48    return $this->divisions;
49  }
50  /**
51   * @param string
52   */
53  public function setKind($kind)
54  {
55    $this->kind = $kind;
56  }
57  /**
58   * @return string
59   */
60  public function getKind()
61  {
62    return $this->kind;
63  }
64  /**
65   * @param SimpleAddressType
66   */
67  public function setNormalizedInput(SimpleAddressType $normalizedInput)
68  {
69    $this->normalizedInput = $normalizedInput;
70  }
71  /**
72   * @return SimpleAddressType
73   */
74  public function getNormalizedInput()
75  {
76    return $this->normalizedInput;
77  }
78  /**
79   * @param Office[]
80   */
81  public function setOffices($offices)
82  {
83    $this->offices = $offices;
84  }
85  /**
86   * @return Office[]
87   */
88  public function getOffices()
89  {
90    return $this->offices;
91  }
92  /**
93   * @param Official[]
94   */
95  public function setOfficials($officials)
96  {
97    $this->officials = $officials;
98  }
99  /**
100   * @return Official[]
101   */
102  public function getOfficials()
103  {
104    return $this->officials;
105  }
106}
107
108// Adding a class alias for backwards compatibility with the previous class name.
109class_alias(RepresentativeInfoResponse::class, 'Google_Service_CivicInfo_RepresentativeInfoResponse');
110