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_ServiceConsumerManagement_Enum extends Google_Collection
19{
20  protected $collection_key = 'options';
21  protected $enumvalueType = 'Google_Service_ServiceConsumerManagement_EnumValue';
22  protected $enumvalueDataType = 'array';
23  public $name;
24  protected $optionsType = 'Google_Service_ServiceConsumerManagement_Option';
25  protected $optionsDataType = 'array';
26  protected $sourceContextType = 'Google_Service_ServiceConsumerManagement_SourceContext';
27  protected $sourceContextDataType = '';
28  public $syntax;
29
30  /**
31   * @param Google_Service_ServiceConsumerManagement_EnumValue
32   */
33  public function setEnumvalue($enumvalue)
34  {
35    $this->enumvalue = $enumvalue;
36  }
37  /**
38   * @return Google_Service_ServiceConsumerManagement_EnumValue
39   */
40  public function getEnumvalue()
41  {
42    return $this->enumvalue;
43  }
44  public function setName($name)
45  {
46    $this->name = $name;
47  }
48  public function getName()
49  {
50    return $this->name;
51  }
52  /**
53   * @param Google_Service_ServiceConsumerManagement_Option
54   */
55  public function setOptions($options)
56  {
57    $this->options = $options;
58  }
59  /**
60   * @return Google_Service_ServiceConsumerManagement_Option
61   */
62  public function getOptions()
63  {
64    return $this->options;
65  }
66  /**
67   * @param Google_Service_ServiceConsumerManagement_SourceContext
68   */
69  public function setSourceContext(Google_Service_ServiceConsumerManagement_SourceContext $sourceContext)
70  {
71    $this->sourceContext = $sourceContext;
72  }
73  /**
74   * @return Google_Service_ServiceConsumerManagement_SourceContext
75   */
76  public function getSourceContext()
77  {
78    return $this->sourceContext;
79  }
80  public function setSyntax($syntax)
81  {
82    $this->syntax = $syntax;
83  }
84  public function getSyntax()
85  {
86    return $this->syntax;
87  }
88}
89