_propDict)) { return $this->_propDict["resourceType"]; } else { return null; } } /** * Sets the resourceType * * @param string $val The value of the resourceType * * @return GcpScope */ public function setResourceType($val) { $this->_propDict["resourceType"] = $val; return $this; } /** * Gets the service * * @return AuthorizationSystemTypeService|null The service */ public function getService() { if (array_key_exists("service", $this->_propDict)) { if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\AuthorizationSystemTypeService") || is_null($this->_propDict["service"])) { return $this->_propDict["service"]; } else { $this->_propDict["service"] = new AuthorizationSystemTypeService($this->_propDict["service"]); return $this->_propDict["service"]; } } return null; } /** * Sets the service * * @param AuthorizationSystemTypeService $val The value to assign to the service * * @return GcpScope The GcpScope */ public function setService($val) { $this->_propDict["service"] = $val; return $this; } }