source: vendor/google/apiclient-services/src/DriveLabels/GoogleAppsDriveLabelsV2FieldLimits.php

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

Upload project files

  • Property mode set to 100644
File size: 4.4 KB
Line 
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\DriveLabels;
19
20class GoogleAppsDriveLabelsV2FieldLimits extends \Google\Model
21{
22 protected $dateLimitsType = GoogleAppsDriveLabelsV2DateLimits::class;
23 protected $dateLimitsDataType = '';
24 protected $integerLimitsType = GoogleAppsDriveLabelsV2IntegerLimits::class;
25 protected $integerLimitsDataType = '';
26 protected $longTextLimitsType = GoogleAppsDriveLabelsV2LongTextLimits::class;
27 protected $longTextLimitsDataType = '';
28 /**
29 * @var int
30 */
31 public $maxDescriptionLength;
32 /**
33 * @var int
34 */
35 public $maxDisplayNameLength;
36 /**
37 * @var int
38 */
39 public $maxIdLength;
40 protected $selectionLimitsType = GoogleAppsDriveLabelsV2SelectionLimits::class;
41 protected $selectionLimitsDataType = '';
42 protected $textLimitsType = GoogleAppsDriveLabelsV2TextLimits::class;
43 protected $textLimitsDataType = '';
44 protected $userLimitsType = GoogleAppsDriveLabelsV2UserLimits::class;
45 protected $userLimitsDataType = '';
46
47 /**
48 * @param GoogleAppsDriveLabelsV2DateLimits
49 */
50 public function setDateLimits(GoogleAppsDriveLabelsV2DateLimits $dateLimits)
51 {
52 $this->dateLimits = $dateLimits;
53 }
54 /**
55 * @return GoogleAppsDriveLabelsV2DateLimits
56 */
57 public function getDateLimits()
58 {
59 return $this->dateLimits;
60 }
61 /**
62 * @param GoogleAppsDriveLabelsV2IntegerLimits
63 */
64 public function setIntegerLimits(GoogleAppsDriveLabelsV2IntegerLimits $integerLimits)
65 {
66 $this->integerLimits = $integerLimits;
67 }
68 /**
69 * @return GoogleAppsDriveLabelsV2IntegerLimits
70 */
71 public function getIntegerLimits()
72 {
73 return $this->integerLimits;
74 }
75 /**
76 * @param GoogleAppsDriveLabelsV2LongTextLimits
77 */
78 public function setLongTextLimits(GoogleAppsDriveLabelsV2LongTextLimits $longTextLimits)
79 {
80 $this->longTextLimits = $longTextLimits;
81 }
82 /**
83 * @return GoogleAppsDriveLabelsV2LongTextLimits
84 */
85 public function getLongTextLimits()
86 {
87 return $this->longTextLimits;
88 }
89 /**
90 * @param int
91 */
92 public function setMaxDescriptionLength($maxDescriptionLength)
93 {
94 $this->maxDescriptionLength = $maxDescriptionLength;
95 }
96 /**
97 * @return int
98 */
99 public function getMaxDescriptionLength()
100 {
101 return $this->maxDescriptionLength;
102 }
103 /**
104 * @param int
105 */
106 public function setMaxDisplayNameLength($maxDisplayNameLength)
107 {
108 $this->maxDisplayNameLength = $maxDisplayNameLength;
109 }
110 /**
111 * @return int
112 */
113 public function getMaxDisplayNameLength()
114 {
115 return $this->maxDisplayNameLength;
116 }
117 /**
118 * @param int
119 */
120 public function setMaxIdLength($maxIdLength)
121 {
122 $this->maxIdLength = $maxIdLength;
123 }
124 /**
125 * @return int
126 */
127 public function getMaxIdLength()
128 {
129 return $this->maxIdLength;
130 }
131 /**
132 * @param GoogleAppsDriveLabelsV2SelectionLimits
133 */
134 public function setSelectionLimits(GoogleAppsDriveLabelsV2SelectionLimits $selectionLimits)
135 {
136 $this->selectionLimits = $selectionLimits;
137 }
138 /**
139 * @return GoogleAppsDriveLabelsV2SelectionLimits
140 */
141 public function getSelectionLimits()
142 {
143 return $this->selectionLimits;
144 }
145 /**
146 * @param GoogleAppsDriveLabelsV2TextLimits
147 */
148 public function setTextLimits(GoogleAppsDriveLabelsV2TextLimits $textLimits)
149 {
150 $this->textLimits = $textLimits;
151 }
152 /**
153 * @return GoogleAppsDriveLabelsV2TextLimits
154 */
155 public function getTextLimits()
156 {
157 return $this->textLimits;
158 }
159 /**
160 * @param GoogleAppsDriveLabelsV2UserLimits
161 */
162 public function setUserLimits(GoogleAppsDriveLabelsV2UserLimits $userLimits)
163 {
164 $this->userLimits = $userLimits;
165 }
166 /**
167 * @return GoogleAppsDriveLabelsV2UserLimits
168 */
169 public function getUserLimits()
170 {
171 return $this->userLimits;
172 }
173}
174
175// Adding a class alias for backwards compatibility with the previous class name.
176class_alias(GoogleAppsDriveLabelsV2FieldLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2FieldLimits');
Note: See TracBrowser for help on using the repository browser.