1
0
Fork 0

Update deps

master
Brie Bruns 2022-07-06 14:30:40 -06:00
parent 75eed2affa
commit 9089b333d8
16 changed files with 1070 additions and 9 deletions

4
composer.lock generated
View File

@ -586,7 +586,7 @@
},
{
"name": "symfony/deprecation-contracts",
"version": "v2.5.1",
"version": "v2.5.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
@ -633,7 +633,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1"
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2"
},
"funding": [
{

View File

@ -604,8 +604,8 @@
},
{
"name": "symfony/deprecation-contracts",
"version": "v2.5.1",
"version_normalized": "2.5.1.0",
"version": "v2.5.2",
"version_normalized": "2.5.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
@ -654,7 +654,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1"
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2"
},
"funding": [
{

View File

@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'fbf2d2fef3cb884ff5bd4569fd096d7582e3d8e3',
'reference' => '75eed2affaaf8cdc40f9897b0b381e4fb11d306d',
'name' => '__root__',
'dev' => true,
),
@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'fbf2d2fef3cb884ff5bd4569fd096d7582e3d8e3',
'reference' => '75eed2affaaf8cdc40f9897b0b381e4fb11d306d',
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
@ -110,8 +110,8 @@
'dev_requirement' => false,
),
'symfony/deprecation-contracts' => array(
'pretty_version' => 'v2.5.1',
'version' => '2.5.1.0',
'pretty_version' => 'v2.5.2',
'version' => '2.5.2.0',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
'aliases' => array(),

View File

@ -0,0 +1,52 @@
<?php
declare(strict_types=1);
namespace GuzzleHttp\Psr7;
use Psr\Http\Message\UriInterface;
/**
* Provides methods to determine if a modified URL should be considered cross-origin.
*
* @author Graham Campbell
*/
final class UriComparator
{
/**
* Determines if a modified URL should be considered cross-origin with
* respect to an original URL.
*/
public static function isCrossOrigin(UriInterface $original, UriInterface $modified): bool
{
if (\strcasecmp($original->getHost(), $modified->getHost()) !== 0) {
return true;
}
if ($original->getScheme() !== $modified->getScheme()) {
return true;
}
if (self::computePort($original) !== self::computePort($modified)) {
return true;
}
return false;
}
private static function computePort(UriInterface $uri): int
{
$port = $uri->getPort();
if (null !== $port) {
return $port;
}
return 'https' === $uri->getScheme() ? 443 : 80;
}
private function __construct()
{
// cannot be instantiated
}
}

View File

@ -0,0 +1,139 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AttachmentBase 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;
/**
* AttachmentBase 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 AttachmentBase extends Entity
{
/**
* Gets the contentType
*
* @return string|null The contentType
*/
public function getContentType()
{
if (array_key_exists("contentType", $this->_propDict)) {
return $this->_propDict["contentType"];
} else {
return null;
}
}
/**
* Sets the contentType
*
* @param string $val The contentType
*
* @return AttachmentBase
*/
public function setContentType($val)
{
$this->_propDict["contentType"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
*
* @return \DateTime|null The lastModifiedDateTime
*/
public function getLastModifiedDateTime()
{
if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) {
return $this->_propDict["lastModifiedDateTime"];
} else {
$this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
return $this->_propDict["lastModifiedDateTime"];
}
}
return null;
}
/**
* Sets the lastModifiedDateTime
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return AttachmentBase
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the name
*
* @return string|null The name
*/
public function getName()
{
if (array_key_exists("name", $this->_propDict)) {
return $this->_propDict["name"];
} else {
return null;
}
}
/**
* Sets the name
*
* @param string $val The name
*
* @return AttachmentBase
*/
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
}
/**
* Gets the size
*
* @return int|null The size
*/
public function getSize()
{
if (array_key_exists("size", $this->_propDict)) {
return $this->_propDict["size"];
} else {
return null;
}
}
/**
* Sets the size
*
* @param int $val The size
*
* @return AttachmentBase
*/
public function setSize($val)
{
$this->_propDict["size"] = intval($val);
return $this;
}
}

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 Beta\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,57 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomExtensionCallbackConfiguration 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;
/**
* CustomExtensionCallbackConfiguration 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 CustomExtensionCallbackConfiguration extends Entity
{
/**
* Gets the timeoutDuration
*
* @return \DateInterval|null The timeoutDuration
*/
public function getTimeoutDuration()
{
if (array_key_exists("timeoutDuration", $this->_propDict)) {
if (is_a($this->_propDict["timeoutDuration"], "\DateInterval") || is_null($this->_propDict["timeoutDuration"])) {
return $this->_propDict["timeoutDuration"];
} else {
$this->_propDict["timeoutDuration"] = new \DateInterval($this->_propDict["timeoutDuration"]);
return $this->_propDict["timeoutDuration"];
}
}
return null;
}
/**
* Sets the timeoutDuration
*
* @param \DateInterval $val The value to assign to the timeoutDuration
*
* @return CustomExtensionCallbackConfiguration The CustomExtensionCallbackConfiguration
*/
public function setTimeoutDuration($val)
{
$this->_propDict["timeoutDuration"] = $val;
return $this;
}
}

