_propDict)) { return $this->_propDict["identifier"]; } else { return null; } } /** * Sets the identifier * The identifier of the X.509 certificate. Required. * * @param string $val The value of the identifier * * @return X509CertificateRule */ public function setIdentifier($val) { $this->_propDict["identifier"] = $val; return $this; } /** * Gets the x509CertificateAuthenticationMode * The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. Required. * * @return X509CertificateAuthenticationMode|null The x509CertificateAuthenticationMode */ public function getX509CertificateAuthenticationMode() { if (array_key_exists("x509CertificateAuthenticationMode", $this->_propDict)) { if (is_a($this->_propDict["x509CertificateAuthenticationMode"], "\Microsoft\Graph\Model\X509CertificateAuthenticationMode") || is_null($this->_propDict["x509CertificateAuthenticationMode"])) { return $this->_propDict["x509CertificateAuthenticationMode"]; } else { $this->_propDict["x509CertificateAuthenticationMode"] = new X509CertificateAuthenticationMode($this->_propDict["x509CertificateAuthenticationMode"]); return $this->_propDict["x509CertificateAuthenticationMode"]; } } return null; } /** * Sets the x509CertificateAuthenticationMode * The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. Required. * * @param X509CertificateAuthenticationMode $val The value to assign to the x509CertificateAuthenticationMode * * @return X509CertificateRule The X509CertificateRule */ public function setX509CertificateAuthenticationMode($val) { $this->_propDict["x509CertificateAuthenticationMode"] = $val; return $this; } /** * Gets the x509CertificateRuleType * The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue. Required. * * @return X509CertificateRuleType|null The x509CertificateRuleType */ public function getX509CertificateRuleType() { if (array_key_exists("x509CertificateRuleType", $this->_propDict)) { if (is_a($this->_propDict["x509CertificateRuleType"], "\Microsoft\Graph\Model\X509CertificateRuleType") || is_null($this->_propDict["x509CertificateRuleType"])) { return $this->_propDict["x509CertificateRuleType"]; } else { $this->_propDict["x509CertificateRuleType"] = new X509CertificateRuleType($this->_propDict["x509CertificateRuleType"]); return $this->_propDict["x509CertificateRuleType"]; } } return null; } /** * Sets the x509CertificateRuleType * The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue. Required. * * @param X509CertificateRuleType $val The value to assign to the x509CertificateRuleType * * @return X509CertificateRule The X509CertificateRule */ public function setX509CertificateRuleType($val) { $this->_propDict["x509CertificateRuleType"] = $val; return $this; } }