1
0
Fork 0
master
Brie Bruns 2022-10-03 13:28:28 -06:00
parent 66ee1b503d
commit 683aae69e5
18 changed files with 1456 additions and 0 deletions

View File

@ -0,0 +1,114 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AppliedAuthenticationEventListener 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;
/**
* AppliedAuthenticationEventListener 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 AppliedAuthenticationEventListener extends Entity
{
/**
* Gets the eventType
*
* @return AuthenticationEventType|null The eventType
*/
public function getEventType()
{
if (array_key_exists("eventType", $this->_propDict)) {
if (is_a($this->_propDict["eventType"], "\Beta\Microsoft\Graph\Model\AuthenticationEventType") || is_null($this->_propDict["eventType"])) {
return $this->_propDict["eventType"];
} else {
$this->_propDict["eventType"] = new AuthenticationEventType($this->_propDict["eventType"]);
return $this->_propDict["eventType"];
}
}
return null;
}
/**
* Sets the eventType
*
* @param AuthenticationEventType $val The value to assign to the eventType
*
* @return AppliedAuthenticationEventListener The AppliedAuthenticationEventListener
*/
public function setEventType($val)
{
$this->_propDict["eventType"] = $val;
return $this;
}
/**
* Gets the executedListenerId
*
* @return string|null The executedListenerId
*/
public function getExecutedListenerId()
{
if (array_key_exists("executedListenerId", $this->_propDict)) {
return $this->_propDict["executedListenerId"];
} else {
return null;
}
}
/**
* Sets the executedListenerId
*
* @param string $val The value of the executedListenerId
*
* @return AppliedAuthenticationEventListener
*/
public function setExecutedListenerId($val)
{
$this->_propDict["executedListenerId"] = $val;
return $this;
}
/**
* Gets the handlerResult
*
* @return AuthenticationEventHandlerResult|null The handlerResult
*/
public function getHandlerResult()
{
if (array_key_exists("handlerResult", $this->_propDict)) {
if (is_a($this->_propDict["handlerResult"], "\Beta\Microsoft\Graph\Model\AuthenticationEventHandlerResult") || is_null($this->_propDict["handlerResult"])) {
return $this->_propDict["handlerResult"];
} else {
$this->_propDict["handlerResult"] = new AuthenticationEventHandlerResult($this->_propDict["handlerResult"]);
return $this->_propDict["handlerResult"];
}
}
return null;
}
/**
* Sets the handlerResult
*
* @param AuthenticationEventHandlerResult $val The value to assign to the handlerResult
*
* @return AppliedAuthenticationEventListener The AppliedAuthenticationEventListener
*/
public function setHandlerResult($val)
{
$this->_propDict["handlerResult"] = $val;
return $this;
}
}

View File

@ -0,0 +1,26 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthenticationEventHandlerResult 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;
/**
* AuthenticationEventHandlerResult 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 AuthenticationEventHandlerResult extends Entity
{
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthenticationEventType 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;
use Microsoft\Graph\Core\Enum;
/**
* AuthenticationEventType 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 AuthenticationEventType extends Enum
{
/**
* The Enum AuthenticationEventType
*/
const TOKEN_ISSUANCE_START = "tokenIssuanceStart";
const PAGE_RENDER_START = "pageRenderStart";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,161 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomExtensionCalloutResult 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;
/**
* CustomExtensionCalloutResult 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 CustomExtensionCalloutResult extends AuthenticationEventHandlerResult
{
/**
* Gets the calloutDateTime
*
* @return \DateTime|null The calloutDateTime
*/
public function getCalloutDateTime()
{
if (array_key_exists("calloutDateTime", $this->_propDict)) {
if (is_a($this->_propDict["calloutDateTime"], "\DateTime") || is_null($this->_propDict["calloutDateTime"])) {
return $this->_propDict["calloutDateTime"];
} else {
$this->_propDict["calloutDateTime"] = new \DateTime($this->_propDict["calloutDateTime"]);
return $this->_propDict["calloutDateTime"];
}
}
return null;
}
/**
* Sets the calloutDateTime
*
* @param \DateTime $val The value to assign to the calloutDateTime
*
* @return CustomExtensionCalloutResult The CustomExtensionCalloutResult
*/
public function setCalloutDateTime($val)
{
$this->_propDict["calloutDateTime"] = $val;
return $this;
}
/**
* Gets the customExtensionId
*
* @return string|null The customExtensionId
*/
public function getCustomExtensionId()
{
if (array_key_exists("customExtensionId", $this->_propDict)) {
return $this->_propDict["customExtensionId"];
} else {
return null;
}
}
/**
* Sets the customExtensionId
*
* @param string $val The value of the customExtensionId
*
* @return CustomExtensionCalloutResult
*/
public function setCustomExtensionId($val)
{
$this->_propDict["customExtensionId"] = $val;
return $this;
}
/**
* Gets the errorCode
*
* @return int|null The errorCode
*/
public function getErrorCode()
{
if (array_key_exists("errorCode", $this->_propDict)) {
return $this->_propDict["errorCode"];
} else {
return null;
}
}
/**
* Sets the errorCode
*
* @param int $val The value of the errorCode
*
* @return CustomExtensionCalloutResult
*/
public function setErrorCode($val)
{
$this->_propDict["errorCode"] = $val;
return $this;
}
/**
* Gets the httpStatus
*
* @return int|null The httpStatus
*/
public function getHttpStatus()
{
if (array_key_exists("httpStatus", $this->_propDict)) {
return $this->_propDict["httpStatus"];
} else {
return null;
}
}
/**
* Sets the httpStatus
*
* @param int $val The value of the httpStatus
*
* @return CustomExtensionCalloutResult
*/
public function setHttpStatus($val)
{
$this->_propDict["httpStatus"] = $val;
return $this;
}
/**
* Gets the numberOfAttempts
*
* @return int|null The numberOfAttempts
*/
public function getNumberOfAttempts()
{
if (array_key_exists("numberOfAttempts", $this->_propDict)) {
return $this->_propDict["numberOfAttempts"];
} else {
return null;
}
}
/**
* Sets the numberOfAttempts
*
* @param int $val The value of the numberOfAttempts
*
* @return CustomExtensionCalloutResult
*/
public function setNumberOfAttempts($val)
{
$this->_propDict["numberOfAttempts"] = $val;
return $this;
}
}

