_propDict)) { if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\Model\AccessType") || is_null($this->_propDict["accessType"])) { return $this->_propDict["accessType"]; } else { $this->_propDict["accessType"] = new AccessType($this->_propDict["accessType"]); return $this->_propDict["accessType"]; } } return null; } /** * Sets the accessType * * @param AccessType $val The value to assign to the accessType * * @return Acl The Acl */ public function setAccessType($val) { $this->_propDict["accessType"] = $val; return $this; } /** * Gets the identitySource * * @return IdentitySourceType|null The identitySource */ public function getIdentitySource() { if (array_key_exists("identitySource", $this->_propDict)) { if (is_a($this->_propDict["identitySource"], "\Beta\Microsoft\Graph\Model\IdentitySourceType") || is_null($this->_propDict["identitySource"])) { return $this->_propDict["identitySource"]; } else { $this->_propDict["identitySource"] = new IdentitySourceType($this->_propDict["identitySource"]); return $this->_propDict["identitySource"]; } } return null; } /** * Sets the identitySource * * @param IdentitySourceType $val The value to assign to the identitySource * * @return Acl The Acl */ public function setIdentitySource($val) { $this->_propDict["identitySource"] = $val; return $this; } /** * Gets the type * * @return AclType|null The type */ public function getType() { if (array_key_exists("type", $this->_propDict)) { if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AclType") || is_null($this->_propDict["type"])) { return $this->_propDict["type"]; } else { $this->_propDict["type"] = new AclType($this->_propDict["type"]); return $this->_propDict["type"]; } } return null; } /** * Sets the type * * @param AclType $val The value to assign to the type * * @return Acl The Acl */ public function setType($val) { $this->_propDict["type"] = $val; return $this; } /** * Gets the value * * @return string|null The value */ public function getValue() { if (array_key_exists("value", $this->_propDict)) { return $this->_propDict["value"]; } else { return null; } } /** * Sets the value * * @param string $val The value of the value * * @return Acl */ public function setValue($val) { $this->_propDict["value"] = $val; return $this; } }