1
0
Fork 0
master
Brie Bruns 2022-10-03 13:28:20 -06:00
parent 7c7d2531cc
commit 66ee1b503d
35 changed files with 430 additions and 175 deletions

12
composer.lock generated
View File

@ -339,16 +339,16 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.75.0",
"version": "1.77.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "e14d68d8e78f217ab0c303169c389c4ebf5d9e11"
"reference": "4e505f208c5d95d08560aaa8d4f6b8c81cd96222"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/e14d68d8e78f217ab0c303169c389c4ebf5d9e11",
"reference": "e14d68d8e78f217ab0c303169c389c4ebf5d9e11",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/4e505f208c5d95d08560aaa8d4f6b8c81cd96222",
"reference": "4e505f208c5d95d08560aaa8d4f6b8c81cd96222",
"shasum": ""
},
"require": {
@ -384,9 +384,9 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.75.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.77.0"
},
"time": "2022-09-15T14:43:49+00:00"
"time": "2022-09-28T09:07:44+00:00"
},
{
"name": "psr/http-client",

View File

@ -342,17 +342,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.75.0",
"version_normalized": "1.75.0.0",
"version": "1.77.0",
"version_normalized": "1.77.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "e14d68d8e78f217ab0c303169c389c4ebf5d9e11"
"reference": "4e505f208c5d95d08560aaa8d4f6b8c81cd96222"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/e14d68d8e78f217ab0c303169c389c4ebf5d9e11",
"reference": "e14d68d8e78f217ab0c303169c389c4ebf5d9e11",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/4e505f208c5d95d08560aaa8d4f6b8c81cd96222",
"reference": "4e505f208c5d95d08560aaa8d4f6b8c81cd96222",
"shasum": ""
},
"require": {
@ -366,7 +366,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2022-09-15T14:43:49+00:00",
"time": "2022-09-28T09:07:44+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@ -390,7 +390,7 @@
"homepage": "https://developer.microsoft.com/en-us/graph",
"support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.75.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.77.0"
},
"install-path": "../microsoft/microsoft-graph"
},

View File