View File

@ -0,0 +1,78 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WatermarkProtectionValues 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;
/**
* WatermarkProtectionValues 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 WatermarkProtectionValues extends Entity
{
/**
* Gets the isEnabledForContentSharing
*
* @return bool|null The isEnabledForContentSharing
*/
public function getIsEnabledForContentSharing()
{
if (array_key_exists("isEnabledForContentSharing", $this->_propDict)) {
return $this->_propDict["isEnabledForContentSharing"];
} else {
return null;
}
}
/**
* Sets the isEnabledForContentSharing
*
* @param bool $val The value of the isEnabledForContentSharing
*
* @return WatermarkProtectionValues
*/
public function setIsEnabledForContentSharing($val)
{
$this->_propDict["isEnabledForContentSharing"] = $val;
return $this;
}
/**
* Gets the isEnabledForVideo
*
* @return bool|null The isEnabledForVideo
*/
public function getIsEnabledForVideo()
{
if (array_key_exists("isEnabledForVideo", $this->_propDict)) {
return $this->_propDict["isEnabledForVideo"];
} else {
return null;
}
}
/**
* Sets the isEnabledForVideo
*
* @param bool $val The value of the isEnabledForVideo
*
* @return WatermarkProtectionValues
*/
public function setIsEnabledForVideo($val)
{
$this->_propDict["isEnabledForVideo"] = $val;
return $this;
}
}

View File

@ -0,0 +1,27 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AddLargeGalleryViewOperation 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 Microsoft\Graph\Model;
/**
* AddLargeGalleryViewOperation 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 AddLargeGalleryViewOperation extends CommsOperation
{
}

View File

@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthorizationInfo 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 Microsoft\Graph\Model;
/**
* AuthorizationInfo 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 AuthorizationInfo extends Entity
{
/**
* Gets the certificateUserIds
*
* @return string|null The certificateUserIds
*/
public function getCertificateUserIds()
{
if (array_key_exists("certificateUserIds", $this->_propDict)) {
return $this->_propDict["certificateUserIds"];
} else {
return null;
}
}
/**
* Sets the certificateUserIds
*
* @param string $val The value of the certificateUserIds
*
* @return AuthorizationInfo
*/
public function setCertificateUserIds($val)
{
$this->_propDict["certificateUserIds"] = $val;
return $this;
}
}

View File