View File

@ -0,0 +1,109 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomExtensionCalloutRequest 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;
/**
* CustomExtensionCalloutRequest 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 CustomExtensionCalloutRequest extends Entity
{
/**
* Gets the data
*
* @return CustomExtensionData|null The data
*/
public function getData()
{
if (array_key_exists("data", $this->_propDict)) {
if (is_a($this->_propDict["data"], "\Beta\Microsoft\Graph\Model\CustomExtensionData") || is_null($this->_propDict["data"])) {
return $this->_propDict["data"];
} else {
$this->_propDict["data"] = new CustomExtensionData($this->_propDict["data"]);
return $this->_propDict["data"];
}
}
return null;
}
/**
* Sets the data
*
* @param CustomExtensionData $val The value to assign to the data
*
* @return CustomExtensionCalloutRequest The CustomExtensionCalloutRequest
*/
public function setData($val)
{
$this->_propDict["data"] = $val;
return $this;
}
/**
* Gets the source
*
* @return string|null The source
*/
public function getSource()
{
if (array_key_exists("source", $this->_propDict)) {
return $this->_propDict["source"];
} else {
return null;
}
}
/**
* Sets the source
*
* @param string $val The value of the source
*
* @return CustomExtensionCalloutRequest
*/
public function setSource($val)
{
$this->_propDict["source"] = $val;
return $this;
}
/**
* Gets the type
*
* @return string|null The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
return $this->_propDict["type"];
} else {
return null;
}
}
/**
* Sets the type
*
* @param string $val The value of the type
*
* @return CustomExtensionCalloutRequest
*/
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
}
}

View File

@ -0,0 +1,109 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomExtensionCalloutResponse 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;
/**
* CustomExtensionCalloutResponse 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 CustomExtensionCalloutResponse extends Entity
{
/**
* Gets the data
*
* @return CustomExtensionData|null The data
*/
public function getData()
{
if (array_key_exists("data", $this->_propDict)) {
if (is_a($this->_propDict["data"], "\Beta\Microsoft\Graph\Model\CustomExtensionData") || is_null($this->_propDict["data"])) {
return $this->_propDict["data"];
} else {
$this->_propDict["data"] = new CustomExtensionData($this->_propDict["data"]);
return $this->_propDict["data"];
}
}
return null;
}
/**
* Sets the data
*
* @param CustomExtensionData $val The value to assign to the data
*
* @return CustomExtensionCalloutResponse The CustomExtensionCalloutResponse
*/
public function setData($val)
{
$this->_propDict["data"] = $val;
return $this;
}
/**
* Gets the source
*
* @return string|null The source
*/
public function getSource()
{
if (array_key_exists("source", $this->_propDict)) {
return $this->_propDict["source"];
} else {
return null;
}
}
/**
* Sets the source
*
* @param string $val The value of the source
*
* @return CustomExtensionCalloutResponse
*/
public function setSource($val)
{
$this->_propDict["source"] = $val;
return $this;
}
/**
* Gets the type
*
* @return string|null The type
*/
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
return $this->_propDict["type"];
} else {
return null;
}
}
/**
* Sets the type
*
* @param string $val The value of the type
*
* @return CustomExtensionCalloutResponse
*/
public function setType($val)
{
$this->_propDict["type"] = $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.
*
* CustomExtensionData 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;
/**
* CustomExtensionData 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 CustomExtensionData extends Entity
{
}

View File

@ -0,0 +1,58 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TaskFileAttachment 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;
/**
* TaskFileAttachment 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 TaskFileAttachment extends AttachmentBase
{
/**
* Gets the contentBytes
*
* @return \GuzzleHttp\Psr7\Stream|null The contentBytes
*/
public function getContentBytes()
{
if (array_key_exists("contentBytes", $this->_propDict)) {
if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["contentBytes"])) {
return $this->_propDict["contentBytes"];
} else {
$this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["contentBytes"]);
return $this->_propDict["contentBytes"];
}
}
return null;
}
/**
* Sets the contentBytes
*
* @param \GuzzleHttp\Psr7\Stream $val The contentBytes
*
* @return TaskFileAttachment
*/
public function setContentBytes($val)
{
$this->_propDict["contentBytes"] = $val;
return $this;
}
}