@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'ce812b88d43d2329cab304d7f25f91b2cef8515f',
'reference' => '7c7d2531cccacf74c6d4eb1ec7940cc47337ea7a',
'name' => '__root__',
'dev' => true,
),
@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'ce812b88d43d2329cab304d7f25f91b2cef8515f',
'reference' => '7c7d2531cccacf74c6d4eb1ec7940cc47337ea7a',
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
@ -47,12 +47,12 @@
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.75.0',
'version' => '1.75.0.0',
'pretty_version' => '1.77.0',
'version' => '1.77.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),
'reference' => 'e14d68d8e78f217ab0c303169c389c4ebf5d9e11',
'reference' => '4e505f208c5d95d08560aaa8d4f6b8c81cd96222',
'dev_requirement' => false,
),
'psr/http-client' => array(

View File

@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
```
{
"require": {
"microsoft/microsoft-graph": "^1.75.0"
"microsoft/microsoft-graph": "^1.77.0"
}
}
```

View File

@ -13,3 +13,4 @@ $bumpedSdkVersion = incrementVersion($packagistVersion);
echo "Version after increment: {$bumpedSdkVersion}\n";
updateGraphConstants(GRAPH_CONSTANTS_FILEPATH, $bumpedSdkVersion);
updateReadme($bumpedSdkVersion);
updateDocs($packagistVersion, $bumpedSdkVersion);

View File

@ -16,6 +16,7 @@ const SDK_VERSION_VAR_NAME = "SDK_VERSION"; # Name of version variable in GraphC
const PACKAGE_NAME = "microsoft/microsoft-graph";
const PACKAGIST_ENDPOINT = "https://packagist.org/packages/".PACKAGE_NAME.".json";
const README_FILEPATH = "./README.md";
const DOCS_FILEPATH = "./docs/classes/Microsoft-Graph-Core-GraphConstants.html";
/**
* Gets latest stable packagist version if $stable == true, else gets the latest Release Candidate
@ -137,3 +138,20 @@ function updateGraphConstants(string $filePath, string $bumpedVersion)
}
echo "Could not read contents at {$filePath}\n";
}
function updateDocs(string $packagistVersion, string $bumpedVersion)
{
echo "Reading contents at ".DOCS_FILEPATH."...\n";
$fileContents = file_get_contents(DOCS_FILEPATH);
if ($fileContents) {
$pattern = '/'.$packagistVersion.'/';
$updatedContents = preg_replace($pattern, $bumpedVersion, $fileContents, -1, $numReplacements);
if (!$numReplacements) {
echo "Unable to find and replace SDK version\n";
return;
}
echo file_put_contents(DOCS_FILEPATH, $updatedContents) ? "Successfully updated ".DOCS_FILEPATH."\n" : "Failed to update ".DOCS_FILEPATH."\n";
return;
}
echo "Could not read contents at ".DOCS_FILEPATH."\n";
}

View File

@ -89,7 +89,7 @@ class Application extends DirectoryObject
/**
* Gets the appRoles
* The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
* The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
*
* @return array|null The appRoles
*/
@ -104,7 +104,7 @@ class Application extends DirectoryObject
/**
* Sets the appRoles
* The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
* The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
*
* @param AppRole[] $val The appRoles
*

View File

@ -85,7 +85,7 @@ class AttendanceRecord extends Entity
/**
* Gets the identity
* Identity of the user associated with this atttendance record.
* Identity of the user associated with this atttendance record. The specific type will be one of the following derived types of identity, depending on the type of the user: communicationsUserIdentity, azureCommunicationServicesUserIdentity.
*
* @return Identity|null The identity
*/
@ -104,7 +104,7 @@ class AttendanceRecord extends Entity
/**
* Sets the identity
* Identity of the user associated with this atttendance record.
* Identity of the user associated with this atttendance record. The specific type will be one of the following derived types of identity, depending on the type of the user: communicationsUserIdentity, azureCommunicationServicesUserIdentity.
*
* @param Identity $val The identity
*

View File

@ -26,7 +26,7 @@ class AuthenticationContextClassReference extends Entity
{
/**
* Gets the description
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user facing admin experiences. For example, selection UX.
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user-facing admin experiences. For example, a selection UX.
*
* @return string|null The description
*/
@ -41,7 +41,7 @@ class AuthenticationContextClassReference extends Entity
/**
* Sets the description
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user facing admin experiences. For example, selection UX.
* A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used to provide secondary text to describe the authentication context class reference when building user-facing admin experiences. For example, a selection UX.
*
* @param string $val The description
*
@ -55,7 +55,7 @@ class AuthenticationContextClassReference extends Entity
/**
* Gets the displayName
* The display name is the friendly name of the authenticationContextClassReference. This value should be used to identify the authentication context class reference when building user facing admin experiences. For example, selection UX.
* A friendly name that identifies the authenticationContextClassReference object when building user-facing admin experiences. For example, a selection UX.
*
* @return string|null The displayName
*/
@ -70,7 +70,7 @@ class AuthenticationContextClassReference extends Entity
/**
* Sets the displayName
* The display name is the friendly name of the authenticationContextClassReference. This value should be used to identify the authentication context class reference when building user facing admin experiences. For example, selection UX.
* A friendly name that identifies the authenticationContextClassReference object when building user-facing admin experiences. For example, a selection UX.
*
* @param string $val The displayName
*
@ -84,7 +84,7 @@ class AuthenticationContextClassReference extends Entity
/**
* Gets the isAvailable
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false it should not be shown in admin UX experiences because the value is not currently available for selection.
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in admin UX experiences because the value is not currently available for selection. Supports $filter (eq).
*
* @return bool|null The isAvailable
*/
@ -99,7 +99,7 @@ class AuthenticationContextClassReference extends Entity
/**
* Sets the isAvailable
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false it should not be shown in admin UX experiences because the value is not currently available for selection.
* Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use by apps. When it is set to false, it should not be shown in admin UX experiences because the value is not currently available for selection. Supports $filter (eq).
*
* @param bool $val The isAvailable
*

View File

@ -25,7 +25,7 @@ class BroadcastMeetingCaptionSettings extends Entity
{
/**
* Gets the isCaptionEnabled
* Indicates whether caption is enabled for this Teams live event.
* Indicates whether captions are enabled for this Teams live event.
*
* @return bool|null The isCaptionEnabled
*/
@ -40,7 +40,7 @@ class BroadcastMeetingCaptionSettings extends Entity
/**
* Sets the isCaptionEnabled
* Indicates whether caption is enabled for this Teams live event.
* Indicates whether captions are enabled for this Teams live event.
*
* @param bool $val The value of the isCaptionEnabled
*

View File

@ -23,6 +23,37 @@ namespace Beta\Microsoft\Graph\Model;
*/
class ConditionalAccessApplications extends Entity
{
/**
* Gets the applicationFilter
*
* @return ConditionalAccessFilter|null The applicationFilter
*/
public function getApplicationFilter()
{
if (array_key_exists("applicationFilter", $this->_propDict)) {
if (is_a($this->_propDict["applicationFilter"], "\Beta\Microsoft\Graph\Model\ConditionalAccessFilter") || is_null($this->_propDict["applicationFilter"])) {
return $this->_propDict["applicationFilter"];
} else {
$this->_propDict["applicationFilter"] = new ConditionalAccessFilter($this->_propDict["applicationFilter"]);
return $this->_propDict["applicationFilter"];
}
}
return null;
}
/**
* Sets the applicationFilter
*
* @param ConditionalAccessFilter $val The value to assign to the applicationFilter
*
* @return ConditionalAccessApplications The ConditionalAccessApplications
*/
public function setApplicationFilter($val)
{
$this->_propDict["applicationFilter"] = $val;
return $this;
}
/**
* Gets the excludeApplications
* Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Conditional Access target apps: Office 365

View File

@ -79,4 +79,35 @@ class ConditionalAccessClientApplications extends Entity
$this->_propDict["includeServicePrincipals"] = $val;
return $this;
}
/**
* Gets the servicePrincipalFilter
*
* @return ConditionalAccessFilter|null The servicePrincipalFilter
*/
public function getServicePrincipalFilter()
{
if (array_key_exists("servicePrincipalFilter", $this->_propDict)) {
if (is_a($this->_propDict["servicePrincipalFilter"], "\Beta\Microsoft\Graph\Model\ConditionalAccessFilter") || is_null($this->_propDict["servicePrincipalFilter"])) {
return $this->_propDict["servicePrincipalFilter"];
} else {
$this->_propDict["servicePrincipalFilter"] = new ConditionalAccessFilter($this->_propDict["servicePrincipalFilter"]);
return $this->_propDict["servicePrincipalFilter"];
}
}
return null;
}
/**
* Sets the servicePrincipalFilter
*
* @param ConditionalAccessFilter $val The value to assign to the servicePrincipalFilter
*
* @return ConditionalAccessClientApplications The ConditionalAccessClientApplications
*/
public function setServicePrincipalFilter($val)
{
$this->_propDict["servicePrincipalFilter"] = $val;
return $this;
}
}

View File

@ -80,6 +80,34 @@ class DefaultUserRolePermissions extends Entity
return $this;
}
/**
* Gets the allowedToReadBitlockerKeysForOwnedDevice
* Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role.
*
* @return bool|null The allowedToReadBitlockerKeysForOwnedDevice
*/
public function getAllowedToReadBitlockerKeysForOwnedDevice()
{
if (array_key_exists("allowedToReadBitlockerKeysForOwnedDevice", $this->_propDict)) {
return $this->_propDict["allowedToReadBitlockerKeysForOwnedDevice"];
} else {
return null;
}
}
/**
* Sets the allowedToReadBitlockerKeysForOwnedDevice
* Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role.
*
* @param bool $val The value of the allowedToReadBitlockerKeysForOwnedDevice
*
* @return DefaultUserRolePermissions
*/
public function setAllowedToReadBitlockerKeysForOwnedDevice($val)
{
$this->_propDict["allowedToReadBitlockerKeysForOwnedDevice"] = $val;
return $this;
}
/**
* Gets the allowedToReadOtherUsers
* Indicates whether the default user role can read other users.
*

View File

@ -55,7 +55,7 @@ class EducationSynchronizationProfileStatus extends Entity
/**
* Gets the lastActivityDateTime
* Represents the time when most recent changes were observed in profile.
* Date and time when most recent changes were observed in the profile.
*
* @return \DateTime|null The lastActivityDateTime
*/
@ -74,7 +74,7 @@ class EducationSynchronizationProfileStatus extends Entity
/**
* Sets the lastActivityDateTime
* Represents the time when most recent changes were observed in profile.
* Date and time when most recent changes were observed in the profile.
*
* @param \DateTime $val The lastActivityDateTime
*
@ -88,7 +88,7 @@ class EducationSynchronizationProfileStatus extends Entity
/**
* Gets the lastSynchronizationDateTime
* Represents the time of the most recent successful synchronization.
* Date and time of the most recent successful synchronization.
*
* @return \DateTime|null The lastSynchronizationDateTime
*/
@ -107,7 +107,7 @@ class EducationSynchronizationProfileStatus extends Entity
/**
* Sets the lastSynchronizationDateTime
* Represents the time of the most recent successful synchronization.
* Date and time of the most recent successful synchronization.
*
* @param \DateTime $val The lastSynchronizationDateTime
*
@ -154,7 +154,7 @@ class EducationSynchronizationProfileStatus extends Entity
/**
* Gets the statusMessage
* Status message for the current profile's synchronization stage.
* Status message for the synchronization stage of the current profile.
*
* @return string|null The statusMessage
*/
@ -169,7 +169,7 @@ class EducationSynchronizationProfileStatus extends Entity
/**
* Sets the statusMessage
* Status message for the current profile's synchronization stage.
* Status message for the synchronization stage of the current profile.
*
* @param string $val The statusMessage
*

View File

@ -25,7 +25,7 @@ class KeyValue extends Entity
{
/**
* Gets the key
* Key.
* Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present.
*
* @return string|null The key
*/
@ -40,7 +40,7 @@ class KeyValue extends Entity
/**
* Sets the key
* Key.
* Contains the name of the field that a value is associated with. When a sign in or domain hint is included in the sign-in request, corresponding fields are included as key-value pairs. Possible keys: Login hint present, Domain hint present.
*
* @param string $val The value of the key
*
@ -53,7 +53,7 @@ class KeyValue extends Entity
}
/**
* Gets the value
* Value.
* Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false.
*
* @return string|null The value
*/
@ -68,7 +68,7 @@ class KeyValue extends Entity
/**
* Sets the value
* Value.
* Contains the corresponding value for the specified key. The value is true if a sign in hint was included in the sign-in request; otherwise false. The value is true if a domain hint was included in the sign-in request; otherwise false.
*
* @param string $val The value of the value
*

View File

@ -1,36 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* MeetingChatMode 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;
/**
* MeetingChatMode 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 MeetingChatMode extends Enum
{
/**
* The Enum MeetingChatMode
*/
const ENABLED = "enabled";
const DISABLED = "disabled";
const LIMITED = "limited";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -57,66 +57,4 @@ class MicrosoftAuthenticatorAuthenticationMethodTarget extends AuthenticationMet
return $this;
}
/**
* Gets the displayAppInformationRequiredState
*
* @return AdvancedConfigState|null The displayAppInformationRequiredState
*/
public function getDisplayAppInformationRequiredState()
{
if (array_key_exists("displayAppInformationRequiredState", $this->_propDict)) {
if (is_a($this->_propDict["displayAppInformationRequiredState"], "\Beta\Microsoft\Graph\Model\AdvancedConfigState") || is_null($this->_propDict["displayAppInformationRequiredState"])) {
return $this->_propDict["displayAppInformationRequiredState"];
} else {
$this->_propDict["displayAppInformationRequiredState"] = new AdvancedConfigState($this->_propDict["displayAppInformationRequiredState"]);
return $this->_propDict["displayAppInformationRequiredState"];
}
}
return null;
}
/**
* Sets the displayAppInformationRequiredState
*
* @param AdvancedConfigState $val The displayAppInformationRequiredState
*
* @return MicrosoftAuthenticatorAuthenticationMethodTarget
*/
public function setDisplayAppInformationRequiredState($val)
{
$this->_propDict["displayAppInformationRequiredState"] = $val;
return $this;
}
/**
* Gets the numberMatchingRequiredState
*
* @return AdvancedConfigState|null The numberMatchingRequiredState
*/
public function getNumberMatchingRequiredState()
{
if (array_key_exists("numberMatchingRequiredState", $this->_propDict)) {
if (is_a($this->_propDict["numberMatchingRequiredState"], "\Beta\Microsoft\Graph\Model\AdvancedConfigState") || is_null($this->_propDict["numberMatchingRequiredState"])) {
return $this->_propDict["numberMatchingRequiredState"];
} else {
$this->_propDict["numberMatchingRequiredState"] = new AdvancedConfigState($this->_propDict["numberMatchingRequiredState"]);
return $this->_propDict["numberMatchingRequiredState"];
}
}
return null;
}
/**
* Sets the numberMatchingRequiredState
*
* @param AdvancedConfigState $val The numberMatchingRequiredState
*
* @return MicrosoftAuthenticatorAuthenticationMethodTarget
*/
public function setNumberMatchingRequiredState($val)
{
$this->_propDict["numberMatchingRequiredState"] = $val;
return $this;
}
}

