1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationD...

232 lines
6.4 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CredentialUserRegistrationDetails File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* CredentialUserRegistrationDetails class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class CredentialUserRegistrationDetails extends Entity
{
/**
* Gets the authMethods
* Represents the authentication method that the user has registered. Possible values are: email, mobilePhone, officePhone, securityQuestion (only used for self-service password reset), appNotification, appCode, alternateMobilePhone (supported only in registration), fido, appPassword, unknownFutureValue.
*
* @return array|null The authMethods
*/
public function getAuthMethods()
{
if (array_key_exists("authMethods", $this->_propDict)) {
return $this->_propDict["authMethods"];
} else {
return null;
}
}
/**
* Sets the authMethods
* Represents the authentication method that the user has registered. Possible values are: email, mobilePhone, officePhone, securityQuestion (only used for self-service password reset), appNotification, appCode, alternateMobilePhone (supported only in registration), fido, appPassword, unknownFutureValue.
*
* @param RegistrationAuthMethod[] $val The authMethods
*
* @return CredentialUserRegistrationDetails
*/
public function setAuthMethods($val)
{
$this->_propDict["authMethods"] = $val;
return $this;
}
/**
* Gets the isCapable
* Indicates whether the user is ready to perform self-service password reset or MFA.
*
* @return bool|null The isCapable
*/
public function getIsCapable()
{
if (array_key_exists("isCapable", $this->_propDict)) {
return $this->_propDict["isCapable"];
} else {
return null;
}
}
/**
* Sets the isCapable
* Indicates whether the user is ready to perform self-service password reset or MFA.
*
* @param bool $val The isCapable
*
* @return CredentialUserRegistrationDetails
*/
public function setIsCapable($val)
{
$this->_propDict["isCapable"] = boolval($val);
return $this;
}
/**
* Gets the isEnabled
* Indicates whether the user enabled to perform self-service password reset.
*
* @return bool|null The isEnabled
*/
public function getIsEnabled()
{
if (array_key_exists("isEnabled", $this->_propDict)) {
return $this->_propDict["isEnabled"];
} else {
return null;
}
}
/**
* Sets the isEnabled
* Indicates whether the user enabled to perform self-service password reset.
*
* @param bool $val The isEnabled
*
* @return CredentialUserRegistrationDetails
*/
public function setIsEnabled($val)
{
$this->_propDict["isEnabled"] = boolval($val);
return $this;
}
/**
* Gets the isMfaRegistered
* Indicates whether the user is registered for MFA.
*
* @return bool|null The isMfaRegistered
*/
public function getIsMfaRegistered()
{
if (array_key_exists("isMfaRegistered", $this->_propDict)) {
return $this->_propDict["isMfaRegistered"];
} else {
return null;
}
}
/**
* Sets the isMfaRegistered
* Indicates whether the user is registered for MFA.
*
* @param bool $val The isMfaRegistered
*
* @return CredentialUserRegistrationDetails
*/
public function setIsMfaRegistered($val)
{
$this->_propDict["isMfaRegistered"] = boolval($val);
return $this;
}
/**
* Gets the isRegistered
* Indicates whether the user has registered any authentication methods for self-service password reset.
*
* @return bool|null The isRegistered
*/
public function getIsRegistered()
{
if (array_key_exists("isRegistered", $this->_propDict)) {
return $this->_propDict["isRegistered"];
} else {
return null;
}
}
/**
* Sets the isRegistered
* Indicates whether the user has registered any authentication methods for self-service password reset.
*
* @param bool $val The isRegistered
*
* @return CredentialUserRegistrationDetails
*/
public function setIsRegistered($val)
{
$this->_propDict["isRegistered"] = boolval($val);
return $this;
}
/**
* Gets the userDisplayName
* Provides the user name of the corresponding user.
*
* @return string|null The userDisplayName
*/
public function getUserDisplayName()
{
if (array_key_exists("userDisplayName", $this->_propDict)) {
return $this->_propDict["userDisplayName"];
} else {
return null;
}
}
/**
* Sets the userDisplayName
* Provides the user name of the corresponding user.
*
* @param string $val The userDisplayName
*
* @return CredentialUserRegistrationDetails
*/
public function setUserDisplayName($val)
{
$this->_propDict["userDisplayName"] = $val;
return $this;
}
/**
* Gets the userPrincipalName
* Provides the user principal name of the corresponding user.
*
* @return string|null The userPrincipalName
*/
public function getUserPrincipalName()
{
if (array_key_exists("userPrincipalName", $this->_propDict)) {
return $this->_propDict["userPrincipalName"];
} else {
return null;
}
}
/**
* Sets the userPrincipalName
* Provides the user principal name of the corresponding user.
*
* @param string $val The userPrincipalName
*
* @return CredentialUserRegistrationDetails
*/
public function setUserPrincipalName($val)
{
$this->_propDict["userPrincipalName"] = $val;
return $this;
}
}