@ -0,0 +1,110 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BroadcastMeetingCaptionSettings 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 Microsoft\Graph\Model;
/**
* BroadcastMeetingCaptionSettings 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 BroadcastMeetingCaptionSettings extends Entity
{
/**
* Gets the isCaptionEnabled
* Indicates whether captions are enabled for this Teams live event.
*
* @return bool|null The isCaptionEnabled
*/
public function getIsCaptionEnabled()
{
if (array_key_exists("isCaptionEnabled", $this->_propDict)) {
return $this->_propDict["isCaptionEnabled"];
} else {
return null;
}
}
/**
* Sets the isCaptionEnabled
* Indicates whether captions are enabled for this Teams live event.
*
* @param bool $val The value of the isCaptionEnabled
*
* @return BroadcastMeetingCaptionSettings
*/
public function setIsCaptionEnabled($val)
{
$this->_propDict["isCaptionEnabled"] = $val;
return $this;
}
/**
* Gets the spokenLanguage
* The spoken language.
*
* @return string|null The spokenLanguage
*/
public function getSpokenLanguage()
{
if (array_key_exists("spokenLanguage", $this->_propDict)) {
return $this->_propDict["spokenLanguage"];
} else {
return null;
}
}
/**
* Sets the spokenLanguage
* The spoken language.
*
* @param string $val The value of the spokenLanguage
*
* @return BroadcastMeetingCaptionSettings
*/
public function setSpokenLanguage($val)
{
$this->_propDict["spokenLanguage"] = $val;
return $this;
}
/**
* Gets the translationLanguages
* The translation languages (choose up to 6).
*
* @return string|null The translationLanguages
*/
public function getTranslationLanguages()
{
if (array_key_exists("translationLanguages", $this->_propDict)) {
return $this->_propDict["translationLanguages"];
} else {
return null;
}
}
/**
* Sets the translationLanguages
* The translation languages (choose up to 6).
*
* @param string $val The value of the translationLanguages
*
* @return BroadcastMeetingCaptionSettings
*/
public function setTranslationLanguages($val)
{
$this->_propDict["translationLanguages"] = $val;
return $this;
}
}

View File

@ -0,0 +1,27 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ContentSharingSession 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 Microsoft\Graph\Model;
/**
* ContentSharingSession 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 ContentSharingSession extends Entity
{
}

View File

@ -0,0 +1,194 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TeamworkTag 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 Microsoft\Graph\Model;
/**
* TeamworkTag 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 TeamworkTag extends Entity
{
/**
* Gets the description
*
* @return string|null The description
*/
public function getDescription()
{
if (array_key_exists("description", $this->_propDict)) {
return $this->_propDict["description"];
} else {
return null;
}
}
/**
* Sets the description
*
* @param string $val The description
*
* @return TeamworkTag
*/
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
}
/**
* Gets the displayName
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
*
* @param string $val The displayName
*
* @return TeamworkTag
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the memberCount
*
* @return int|null The memberCount
*/
public function getMemberCount()
{
if (array_key_exists("memberCount", $this->_propDict)) {
return $this->_propDict["memberCount"];
} else {
return null;
}
}
/**
* Sets the memberCount
*
* @param int $val The memberCount
*
* @return TeamworkTag
*/
public function setMemberCount($val)
{
$this->_propDict["memberCount"] = intval($val);
return $this;
}
/**
* Gets the tagType
*
* @return TeamworkTagType|null The tagType
*/
public function getTagType()
{
if (array_key_exists("tagType", $this->_propDict)) {
if (is_a($this->_propDict["tagType"], "\Microsoft\Graph\Model\TeamworkTagType") || is_null($this->_propDict["tagType"])) {
return $this->_propDict["tagType"];
} else {
$this->_propDict["tagType"] = new TeamworkTagType($this->_propDict["tagType"]);
return $this->_propDict["tagType"];
}
}
return null;
}
/**
* Sets the tagType
*
* @param TeamworkTagType $val The tagType
*
* @return TeamworkTag
*/
public function setTagType($val)
{
$this->_propDict["tagType"] = $val;
return $this;
}
/**
* Gets the teamId
*
* @return string|null The teamId
*/
public function getTeamId()
{
if (array_key_exists("teamId", $this->_propDict)) {
return $this->_propDict["teamId"];
} else {
return null;
}
}
/**
* Sets the teamId
*
* @param string $val The teamId
*
* @return TeamworkTag
*/
public function setTeamId($val)
{
$this->_propDict["teamId"] = $val;
return $this;
}
/**
* Gets the members
*
* @return array|null The members
*/
public function getMembers()
{
if (array_key_exists("members", $this->_propDict)) {
return $this->_propDict["members"];
} else {
return null;
}
}
/**
* Sets the members
*
* @param TeamworkTagMember[] $val The members
*
* @return TeamworkTag
*/
public function setMembers($val)
{
$this->_propDict["members"] = $val;
return $this;
}
}

View File