View File

@ -115,39 +115,6 @@ class OnlineMeeting extends Entity
return $this;
}
/**
* Gets the allowMeetingChat
* Specifies the mode of meeting chat.
*
* @return MeetingChatMode|null The allowMeetingChat
*/
public function getAllowMeetingChat()
{
if (array_key_exists("allowMeetingChat", $this->_propDict)) {
if (is_a($this->_propDict["allowMeetingChat"], "\Beta\Microsoft\Graph\Model\MeetingChatMode") || is_null($this->_propDict["allowMeetingChat"])) {
return $this->_propDict["allowMeetingChat"];
} else {
$this->_propDict["allowMeetingChat"] = new MeetingChatMode($this->_propDict["allowMeetingChat"]);
return $this->_propDict["allowMeetingChat"];
}
}
return null;
}
/**
* Sets the allowMeetingChat
* Specifies the mode of meeting chat.
*
* @param MeetingChatMode $val The allowMeetingChat
*
* @return OnlineMeeting
*/
public function setAllowMeetingChat($val)
{
$this->_propDict["allowMeetingChat"] = $val;
return $this;
}
/**
* Gets the allowTeamworkReactions
* Indicates if Teams reactions are enabled for the meeting.

View File

@ -55,6 +55,37 @@ class OrganizationSettings extends Entity
return $this;
}
/**
* Gets the contactInsights
*
* @return InsightsSettings|null The contactInsights
*/
public function getContactInsights()
{
if (array_key_exists("contactInsights", $this->_propDict)) {
if (is_a($this->_propDict["contactInsights"], "\Beta\Microsoft\Graph\Model\InsightsSettings") || is_null($this->_propDict["contactInsights"])) {
return $this->_propDict["contactInsights"];
} else {
$this->_propDict["contactInsights"] = new InsightsSettings($this->_propDict["contactInsights"]);
return $this->_propDict["contactInsights"];
}
}
return null;
}
/**
* Sets the contactInsights
*
* @param InsightsSettings $val The contactInsights
*
* @return OrganizationSettings
*/
public function setContactInsights($val)
{
$this->_propDict["contactInsights"] = $val;
return $this;
}
/**
* Gets the itemInsights
* Contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization.

View File

@ -86,6 +86,37 @@ class PlannerTaskDetails extends PlannerDelta
return $this;
}
/**
* Gets the notes
*
* @return ItemBody|null The notes
*/
public function getNotes()
{
if (array_key_exists("notes", $this->_propDict)) {
if (is_a($this->_propDict["notes"], "\Beta\Microsoft\Graph\Model\ItemBody") || is_null($this->_propDict["notes"])) {
return $this->_propDict["notes"];
} else {
$this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]);
return $this->_propDict["notes"];
}
}
return null;
}
/**
* Sets the notes
*
* @param ItemBody $val The notes
*
* @return PlannerTaskDetails
*/
public function setNotes($val)
{
$this->_propDict["notes"] = $val;
return $this;
}
/**
* Gets the previewType
* This sets the type of preview that shows up on the task. Possible values are: automatic, noPreview, checklist, description, reference. When set to automatic the displayed preview is chosen by the app viewing the task.

View File

@ -121,6 +121,33 @@ class PrintJob extends Entity
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 PrintJob
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the isFetchable
* If true, document can be fetched by printer.

View File

@ -113,6 +113,34 @@ class SignIn extends Entity
}
/**
* Gets the appliedEventListeners
*
* @return array|null The appliedEventListeners
*/
public function getAppliedEventListeners()
{
if (array_key_exists("appliedEventListeners", $this->_propDict)) {
return $this->_propDict["appliedEventListeners"];
} else {
return null;
}
}
/**
* Sets the appliedEventListeners
*
* @param AppliedAuthenticationEventListener[] $val The appliedEventListeners
*
* @return SignIn
*/
public function setAppliedEventListeners($val)
{
$this->_propDict["appliedEventListeners"] = $val;
return $this;
}
/**
* Gets the authenticationContextClassReferences
* Contains a collection of values that represent the conditional access authentication contexts applied to the sign-in.

View File

@ -30,4 +30,5 @@ class TeamworkTagType extends Enum
* The Enum TeamworkTagType
*/
const STANDARD = "standard";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -23,7 +23,7 @@ final class GraphConstants
const REST_ENDPOINT = "https://graph.microsoft.com/";
// Define HTTP request constants
const SDK_VERSION = "1.75.0";
const SDK_VERSION = "1.77.0";
// Define error constants
const MAX_PAGE_SIZE = 999;

