source: vendor/google/apiclient-services/src/Firestore/FieldTransform.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: 3.0 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\Firestore;
19
20class FieldTransform extends \Google\Model
21{
22 protected $appendMissingElementsType = ArrayValue::class;
23 protected $appendMissingElementsDataType = '';
24 /**
25 * @var string
26 */
27 public $fieldPath;
28 protected $incrementType = Value::class;
29 protected $incrementDataType = '';
30 protected $maximumType = Value::class;
31 protected $maximumDataType = '';
32 protected $minimumType = Value::class;
33 protected $minimumDataType = '';
34 protected $removeAllFromArrayType = ArrayValue::class;
35 protected $removeAllFromArrayDataType = '';
36 /**
37 * @var string
38 */
39 public $setToServerValue;
40
41 /**
42 * @param ArrayValue
43 */
44 public function setAppendMissingElements(ArrayValue $appendMissingElements)
45 {
46 $this->appendMissingElements = $appendMissingElements;
47 }
48 /**
49 * @return ArrayValue
50 */
51 public function getAppendMissingElements()
52 {
53 return $this->appendMissingElements;
54 }
55 /**
56 * @param string
57 */
58 public function setFieldPath($fieldPath)
59 {
60 $this->fieldPath = $fieldPath;
61 }
62 /**
63 * @return string
64 */
65 public function getFieldPath()
66 {
67 return $this->fieldPath;
68 }
69 /**
70 * @param Value
71 */
72 public function setIncrement(Value $increment)
73 {
74 $this->increment = $increment;
75 }
76 /**
77 * @return Value
78 */
79 public function getIncrement()
80 {
81 return $this->increment;
82 }
83 /**
84 * @param Value
85 */
86 public function setMaximum(Value $maximum)
87 {
88 $this->maximum = $maximum;
89 }
90 /**
91 * @return Value
92 */
93 public function getMaximum()
94 {
95 return $this->maximum;
96 }
97 /**
98 * @param Value
99 */
100 public function setMinimum(Value $minimum)
101 {
102 $this->minimum = $minimum;
103 }
104 /**
105 * @return Value
106 */
107 public function getMinimum()
108 {
109 return $this->minimum;
110 }
111 /**
112 * @param ArrayValue
113 */
114 public function setRemoveAllFromArray(ArrayValue $removeAllFromArray)
115 {
116 $this->removeAllFromArray = $removeAllFromArray;
117 }
118 /**
119 * @return ArrayValue
120 */
121 public function getRemoveAllFromArray()
122 {
123 return $this->removeAllFromArray;
124 }
125 /**
126 * @param string
127 */
128 public function setSetToServerValue($setToServerValue)
129 {
130 $this->setToServerValue = $setToServerValue;
131 }
132 /**
133 * @return string
134 */
135 public function getSetToServerValue()
136 {
137 return $this->setToServerValue;
138 }
139}
140
141// Adding a class alias for backwards compatibility with the previous class name.
142class_alias(FieldTransform::class, 'Google_Service_Firestore_FieldTransform');
Note: See TracBrowser for help on using the repository browser.