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\CloudTalentSolution;
19
20class LocationFilter extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $address;
26  public $distanceInMiles;
27  protected $latLngType = LatLng::class;
28  protected $latLngDataType = '';
29  /**
30   * @var string
31   */
32  public $regionCode;
33  /**
34   * @var string
35   */
36  public $telecommutePreference;
37
38  /**
39   * @param string
40   */
41  public function setAddress($address)
42  {
43    $this->address = $address;
44  }
45  /**
46   * @return string
47   */
48  public function getAddress()
49  {
50    return $this->address;
51  }
52  public function setDistanceInMiles($distanceInMiles)
53  {
54    $this->distanceInMiles = $distanceInMiles;
55  }
56  public function getDistanceInMiles()
57  {
58    return $this->distanceInMiles;
59  }
60  /**
61   * @param LatLng
62   */
63  public function setLatLng(LatLng $latLng)
64  {
65    $this->latLng = $latLng;
66  }
67  /**
68   * @return LatLng
69   */
70  public function getLatLng()
71  {
72    return $this->latLng;
73  }
74  /**
75   * @param string
76   */
77  public function setRegionCode($regionCode)
78  {
79    $this->regionCode = $regionCode;
80  }
81  /**
82   * @return string
83   */
84  public function getRegionCode()
85  {
86    return $this->regionCode;
87  }
88  /**
89   * @param string
90   */
91  public function setTelecommutePreference($telecommutePreference)
92  {
93    $this->telecommutePreference = $telecommutePreference;
94  }
95  /**
96   * @return string
97   */
98  public function getTelecommutePreference()
99  {
100    return $this->telecommutePreference;
101  }
102}
103
104// Adding a class alias for backwards compatibility with the previous class name.
105class_alias(LocationFilter::class, 'Google_Service_CloudTalentSolution_LocationFilter');
106