View File

@ -148,7 +148,7 @@ class Application extends DirectoryObject
/**
* Gets the appRoles
* The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
* The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
*
* @return array|null The appRoles
*/
@ -163,7 +163,7 @@ class Application extends DirectoryObject
/**
* Sets the appRoles
* The collection of roles assigned to the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
* The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
*
* @param AppRole[] $val The appRoles
*

View File

@ -56,6 +56,39 @@ class BroadcastMeetingSettings extends Entity
$this->_propDict["allowedAudience"] = $val;
return $this;
}
/**
* Gets the captions
* Caption settings of a Teams live event.
*
* @return BroadcastMeetingCaptionSettings|null The captions
*/
public function getCaptions()
{
if (array_key_exists("captions", $this->_propDict)) {
if (is_a($this->_propDict["captions"], "\Microsoft\Graph\Model\BroadcastMeetingCaptionSettings") || is_null($this->_propDict["captions"])) {
return $this->_propDict["captions"];
} else {
$this->_propDict["captions"] = new BroadcastMeetingCaptionSettings($this->_propDict["captions"]);
return $this->_propDict["captions"];
}
}
return null;
}
/**
* Sets the captions
* Caption settings of a Teams live event.
*
* @param BroadcastMeetingCaptionSettings $val The value to assign to the captions
*
* @return BroadcastMeetingSettings The BroadcastMeetingSettings
*/
public function setCaptions($val)
{
$this->_propDict["captions"] = $val;
return $this;
}
/**
* Gets the isAttendeeReportEnabled
* Indicates whether attendee report is enabled for this Teams live event. Default value is false.

View File

@ -660,6 +660,34 @@ class Call extends Entity
}
/**
* Gets the contentSharingSessions
*
* @return array|null The contentSharingSessions
*/
public function getContentSharingSessions()
{
if (array_key_exists("contentSharingSessions", $this->_propDict)) {
return $this->_propDict["contentSharingSessions"];
} else {
return null;
}
}
/**
* Sets the contentSharingSessions
*
* @param ContentSharingSession[] $val The contentSharingSessions
*
* @return Call
*/
public function setContentSharingSessions($val)
{
$this->_propDict["contentSharingSessions"] = $val;
return $this;
}
/**
* Gets the operations
*

View File

@ -49,4 +49,30 @@ class CallOptions extends Entity
$this->_propDict["hideBotAfterEscalation"] = $val;
return $this;
}
/**
* Gets the isContentSharingNotificationEnabled
*
* @return bool|null The isContentSharingNotificationEnabled
*/
public function getIsContentSharingNotificationEnabled()
{
if (array_key_exists("isContentSharingNotificationEnabled", $this->_propDict)) {
return $this->_propDict["isContentSharingNotificationEnabled"];
} else {
return null;
}
}
/**
* Sets the isContentSharingNotificationEnabled
*
* @param bool $val The value of the isContentSharingNotificationEnabled
*
* @return CallOptions
*/
public function setIsContentSharingNotificationEnabled($val)
{
$this->_propDict["isContentSharingNotificationEnabled"] = $val;
return $this;
}
}

