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\TrafficDirectorService; 19 20class 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 /** 33 * @var bool 34 */ 35 public $presentMatch; 36 protected $stringMatchType = StringMatcher::class; 37 protected $stringMatchDataType = ''; 38 39 /** 40 * @param bool 41 */ 42 public function setBoolMatch($boolMatch) 43 { 44 $this->boolMatch = $boolMatch; 45 } 46 /** 47 * @return bool 48 */ 49 public function getBoolMatch() 50 { 51 return $this->boolMatch; 52 } 53 /** 54 * @param DoubleMatcher 55 */ 56 public function setDoubleMatch(DoubleMatcher $doubleMatch) 57 { 58 $this->doubleMatch = $doubleMatch; 59 } 60 /** 61 * @return DoubleMatcher 62 */ 63 public function getDoubleMatch() 64 { 65 return $this->doubleMatch; 66 } 67 /** 68 * @param ListMatcher 69 */ 70 public function setListMatch(ListMatcher $listMatch) 71 { 72 $this->listMatch = $listMatch; 73 } 74 /** 75 * @return ListMatcher 76 */ 77 public function getListMatch() 78 { 79 return $this->listMatch; 80 } 81 /** 82 * @param NullMatch 83 */ 84 public function setNullMatch(NullMatch $nullMatch) 85 { 86 $this->nullMatch = $nullMatch; 87 } 88 /** 89 * @return NullMatch 90 */ 91 public function getNullMatch() 92 { 93 return $this->nullMatch; 94 } 95 /** 96 * @param bool 97 */ 98 public function setPresentMatch($presentMatch) 99 { 100 $this->presentMatch = $presentMatch; 101 } 102 /** 103 * @return bool 104 */ 105 public function getPresentMatch() 106 { 107 return $this->presentMatch; 108 } 109 /** 110 * @param StringMatcher 111 */ 112 public function setStringMatch(StringMatcher $stringMatch) 113 { 114 $this->stringMatch = $stringMatch; 115 } 116 /** 117 * @return StringMatcher 118 */ 119 public function getStringMatch() 120 { 121 return $this->stringMatch; 122 } 123} 124 125// Adding a class alias for backwards compatibility with the previous class name. 126class_alias(ValueMatcher::class, 'Google_Service_TrafficDirectorService_ValueMatcher'); 127