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
18class Google_Service_JobService_CommutePreference extends Google_Model
19{
20  public $allowNonStreetLevelAddress;
21  public $departureHourLocal;
22  public $method;
23  public $roadTraffic;
24  protected $startLocationType = 'Google_Service_JobService_LatLng';
25  protected $startLocationDataType = '';
26  public $travelTime;
27
28  public function setAllowNonStreetLevelAddress($allowNonStreetLevelAddress)
29  {
30    $this->allowNonStreetLevelAddress = $allowNonStreetLevelAddress;
31  }
32  public function getAllowNonStreetLevelAddress()
33  {
34    return $this->allowNonStreetLevelAddress;
35  }
36  public function setDepartureHourLocal($departureHourLocal)
37  {
38    $this->departureHourLocal = $departureHourLocal;
39  }
40  public function getDepartureHourLocal()
41  {
42    return $this->departureHourLocal;
43  }
44  public function setMethod($method)
45  {
46    $this->method = $method;
47  }
48  public function getMethod()
49  {
50    return $this->method;
51  }
52  public function setRoadTraffic($roadTraffic)
53  {
54    $this->roadTraffic = $roadTraffic;
55  }
56  public function getRoadTraffic()
57  {
58    return $this->roadTraffic;
59  }
60  /**
61   * @param Google_Service_JobService_LatLng
62   */
63  public function setStartLocation(Google_Service_JobService_LatLng $startLocation)
64  {
65    $this->startLocation = $startLocation;
66  }
67  /**
68   * @return Google_Service_JobService_LatLng
69   */
70  public function getStartLocation()
71  {
72    return $this->startLocation;
73  }
74  public function setTravelTime($travelTime)
75  {
76    $this->travelTime = $travelTime;
77  }
78  public function getTravelTime()
79  {
80    return $this->travelTime;
81  }
82}
83