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 18class Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1ReplayResult extends Google_Model 19{ 20 protected $accessTupleType = 'Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1AccessTuple'; 21 protected $accessTupleDataType = ''; 22 protected $diffType = 'Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1ReplayDiff'; 23 protected $diffDataType = ''; 24 protected $errorType = 'Google_Service_PolicySimulator_GoogleRpcStatus'; 25 protected $errorDataType = ''; 26 protected $lastSeenDateType = 'Google_Service_PolicySimulator_GoogleTypeDate'; 27 protected $lastSeenDateDataType = ''; 28 public $name; 29 public $parent; 30 31 /** 32 * @param Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1AccessTuple 33 */ 34 public function setAccessTuple(Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1AccessTuple $accessTuple) 35 { 36 $this->accessTuple = $accessTuple; 37 } 38 /** 39 * @return Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1AccessTuple 40 */ 41 public function getAccessTuple() 42 { 43 return $this->accessTuple; 44 } 45 /** 46 * @param Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1ReplayDiff 47 */ 48 public function setDiff(Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1ReplayDiff $diff) 49 { 50 $this->diff = $diff; 51 } 52 /** 53 * @return Google_Service_PolicySimulator_GoogleCloudPolicysimulatorV1ReplayDiff 54 */ 55 public function getDiff() 56 { 57 return $this->diff; 58 } 59 /** 60 * @param Google_Service_PolicySimulator_GoogleRpcStatus 61 */ 62 public function setError(Google_Service_PolicySimulator_GoogleRpcStatus $error) 63 { 64 $this->error = $error; 65 } 66 /** 67 * @return Google_Service_PolicySimulator_GoogleRpcStatus 68 */ 69 public function getError() 70 { 71 return $this->error; 72 } 73 /** 74 * @param Google_Service_PolicySimulator_GoogleTypeDate 75 */ 76 public function setLastSeenDate(Google_Service_PolicySimulator_GoogleTypeDate $lastSeenDate) 77 { 78 $this->lastSeenDate = $lastSeenDate; 79 } 80 /** 81 * @return Google_Service_PolicySimulator_GoogleTypeDate 82 */ 83 public function getLastSeenDate() 84 { 85 return $this->lastSeenDate; 86 } 87 public function setName($name) 88 { 89 $this->name = $name; 90 } 91 public function getName() 92 { 93 return $this->name; 94 } 95 public function setParent($parent) 96 { 97 $this->parent = $parent; 98 } 99 public function getParent() 100 { 101 return $this->parent; 102 } 103} 104