<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* IosKerberosSingleSignOnExtension 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;
/**
* IosKerberosSingleSignOnExtension 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 IosKerberosSingleSignOnExtension extends IosSingleSignOnExtension
{
    /**
    * Set the @odata.type since this type is immediately descended from an abstract
    * type that is referenced as the type in an entity.
    */
    public function __construct()
    {
        $this->setODataType("#microsoft.graph.iosKerberosSingleSignOnExtension");
    }

    /**
    * Gets the activeDirectorySiteCode
    * Gets or sets the Active Directory site.
    *
    * @return string The activeDirectorySiteCode
    */
    public function getActiveDirectorySiteCode()
    {
        if (array_key_exists("activeDirectorySiteCode", $this->_propDict)) {
            return $this->_propDict["activeDirectorySiteCode"];
        } else {
            return null;
        }
    }

    /**
    * Sets the activeDirectorySiteCode
    * Gets or sets the Active Directory site.
    *
    * @param string $val The value of the activeDirectorySiteCode
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setActiveDirectorySiteCode($val)
    {
        $this->_propDict["activeDirectorySiteCode"] = $val;
        return $this;
    }
    /**
    * Gets the blockActiveDirectorySiteAutoDiscovery
    * Enables or disables whether the Kerberos extension can automatically determine its site name.
    *
    * @return bool The blockActiveDirectorySiteAutoDiscovery
    */
    public function getBlockActiveDirectorySiteAutoDiscovery()
    {
        if (array_key_exists("blockActiveDirectorySiteAutoDiscovery", $this->_propDict)) {
            return $this->_propDict["blockActiveDirectorySiteAutoDiscovery"];
        } else {
            return null;
        }
    }

    /**
    * Sets the blockActiveDirectorySiteAutoDiscovery
    * Enables or disables whether the Kerberos extension can automatically determine its site name.
    *
    * @param bool $val The value of the blockActiveDirectorySiteAutoDiscovery
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setBlockActiveDirectorySiteAutoDiscovery($val)
    {
        $this->_propDict["blockActiveDirectorySiteAutoDiscovery"] = $val;
        return $this;
    }
    /**
    * Gets the blockAutomaticLogin
    * Enables or disables Keychain usage.
    *
    * @return bool The blockAutomaticLogin
    */
    public function getBlockAutomaticLogin()
    {
        if (array_key_exists("blockAutomaticLogin", $this->_propDict)) {
            return $this->_propDict["blockAutomaticLogin"];
        } else {
            return null;
        }
    }

    /**
    * Sets the blockAutomaticLogin
    * Enables or disables Keychain usage.
    *
    * @param bool $val The value of the blockAutomaticLogin
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setBlockAutomaticLogin($val)
    {
        $this->_propDict["blockAutomaticLogin"] = $val;
        return $this;
    }
    /**
    * Gets the cacheName
    * Gets or sets the Generic Security Services name of the Kerberos cache to use for this profile.
    *
    * @return string The cacheName
    */
    public function getCacheName()
    {
        if (array_key_exists("cacheName", $this->_propDict)) {
            return $this->_propDict["cacheName"];
        } else {
            return null;
        }
    }

    /**
    * Sets the cacheName
    * Gets or sets the Generic Security Services name of the Kerberos cache to use for this profile.
    *
    * @param string $val The value of the cacheName
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setCacheName($val)
    {
        $this->_propDict["cacheName"] = $val;
        return $this;
    }
    /**
    * Gets the credentialBundleIdAccessControlList
    * Gets or sets a list of app Bundle IDs allowed to access the Kerberos Ticket Granting Ticket.
    *
    * @return string The credentialBundleIdAccessControlList
    */
    public function getCredentialBundleIdAccessControlList()
    {
        if (array_key_exists("credentialBundleIdAccessControlList", $this->_propDict)) {
            return $this->_propDict["credentialBundleIdAccessControlList"];
        } else {
            return null;
        }
    }

    /**
    * Sets the credentialBundleIdAccessControlList
    * Gets or sets a list of app Bundle IDs allowed to access the Kerberos Ticket Granting Ticket.
    *
    * @param string $val The value of the credentialBundleIdAccessControlList
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setCredentialBundleIdAccessControlList($val)
    {
        $this->_propDict["credentialBundleIdAccessControlList"] = $val;
        return $this;
    }
    /**
    * Gets the domainRealms
    * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive.
    *
    * @return string The domainRealms
    */
    public function getDomainRealms()
    {
        if (array_key_exists("domainRealms", $this->_propDict)) {
            return $this->_propDict["domainRealms"];
        } else {
            return null;
        }
    }

    /**
    * Sets the domainRealms
    * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive.
    *
    * @param string $val The value of the domainRealms
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setDomainRealms($val)
    {
        $this->_propDict["domainRealms"] = $val;
        return $this;
    }
    /**
    * Gets the domains
    * Gets or sets a list of hosts or domain names for which the app extension performs SSO.
    *
    * @return string The domains
    */
    public function getDomains()
    {
        if (array_key_exists("domains", $this->_propDict)) {
            return $this->_propDict["domains"];
        } else {
            return null;
        }
    }

    /**
    * Sets the domains
    * Gets or sets a list of hosts or domain names for which the app extension performs SSO.
    *
    * @param string $val The value of the domains
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setDomains($val)
    {
        $this->_propDict["domains"] = $val;
        return $this;
    }
    /**
    * Gets the isDefaultRealm
    * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured.
    *
    * @return bool The isDefaultRealm
    */
    public function getIsDefaultRealm()
    {
        if (array_key_exists("isDefaultRealm", $this->_propDict)) {
            return $this->_propDict["isDefaultRealm"];
        } else {
            return null;
        }
    }

    /**
    * Sets the isDefaultRealm
    * When true, this profile's realm will be selected as the default. Necessary if multiple Kerberos-type profiles are configured.
    *
    * @param bool $val The value of the isDefaultRealm
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setIsDefaultRealm($val)
    {
        $this->_propDict["isDefaultRealm"] = $val;
        return $this;
    }
    /**
    * Gets the passwordBlockModification
    * Enables or disables password changes.
    *
    * @return bool The passwordBlockModification
    */
    public function getPasswordBlockModification()
    {
        if (array_key_exists("passwordBlockModification", $this->_propDict)) {
            return $this->_propDict["passwordBlockModification"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordBlockModification
    * Enables or disables password changes.
    *
    * @param bool $val The value of the passwordBlockModification
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordBlockModification($val)
    {
        $this->_propDict["passwordBlockModification"] = $val;
        return $this;
    }
    /**
    * Gets the passwordChangeUrl
    * Gets or sets the URL that the user will be sent to when they initiate a password change.
    *
    * @return string The passwordChangeUrl
    */
    public function getPasswordChangeUrl()
    {
        if (array_key_exists("passwordChangeUrl", $this->_propDict)) {
            return $this->_propDict["passwordChangeUrl"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordChangeUrl
    * Gets or sets the URL that the user will be sent to when they initiate a password change.
    *
    * @param string $val The value of the passwordChangeUrl
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordChangeUrl($val)
    {
        $this->_propDict["passwordChangeUrl"] = $val;
        return $this;
    }
    /**
    * Gets the passwordEnableLocalSync
    * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS.
    *
    * @return bool The passwordEnableLocalSync
    */
    public function getPasswordEnableLocalSync()
    {
        if (array_key_exists("passwordEnableLocalSync", $this->_propDict)) {
            return $this->_propDict["passwordEnableLocalSync"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordEnableLocalSync
    * Enables or disables password syncing. This won't affect users logged in with a mobile account on macOS.
    *
    * @param bool $val The value of the passwordEnableLocalSync
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordEnableLocalSync($val)
    {
        $this->_propDict["passwordEnableLocalSync"] = $val;
        return $this;
    }
    /**
    * Gets the passwordExpirationDays
    * Overrides the default password expiration in days. For most domains, this value is calculated automatically.
    *
    * @return int The passwordExpirationDays
    */
    public function getPasswordExpirationDays()
    {
        if (array_key_exists("passwordExpirationDays", $this->_propDict)) {
            return $this->_propDict["passwordExpirationDays"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordExpirationDays
    * Overrides the default password expiration in days. For most domains, this value is calculated automatically.
    *
    * @param int $val The value of the passwordExpirationDays
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordExpirationDays($val)
    {
        $this->_propDict["passwordExpirationDays"] = $val;
        return $this;
    }
    /**
    * Gets the passwordExpirationNotificationDays
    * Gets or sets the number of days until the user is notified that their password will expire (default is 15).
    *
    * @return int The passwordExpirationNotificationDays
    */
    public function getPasswordExpirationNotificationDays()
    {
        if (array_key_exists("passwordExpirationNotificationDays", $this->_propDict)) {
            return $this->_propDict["passwordExpirationNotificationDays"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordExpirationNotificationDays
    * Gets or sets the number of days until the user is notified that their password will expire (default is 15).
    *
    * @param int $val The value of the passwordExpirationNotificationDays
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordExpirationNotificationDays($val)
    {
        $this->_propDict["passwordExpirationNotificationDays"] = $val;
        return $this;
    }
    /**
    * Gets the passwordMinimumAgeDays
    * Gets or sets the minimum number of days until a user can change their password again.
    *
    * @return int The passwordMinimumAgeDays
    */
    public function getPasswordMinimumAgeDays()
    {
        if (array_key_exists("passwordMinimumAgeDays", $this->_propDict)) {
            return $this->_propDict["passwordMinimumAgeDays"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordMinimumAgeDays
    * Gets or sets the minimum number of days until a user can change their password again.
    *
    * @param int $val The value of the passwordMinimumAgeDays
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordMinimumAgeDays($val)
    {
        $this->_propDict["passwordMinimumAgeDays"] = $val;
        return $this;
    }
    /**
    * Gets the passwordMinimumLength
    * Gets or sets the minimum length of a password.
    *
    * @return int The passwordMinimumLength
    */
    public function getPasswordMinimumLength()
    {
        if (array_key_exists("passwordMinimumLength", $this->_propDict)) {
            return $this->_propDict["passwordMinimumLength"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordMinimumLength
    * Gets or sets the minimum length of a password.
    *
    * @param int $val The value of the passwordMinimumLength
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordMinimumLength($val)
    {
        $this->_propDict["passwordMinimumLength"] = $val;
        return $this;
    }
    /**
    * Gets the passwordPreviousPasswordBlockCount
    * Gets or sets the number of previous passwords to block.
    *
    * @return int The passwordPreviousPasswordBlockCount
    */
    public function getPasswordPreviousPasswordBlockCount()
    {
        if (array_key_exists("passwordPreviousPasswordBlockCount", $this->_propDict)) {
            return $this->_propDict["passwordPreviousPasswordBlockCount"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordPreviousPasswordBlockCount
    * Gets or sets the number of previous passwords to block.
    *
    * @param int $val The value of the passwordPreviousPasswordBlockCount
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordPreviousPasswordBlockCount($val)
    {
        $this->_propDict["passwordPreviousPasswordBlockCount"] = $val;
        return $this;
    }
    /**
    * Gets the passwordRequireActiveDirectoryComplexity
    * Enables or disables whether passwords must meet Active Directory's complexity requirements.
    *
    * @return bool The passwordRequireActiveDirectoryComplexity
    */
    public function getPasswordRequireActiveDirectoryComplexity()
    {
        if (array_key_exists("passwordRequireActiveDirectoryComplexity", $this->_propDict)) {
            return $this->_propDict["passwordRequireActiveDirectoryComplexity"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordRequireActiveDirectoryComplexity
    * Enables or disables whether passwords must meet Active Directory's complexity requirements.
    *
    * @param bool $val The value of the passwordRequireActiveDirectoryComplexity
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordRequireActiveDirectoryComplexity($val)
    {
        $this->_propDict["passwordRequireActiveDirectoryComplexity"] = $val;
        return $this;
    }
    /**
    * Gets the passwordRequirementsDescription
    * Gets or sets a description of the password complexity requirements.
    *
    * @return string The passwordRequirementsDescription
    */
    public function getPasswordRequirementsDescription()
    {
        if (array_key_exists("passwordRequirementsDescription", $this->_propDict)) {
            return $this->_propDict["passwordRequirementsDescription"];
        } else {
            return null;
        }
    }

    /**
    * Sets the passwordRequirementsDescription
    * Gets or sets a description of the password complexity requirements.
    *
    * @param string $val The value of the passwordRequirementsDescription
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setPasswordRequirementsDescription($val)
    {
        $this->_propDict["passwordRequirementsDescription"] = $val;
        return $this;
    }
    /**
    * Gets the realm
    * Gets or sets the case-sensitive realm name for this profile.
    *
    * @return string The realm
    */
    public function getRealm()
    {
        if (array_key_exists("realm", $this->_propDict)) {
            return $this->_propDict["realm"];
        } else {
            return null;
        }
    }

    /**
    * Sets the realm
    * Gets or sets the case-sensitive realm name for this profile.
    *
    * @param string $val The value of the realm
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setRealm($val)
    {
        $this->_propDict["realm"] = $val;
        return $this;
    }
    /**
    * Gets the requireUserPresence
    * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry.
    *
    * @return bool The requireUserPresence
    */
    public function getRequireUserPresence()
    {
        if (array_key_exists("requireUserPresence", $this->_propDict)) {
            return $this->_propDict["requireUserPresence"];
        } else {
            return null;
        }
    }

    /**
    * Sets the requireUserPresence
    * Gets or sets whether to require authentication via Touch ID, Face ID, or a passcode to access the keychain entry.
    *
    * @param bool $val The value of the requireUserPresence
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setRequireUserPresence($val)
    {
        $this->_propDict["requireUserPresence"] = $val;
        return $this;
    }
    /**
    * Gets the userPrincipalName
    * Gets or sets the principle user name to use for this profile. The realm name does not need to be included.
    *
    * @return string The userPrincipalName
    */
    public function getUserPrincipalName()
    {
        if (array_key_exists("userPrincipalName", $this->_propDict)) {
            return $this->_propDict["userPrincipalName"];
        } else {
            return null;
        }
    }

    /**
    * Sets the userPrincipalName
    * Gets or sets the principle user name to use for this profile. The realm name does not need to be included.
    *
    * @param string $val The value of the userPrincipalName
    *
    * @return IosKerberosSingleSignOnExtension
    */
    public function setUserPrincipalName($val)
    {
        $this->_propDict["userPrincipalName"] = $val;
        return $this;
    }
}
