_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * Custom SAN Name * * @param string $val The value of the name * * @return Windows10XCustomSubjectAlternativeName */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the sanType * Custom SAN Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. * * @return SubjectAlternativeNameType|null The sanType */ public function getSanType() { if (array_key_exists("sanType", $this->_propDict)) { if (is_a($this->_propDict["sanType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType") || is_null($this->_propDict["sanType"])) { return $this->_propDict["sanType"]; } else { $this->_propDict["sanType"] = new SubjectAlternativeNameType($this->_propDict["sanType"]); return $this->_propDict["sanType"]; } } return null; } /** * Sets the sanType * Custom SAN Type. Possible values are: none, emailAddress, userPrincipalName, customAzureADAttribute, domainNameService, universalResourceIdentifier. * * @param SubjectAlternativeNameType $val The value to assign to the sanType * * @return Windows10XCustomSubjectAlternativeName The Windows10XCustomSubjectAlternativeName */ public function setSanType($val) { $this->_propDict["sanType"] = $val; return $this; } }