View File

@ -336,6 +336,7 @@ class Chat extends Entity
/**
* Gets the pinnedMessages
* A collection of all the pinned messages in the chat. Nullable.
*
* @return array|null The pinnedMessages
*/
@ -350,6 +351,7 @@ class Chat extends Entity
/**
* Sets the pinnedMessages
* A collection of all the pinned messages in the chat. Nullable.
*
* @param PinnedChatMessageInfo[] $val The pinnedMessages
*

View File

@ -37,6 +37,7 @@ class MessagePinnedEventMessageDetail extends EventMessageDetail
/**
* Gets the eventDateTime
* Date and time when the event occurred.
*
* @return \DateTime|null The eventDateTime
*/
@ -55,6 +56,7 @@ class MessagePinnedEventMessageDetail extends EventMessageDetail
/**
* Sets the eventDateTime
* Date and time when the event occurred.
*
* @param \DateTime $val The value to assign to the eventDateTime
*
@ -68,6 +70,7 @@ class MessagePinnedEventMessageDetail extends EventMessageDetail
/**
* Gets the initiator
* Initiator of the event.
*
* @return IdentitySet|null The initiator
*/
@ -86,6 +89,7 @@ class MessagePinnedEventMessageDetail extends EventMessageDetail
/**
* Sets the initiator
* Initiator of the event.
*
* @param IdentitySet $val The value to assign to the initiator
*

View File

@ -37,6 +37,7 @@ class MessageUnpinnedEventMessageDetail extends EventMessageDetail
/**
* Gets the eventDateTime
* Date and time when the event occurred.
*
* @return \DateTime|null The eventDateTime
*/
@ -55,6 +56,7 @@ class MessageUnpinnedEventMessageDetail extends EventMessageDetail
/**
* Sets the eventDateTime
* Date and time when the event occurred.
*
* @param \DateTime $val The value to assign to the eventDateTime
*
@ -68,6 +70,7 @@ class MessageUnpinnedEventMessageDetail extends EventMessageDetail
/**
* Gets the initiator
* Initiator of the event.
*
* @return IdentitySet|null The initiator
*/
@ -86,6 +89,7 @@ class MessageUnpinnedEventMessageDetail extends EventMessageDetail
/**
* Sets the initiator
* Initiator of the event.
*
* @param IdentitySet $val The value to assign to the initiator
*

View File

@ -26,6 +26,7 @@ class PinnedChatMessageInfo extends Entity
{
/**
* Gets the message
* Represents details about the chat message that is pinned.
*
* @return ChatMessage|null The message
*/
@ -44,6 +45,7 @@ class PinnedChatMessageInfo extends Entity
/**
* Sets the message
* Represents details about the chat message that is pinned.
*
* @param ChatMessage $val The message
*

View File

@ -41,4 +41,5 @@ class RiskDetail extends Enum
const HIDDEN = "hidden";
const ADMIN_CONFIRMED_USER_COMPROMISED = "adminConfirmedUserCompromised";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const M365_D_ADMIN_DISMISSED_DETECTION = "m365DAdminDismissedDetection";
}

View File

@ -766,6 +766,34 @@ class Team extends Entity
return $this;
}
/**
* Gets the tags
*
* @return array|null The tags
*/
public function getTags()
{
if (array_key_exists("tags", $this->_propDict)) {
return $this->_propDict["tags"];
} else {
return null;
}
}
/**
* Sets the tags
*
* @param TeamworkTag[] $val The tags
*
* @return Team
*/
public function setTags($val)
{
$this->_propDict["tags"] = $val;
return $this;
}
/**
* Gets the template
* The template this team was created from. See available templates.

View File

@ -142,6 +142,37 @@ class User extends DirectoryObject
return $this;
}
/**
* Gets the authorizationInfo
*
* @return AuthorizationInfo|null The authorizationInfo
*/
public function getAuthorizationInfo()
{
if (array_key_exists("authorizationInfo", $this->_propDict)) {
if (is_a($this->_propDict["authorizationInfo"], "\Microsoft\Graph\Model\AuthorizationInfo") || is_null($this->_propDict["authorizationInfo"])) {
return $this->_propDict["authorizationInfo"];
} else {
$this->_propDict["authorizationInfo"] = new AuthorizationInfo($this->_propDict["authorizationInfo"]);
return $this->_propDict["authorizationInfo"];
}
}
return null;
}
/**
* Sets the authorizationInfo
*
* @param AuthorizationInfo $val The authorizationInfo
*
* @return User
*/
public function setAuthorizationInfo($val)
{
$this->_propDict["authorizationInfo"] = $val;
return $this;
}
/**
* Gets the businessPhones
* The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. Read-only for users synced from on-premises directory. Returned by default. Supports $filter (eq, not, ge, le, startsWith).