[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 |
|
---|
| 18 | namespace Google\Service\TrafficDirectorService;
|
---|
| 19 |
|
---|
| 20 | class ValueMatcher extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var bool
|
---|
| 24 | */
|
---|
| 25 | public $boolMatch;
|
---|
| 26 | protected $doubleMatchType = DoubleMatcher::class;
|
---|
| 27 | protected $doubleMatchDataType = '';
|
---|
| 28 | protected $listMatchType = ListMatcher::class;
|
---|
| 29 | protected $listMatchDataType = '';
|
---|
| 30 | protected $nullMatchType = NullMatch::class;
|
---|
| 31 | protected $nullMatchDataType = '';
|
---|
| 32 | protected $orMatchType = OrMatcher::class;
|
---|
| 33 | protected $orMatchDataType = '';
|
---|
| 34 | /**
|
---|
| 35 | * @var bool
|
---|
| 36 | */
|
---|
| 37 | public $presentMatch;
|
---|
| 38 | protected $stringMatchType = StringMatcher::class;
|
---|
| 39 | protected $stringMatchDataType = '';
|
---|
| 40 |
|
---|
| 41 | /**
|
---|
| 42 | * @param bool
|
---|
| 43 | */
|
---|
| 44 | public function setBoolMatch($boolMatch)
|
---|
| 45 | {
|
---|
| 46 | $this->boolMatch = $boolMatch;
|
---|
| 47 | }
|
---|
| 48 | /**
|
---|
| 49 | * @return bool
|
---|
| 50 | */
|
---|
| 51 | public function getBoolMatch()
|
---|
| 52 | {
|
---|
| 53 | return $this->boolMatch;
|
---|
| 54 | }
|
---|
| 55 | /**
|
---|
| 56 | * @param DoubleMatcher
|
---|
| 57 | */
|
---|
| 58 | public function setDoubleMatch(DoubleMatcher $doubleMatch)
|
---|
| 59 | {
|
---|
| 60 | $this->doubleMatch = $doubleMatch;
|
---|
| 61 | }
|
---|
| 62 | /**
|
---|
| 63 | * @return DoubleMatcher
|
---|
| 64 | */
|
---|
| 65 | public function getDoubleMatch()
|
---|
| 66 | {
|
---|
| 67 | return $this->doubleMatch;
|
---|
| 68 | }
|
---|
| 69 | /**
|
---|
| 70 | * @param ListMatcher
|
---|
| 71 | */
|
---|
| 72 | public function setListMatch(ListMatcher $listMatch)
|
---|
| 73 | {
|
---|
| 74 | $this->listMatch = $listMatch;
|
---|
| 75 | }
|
---|
| 76 | /**
|
---|
| 77 | * @return ListMatcher
|
---|
| 78 | */
|
---|
| 79 | public function getListMatch()
|
---|
| 80 | {
|
---|
| 81 | return $this->listMatch;
|
---|
| 82 | }
|
---|
| 83 | /**
|
---|
| 84 | * @param NullMatch
|
---|
| 85 | */
|
---|
| 86 | public function setNullMatch(NullMatch $nullMatch)
|
---|
| 87 | {
|
---|
| 88 | $this->nullMatch = $nullMatch;
|
---|
| 89 | }
|
---|
| 90 | /**
|
---|
| 91 | * @return NullMatch
|
---|
| 92 | */
|
---|
| 93 | public function getNullMatch()
|
---|
| 94 | {
|
---|
| 95 | return $this->nullMatch;
|
---|
| 96 | }
|
---|
| 97 | /**
|
---|
| 98 | * @param OrMatcher
|
---|
| 99 | */
|
---|
| 100 | public function setOrMatch(OrMatcher $orMatch)
|
---|
| 101 | {
|
---|
| 102 | $this->orMatch = $orMatch;
|
---|
| 103 | }
|
---|
| 104 | /**
|
---|
| 105 | * @return OrMatcher
|
---|
| 106 | */
|
---|
| 107 | public function getOrMatch()
|
---|
| 108 | {
|
---|
| 109 | return $this->orMatch;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @param bool
|
---|
| 113 | */
|
---|
| 114 | public function setPresentMatch($presentMatch)
|
---|
| 115 | {
|
---|
| 116 | $this->presentMatch = $presentMatch;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @return bool
|
---|
| 120 | */
|
---|
| 121 | public function getPresentMatch()
|
---|
| 122 | {
|
---|
| 123 | return $this->presentMatch;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @param StringMatcher
|
---|
| 127 | */
|
---|
| 128 | public function setStringMatch(StringMatcher $stringMatch)
|
---|
| 129 | {
|
---|
| 130 | $this->stringMatch = $stringMatch;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @return StringMatcher
|
---|
| 134 | */
|
---|
| 135 | public function getStringMatch()
|
---|
| 136 | {
|
---|
| 137 | return $this->stringMatch;
|
---|
| 138 | }
|
---|
| 139 | }
|
---|
| 140 |
|
---|
| 141 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 142 | class_alias(ValueMatcher::class, 'Google_Service_TrafficDirectorService_ValueMatcher');
|
---|