@ -0,0 +1,108 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TeamworkTagMember 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 Microsoft\Graph\Model;
/**
* TeamworkTagMember 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 TeamworkTagMember extends Entity
{
/**
* Gets the displayName
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
*
* @param string $val The displayName
*
* @return TeamworkTagMember
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the tenantId
*
* @return string|null The tenantId
*/
public function getTenantId()
{
if (array_key_exists("tenantId", $this->_propDict)) {
return $this->_propDict["tenantId"];
} else {
return null;
}
}
/**
* Sets the tenantId
*
* @param string $val The tenantId
*
* @return TeamworkTagMember
*/
public function setTenantId($val)
{
$this->_propDict["tenantId"] = $val;
return $this;
}
/**
* Gets the userId
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;
}
}
/**
* Sets the userId
*
* @param string $val The userId
*
* @return TeamworkTagMember
*/
public function setUserId($val)
{
$this->_propDict["userId"] = $val;
return $this;
}
}

View File

@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TeamworkTagType 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 Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* TeamworkTagType 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 TeamworkTagType extends Enum
{
/**
* The Enum TeamworkTagType
*/
const STANDARD = "standard";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,114 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* X509CertificateAuthenticationMethodConfiguration 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 Microsoft\Graph\Model;
/**
* X509CertificateAuthenticationMethodConfiguration 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 X509CertificateAuthenticationMethodConfiguration extends AuthenticationMethodConfiguration
{
/**
* Gets the authenticationModeConfiguration
*
* @return X509CertificateAuthenticationModeConfiguration|null The authenticationModeConfiguration
*/
public function getAuthenticationModeConfiguration()
{
if (array_key_exists("authenticationModeConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["authenticationModeConfiguration"], "\Microsoft\Graph\Model\X509CertificateAuthenticationModeConfiguration") || is_null($this->_propDict["authenticationModeConfiguration"])) {
return $this->_propDict["authenticationModeConfiguration"];
} else {
$this->_propDict["authenticationModeConfiguration"] = new X509CertificateAuthenticationModeConfiguration($this->_propDict["authenticationModeConfiguration"]);
return $this->_propDict["authenticationModeConfiguration"];
}
}
return null;
}
/**
* Sets the authenticationModeConfiguration
*
* @param X509CertificateAuthenticationModeConfiguration $val The authenticationModeConfiguration
*
* @return X509CertificateAuthenticationMethodConfiguration
*/
public function setAuthenticationModeConfiguration($val)
{
$this->_propDict["authenticationModeConfiguration"] = $val;
return $this;
}
/**
* Gets the certificateUserBindings
*
* @return array|null The certificateUserBindings
*/
public function getCertificateUserBindings()
{
if (array_key_exists("certificateUserBindings", $this->_propDict)) {
return $this->_propDict["certificateUserBindings"];
} else {
return null;
}
}
/**
* Sets the certificateUserBindings
*
* @param X509CertificateUserBinding[] $val The certificateUserBindings
*
* @return X509CertificateAuthenticationMethodConfiguration
*/
public function setCertificateUserBindings($val)
{
$this->_propDict["certificateUserBindings"] = $val;
return $this;
}
/**
* Gets the includeTargets
*
* @return array|null The includeTargets
*/
public function getIncludeTargets()
{
if (array_key_exists("includeTargets", $this->_propDict)) {
return $this->_propDict["includeTargets"];
} else {
return null;
}
}
/**
* Sets the includeTargets
*
* @param AuthenticationMethodTarget[] $val The includeTargets
*
* @return X509CertificateAuthenticationMethodConfiguration
*/
public function setIncludeTargets($val)
{
$this->_propDict["includeTargets"] = $val;
return $this;
}
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* X509CertificateAuthenticationMode 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 Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* X509CertificateAuthenticationMode 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 X509CertificateAuthenticationMode extends Enum
{
/**
* The Enum X509CertificateAuthenticationMode
*/
const X509_CERTIFICATE_SINGLE_FACTOR = "x509CertificateSingleFactor";
const X509_CERTIFICATE_MULTI_FACTOR = "x509CertificateMultiFactor";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,88 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* X509CertificateAuthenticationModeConfiguration 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 Microsoft\Graph\Model;
/**
* X509CertificateAuthenticationModeConfiguration 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 X509CertificateAuthenticationModeConfiguration extends Entity
{
/**
* Gets the rules
*
* @return X509CertificateRule|null The rules
*/
public function getRules()
{
if (array_key_exists("rules", $this->_propDict)) {
if (is_a($this->_propDict["rules"], "\Microsoft\Graph\Model\X509CertificateRule") || is_null($this->_propDict["rules"])) {
return $this->_propDict["rules"];
} else {
$this->_propDict["rules"] = new X509CertificateRule($this->_propDict["rules"]);
return $this->_propDict["rules"];
}
}
return null;
}
/**
* Sets the rules
*
* @param X509CertificateRule $val The value to assign to the rules
*
* @return X509CertificateAuthenticationModeConfiguration The X509CertificateAuthenticationModeConfiguration
*/
public function setRules($val)
{
$this->_propDict["rules"] = $val;
return $this;
}
/**
* Gets the x509CertificateAuthenticationDefaultMode
*
* @return X509CertificateAuthenticationMode|null The x509CertificateAuthenticationDefaultMode
*/
public function getX509CertificateAuthenticationDefaultMode()
{
if (array_key_exists("x509CertificateAuthenticationDefaultMode", $this->_propDict)) {
if (is_a($this->_propDict["x509CertificateAuthenticationDefaultMode"], "\Microsoft\Graph\Model\X509CertificateAuthenticationMode") || is_null($this->_propDict["x509CertificateAuthenticationDefaultMode"])) {
return $this->_propDict["x509CertificateAuthenticationDefaultMode"];
} else {
$this->_propDict["x509CertificateAuthenticationDefaultMode"] = new X509CertificateAuthenticationMode($this->_propDict["x509CertificateAuthenticationDefaultMode"]);
return $this->_propDict["x509CertificateAuthenticationDefaultMode"];
}
}
return null;
}
/**
* Sets the x509CertificateAuthenticationDefaultMode
*
* @param X509CertificateAuthenticationMode $val The value to assign to the x509CertificateAuthenticationDefaultMode
*
* @return X509CertificateAuthenticationModeConfiguration The X509CertificateAuthenticationModeConfiguration
*/
public function setX509CertificateAuthenticationDefaultMode($val)
{
$this->_propDict["x509CertificateAuthenticationDefaultMode"] = $val;
return $this;
}
}

View File

@ -0,0 +1,114 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* X509CertificateRule 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 Microsoft\Graph\Model;
/**
* X509CertificateRule 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 X509CertificateRule extends Entity
{
/**
* Gets the identifier
*
* @return string|null The identifier
*/
public function getIdentifier()
{
if (array_key_exists("identifier", $this->_propDict)) {
return $this->_propDict["identifier"];
} else {
return null;
}
}
/**
* Sets the identifier
*
* @param string $val The value of the identifier
*
* @return X509CertificateRule
*/
public function setIdentifier($val)
{
$this->_propDict["identifier"] = $val;
return $this;
}
/**
* Gets the x509CertificateAuthenticationMode
*
* @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
*
* @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
*
* @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
*
* @param X509CertificateRuleType $val The value to assign to the x509CertificateRuleType
*
* @return X509CertificateRule The X509CertificateRule
*/
public function setX509CertificateRuleType($val)
{
$this->_propDict["x509CertificateRuleType"] = $val;
return $this;
}
}