View File

@ -0,0 +1,54 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TeamsAppSettings 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;
/**
* TeamsAppSettings 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 TeamsAppSettings extends Entity
{
/**
* Gets the isChatResourceSpecificConsentEnabled
*
* @return bool|null The isChatResourceSpecificConsentEnabled
*/
public function getIsChatResourceSpecificConsentEnabled()
{
if (array_key_exists("isChatResourceSpecificConsentEnabled", $this->_propDict)) {
return $this->_propDict["isChatResourceSpecificConsentEnabled"];
} else {
return null;
}
}
/**
* Sets the isChatResourceSpecificConsentEnabled
*
* @param bool $val The isChatResourceSpecificConsentEnabled
*
* @return TeamsAppSettings
*/
public function setIsChatResourceSpecificConsentEnabled($val)
{
$this->_propDict["isChatResourceSpecificConsentEnabled"] = boolval($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.
*
* AssociatedTeamInfo 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;
/**
* AssociatedTeamInfo 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 AssociatedTeamInfo extends TeamInfo
{
}

View File

@ -0,0 +1,176 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Certification 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;
/**
* Certification 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 Certification extends Entity
{
/**
* Gets the certificationDetailsUrl
* URL that shows certification details for the application.
*
* @return string|null The certificationDetailsUrl
*/
public function getCertificationDetailsUrl()
{
if (array_key_exists("certificationDetailsUrl", $this->_propDict)) {
return $this->_propDict["certificationDetailsUrl"];
} else {
return null;
}
}
/**
* Sets the certificationDetailsUrl
* URL that shows certification details for the application.
*
* @param string $val The value of the certificationDetailsUrl
*
* @return Certification
*/
public function setCertificationDetailsUrl($val)
{
$this->_propDict["certificationDetailsUrl"] = $val;
return $this;
}
/**
* Gets the certificationExpirationDateTime
* The timestamp when the current certification for the application will expire.
*
* @return \DateTime|null The certificationExpirationDateTime
*/
public function getCertificationExpirationDateTime()
{
if (array_key_exists("certificationExpirationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["certificationExpirationDateTime"], "\DateTime") || is_null($this->_propDict["certificationExpirationDateTime"])) {
return $this->_propDict["certificationExpirationDateTime"];
} else {
$this->_propDict["certificationExpirationDateTime"] = new \DateTime($this->_propDict["certificationExpirationDateTime"]);
return $this->_propDict["certificationExpirationDateTime"];
}
}
return null;
}
/**
* Sets the certificationExpirationDateTime
* The timestamp when the current certification for the application will expire.
*
* @param \DateTime $val The value to assign to the certificationExpirationDateTime
*
* @return Certification The Certification
*/
public function setCertificationExpirationDateTime($val)
{
$this->_propDict["certificationExpirationDateTime"] = $val;
return $this;
}
/**
* Gets the isCertifiedByMicrosoft
* Indicates whether the application is certified by Microsoft.
*
* @return bool|null The isCertifiedByMicrosoft
*/
public function getIsCertifiedByMicrosoft()
{
if (array_key_exists("isCertifiedByMicrosoft", $this->_propDict)) {
return $this->_propDict["isCertifiedByMicrosoft"];
} else {
return null;
}
}
/**
* Sets the isCertifiedByMicrosoft
* Indicates whether the application is certified by Microsoft.
*
* @param bool $val The value of the isCertifiedByMicrosoft
*
* @return Certification
*/
public function setIsCertifiedByMicrosoft($val)
{
$this->_propDict["isCertifiedByMicrosoft"] = $val;
return $this;
}
/**
* Gets the isPublisherAttested
* Indicates whether the application has been self-attested by the application developer or the publisher.
*
* @return bool|null The isPublisherAttested
*/
public function getIsPublisherAttested()
{
if (array_key_exists("isPublisherAttested", $this->_propDict)) {
return $this->_propDict["isPublisherAttested"];
} else {
return null;
}
}
/**
* Sets the isPublisherAttested
* Indicates whether the application has been self-attested by the application developer or the publisher.
*
* @param bool $val The value of the isPublisherAttested
*
* @return Certification
*/
public function setIsPublisherAttested($val)
{
$this->_propDict["isPublisherAttested"] = $val;
return $this;
}
/**
* Gets the lastCertificationDateTime
* The timestamp when the certification for the application was most recently added or updated.
*
* @return \DateTime|null The lastCertificationDateTime
*/
public function getLastCertificationDateTime()
{
if (array_key_exists("lastCertificationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastCertificationDateTime"], "\DateTime") || is_null($this->_propDict["lastCertificationDateTime"])) {
return $this->_propDict["lastCertificationDateTime"];
} else {
$this->_propDict["lastCertificationDateTime"] = new \DateTime($this->_propDict["lastCertificationDateTime"]);
return $this->_propDict["lastCertificationDateTime"];
}
}
return null;
}
/**
* Sets the lastCertificationDateTime
* The timestamp when the certification for the application was most recently added or updated.
*
* @param \DateTime $val The value to assign to the lastCertificationDateTime
*
* @return Certification The Certification
*/
public function setLastCertificationDateTime($val)
{
$this->_propDict["lastCertificationDateTime"] = $val;
return $this;
}
}

