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\CloudMachineLearningEngine;
19
20class GoogleCloudMlV1ParameterSpec extends \Google\Collection
21{
22  protected $collection_key = 'discreteValues';
23  /**
24   * @var string[]
25   */
26  public $categoricalValues;
27  public $discreteValues;
28  public $maxValue;
29  public $minValue;
30  /**
31   * @var string
32   */
33  public $parameterName;
34  /**
35   * @var string
36   */
37  public $scaleType;
38  /**
39   * @var string
40   */
41  public $type;
42
43  /**
44   * @param string[]
45   */
46  public function setCategoricalValues($categoricalValues)
47  {
48    $this->categoricalValues = $categoricalValues;
49  }
50  /**
51   * @return string[]
52   */
53  public function getCategoricalValues()
54  {
55    return $this->categoricalValues;
56  }
57  public function setDiscreteValues($discreteValues)
58  {
59    $this->discreteValues = $discreteValues;
60  }
61  public function getDiscreteValues()
62  {
63    return $this->discreteValues;
64  }
65  public function setMaxValue($maxValue)
66  {
67    $this->maxValue = $maxValue;
68  }
69  public function getMaxValue()
70  {
71    return $this->maxValue;
72  }
73  public function setMinValue($minValue)
74  {
75    $this->minValue = $minValue;
76  }
77  public function getMinValue()
78  {
79    return $this->minValue;
80  }
81  /**
82   * @param string
83   */
84  public function setParameterName($parameterName)
85  {
86    $this->parameterName = $parameterName;
87  }
88  /**
89   * @return string
90   */
91  public function getParameterName()
92  {
93    return $this->parameterName;
94  }
95  /**
96   * @param string
97   */
98  public function setScaleType($scaleType)
99  {
100    $this->scaleType = $scaleType;
101  }
102  /**
103   * @return string
104   */
105  public function getScaleType()
106  {
107    return $this->scaleType;
108  }
109  /**
110   * @param string
111   */
112  public function setType($type)
113  {
114    $this->type = $type;
115  }
116  /**
117   * @return string
118   */
119  public function getType()
120  {
121    return $this->type;
122  }
123}
124
125// Adding a class alias for backwards compatibility with the previous class name.
126class_alias(GoogleCloudMlV1ParameterSpec::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1ParameterSpec');
127