View File

@ -0,0 +1,35 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* X509CertificateRuleType 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 Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* X509CertificateRuleType 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 X509CertificateRuleType extends Enum
{
/**
* The Enum X509CertificateRuleType
*/
const ISSUER_SUBJECT = "issuerSubject";
const POLICY_OID = "policyOID";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,104 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* X509CertificateUserBinding 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 Microsoft\Graph\Model;
/**
* X509CertificateUserBinding 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 X509CertificateUserBinding extends Entity
{
/**
* Gets the priority
*
* @return int|null The priority
*/
public function getPriority()
{
if (array_key_exists("priority", $this->_propDict)) {
return $this->_propDict["priority"];
} else {
return null;
}
}
/**
* Sets the priority
*
* @param int $val The value of the priority
*
* @return X509CertificateUserBinding
*/
public function setPriority($val)
{
$this->_propDict["priority"] = $val;
return $this;
}
/**
* Gets the userProperty
*
* @return string|null The userProperty
*/
public function getUserProperty()
{
if (array_key_exists("userProperty", $this->_propDict)) {
return $this->_propDict["userProperty"];
} else {
return null;
}
}
/**
* Sets the userProperty
*
* @param string $val The value of the userProperty
*
* @return X509CertificateUserBinding
*/
public function setUserProperty($val)
{
$this->_propDict["userProperty"] = $val;
return $this;
}
/**
* Gets the x509CertificateField
*
* @return string|null The x509CertificateField
*/
public function getX509CertificateField()
{
if (array_key_exists("x509CertificateField", $this->_propDict)) {
return $this->_propDict["x509CertificateField"];
} else {
return null;
}
}
/**
* Sets the x509CertificateField
*
* @param string $val The value of the x509CertificateField
*
* @return X509CertificateUserBinding
*/
public function setX509CertificateField($val)
{
$this->_propDict["x509CertificateField"] = $val;
return $this;
}
}