View File

@ -0,0 +1,86 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* SharedWithChannelTeamInfo 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;
/**
* SharedWithChannelTeamInfo 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 SharedWithChannelTeamInfo extends TeamInfo
{
/**
* Gets the isHostTeam
* Indicates whether the team is the host of the channel.
*
* @return bool|null The isHostTeam
*/
public function getIsHostTeam()
{
if (array_key_exists("isHostTeam", $this->_propDict)) {
return $this->_propDict["isHostTeam"];
} else {
return null;
}
}
/**
* Sets the isHostTeam
* Indicates whether the team is the host of the channel.
*
* @param bool $val The isHostTeam
*
* @return SharedWithChannelTeamInfo
*/
public function setIsHostTeam($val)
{
$this->_propDict["isHostTeam"] = boolval($val);
return $this;
}
/**
* Gets the allowedMembers
* A collection of team members who have access to the shared channel.
*
* @return array|null The allowedMembers
*/
public function getAllowedMembers()
{
if (array_key_exists("allowedMembers", $this->_propDict)) {
return $this->_propDict["allowedMembers"];
} else {
return null;
}
}
/**
* Sets the allowedMembers
* A collection of team members who have access to the shared channel.
*
* @param ConversationMember[] $val The allowedMembers
*
* @return SharedWithChannelTeamInfo
*/
public function setAllowedMembers($val)
{
$this->_propDict["allowedMembers"] = $val;
return $this;
}
}

View File

@ -0,0 +1,116 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TeamInfo 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;
/**
* TeamInfo 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 TeamInfo extends Entity
{
/**
* Gets the displayName
* The name of the team.
*
* @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
* The name of the team.
*
* @param string $val The displayName
*
* @return TeamInfo
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the tenantId
* The ID of the Azure Active Directory tenant.
*
* @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
* The ID of the Azure Active Directory tenant.
*
* @param string $val The tenantId
*
* @return TeamInfo
*/
public function setTenantId($val)
{
$this->_propDict["tenantId"] = $val;
return $this;
}
/**
* Gets the team
*
* @return Team|null The team
*/
public function getTeam()
{
if (array_key_exists("team", $this->_propDict)) {
if (is_a($this->_propDict["team"], "\Microsoft\Graph\Model\Team") || is_null($this->_propDict["team"])) {
return $this->_propDict["team"];
} else {
$this->_propDict["team"] = new Team($this->_propDict["team"]);
return $this->_propDict["team"];
}
}
return null;
}
/**
* Sets the team
*
* @param Team $val The team
*
* @return TeamInfo
*/
public function setTeam($val)
{
$this->_propDict["team"] = $val;
return $this;
}
}