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_QPXExpress_SliceInput extends Google_Collection
19{
20  protected $collection_key = 'prohibitedCarrier';
21  public $alliance;
22  public $date;
23  public $destination;
24  public $kind;
25  public $maxConnectionDuration;
26  public $maxStops;
27  public $origin;
28  public $permittedCarrier;
29  protected $permittedDepartureTimeType = 'Google_Service_QPXExpress_TimeOfDayRange';
30  protected $permittedDepartureTimeDataType = '';
31  public $preferredCabin;
32  public $prohibitedCarrier;
33
34  public function setAlliance($alliance)
35  {
36    $this->alliance = $alliance;
37  }
38  public function getAlliance()
39  {
40    return $this->alliance;
41  }
42  public function setDate($date)
43  {
44    $this->date = $date;
45  }
46  public function getDate()
47  {
48    return $this->date;
49  }
50  public function setDestination($destination)
51  {
52    $this->destination = $destination;
53  }
54  public function getDestination()
55  {
56    return $this->destination;
57  }
58  public function setKind($kind)
59  {
60    $this->kind = $kind;
61  }
62  public function getKind()
63  {
64    return $this->kind;
65  }
66  public function setMaxConnectionDuration($maxConnectionDuration)
67  {
68    $this->maxConnectionDuration = $maxConnectionDuration;
69  }
70  public function getMaxConnectionDuration()
71  {
72    return $this->maxConnectionDuration;
73  }
74  public function setMaxStops($maxStops)
75  {
76    $this->maxStops = $maxStops;
77  }
78  public function getMaxStops()
79  {
80    return $this->maxStops;
81  }
82  public function setOrigin($origin)
83  {
84    $this->origin = $origin;
85  }
86  public function getOrigin()
87  {
88    return $this->origin;
89  }
90  public function setPermittedCarrier($permittedCarrier)
91  {
92    $this->permittedCarrier = $permittedCarrier;
93  }
94  public function getPermittedCarrier()
95  {
96    return $this->permittedCarrier;
97  }
98  /**
99   * @param Google_Service_QPXExpress_TimeOfDayRange
100   */
101  public function setPermittedDepartureTime(Google_Service_QPXExpress_TimeOfDayRange $permittedDepartureTime)
102  {
103    $this->permittedDepartureTime = $permittedDepartureTime;
104  }
105  /**
106   * @return Google_Service_QPXExpress_TimeOfDayRange
107   */
108  public function getPermittedDepartureTime()
109  {
110    return $this->permittedDepartureTime;
111  }
112  public function setPreferredCabin($preferredCabin)
113  {
114    $this->preferredCabin = $preferredCabin;
115  }
116  public function getPreferredCabin()
117  {
118    return $this->preferredCabin;
119  }
120  public function setProhibitedCarrier($prohibitedCarrier)
121  {
122    $this->prohibitedCarrier = $prohibitedCarrier;
123  }
124  public function getProhibitedCarrier()
125  {
126    return $this->prohibitedCarrier;
127  }
128}
129