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 |
|
---|
18 | namespace Google\Service\DriveActivity;
|
---|
19 |
|
---|
20 | class FieldValue extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $dateType = Date::class;
|
---|
23 | protected $dateDataType = '';
|
---|
24 | protected $integerType = DriveactivityInteger::class;
|
---|
25 | protected $integerDataType = '';
|
---|
26 | protected $selectionType = Selection::class;
|
---|
27 | protected $selectionDataType = '';
|
---|
28 | protected $selectionListType = SelectionList::class;
|
---|
29 | protected $selectionListDataType = '';
|
---|
30 | protected $textType = Text::class;
|
---|
31 | protected $textDataType = '';
|
---|
32 | protected $textListType = TextList::class;
|
---|
33 | protected $textListDataType = '';
|
---|
34 | protected $userType = SingleUser::class;
|
---|
35 | protected $userDataType = '';
|
---|
36 | protected $userListType = UserList::class;
|
---|
37 | protected $userListDataType = '';
|
---|
38 |
|
---|
39 | /**
|
---|
40 | * @param Date
|
---|
41 | */
|
---|
42 | public function setDate(Date $date)
|
---|
43 | {
|
---|
44 | $this->date = $date;
|
---|
45 | }
|
---|
46 | /**
|
---|
47 | * @return Date
|
---|
48 | */
|
---|
49 | public function getDate()
|
---|
50 | {
|
---|
51 | return $this->date;
|
---|
52 | }
|
---|
53 | /**
|
---|
54 | * @param DriveactivityInteger
|
---|
55 | */
|
---|
56 | public function setInteger(DriveactivityInteger $integer)
|
---|
57 | {
|
---|
58 | $this->integer = $integer;
|
---|
59 | }
|
---|
60 | /**
|
---|
61 | * @return DriveactivityInteger
|
---|
62 | */
|
---|
63 | public function getInteger()
|
---|
64 | {
|
---|
65 | return $this->integer;
|
---|
66 | }
|
---|
67 | /**
|
---|
68 | * @param Selection
|
---|
69 | */
|
---|
70 | public function setSelection(Selection $selection)
|
---|
71 | {
|
---|
72 | $this->selection = $selection;
|
---|
73 | }
|
---|
74 | /**
|
---|
75 | * @return Selection
|
---|
76 | */
|
---|
77 | public function getSelection()
|
---|
78 | {
|
---|
79 | return $this->selection;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param SelectionList
|
---|
83 | */
|
---|
84 | public function setSelectionList(SelectionList $selectionList)
|
---|
85 | {
|
---|
86 | $this->selectionList = $selectionList;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return SelectionList
|
---|
90 | */
|
---|
91 | public function getSelectionList()
|
---|
92 | {
|
---|
93 | return $this->selectionList;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param Text
|
---|
97 | */
|
---|
98 | public function setText(Text $text)
|
---|
99 | {
|
---|
100 | $this->text = $text;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return Text
|
---|
104 | */
|
---|
105 | public function getText()
|
---|
106 | {
|
---|
107 | return $this->text;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param TextList
|
---|
111 | */
|
---|
112 | public function setTextList(TextList $textList)
|
---|
113 | {
|
---|
114 | $this->textList = $textList;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return TextList
|
---|
118 | */
|
---|
119 | public function getTextList()
|
---|
120 | {
|
---|
121 | return $this->textList;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param SingleUser
|
---|
125 | */
|
---|
126 | public function setUser(SingleUser $user)
|
---|
127 | {
|
---|
128 | $this->user = $user;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return SingleUser
|
---|
132 | */
|
---|
133 | public function getUser()
|
---|
134 | {
|
---|
135 | return $this->user;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param UserList
|
---|
139 | */
|
---|
140 | public function setUserList(UserList $userList)
|
---|
141 | {
|
---|
142 | $this->userList = $userList;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return UserList
|
---|
146 | */
|
---|
147 | public function getUserList()
|
---|
148 | {
|
---|
149 | return $this->userList;
|
---|
150 | }
|
---|
151 | }
|
---|
152 |
|
---|
153 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
154 | class_alias(FieldValue::class, 'Google_Service_DriveActivity_FieldValue');
|
---|