source: vendor/google/apiclient-services/src/VersionHistory/Release.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[e3d4e0a]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\VersionHistory;
19
20class Release extends \Google\Model
21{
22 public $fraction;
23 /**
24 * @var string
25 */
26 public $fractionGroup;
27 /**
28 * @var string
29 */
30 public $name;
31 /**
32 * @var bool
33 */
34 public $pinnable;
35 protected $servingType = Interval::class;
36 protected $servingDataType = '';
37 /**
38 * @var string
39 */
40 public $version;
41
42 public function setFraction($fraction)
43 {
44 $this->fraction = $fraction;
45 }
46 public function getFraction()
47 {
48 return $this->fraction;
49 }
50 /**
51 * @param string
52 */
53 public function setFractionGroup($fractionGroup)
54 {
55 $this->fractionGroup = $fractionGroup;
56 }
57 /**
58 * @return string
59 */
60 public function getFractionGroup()
61 {
62 return $this->fractionGroup;
63 }
64 /**
65 * @param string
66 */
67 public function setName($name)
68 {
69 $this->name = $name;
70 }
71 /**
72 * @return string
73 */
74 public function getName()
75 {
76 return $this->name;
77 }
78 /**
79 * @param bool
80 */
81 public function setPinnable($pinnable)
82 {
83 $this->pinnable = $pinnable;
84 }
85 /**
86 * @return bool
87 */
88 public function getPinnable()
89 {
90 return $this->pinnable;
91 }
92 /**
93 * @param Interval
94 */
95 public function setServing(Interval $serving)
96 {
97 $this->serving = $serving;
98 }
99 /**
100 * @return Interval
101 */
102 public function getServing()
103 {
104 return $this->serving;
105 }
106 /**
107 * @param string
108 */
109 public function setVersion($version)
110 {
111 $this->version = $version;
112 }
113 /**
114 * @return string
115 */
116 public function getVersion()
117 {
118 return $this->version;
119 }
120}
121
122// Adding a class alias for backwards compatibility with the previous class name.
123class_alias(Release::class, 'Google_Service_VersionHistory_Release');
Note: See TracBrowser for help on using the repository browser.