1
0
Fork 0

Update libs

master
Brie Bruns 2022-11-27 15:44:53 -07:00
parent 58825a04d8
commit 5f2f9d2c04
118 changed files with 6688 additions and 1154 deletions

12
composer.lock generated
View File

@ -339,16 +339,16 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.83.0",
"version": "1.84.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "d04d0faa72ec9bf471e06bf586d98436be5b50c8"
"reference": "feb12aa5d4d55707cc29fde2e76ac4872d6f2de6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/d04d0faa72ec9bf471e06bf586d98436be5b50c8",
"reference": "d04d0faa72ec9bf471e06bf586d98436be5b50c8",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/feb12aa5d4d55707cc29fde2e76ac4872d6f2de6",
"reference": "feb12aa5d4d55707cc29fde2e76ac4872d6f2de6",
"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.83.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.84.0"
},
"time": "2022-11-08T17:01:11+00:00"
"time": "2022-11-23T14:30:20+00:00"
},
{
"name": "psr/http-client",

View File

@ -342,17 +342,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.83.0",
"version_normalized": "1.83.0.0",
"version": "1.84.0",
"version_normalized": "1.84.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "d04d0faa72ec9bf471e06bf586d98436be5b50c8"
"reference": "feb12aa5d4d55707cc29fde2e76ac4872d6f2de6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/d04d0faa72ec9bf471e06bf586d98436be5b50c8",
"reference": "d04d0faa72ec9bf471e06bf586d98436be5b50c8",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/feb12aa5d4d55707cc29fde2e76ac4872d6f2de6",
"reference": "feb12aa5d4d55707cc29fde2e76ac4872d6f2de6",
"shasum": ""
},
"require": {
@ -366,7 +366,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2022-11-08T17:01:11+00:00",
"time": "2022-11-23T14:30:20+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.83.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.84.0"
},
"install-path": "../microsoft/microsoft-graph"
},

View File

@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '738f44f7f29828d361e89d7c846d151c7ae39c26',
'reference' => '58825a04d84e3b3d329d197277de308748bc524e',
'name' => '__root__',
'dev' => true,
),
@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '738f44f7f29828d361e89d7c846d151c7ae39c26',
'reference' => '58825a04d84e3b3d329d197277de308748bc524e',
'dev_requirement' => false,
),
'guzzlehttp/guzzle' => array(
@ -47,12 +47,12 @@
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.83.0',
'version' => '1.83.0.0',
'pretty_version' => '1.84.0',
'version' => '1.84.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),
'reference' => 'd04d0faa72ec9bf471e06bf586d98436be5b50c8',
'reference' => 'feb12aa5d4d55707cc29fde2e76ac4872d6f2de6',
'dev_requirement' => false,
),
'psr/http-client' => array(

View File

@ -5,9 +5,9 @@ name: "Validate Pull Request"
on:
push:
branches: [ main, dev ]
branches: [ main, dev, feat/kiota-preview ]
pull_request:
branches: [ main, dev ]
branches: [ main, dev, feat/kiota-preview ]
# Add assigned to defaults as a hack to easily trigger code-gen PRs to run validation
types: [assigned, opened, synchronize, reopened]
@ -29,6 +29,6 @@ jobs:
- name: run tests
run : |
vendor/bin/phpunit --exclude-group functional
# - name: Run static analysis
# run: |
# vendor/bin/phpstan analyse --memory-limit=1500M --error-format=github
- name: Run static analysis
run: |
vendor/bin/phpstan analyse --memory-limit=1500M --error-format=github

View File

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

View File

@ -25,7 +25,7 @@ class Property extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the aliases
* A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
* A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string might not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
*
* @return string|null The aliases
*/
@ -40,7 +40,7 @@ class Property extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the aliases
* A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
* A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string might not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
*
* @param string $val The value of the aliases
*
@ -52,6 +52,34 @@ class Property extends \Beta\Microsoft\Graph\Model\Entity
return $this;
}
/**
* Gets the isExactMatchRequired
* Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for non-searchable properties of type string or stringCollection. Optional.
*
* @return bool|null The isExactMatchRequired
*/
public function getIsExactMatchRequired()
{
if (array_key_exists("isExactMatchRequired", $this->_propDict)) {
return $this->_propDict["isExactMatchRequired"];
} else {
return null;
}
}
/**
* Sets the isExactMatchRequired
* Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for non-searchable properties of type string or stringCollection. Optional.
*
* @param bool $val The value of the isExactMatchRequired
*
* @return Property
*/
public function setIsExactMatchRequired($val)
{
$this->_propDict["isExactMatchRequired"] = $val;
return $this;
}
/**
* Gets the isQueryable
* Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional.
*
@ -198,7 +226,7 @@ class Property extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the name
* The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required.
* The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required.
*
* @return string|null The name
*/
@ -213,7 +241,7 @@ class Property extends \Beta\Microsoft\Graph\Model\Entity
/**
* Sets the name
* The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required.
* The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required.
*
* @param string $val The value of the name
*

View File

@ -639,6 +639,34 @@ class ManagedTenant extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the managementTemplateCollectionTenantSummaries
*
* @return array|null The managementTemplateCollectionTenantSummaries
*/
public function getManagementTemplateCollectionTenantSummaries()
{
if (array_key_exists("managementTemplateCollectionTenantSummaries", $this->_propDict)) {
return $this->_propDict["managementTemplateCollectionTenantSummaries"];
} else {
return null;
}
}
/**
* Sets the managementTemplateCollectionTenantSummaries
*
* @param ManagementTemplateCollectionTenantSummary[] $val The managementTemplateCollectionTenantSummaries
*
* @return ManagedTenant
*/
public function setManagementTemplateCollectionTenantSummaries($val)
{
$this->_propDict["managementTemplateCollectionTenantSummaries"] = $val;
return $this;
}
/**
* Gets the managementTemplates
* The collection of baseline management templates across managed tenants.
@ -697,6 +725,34 @@ class ManagedTenant extends \Beta\Microsoft\Graph\Model\Entity
}
/**
* Gets the managementTemplateStepTenantSummaries
*
* @return array|null The managementTemplateStepTenantSummaries
*/
public function getManagementTemplateStepTenantSummaries()
{
if (array_key_exists("managementTemplateStepTenantSummaries", $this->_propDict)) {
return $this->_propDict["managementTemplateStepTenantSummaries"];
} else {
return null;
}
}
/**
* Sets the managementTemplateStepTenantSummaries
*
* @param ManagementTemplateStepTenantSummary[] $val The managementTemplateStepTenantSummaries
*
* @return ManagedTenant
*/
public function setManagementTemplateStepTenantSummaries($val)
{
$this->_propDict["managementTemplateStepTenantSummaries"] = $val;
return $this;
}
/**
* Gets the managementTemplateStepVersions
*

View File

@ -0,0 +1,467 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagementTemplateCollectionTenantSummary 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\ManagedTenants\Model;
/**
* ManagementTemplateCollectionTenantSummary 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 ManagementTemplateCollectionTenantSummary extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the completeStepsCount
*
* @return int|null The completeStepsCount
*/
public function getCompleteStepsCount()
{
if (array_key_exists("completeStepsCount", $this->_propDict)) {
return $this->_propDict["completeStepsCount"];
} else {
return null;
}
}
/**
* Sets the completeStepsCount
*
* @param int $val The completeStepsCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setCompleteStepsCount($val)
{
$this->_propDict["completeStepsCount"] = intval($val);
return $this;
}
/**
* Gets the completeUsersCount
*
* @return int|null The completeUsersCount
*/
public function getCompleteUsersCount()
{
if (array_key_exists("completeUsersCount", $this->_propDict)) {
return $this->_propDict["completeUsersCount"];
} else {
return null;
}
}
/**
* Sets the completeUsersCount
*
* @param int $val The completeUsersCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setCompleteUsersCount($val)
{
$this->_propDict["completeUsersCount"] = intval($val);
return $this;
}
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $val;
return $this;
}
/**
* Gets the createdDateTime
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
*
* @param \DateTime $val The createdDateTime
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the dismissedStepsCount
*
* @return int|null The dismissedStepsCount
*/
public function getDismissedStepsCount()
{
if (array_key_exists("dismissedStepsCount", $this->_propDict)) {
return $this->_propDict["dismissedStepsCount"];
} else {
return null;
}
}
/**
* Sets the dismissedStepsCount
*
* @param int $val The dismissedStepsCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setDismissedStepsCount($val)
{
$this->_propDict["dismissedStepsCount"] = intval($val);
return $this;
}
/**
* Gets the excludedUsersCount
*
* @return int|null The excludedUsersCount
*/
public function getExcludedUsersCount()
{
if (array_key_exists("excludedUsersCount", $this->_propDict)) {
return $this->_propDict["excludedUsersCount"];
} else {
return null;
}
}
/**
* Sets the excludedUsersCount
*
* @param int $val The excludedUsersCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setExcludedUsersCount($val)
{
$this->_propDict["excludedUsersCount"] = intval($val);
return $this;
}
/**
* Gets the excludedUsersDistinctCount
*
* @return int|null The excludedUsersDistinctCount
*/
public function getExcludedUsersDistinctCount()
{
if (array_key_exists("excludedUsersDistinctCount", $this->_propDict)) {
return $this->_propDict["excludedUsersDistinctCount"];
} else {
return null;
}
}
/**
* Sets the excludedUsersDistinctCount
*
* @param int $val The excludedUsersDistinctCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setExcludedUsersDistinctCount($val)
{
$this->_propDict["excludedUsersDistinctCount"] = intval($val);
return $this;
}
/**
* Gets the incompleteStepsCount
*
* @return int|null The incompleteStepsCount
*/
public function getIncompleteStepsCount()
{
if (array_key_exists("incompleteStepsCount", $this->_propDict)) {
return $this->_propDict["incompleteStepsCount"];
} else {
return null;
}
}
/**
* Sets the incompleteStepsCount
*
* @param int $val The incompleteStepsCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setIncompleteStepsCount($val)
{
$this->_propDict["incompleteStepsCount"] = intval($val);
return $this;
}
/**
* Gets the incompleteUsersCount
*
* @return int|null The incompleteUsersCount
*/
public function getIncompleteUsersCount()
{
if (array_key_exists("incompleteUsersCount", $this->_propDict)) {
return $this->_propDict["incompleteUsersCount"];
} else {
return null;
}
}
/**
* Sets the incompleteUsersCount
*
* @param int $val The incompleteUsersCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setIncompleteUsersCount($val)
{
$this->_propDict["incompleteUsersCount"] = intval($val);
return $this;
}
/**
* Gets the ineligibleStepsCount
*
* @return int|null The ineligibleStepsCount
*/
public function getIneligibleStepsCount()
{
if (array_key_exists("ineligibleStepsCount", $this->_propDict)) {
return $this->_propDict["ineligibleStepsCount"];
} else {
return null;
}
}
/**
* Sets the ineligibleStepsCount
*
* @param int $val The ineligibleStepsCount
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setIneligibleStepsCount($val)
{
$this->_propDict["ineligibleStepsCount"] = intval($val);
return $this;
}
/**
* Gets the isComplete
*
* @return bool|null The isComplete
*/
public function getIsComplete()
{
if (array_key_exists("isComplete", $this->_propDict)) {
return $this->_propDict["isComplete"];
} else {
return null;
}
}
/**
* Sets the isComplete
*
* @param bool $val The isComplete
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setIsComplete($val)
{
$this->_propDict["isComplete"] = boolval($val);
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $val;
return $this;
}
/**
* Gets the managementTemplateCollectionDisplayName
*
* @return string|null The managementTemplateCollectionDisplayName
*/
public function getManagementTemplateCollectionDisplayName()
{
if (array_key_exists("managementTemplateCollectionDisplayName", $this->_propDict)) {
return $this->_propDict["managementTemplateCollectionDisplayName"];
} else {
return null;
}
}
/**
* Sets the managementTemplateCollectionDisplayName
*
* @param string $val The managementTemplateCollectionDisplayName
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setManagementTemplateCollectionDisplayName($val)
{
$this->_propDict["managementTemplateCollectionDisplayName"] = $val;
return $this;
}
/**
* Gets the managementTemplateCollectionId
*
* @return string|null The managementTemplateCollectionId
*/
public function getManagementTemplateCollectionId()
{
if (array_key_exists("managementTemplateCollectionId", $this->_propDict)) {
return $this->_propDict["managementTemplateCollectionId"];
} else {
return null;
}
}
/**
* Sets the managementTemplateCollectionId
*
* @param string $val The managementTemplateCollectionId
*
* @return ManagementTemplateCollectionTenantSummary
*/
public function setManagementTemplateCollectionId($val)
{
$this->_propDict["managementTemplateCollectionId"] = $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 ManagementTemplateCollectionTenantSummary
*/
public function setTenantId($val)
{
$this->_propDict["tenantId"] = $val;
return $this;
}
}

View File

@ -0,0 +1,440 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ManagementTemplateStepTenantSummary 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\ManagedTenants\Model;
/**
* ManagementTemplateStepTenantSummary 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 ManagementTemplateStepTenantSummary extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the assignedTenantsCount
*
* @return int|null The assignedTenantsCount
*/
public function getAssignedTenantsCount()
{
if (array_key_exists("assignedTenantsCount", $this->_propDict)) {
return $this->_propDict["assignedTenantsCount"];
} else {
return null;
}
}
/**
* Sets the assignedTenantsCount
*
* @param int $val The assignedTenantsCount
*
* @return ManagementTemplateStepTenantSummary
*/
public function setAssignedTenantsCount($val)
{
$this->_propDict["assignedTenantsCount"] = intval($val);
return $this;
}
/**
* Gets the compliantTenantsCount
*
* @return int|null The compliantTenantsCount
*/
public function getCompliantTenantsCount()
{
if (array_key_exists("compliantTenantsCount", $this->_propDict)) {
return $this->_propDict["compliantTenantsCount"];
} else {
return null;
}
}
/**
* Sets the compliantTenantsCount
*
* @param int $val The compliantTenantsCount
*
* @return ManagementTemplateStepTenantSummary
*/
public function setCompliantTenantsCount($val)
{
$this->_propDict["compliantTenantsCount"] = intval($val);
return $this;
}
/**
* Gets the createdByUserId
*
* @return string|null The createdByUserId
*/
public function getCreatedByUserId()
{
if (array_key_exists("createdByUserId", $this->_propDict)) {
return $this->_propDict["createdByUserId"];
} else {
return null;
}
}
/**
* Sets the createdByUserId
*
* @param string $val The createdByUserId
*
* @return ManagementTemplateStepTenantSummary
*/
public function setCreatedByUserId($val)
{
$this->_propDict["createdByUserId"] = $val;
return $this;
}
/**
* Gets the createdDateTime
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
*
* @param \DateTime $val The createdDateTime
*
* @return ManagementTemplateStepTenantSummary
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the dismissedTenantsCount
*
* @return int|null The dismissedTenantsCount
*/
public function getDismissedTenantsCount()
{
if (array_key_exists("dismissedTenantsCount", $this->_propDict)) {
return $this->_propDict["dismissedTenantsCount"];
} else {
return null;
}
}
/**
* Sets the dismissedTenantsCount
*
* @param int $val The dismissedTenantsCount
*
* @return ManagementTemplateStepTenantSummary
*/
public function setDismissedTenantsCount($val)
{
$this->_propDict["dismissedTenantsCount"] = intval($val);
return $this;
}
/**
* Gets the ineligibleTenantsCount
*
* @return int|null The ineligibleTenantsCount
*/
public function getIneligibleTenantsCount()
{
if (array_key_exists("ineligibleTenantsCount", $this->_propDict)) {
return $this->_propDict["ineligibleTenantsCount"];
} else {
return null;
}
}
/**
* Sets the ineligibleTenantsCount
*
* @param int $val The ineligibleTenantsCount
*
* @return ManagementTemplateStepTenantSummary
*/
public function setIneligibleTenantsCount($val)
{
$this->_propDict["ineligibleTenantsCount"] = intval($val);
return $this;
}
/**
* Gets the lastActionByUserId
*
* @return string|null The lastActionByUserId
*/
public function getLastActionByUserId()
{
if (array_key_exists("lastActionByUserId", $this->_propDict)) {
return $this->_propDict["lastActionByUserId"];
} else {
return null;
}
}
/**
* Sets the lastActionByUserId
*
* @param string $val The lastActionByUserId
*
* @return ManagementTemplateStepTenantSummary
*/
public function setLastActionByUserId($val)
{
$this->_propDict["lastActionByUserId"] = $val;
return $this;
}
/**
* Gets the lastActionDateTime
*
* @return \DateTime|null The lastActionDateTime
*/
public function getLastActionDateTime()
{
if (array_key_exists("lastActionDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastActionDateTime"], "\DateTime") || is_null($this->_propDict["lastActionDateTime"])) {
return $this->_propDict["lastActionDateTime"];
} else {
$this->_propDict["lastActionDateTime"] = new \DateTime($this->_propDict["lastActionDateTime"]);
return $this->_propDict["lastActionDateTime"];
}
}
return null;
}
/**
* Sets the lastActionDateTime
*
* @param \DateTime $val The lastActionDateTime
*
* @return ManagementTemplateStepTenantSummary
*/
public function setLastActionDateTime($val)
{
$this->_propDict["lastActionDateTime"] = $val;
return $this;
}
/**
* Gets the managementTemplateCollectionDisplayName
*
* @return string|null The managementTemplateCollectionDisplayName
*/
public function getManagementTemplateCollectionDisplayName()
{
if (array_key_exists("managementTemplateCollectionDisplayName", $this->_propDict)) {
return $this->_propDict["managementTemplateCollectionDisplayName"];
} else {
return null;
}
}
/**
* Sets the managementTemplateCollectionDisplayName
*
* @param string $val The managementTemplateCollectionDisplayName
*
* @return ManagementTemplateStepTenantSummary
*/
public function setManagementTemplateCollectionDisplayName($val)
{
$this->_propDict["managementTemplateCollectionDisplayName"] = $val;
return $this;
}
/**
* Gets the managementTemplateCollectionId
*
* @return string|null The managementTemplateCollectionId
*/
public function getManagementTemplateCollectionId()
{
if (array_key_exists("managementTemplateCollectionId", $this->_propDict)) {
return $this->_propDict["managementTemplateCollectionId"];
} else {
return null;
}
}
/**
* Sets the managementTemplateCollectionId
*
* @param string $val The managementTemplateCollectionId
*
* @return ManagementTemplateStepTenantSummary
*/
public function setManagementTemplateCollectionId($val)
{
$this->_propDict["managementTemplateCollectionId"] = $val;
return $this;
}
/**
* Gets the managementTemplateDisplayName
*
* @return string|null The managementTemplateDisplayName
*/
public function getManagementTemplateDisplayName()
{
if (array_key_exists("managementTemplateDisplayName", $this->_propDict)) {
return $this->_propDict["managementTemplateDisplayName"];
} else {
return null;
}
}
/**
* Sets the managementTemplateDisplayName
*
* @param string $val The managementTemplateDisplayName
*
* @return ManagementTemplateStepTenantSummary
*/
public function setManagementTemplateDisplayName($val)
{
$this->_propDict["managementTemplateDisplayName"] = $val;
return $this;
}
/**
* Gets the managementTemplateId
*
* @return string|null The managementTemplateId
*/
public function getManagementTemplateId()
{
if (array_key_exists("managementTemplateId", $this->_propDict)) {
return $this->_propDict["managementTemplateId"];
} else {
return null;
}
}
/**
* Sets the managementTemplateId
*
* @param string $val The managementTemplateId
*
* @return ManagementTemplateStepTenantSummary
*/
public function setManagementTemplateId($val)
{
$this->_propDict["managementTemplateId"] = $val;
return $this;
}
/**
* Gets the managementTemplateStepDisplayName
*
* @return string|null The managementTemplateStepDisplayName
*/
public function getManagementTemplateStepDisplayName()
{
if (array_key_exists("managementTemplateStepDisplayName", $this->_propDict)) {
return $this->_propDict["managementTemplateStepDisplayName"];
} else {
return null;
}
}
/**
* Sets the managementTemplateStepDisplayName
*
* @param string $val The managementTemplateStepDisplayName
*
* @return ManagementTemplateStepTenantSummary
*/
public function setManagementTemplateStepDisplayName($val)
{
$this->_propDict["managementTemplateStepDisplayName"] = $val;
return $this;
}
/**
* Gets the managementTemplateStepId
*
* @return string|null The managementTemplateStepId
*/
public function getManagementTemplateStepId()
{
if (array_key_exists("managementTemplateStepId", $this->_propDict)) {
return $this->_propDict["managementTemplateStepId"];
} else {
return null;
}
}
/**
* Sets the managementTemplateStepId
*
* @param string $val The managementTemplateStepId
*
* @return ManagementTemplateStepTenantSummary
*/
public function setManagementTemplateStepId($val)
{
$this->_propDict["managementTemplateStepId"] = $val;
return $this;
}
/**
* Gets the notCompliantTenantsCount
*
* @return int|null The notCompliantTenantsCount
*/
public function getNotCompliantTenantsCount()
{
if (array_key_exists("notCompliantTenantsCount", $this->_propDict)) {
return $this->_propDict["notCompliantTenantsCount"];
} else {
return null;
}
}
/**
* Sets the notCompliantTenantsCount
*
* @param int $val The notCompliantTenantsCount
*
* @return ManagementTemplateStepTenantSummary
*/
public function setNotCompliantTenantsCount($val)
{
$this->_propDict["notCompliantTenantsCount"] = intval($val);
return $this;
}
}

View File

@ -2,7 +2,7 @@
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TaskStatus_v2 File
* ActionCapability File
* PHP version 7
*
* @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* TaskStatus_v2 class
* ActionCapability class
*
* @category Model
* @package Microsoft.Graph
@ -24,13 +24,12 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class TaskStatus_v2 extends Enum
class ActionCapability extends Enum
{
/**
* The Enum TaskStatus_v2
* The Enum ActionCapability
*/
const NOT_STARTED = "notStarted";
const IN_PROGRESS = "inProgress";
const COMPLETED = "completed";
const ENABLED = "enabled";
const DISABLED = "disabled";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -117,7 +117,7 @@ class AppRoleAssignment extends Entity
/**
* Gets the principalId
* The unique identifier (id) for the user, group, or service principal being granted the app role. Required on create.
* The unique identifier (id) for the user, security group, or service principal being granted the app role. Security groups with dynamic memberships are supported. Required on create.
*
* @return string|null The principalId
*/
@ -132,7 +132,7 @@ class AppRoleAssignment extends Entity
/**
* Sets the principalId
* The unique identifier (id) for the user, group, or service principal being granted the app role. Required on create.
* The unique identifier (id) for the user, security group, or service principal being granted the app role. Security groups with dynamic memberships are supported. Required on create.
*
* @param string $val The principalId
*

View File

@ -733,7 +733,7 @@ class Application extends DirectoryObject
/**
* Gets the requiredResourceAccess
* Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le).
* Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. For more information, see Limits on requested permissions per app. Not nullable. Supports $filter (eq, not, ge, le).
*
* @return array|null The requiredResourceAccess
*/
@ -748,7 +748,7 @@ class Application extends DirectoryObject
/**
* Sets the requiredResourceAccess
* Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le).
* Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. For more information, see Limits on requested permissions per app. Not nullable. Supports $filter (eq, not, ge, le).
*
* @param RequiredResourceAccess[] $val The requiredResourceAccess
*
@ -820,6 +820,7 @@ class Application extends DirectoryObject
/**
* Gets the servicePrincipalLockConfiguration
* Specifies whether sensitive properties of a multi-tenant application should be locked for editing after the application is provisioned in a tenant. Nullable. null by default.
*
* @return ServicePrincipalLockConfiguration|null The servicePrincipalLockConfiguration
*/
@ -838,6 +839,7 @@ class Application extends DirectoryObject
/**
* Sets the servicePrincipalLockConfiguration
* Specifies whether sensitive properties of a multi-tenant application should be locked for editing after the application is provisioned in a tenant. Nullable. null by default.
*
* @param ServicePrincipalLockConfiguration $val The servicePrincipalLockConfiguration
*
@ -851,7 +853,7 @@ class Application extends DirectoryObject
/**
* Gets the signInAudience
* Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not).
* Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. Supports $filter (eq, ne, not).
*
* @return string|null The signInAudience
*/
@ -866,7 +868,7 @@ class Application extends DirectoryObject
/**
* Sets the signInAudience
* Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not).
* Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. Supports $filter (eq, ne, not).
*
* @param string $val The signInAudience
*

View File

@ -2,7 +2,7 @@
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TaskList File
* ApplicationSegment File
* PHP version 7
*
* @category Library
@ -14,7 +14,7 @@
namespace Beta\Microsoft\Graph\Model;
/**
* TaskList class
* ApplicationSegment class
*
* @category Model
* @package Microsoft.Graph
@ -22,6 +22,6 @@ namespace Beta\Microsoft\Graph\Model;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class TaskList extends BaseTaskList
class ApplicationSegment extends Entity
{
}

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.
*
* AzureCommunicationServicesUserConversationMember 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;
/**
* AzureCommunicationServicesUserConversationMember 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 AzureCommunicationServicesUserConversationMember extends ConversationMember
{
/**
* Gets the azureCommunicationServicesId
*
* @return string|null The azureCommunicationServicesId
*/
public function getAzureCommunicationServicesId()
{
if (array_key_exists("azureCommunicationServicesId", $this->_propDict)) {
return $this->_propDict["azureCommunicationServicesId"];
} else {
return null;
}
}
/**
* Sets the azureCommunicationServicesId
*
* @param string $val The azureCommunicationServicesId
*
* @return AzureCommunicationServicesUserConversationMember
*/
public function setAzureCommunicationServicesId($val)
{
$this->_propDict["azureCommunicationServicesId"] = $val;
return $this;
}
}

View File

@ -1,538 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BaseTask 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;
/**
* BaseTask 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 BaseTask extends Entity
{
/**
* Gets the bodyLastModifiedDateTime
* The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
*
* @return \DateTime|null The bodyLastModifiedDateTime
*/
public function getBodyLastModifiedDateTime()
{
if (array_key_exists("bodyLastModifiedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["bodyLastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["bodyLastModifiedDateTime"])) {
return $this->_propDict["bodyLastModifiedDateTime"];
} else {
$this->_propDict["bodyLastModifiedDateTime"] = new \DateTime($this->_propDict["bodyLastModifiedDateTime"]);
return $this->_propDict["bodyLastModifiedDateTime"];
}
}
return null;
}
/**
* Sets the bodyLastModifiedDateTime
* The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
*
* @param \DateTime $val The bodyLastModifiedDateTime
*
* @return BaseTask
*/
public function setBodyLastModifiedDateTime($val)
{
$this->_propDict["bodyLastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the completedDateTime
* The date when the task was finished.
*
* @return \DateTime|null The completedDateTime
*/
public function getCompletedDateTime()
{
if (array_key_exists("completedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) {
return $this->_propDict["completedDateTime"];
} else {
$this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]);
return $this->_propDict["completedDateTime"];
}
}
return null;
}
/**
* Sets the completedDateTime
* The date when the task was finished.
*
* @param \DateTime $val The completedDateTime
*
* @return BaseTask
*/
public function setCompletedDateTime($val)
{
$this->_propDict["completedDateTime"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
* The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
*
* @param \DateTime $val The createdDateTime
*
* @return BaseTask
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the task.
*
* @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 task.
*
* @param string $val The displayName
*
* @return BaseTask
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the dueDateTime
* The date in the specified time zone that the task is to be finished.
*
* @return DateTimeTimeZone|null The dueDateTime
*/
public function getDueDateTime()
{
if (array_key_exists("dueDateTime", $this->_propDict)) {
if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["dueDateTime"])) {
return $this->_propDict["dueDateTime"];
} else {
$this->_propDict["dueDateTime"] = new DateTimeTimeZone($this->_propDict["dueDateTime"]);
return $this->_propDict["dueDateTime"];
}
}
return null;
}
/**
* Sets the dueDateTime
* The date in the specified time zone that the task is to be finished.
*
* @param DateTimeTimeZone $val The dueDateTime
*
* @return BaseTask
*/
public function setDueDateTime($val)
{
$this->_propDict["dueDateTime"] = $val;
return $this;
}
/**
* Gets the importance
* The importance of the task. Possible values are: low, normal, high. The possible values are: low, normal, high.
*
* @return Importance|null The importance
*/
public function getImportance()
{
if (array_key_exists("importance", $this->_propDict)) {
if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\Importance") || is_null($this->_propDict["importance"])) {
return $this->_propDict["importance"];
} else {
$this->_propDict["importance"] = new Importance($this->_propDict["importance"]);
return $this->_propDict["importance"];
}
}
return null;
}
/**
* Sets the importance
* The importance of the task. Possible values are: low, normal, high. The possible values are: low, normal, high.
*
* @param Importance $val The importance
*
* @return BaseTask
*/
public function setImportance($val)
{
$this->_propDict["importance"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
* The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
*
* @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
* The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return BaseTask
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the recurrence
* The recurrence pattern for the task.
*
* @return PatternedRecurrence|null The recurrence
*/
public function getRecurrence()
{
if (array_key_exists("recurrence", $this->_propDict)) {
if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence") || is_null($this->_propDict["recurrence"])) {
return $this->_propDict["recurrence"];
} else {
$this->_propDict["recurrence"] = new PatternedRecurrence($this->_propDict["recurrence"]);
return $this->_propDict["recurrence"];
}
}
return null;
}
/**
* Sets the recurrence
* The recurrence pattern for the task.
*
* @param PatternedRecurrence $val The recurrence
*
* @return BaseTask
*/
public function setRecurrence($val)
{
$this->_propDict["recurrence"] = $val;
return $this;
}
/**
* Gets the startDateTime
* The date in the specified time zone when the task is to begin.
*
* @return DateTimeTimeZone|null The startDateTime
*/
public function getStartDateTime()
{
if (array_key_exists("startDateTime", $this->_propDict)) {
if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["startDateTime"])) {
return $this->_propDict["startDateTime"];
} else {
$this->_propDict["startDateTime"] = new DateTimeTimeZone($this->_propDict["startDateTime"]);
return $this->_propDict["startDateTime"];
}
}
return null;
}
/**
* Sets the startDateTime
* The date in the specified time zone when the task is to begin.
*
* @param DateTimeTimeZone $val The startDateTime
*
* @return BaseTask
*/
public function setStartDateTime($val)
{
$this->_propDict["startDateTime"] = $val;
return $this;
}
/**
* Gets the status
* Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed,unknownFutureValue.
*
* @return TaskStatus_v2|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\TaskStatus_v2") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new TaskStatus_v2($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed,unknownFutureValue.
*
* @param TaskStatus_v2 $val The status
*
* @return BaseTask
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the textBody
* The task body in text format that typically contains information about the task.
*
* @return string|null The textBody
*/
public function getTextBody()
{
if (array_key_exists("textBody", $this->_propDict)) {
return $this->_propDict["textBody"];
} else {
return null;
}
}
/**
* Sets the textBody
* The task body in text format that typically contains information about the task.
*
* @param string $val The textBody
*
* @return BaseTask
*/
public function setTextBody($val)
{
$this->_propDict["textBody"] = $val;
return $this;
}
/**
* Gets the viewpoint
* Properties that are personal to a user such as reminderDateTime and categories.
*
* @return TaskViewpoint|null The viewpoint
*/
public function getViewpoint()
{
if (array_key_exists("viewpoint", $this->_propDict)) {
if (is_a($this->_propDict["viewpoint"], "\Beta\Microsoft\Graph\Model\TaskViewpoint") || is_null($this->_propDict["viewpoint"])) {
return $this->_propDict["viewpoint"];
} else {
$this->_propDict["viewpoint"] = new TaskViewpoint($this->_propDict["viewpoint"]);
return $this->_propDict["viewpoint"];
}
}
return null;
}
/**
* Sets the viewpoint
* Properties that are personal to a user such as reminderDateTime and categories.
*
* @param TaskViewpoint $val The viewpoint
*
* @return BaseTask
*/
public function setViewpoint($val)
{
$this->_propDict["viewpoint"] = $val;
return $this;
}
/**
* Gets the checklistItems
* A collection of smaller subtasks linked to the more complex parent task.
*
* @return array|null The checklistItems
*/
public function getChecklistItems()
{
if (array_key_exists("checklistItems", $this->_propDict)) {
return $this->_propDict["checklistItems"];
} else {
return null;
}
}
/**
* Sets the checklistItems
* A collection of smaller subtasks linked to the more complex parent task.
*
* @param ChecklistItem[] $val The checklistItems
*
* @return BaseTask
*/
public function setChecklistItems($val)
{
$this->_propDict["checklistItems"] = $val;
return $this;
}
/**
* Gets the extensions
* The collection of open extensions defined for the task .
*
* @return array|null The extensions
*/
public function getExtensions()
{
if (array_key_exists("extensions", $this->_propDict)) {
return $this->_propDict["extensions"];
} else {
return null;
}
}
/**
* Sets the extensions
* The collection of open extensions defined for the task .
*
* @param Extension[] $val The extensions
*
* @return BaseTask
*/
public function setExtensions($val)
{
$this->_propDict["extensions"] = $val;
return $this;
}
/**
* Gets the linkedResources
* A collection of resources linked to the task.
*
* @return array|null The linkedResources
*/
public function getLinkedResources()
{
if (array_key_exists("linkedResources", $this->_propDict)) {
return $this->_propDict["linkedResources"];
} else {
return null;
}
}
/**
* Sets the linkedResources
* A collection of resources linked to the task.
*
* @param LinkedResource_v2[] $val The linkedResources
*
* @return BaseTask
*/
public function setLinkedResources($val)
{
$this->_propDict["linkedResources"] = $val;
return $this;
}
/**
* Gets the parentList
* The list which contains the task.
*
* @return BaseTaskList|null The parentList
*/
public function getParentList()
{
if (array_key_exists("parentList", $this->_propDict)) {
if (is_a($this->_propDict["parentList"], "\Beta\Microsoft\Graph\Model\BaseTaskList") || is_null($this->_propDict["parentList"])) {
return $this->_propDict["parentList"];
} else {
$this->_propDict["parentList"] = new BaseTaskList($this->_propDict["parentList"]);
return $this->_propDict["parentList"];
}
}
return null;
}
/**
* Sets the parentList
* The list which contains the task.
*
* @param BaseTaskList $val The parentList
*
* @return BaseTask
*/
public function setParentList($val)
{
$this->_propDict["parentList"] = $val;
return $this;
}
}

View File

@ -1,116 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BaseTaskList 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;
/**
* BaseTaskList 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 BaseTaskList extends Entity
{
/**
* Gets the displayName
* The name of the task list.
*
* @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 task list.
*
* @param string $val The displayName
*
* @return BaseTaskList
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the extensions
* The collection of open extensions defined for the task list. Nullable.
*
* @return array|null The extensions
*/
public function getExtensions()
{
if (array_key_exists("extensions", $this->_propDict)) {
return $this->_propDict["extensions"];
} else {
return null;
}
}
/**
* Sets the extensions
* The collection of open extensions defined for the task list. Nullable.
*
* @param Extension[] $val The extensions
*
* @return BaseTaskList
*/
public function setExtensions($val)
{
$this->_propDict["extensions"] = $val;
return $this;
}
/**
* Gets the tasks
* The tasks in this task list. Read-only. Nullable.
*
* @return array|null The tasks
*/
public function getTasks()
{
if (array_key_exists("tasks", $this->_propDict)) {
return $this->_propDict["tasks"];
} else {
return null;
}
}
/**
* Sets the tasks
* The tasks in this task list. Read-only. Nullable.
*
* @param BaseTask[] $val The tasks
*
* @return BaseTaskList
*/
public function setTasks($val)
{
$this->_propDict["tasks"] = $val;
return $this;
}
}

View File

@ -53,4 +53,35 @@ class BuiltInIdentityProvider extends IdentityProviderBase
return $this;
}
/**
* Gets the state
*
* @return IdentityProviderState|null The state
*/
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\IdentityProviderState") || is_null($this->_propDict["state"])) {
return $this->_propDict["state"];
} else {
$this->_propDict["state"] = new IdentityProviderState($this->_propDict["state"]);
return $this->_propDict["state"];
}
}
return null;
}
/**
* Sets the state
*
* @param IdentityProviderState $val The state
*
* @return BuiltInIdentityProvider
*/
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
}
}

View File

@ -0,0 +1,263 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BusinessScenario 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;
/**
* BusinessScenario 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 BusinessScenario extends Entity
{
/**
* Gets the createdBy
*
* @return IdentitySet|null The createdBy
*/
public function getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
if (is_a($this->_propDict["createdBy"], "\Beta\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 BusinessScenario
*/
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
}
/**
* Gets the createdDateTime
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
*
* @param \DateTime $val The createdDateTime
*
* @return BusinessScenario
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $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 BusinessScenario
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
*
* @return IdentitySet|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
*
* @param IdentitySet $val The lastModifiedBy
*
* @return BusinessScenario
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $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 BusinessScenario
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the ownerAppIds
*
* @return array|null The ownerAppIds
*/
public function getOwnerAppIds()
{
if (array_key_exists("ownerAppIds", $this->_propDict)) {
return $this->_propDict["ownerAppIds"];
} else {
return null;
}
}
/**
* Sets the ownerAppIds
*
* @param string[] $val The ownerAppIds
*
* @return BusinessScenario
*/
public function setOwnerAppIds($val)
{
$this->_propDict["ownerAppIds"] = $val;
return $this;
}
/**
* Gets the uniqueName
*
* @return string|null The uniqueName
*/
public function getUniqueName()
{
if (array_key_exists("uniqueName", $this->_propDict)) {
return $this->_propDict["uniqueName"];
} else {
return null;
}
}
/**
* Sets the uniqueName
*
* @param string $val The uniqueName
*
* @return BusinessScenario
*/
public function setUniqueName($val)
{
$this->_propDict["uniqueName"] = $val;
return $this;
}
/**
* Gets the planner
*
* @return BusinessScenarioPlanner|null The planner
*/
public function getPlanner()
{
if (array_key_exists("planner", $this->_propDict)) {
if (is_a($this->_propDict["planner"], "\Beta\Microsoft\Graph\Model\BusinessScenarioPlanner") || is_null($this->_propDict["planner"])) {
return $this->_propDict["planner"];
} else {
$this->_propDict["planner"] = new BusinessScenarioPlanner($this->_propDict["planner"]);
return $this->_propDict["planner"];
}
}
return null;
}
/**
* Sets the planner
*
* @param BusinessScenarioPlanner $val The planner
*
* @return BusinessScenario
*/
public function setPlanner($val)
{
$this->_propDict["planner"] = $val;
return $this;
}
}

View File

@ -0,0 +1,63 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BusinessScenarioGroupTarget 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;
/**
* BusinessScenarioGroupTarget 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 BusinessScenarioGroupTarget extends BusinessScenarioTaskTargetBase
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.businessScenarioGroupTarget");
}
/**
* Gets the groupId
*
* @return string|null The groupId
*/
public function getGroupId()
{
if (array_key_exists("groupId", $this->_propDict)) {
return $this->_propDict["groupId"];
} else {
return null;
}
}
/**
* Sets the groupId
*
* @param string $val The value of the groupId
*
* @return BusinessScenarioGroupTarget
*/
public function setGroupId($val)
{
$this->_propDict["groupId"] = $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.
*
* BusinessScenarioPlanReference 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;
/**
* BusinessScenarioPlanReference 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 BusinessScenarioPlanReference extends Entity
{
/**
* Gets the title
*
* @return string|null The title
*/
public function getTitle()
{
if (array_key_exists("title", $this->_propDict)) {
return $this->_propDict["title"];
} else {
return null;
}
}
/**
* Sets the title
*
* @param string $val The title
*
* @return BusinessScenarioPlanReference
*/
public function setTitle($val)
{
$this->_propDict["title"] = $val;
return $this;
}
}

View File

@ -0,0 +1,117 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BusinessScenarioPlanner 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;
/**
* BusinessScenarioPlanner 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 BusinessScenarioPlanner extends Entity
{
/**
* Gets the planConfiguration
*
* @return PlannerPlanConfiguration|null The planConfiguration
*/
public function getPlanConfiguration()
{
if (array_key_exists("planConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["planConfiguration"], "\Beta\Microsoft\Graph\Model\PlannerPlanConfiguration") || is_null($this->_propDict["planConfiguration"])) {
return $this->_propDict["planConfiguration"];
} else {
$this->_propDict["planConfiguration"] = new PlannerPlanConfiguration($this->_propDict["planConfiguration"]);
return $this->_propDict["planConfiguration"];
}
}
return null;
}
/**
* Sets the planConfiguration
*
* @param PlannerPlanConfiguration $val The planConfiguration
*
* @return BusinessScenarioPlanner
*/
public function setPlanConfiguration($val)
{
$this->_propDict["planConfiguration"] = $val;
return $this;
}
/**
* Gets the taskConfiguration
*
* @return PlannerTaskConfiguration|null The taskConfiguration
*/
public function getTaskConfiguration()
{
if (array_key_exists("taskConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["taskConfiguration"], "\Beta\Microsoft\Graph\Model\PlannerTaskConfiguration") || is_null($this->_propDict["taskConfiguration"])) {
return $this->_propDict["taskConfiguration"];
} else {
$this->_propDict["taskConfiguration"] = new PlannerTaskConfiguration($this->_propDict["taskConfiguration"]);
return $this->_propDict["taskConfiguration"];
}
}
return null;
}
/**
* Sets the taskConfiguration
*
* @param PlannerTaskConfiguration $val The taskConfiguration
*
* @return BusinessScenarioPlanner
*/
public function setTaskConfiguration($val)
{
$this->_propDict["taskConfiguration"] = $val;
return $this;
}
/**
* Gets the tasks
*
* @return array|null The tasks
*/
public function getTasks()
{
if (array_key_exists("tasks", $this->_propDict)) {
return $this->_propDict["tasks"];
} else {
return null;
}
}
/**
* Sets the tasks
*
* @param BusinessScenarioTask[] $val The tasks
*
* @return BusinessScenarioPlanner
*/
public function setTasks($val)
{
$this->_propDict["tasks"] = $val;
return $this;
}
}

View File

@ -0,0 +1,156 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BusinessScenarioProperties 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;
/**
* BusinessScenarioProperties 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 BusinessScenarioProperties extends Entity
{
/**
* Gets the externalBucketId
*
* @return string|null The externalBucketId
*/
public function getExternalBucketId()
{
if (array_key_exists("externalBucketId", $this->_propDict)) {
return $this->_propDict["externalBucketId"];
} else {
return null;
}
}
/**
* Sets the externalBucketId
*
* @param string $val The value of the externalBucketId
*
* @return BusinessScenarioProperties
*/
public function setExternalBucketId($val)
{
$this->_propDict["externalBucketId"] = $val;
return $this;
}
/**
* Gets the externalContextId
*
* @return string|null The externalContextId
*/
public function getExternalContextId()
{
if (array_key_exists("externalContextId", $this->_propDict)) {
return $this->_propDict["externalContextId"];
} else {
return null;
}
}
/**
* Sets the externalContextId
*
* @param string $val The value of the externalContextId
*
* @return BusinessScenarioProperties
*/
public function setExternalContextId($val)
{
$this->_propDict["externalContextId"] = $val;
return $this;
}
/**
* Gets the externalObjectId
*
* @return string|null The externalObjectId
*/
public function getExternalObjectId()
{
if (array_key_exists("externalObjectId", $this->_propDict)) {
return $this->_propDict["externalObjectId"];
} else {
return null;
}
}
/**
* Sets the externalObjectId
*
* @param string $val The value of the externalObjectId
*
* @return BusinessScenarioProperties
*/
public function setExternalObjectId($val)
{
$this->_propDict["externalObjectId"] = $val;
return $this;
}
/**
* Gets the externalObjectVersion
*
* @return string|null The externalObjectVersion
*/
public function getExternalObjectVersion()
{
if (array_key_exists("externalObjectVersion", $this->_propDict)) {
return $this->_propDict["externalObjectVersion"];
} else {
return null;
}
}
/**
* Sets the externalObjectVersion
*
* @param string $val The value of the externalObjectVersion
*
* @return BusinessScenarioProperties
*/
public function setExternalObjectVersion($val)
{
$this->_propDict["externalObjectVersion"] = $val;
return $this;
}
/**
* Gets the webUrl
*
* @return string|null The webUrl
*/
public function getWebUrl()
{
if (array_key_exists("webUrl", $this->_propDict)) {
return $this->_propDict["webUrl"];
} else {
return null;
}
}
/**
* Sets the webUrl
*
* @param string $val The value of the webUrl
*
* @return BusinessScenarioProperties
*/
public function setWebUrl($val)
{
$this->_propDict["webUrl"] = $val;
return $this;
}
}

View File

@ -0,0 +1,89 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BusinessScenarioTask 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;
/**
* BusinessScenarioTask 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 BusinessScenarioTask extends PlannerTask
{
/**
* Gets the businessScenarioProperties
*
* @return BusinessScenarioProperties|null The businessScenarioProperties
*/
public function getBusinessScenarioProperties()
{
if (array_key_exists("businessScenarioProperties", $this->_propDict)) {
if (is_a($this->_propDict["businessScenarioProperties"], "\Beta\Microsoft\Graph\Model\BusinessScenarioProperties") || is_null($this->_propDict["businessScenarioProperties"])) {
return $this->_propDict["businessScenarioProperties"];
} else {
$this->_propDict["businessScenarioProperties"] = new BusinessScenarioProperties($this->_propDict["businessScenarioProperties"]);
return $this->_propDict["businessScenarioProperties"];
}
}
return null;
}
/**
* Sets the businessScenarioProperties
*
* @param BusinessScenarioProperties $val The businessScenarioProperties
*
* @return BusinessScenarioTask
*/
public function setBusinessScenarioProperties($val)
{
$this->_propDict["businessScenarioProperties"] = $val;
return $this;
}
/**
* Gets the target
*
* @return BusinessScenarioTaskTargetBase|null The target
*/
public function getTarget()
{
if (array_key_exists("target", $this->_propDict)) {
if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\BusinessScenarioTaskTargetBase") || is_null($this->_propDict["target"])) {
return $this->_propDict["target"];
} else {
$this->_propDict["target"] = new BusinessScenarioTaskTargetBase($this->_propDict["target"]);
return $this->_propDict["target"];
}
}
return null;
}
/**
* Sets the target
*
* @param BusinessScenarioTaskTargetBase $val The target
*
* @return BusinessScenarioTask
*/
public function setTarget($val)
{
$this->_propDict["target"] = $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.
*
* BusinessScenarioTaskTargetBase 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;
/**
* BusinessScenarioTaskTargetBase 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 BusinessScenarioTaskTargetBase extends Entity
{
/**
* Gets the taskTargetKind
*
* @return PlannerTaskTargetKind|null The taskTargetKind
*/
public function getTaskTargetKind()
{
if (array_key_exists("taskTargetKind", $this->_propDict)) {
if (is_a($this->_propDict["taskTargetKind"], "\Beta\Microsoft\Graph\Model\PlannerTaskTargetKind") || is_null($this->_propDict["taskTargetKind"])) {
return $this->_propDict["taskTargetKind"];
} else {
$this->_propDict["taskTargetKind"] = new PlannerTaskTargetKind($this->_propDict["taskTargetKind"]);
return $this->_propDict["taskTargetKind"];
}
}
return null;
}
/**
* Sets the taskTargetKind
*
* @param PlannerTaskTargetKind $val The value to assign to the taskTargetKind
*
* @return BusinessScenarioTaskTargetBase The BusinessScenarioTaskTargetBase
*/
public function setTaskTargetKind($val)
{
$this->_propDict["taskTargetKind"] = $val;
return $this;
}
}

View File

@ -239,6 +239,37 @@ class Channel extends Entity
return $this;
}
/**
* Gets the summary
*
* @return ChannelSummary|null The summary
*/
public function getSummary()
{
if (array_key_exists("summary", $this->_propDict)) {
if (is_a($this->_propDict["summary"], "\Beta\Microsoft\Graph\Model\ChannelSummary") || is_null($this->_propDict["summary"])) {
return $this->_propDict["summary"];
} else {
$this->_propDict["summary"] = new ChannelSummary($this->_propDict["summary"]);
return $this->_propDict["summary"];
}
}
return null;
}
/**
* Sets the summary
*
* @param ChannelSummary $val The summary
*
* @return Channel
*/
public function setSummary($val)
{
$this->_propDict["summary"] = $val;
return $this;
}
/**
* Gets the tenantId
* The ID of the Azure Active Directory tenant.

View File

@ -25,7 +25,7 @@ class ChannelMembersNotificationRecipient extends TeamworkNotificationRecipient
{
/**
* Gets the channelId
* The channel's identifier.
* The unique identifier for the channel whose members should receive the notification.
*
* @return string|null The channelId
*/
@ -40,7 +40,7 @@ class ChannelMembersNotificationRecipient extends TeamworkNotificationRecipient
/**
* Sets the channelId
* The channel's identifier.
* The unique identifier for the channel whose members should receive the notification.
*
* @param string $val The value of the channelId
*
@ -53,7 +53,7 @@ class ChannelMembersNotificationRecipient extends TeamworkNotificationRecipient
}
/**
* Gets the teamId
* The team's identifier under which the channel resides.
* The unique identifier for the team under which the channel resides.
*
* @return string|null The teamId
*/
@ -68,7 +68,7 @@ class ChannelMembersNotificationRecipient extends TeamworkNotificationRecipient
/**
* Sets the teamId
* The team's identifier under which the channel resides.
* The unique identifier for the team under which the channel resides.
*
* @param string $val The value of the teamId
*

View File

@ -0,0 +1,130 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ChannelSummary 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;
/**
* ChannelSummary 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 ChannelSummary extends Entity
{
/**
* Gets the guestsCount
*
* @return int|null The guestsCount
*/
public function getGuestsCount()
{
if (array_key_exists("guestsCount", $this->_propDict)) {
return $this->_propDict["guestsCount"];
} else {
return null;
}
}
/**
* Sets the guestsCount
*
* @param int $val The value of the guestsCount
*
* @return ChannelSummary
*/
public function setGuestsCount($val)
{
$this->_propDict["guestsCount"] = $val;
return $this;
}
/**
* Gets the hasMembersFromOtherTenants
*
* @return bool|null The hasMembersFromOtherTenants
*/
public function getHasMembersFromOtherTenants()
{
if (array_key_exists("hasMembersFromOtherTenants", $this->_propDict)) {
return $this->_propDict["hasMembersFromOtherTenants"];
} else {
return null;
}
}
/**
* Sets the hasMembersFromOtherTenants
*
* @param bool $val The value of the hasMembersFromOtherTenants
*
* @return ChannelSummary
*/
public function setHasMembersFromOtherTenants($val)
{
$this->_propDict["hasMembersFromOtherTenants"] = $val;
return $this;
}
/**
* Gets the membersCount
*
* @return int|null The membersCount
*/
public function getMembersCount()
{
if (array_key_exists("membersCount", $this->_propDict)) {
return $this->_propDict["membersCount"];
} else {
return null;
}
}
/**
* Sets the membersCount
*
* @param int $val The value of the membersCount
*
* @return ChannelSummary
*/
public function setMembersCount($val)
{
$this->_propDict["membersCount"] = $val;
return $this;
}
/**
* Gets the ownersCount
*
* @return int|null The ownersCount
*/
public function getOwnersCount()
{
if (array_key_exists("ownersCount", $this->_propDict)) {
return $this->_propDict["ownersCount"];
} else {
return null;
}
}
/**
* Sets the ownersCount
*
* @param int $val The value of the ownersCount
*
* @return ChannelSummary
*/
public function setOwnersCount($val)
{
$this->_propDict["ownersCount"] = $val;
return $this;
}
}

View File

@ -25,7 +25,7 @@ class ChatMembersNotificationRecipient extends TeamworkNotificationRecipient
{
/**
* Gets the chatId
* The chat's identifier.
* The unique identifier for the chat whose members should receive the notifications.
*
* @return string|null The chatId
*/
@ -40,7 +40,7 @@ class ChatMembersNotificationRecipient extends TeamworkNotificationRecipient
/**
* Sets the chatId
* The chat's identifier.
* The unique identifier for the chat whose members should receive the notifications.
*
* @param string $val The value of the chatId
*

View File

@ -427,6 +427,34 @@ class CloudPC extends Entity
return $this;
}
/**
* Gets the partnerAgentInstallResults
*
* @return array|null The partnerAgentInstallResults
*/
public function getPartnerAgentInstallResults()
{
if (array_key_exists("partnerAgentInstallResults", $this->_propDict)) {
return $this->_propDict["partnerAgentInstallResults"];
} else {
return null;
}
}
/**
* Sets the partnerAgentInstallResults
*
* @param CloudPcPartnerAgentInstallResult[] $val The partnerAgentInstallResults
*
* @return CloudPC
*/
public function setPartnerAgentInstallResults($val)
{
$this->_propDict["partnerAgentInstallResults"] = $val;
return $this;
}
/**
* Gets the provisioningPolicyId
* The provisioning policy ID of the Cloud PC.
@ -485,6 +513,37 @@ class CloudPC extends Entity
return $this;
}
/**
* Gets the provisioningType
*
* @return CloudPcProvisioningType|null The provisioningType
*/
public function getProvisioningType()
{
if (array_key_exists("provisioningType", $this->_propDict)) {
if (is_a($this->_propDict["provisioningType"], "\Beta\Microsoft\Graph\Model\CloudPcProvisioningType") || is_null($this->_propDict["provisioningType"])) {
return $this->_propDict["provisioningType"];
} else {
$this->_propDict["provisioningType"] = new CloudPcProvisioningType($this->_propDict["provisioningType"]);
return $this->_propDict["provisioningType"];
}
}
return null;
}
/**
* Sets the provisioningType
*
* @param CloudPcProvisioningType $val The provisioningType
*
* @return CloudPC
*/
public function setProvisioningType($val)
{
$this->_propDict["provisioningType"] = $val;
return $this;
}
/**
* Gets the servicePlanId
* The service plan ID of the Cloud PC.

View File

@ -30,7 +30,7 @@ class CloudPcDiskEncryptionState extends Enum
* The Enum CloudPcDiskEncryptionState
*/
const NOT_AVAILABLE = "notAvailable";
const NOT_ENCRYPED = "notEncryped";
const NOT_ENCRYPTED = "notEncrypted";
const ENCRYPTED_USING_PLATFORM_MANAGED_KEY = "encryptedUsingPlatformManagedKey";
const ENCRYPTED_USING_CUSTOMER_MANAGED_KEY = "encryptedUsingCustomerManagedKey";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";

View File

@ -51,6 +51,37 @@ class CloudPcDomainJoinConfiguration extends Entity
$this->_propDict["onPremisesConnectionId"] = $val;
return $this;
}
/**
* Gets the regionGroup
*
* @return CloudPcRegionGroup|null The regionGroup
*/
public function getRegionGroup()
{
if (array_key_exists("regionGroup", $this->_propDict)) {
if (is_a($this->_propDict["regionGroup"], "\Beta\Microsoft\Graph\Model\CloudPcRegionGroup") || is_null($this->_propDict["regionGroup"])) {
return $this->_propDict["regionGroup"];
} else {
$this->_propDict["regionGroup"] = new CloudPcRegionGroup($this->_propDict["regionGroup"]);
return $this->_propDict["regionGroup"];
}
}
return null;
}
/**
* Sets the regionGroup
*
* @param CloudPcRegionGroup $val The value to assign to the regionGroup
*
* @return CloudPcDomainJoinConfiguration The CloudPcDomainJoinConfiguration
*/
public function setRegionGroup($val)
{
$this->_propDict["regionGroup"] = $val;
return $this;
}
/**
* Gets the regionName
* The supported Azure region where the IT admin wants the provisioning policy to create Cloud PCs. The underlying virtual network will be created and managed by the Windows 365 service. This can only be entered if the IT admin chooses Azure AD joined as the domain join type. If you enter a regionName, leave onPremisesConnectionId as empty.

View File

@ -32,4 +32,5 @@ class CloudPcManagementService extends Enum
const WINDOWS365 = "windows365";
const DEV_BOX = "devBox";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const RPA_BOX = "rpaBox";
}

View File

@ -82,6 +82,8 @@ class CloudPcOnPremisesConnectionHealthCheckErrorType extends Enum
const PERMISSION_CHECK_NO_RESOURCE_GROUP_NETWORK_CONTRIBUTOR_ROLE = "permissionCheckNoResourceGroupNetworkContributorRole";
const PERMISSION_CHECK_TRANSIENT_SERVICE_ERROR = "permissionCheckTransientServiceError";
const PERMISSION_CHECK_UNKNOWN_ERROR = "permissionCheckUnknownError";
const UDP_CONNECTIVITY_CHECK_STUN_URL_NOT_ALLOW_LISTED = "udpConnectivityCheckStunUrlNotAllowListed";
const UDP_CONNECTIVITY_CHECK_UNKNOWN_ERROR = "udpConnectivityCheckUnknownError";
const INTERNAL_SERVER_ERROR_DEPLOYMENT_CANCELED = "internalServerErrorDeploymentCanceled";
const INTERNAL_SERVER_ERROR_ALLOCATE_RESOURCE_FAILED = "internalServerErrorAllocateResourceFailed";
const INTERNAL_SERVER_ERROR_VM_DEPLOYMENT_TIMEOUT = "internalServerErrorVMDeploymentTimeout";

View File

@ -0,0 +1,140 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcPartnerAgentInstallResult 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;
/**
* CloudPcPartnerAgentInstallResult 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 CloudPcPartnerAgentInstallResult extends Entity
{
/**
* Gets the installStatus
*
* @return CloudPcPartnerAgentInstallStatus|null The installStatus
*/
public function getInstallStatus()
{
if (array_key_exists("installStatus", $this->_propDict)) {
if (is_a($this->_propDict["installStatus"], "\Beta\Microsoft\Graph\Model\CloudPcPartnerAgentInstallStatus") || is_null($this->_propDict["installStatus"])) {
return $this->_propDict["installStatus"];
} else {
$this->_propDict["installStatus"] = new CloudPcPartnerAgentInstallStatus($this->_propDict["installStatus"]);
return $this->_propDict["installStatus"];
}
}
return null;
}
/**
* Sets the installStatus
*
* @param CloudPcPartnerAgentInstallStatus $val The value to assign to the installStatus
*
* @return CloudPcPartnerAgentInstallResult The CloudPcPartnerAgentInstallResult
*/
public function setInstallStatus($val)
{
$this->_propDict["installStatus"] = $val;
return $this;
}
/**
* Gets the isThirdPartyPartner
*
* @return bool|null The isThirdPartyPartner
*/
public function getIsThirdPartyPartner()
{
if (array_key_exists("isThirdPartyPartner", $this->_propDict)) {
return $this->_propDict["isThirdPartyPartner"];
} else {
return null;
}
}
/**
* Sets the isThirdPartyPartner
*
* @param bool $val The value of the isThirdPartyPartner
*
* @return CloudPcPartnerAgentInstallResult
*/
public function setIsThirdPartyPartner($val)
{
$this->_propDict["isThirdPartyPartner"] = $val;
return $this;
}
/**
* Gets the partnerAgentName
*
* @return CloudPcPartnerAgentName|null The partnerAgentName
*/
public function getPartnerAgentName()
{
if (array_key_exists("partnerAgentName", $this->_propDict)) {
if (is_a($this->_propDict["partnerAgentName"], "\Beta\Microsoft\Graph\Model\CloudPcPartnerAgentName") || is_null($this->_propDict["partnerAgentName"])) {
return $this->_propDict["partnerAgentName"];
} else {
$this->_propDict["partnerAgentName"] = new CloudPcPartnerAgentName($this->_propDict["partnerAgentName"]);
return $this->_propDict["partnerAgentName"];
}
}
return null;
}
/**
* Sets the partnerAgentName
*
* @param CloudPcPartnerAgentName $val The value to assign to the partnerAgentName
*
* @return CloudPcPartnerAgentInstallResult The CloudPcPartnerAgentInstallResult
*/
public function setPartnerAgentName($val)
{
$this->_propDict["partnerAgentName"] = $val;
return $this;
}
/**
* Gets the retriable
*
* @return bool|null The retriable
*/
public function getRetriable()
{
if (array_key_exists("retriable", $this->_propDict)) {
return $this->_propDict["retriable"];
} else {
return null;
}
}
/**
* Sets the retriable
*
* @param bool $val The value of the retriable
*
* @return CloudPcPartnerAgentInstallResult
*/
public function setRetriable($val)
{
$this->_propDict["retriable"] = $val;
return $this;
}
}

View File

@ -0,0 +1,39 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcPartnerAgentInstallStatus 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;
/**
* CloudPcPartnerAgentInstallStatus 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 CloudPcPartnerAgentInstallStatus extends Enum
{
/**
* The Enum CloudPcPartnerAgentInstallStatus
*/
const INSTALLED = "installed";
const INSTALL_FAILED = "installFailed";
const INSTALLING = "installing";
const UNINSTALLING = "uninstalling";
const UNINSTALL_FAILED = "uninstallFailed";
const LICENSED = "licensed";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

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.
*
* CloudPcPartnerAgentName 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;
/**
* CloudPcPartnerAgentName 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 CloudPcPartnerAgentName extends Enum
{
/**
* The Enum CloudPcPartnerAgentName
*/
const CITRIX = "citrix";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,53 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcRegionGroup 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;
/**
* CloudPcRegionGroup 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 CloudPcRegionGroup extends Enum
{
/**
* The Enum CloudPcRegionGroup
*/
const GRAPHDEFAULT = "default";
const AUSTRALIA = "australia";
const CANADA = "canada";
const US_CENTRAL = "usCentral";
const US_EAST = "usEast";
const US_WEST = "usWest";
const FRANCE = "france";
const GERMANY = "germany";
const EUROPE_UNION = "europeUnion";
const UNITED_KINGDOM = "unitedKingdom";
const JAPAN = "japan";
const ASIA = "asia";
const INDIA = "india";
const SOUTH_AMERICA = "southAmerica";
const EUAP = "euap";
const US_GOVERNMENT = "usGovernment";
const US_GOVERNMENT_DOD = "usGovernmentDOD";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const NORWAY = "norway";
const SWITZERLAND = "switzerland";
const SOUTH_KOREA = "southKorea";
}

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.
*
* CloudPcRemoteActionCapability 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;
/**
* CloudPcRemoteActionCapability 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 CloudPcRemoteActionCapability extends Entity
{
/**
* Gets the actionCapability
*
* @return ActionCapability|null The actionCapability
*/
public function getActionCapability()
{
if (array_key_exists("actionCapability", $this->_propDict)) {
if (is_a($this->_propDict["actionCapability"], "\Beta\Microsoft\Graph\Model\ActionCapability") || is_null($this->_propDict["actionCapability"])) {
return $this->_propDict["actionCapability"];
} else {
$this->_propDict["actionCapability"] = new ActionCapability($this->_propDict["actionCapability"]);
return $this->_propDict["actionCapability"];
}
}
return null;
}
/**
* Sets the actionCapability
*
* @param ActionCapability $val The value to assign to the actionCapability
*
* @return CloudPcRemoteActionCapability The CloudPcRemoteActionCapability
*/
public function setActionCapability($val)
{
$this->_propDict["actionCapability"] = $val;
return $this;
}
/**
* Gets the actionName
*
* @return CloudPcRemoteActionName|null The actionName
*/
public function getActionName()
{
if (array_key_exists("actionName", $this->_propDict)) {
if (is_a($this->_propDict["actionName"], "\Beta\Microsoft\Graph\Model\CloudPcRemoteActionName") || is_null($this->_propDict["actionName"])) {
return $this->_propDict["actionName"];
} else {
$this->_propDict["actionName"] = new CloudPcRemoteActionName($this->_propDict["actionName"]);
return $this->_propDict["actionName"];
}
}
return null;
}
/**
* Sets the actionName
*
* @param CloudPcRemoteActionName $val The value to assign to the actionName
*
* @return CloudPcRemoteActionCapability The CloudPcRemoteActionCapability
*/
public function setActionName($val)
{
$this->_propDict["actionName"] = $val;
return $this;
}
}

View File

@ -0,0 +1,42 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcRemoteActionName 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;
/**
* CloudPcRemoteActionName 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 CloudPcRemoteActionName extends Enum
{
/**
* The Enum CloudPcRemoteActionName
*/
const UNKNOWN = "unknown";
const RESTART = "restart";
const RENAME = "rename";
const RESIZE = "resize";
const RESTORE = "restore";
const REPROVISION = "reprovision";
const CHANGE_USER_ACCOUNT_TYPE = "changeUserAccountType";
const TROUBLESHOOT = "troubleshoot";
const PLACE_UNDER_REVIEW = "placeUnderReview";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -53,6 +53,37 @@ class CloudPcSupportedRegion extends Entity
return $this;
}
/**
* Gets the regionGroup
*
* @return CloudPcRegionGroup|null The regionGroup
*/
public function getRegionGroup()
{
if (array_key_exists("regionGroup", $this->_propDict)) {
if (is_a($this->_propDict["regionGroup"], "\Beta\Microsoft\Graph\Model\CloudPcRegionGroup") || is_null($this->_propDict["regionGroup"])) {
return $this->_propDict["regionGroup"];
} else {
$this->_propDict["regionGroup"] = new CloudPcRegionGroup($this->_propDict["regionGroup"]);
return $this->_propDict["regionGroup"];
}
}
return null;
}
/**
* Sets the regionGroup
*
* @param CloudPcRegionGroup $val The regionGroup
*
* @return CloudPcSupportedRegion
*/
public function setRegionGroup($val)
{
$this->_propDict["regionGroup"] = $val;
return $this;
}
/**
* Gets the regionStatus
* The status of the supported region. Possible values are: available, restricted, unavailable, unknownFutureValue. Read-only.

View File

@ -0,0 +1,162 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CorsConfiguration_v2 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;
/**
* CorsConfiguration_v2 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 CorsConfiguration_v2 extends Entity
{
/**
* Gets the allowedHeaders
*
* @return array|null The allowedHeaders
*/
public function getAllowedHeaders()
{
if (array_key_exists("allowedHeaders", $this->_propDict)) {
return $this->_propDict["allowedHeaders"];
} else {
return null;
}
}
/**
* Sets the allowedHeaders
*
* @param string[] $val The allowedHeaders
*
* @return CorsConfiguration_v2
*/
public function setAllowedHeaders($val)
{
$this->_propDict["allowedHeaders"] = $val;
return $this;
}
/**
* Gets the allowedMethods
*
* @return array|null The allowedMethods
*/
public function getAllowedMethods()
{
if (array_key_exists("allowedMethods", $this->_propDict)) {
return $this->_propDict["allowedMethods"];
} else {
return null;
}
}
/**
* Sets the allowedMethods
*
* @param string[] $val The allowedMethods
*
* @return CorsConfiguration_v2
*/
public function setAllowedMethods($val)
{
$this->_propDict["allowedMethods"] = $val;
return $this;
}
/**
* Gets the allowedOrigins
*
* @return array|null The allowedOrigins
*/
public function getAllowedOrigins()
{
if (array_key_exists("allowedOrigins", $this->_propDict)) {
return $this->_propDict["allowedOrigins"];
} else {
return null;
}
}
/**
* Sets the allowedOrigins
*
* @param string[] $val The allowedOrigins
*
* @return CorsConfiguration_v2
*/
public function setAllowedOrigins($val)
{
$this->_propDict["allowedOrigins"] = $val;
return $this;
}
/**
* Gets the maxAgeInSeconds
*
* @return int|null The maxAgeInSeconds
*/
public function getMaxAgeInSeconds()
{
if (array_key_exists("maxAgeInSeconds", $this->_propDict)) {
return $this->_propDict["maxAgeInSeconds"];
} else {
return null;
}
}
/**
* Sets the maxAgeInSeconds
*
* @param int $val The maxAgeInSeconds
*
* @return CorsConfiguration_v2
*/
public function setMaxAgeInSeconds($val)
{
$this->_propDict["maxAgeInSeconds"] = intval($val);
return $this;
}
/**
* Gets the resource
*
* @return string|null The resource
*/
public function getResource()
{
if (array_key_exists("resource", $this->_propDict)) {
return $this->_propDict["resource"];
} else {
return null;
}
}
/**
* Sets the resource
*
* @param string $val The resource
*
* @return CorsConfiguration_v2
*/
public function setResource($val)
{
$this->_propDict["resource"] = $val;
return $this;
}
}

View File

@ -120,7 +120,7 @@ class DeviceManagementConfigurationSettingApplicability extends Entity
/**
* Gets the technologies
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue.
*
* @return DeviceManagementConfigurationTechnologies|null The technologies
*/
@ -139,7 +139,7 @@ class DeviceManagementConfigurationSettingApplicability extends Entity
/**
* Sets the technologies
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue.
*
* @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies
*

View File

@ -142,7 +142,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
}
/**
* Gets the maximumLength
* Maximum length of string
* Maximum length of string. Valid values 0 to 87516
*
* @return int|null The maximumLength
*/
@ -157,7 +157,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
/**
* Sets the maximumLength
* Maximum length of string
* Maximum length of string. Valid values 0 to 87516
*
* @param int $val The value of the maximumLength
*
@ -170,7 +170,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
}
/**
* Gets the minimumLength
* Minimum length of string
* Minimum length of string. Valid values 0 to 87516
*
* @return int|null The minimumLength
*/
@ -185,7 +185,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
/**
* Sets the minimumLength
* Minimum length of string
* Minimum length of string. Valid values 0 to 87516
*
* @param int $val The value of the minimumLength
*

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.
*
* IdentityProviderState 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;
/**
* IdentityProviderState 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 IdentityProviderState extends Enum
{
/**
* The Enum IdentityProviderState
*/
const ENABLED = "enabled";
const DISABLED = "disabled";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,81 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IpApplicationSegment 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;
/**
* IpApplicationSegment 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 IpApplicationSegment extends ApplicationSegment
{
/**
* Gets the destinationHost
*
* @return string|null The destinationHost
*/
public function getDestinationHost()
{
if (array_key_exists("destinationHost", $this->_propDict)) {
return $this->_propDict["destinationHost"];
} else {
return null;
}
}
/**
* Sets the destinationHost
*
* @param string $val The destinationHost
*
* @return IpApplicationSegment
*/
public function setDestinationHost($val)
{
$this->_propDict["destinationHost"] = $val;
return $this;
}
/**
* Gets the port
*
* @return int|null The port
*/
public function getPort()
{
if (array_key_exists("port", $this->_propDict)) {
return $this->_propDict["port"];
} else {
return null;
}
}
/**
* Sets the port
*
* @param int $val The port
*
* @return IpApplicationSegment
*/
public function setPort($val)
{
$this->_propDict["port"] = intval($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.
*
* IpSegmentConfiguration 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;
/**
* IpSegmentConfiguration 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 IpSegmentConfiguration extends SegmentConfiguration
{
/**
* Gets the applicationSegments
*
* @return IpApplicationSegment|null The applicationSegments
*/
public function getApplicationSegments()
{
if (array_key_exists("applicationSegments", $this->_propDict)) {
if (is_a($this->_propDict["applicationSegments"], "\Beta\Microsoft\Graph\Model\IpApplicationSegment") || is_null($this->_propDict["applicationSegments"])) {
return $this->_propDict["applicationSegments"];
} else {
$this->_propDict["applicationSegments"] = new IpApplicationSegment($this->_propDict["applicationSegments"]);
return $this->_propDict["applicationSegments"];
}
}
return null;
}
/**
* Sets the applicationSegments
*
* @param IpApplicationSegment $val The value to assign to the applicationSegments
*
* @return IpSegmentConfiguration The IpSegmentConfiguration
*/
public function setApplicationSegments($val)
{
$this->_propDict["applicationSegments"] = $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.
*
* LayoutTemplateType 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;
/**
* LayoutTemplateType 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 LayoutTemplateType extends Enum
{
/**
* The Enum LayoutTemplateType
*/
const GRAPHDEFAULT = "default";
const VERTICAL_SPLIT = "verticalSplit";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -1,143 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* LinkedResource_v2 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;
/**
* LinkedResource_v2 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 LinkedResource_v2 extends Entity
{
/**
* Gets the applicationName
* Field indicating the app name of the source that is sending the linkedResource.
*
* @return string|null The applicationName
*/
public function getApplicationName()
{
if (array_key_exists("applicationName", $this->_propDict)) {
return $this->_propDict["applicationName"];
} else {
return null;
}
}
/**
* Sets the applicationName
* Field indicating the app name of the source that is sending the linkedResource.
*
* @param string $val The applicationName
*
* @return LinkedResource_v2
*/
public function setApplicationName($val)
{
$this->_propDict["applicationName"] = $val;
return $this;
}
/**
* Gets the displayName
* Field indicating the title of the linkedResource.
*
* @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
* Field indicating the title of the linkedResource.
*
* @param string $val The displayName
*
* @return LinkedResource_v2
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the externalId
* Id of the object that is associated with this task on the third-party/partner system.
*
* @return string|null The externalId
*/
public function getExternalId()
{
if (array_key_exists("externalId", $this->_propDict)) {
return $this->_propDict["externalId"];
} else {
return null;
}
}
/**
* Sets the externalId
* Id of the object that is associated with this task on the third-party/partner system.
*
* @param string $val The externalId
*
* @return LinkedResource_v2
*/
public function setExternalId($val)
{
$this->_propDict["externalId"] = $val;
return $this;
}
/**
* Gets the webUrl
* Deep link to the linkedResource.
*
* @return string|null The webUrl
*/
public function getWebUrl()
{
if (array_key_exists("webUrl", $this->_propDict)) {
return $this->_propDict["webUrl"];
} else {
return null;
}
}
/**
* Sets the webUrl
* Deep link to the linkedResource.
*
* @param string $val The webUrl
*
* @return LinkedResource_v2
*/
public function setWebUrl($val)
{
$this->_propDict["webUrl"] = $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.
*
* LoginPageLayoutConfiguration 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;
/**
* LoginPageLayoutConfiguration 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 LoginPageLayoutConfiguration extends Entity
{
/**
* Gets the isFooterShown
*
* @return bool|null The isFooterShown
*/
public function getIsFooterShown()
{
if (array_key_exists("isFooterShown", $this->_propDict)) {
return $this->_propDict["isFooterShown"];
} else {
return null;
}
}
/**
* Sets the isFooterShown
*
* @param bool $val The value of the isFooterShown
*
* @return LoginPageLayoutConfiguration
*/
public function setIsFooterShown($val)
{
$this->_propDict["isFooterShown"] = $val;
return $this;
}
/**
* Gets the isHeaderShown
*
* @return bool|null The isHeaderShown
*/
public function getIsHeaderShown()
{
if (array_key_exists("isHeaderShown", $this->_propDict)) {
return $this->_propDict["isHeaderShown"];
} else {
return null;
}
}
/**
* Sets the isHeaderShown
*
* @param bool $val The value of the isHeaderShown
*
* @return LoginPageLayoutConfiguration
*/
public function setIsHeaderShown($val)
{
$this->_propDict["isHeaderShown"] = $val;
return $this;
}
/**
* Gets the layoutTemplateType
*
* @return LayoutTemplateType|null The layoutTemplateType
*/
public function getLayoutTemplateType()
{
if (array_key_exists("layoutTemplateType", $this->_propDict)) {
if (is_a($this->_propDict["layoutTemplateType"], "\Beta\Microsoft\Graph\Model\LayoutTemplateType") || is_null($this->_propDict["layoutTemplateType"])) {
return $this->_propDict["layoutTemplateType"];
} else {
$this->_propDict["layoutTemplateType"] = new LayoutTemplateType($this->_propDict["layoutTemplateType"]);
return $this->_propDict["layoutTemplateType"];
}
}
return null;
}
/**
* Sets the layoutTemplateType
*
* @param LayoutTemplateType $val The value to assign to the layoutTemplateType
*
* @return LoginPageLayoutConfiguration The LoginPageLayoutConfiguration
*/
public function setLayoutTemplateType($val)
{
$this->_propDict["layoutTemplateType"] = $val;
return $this;
}
}

View File

@ -454,6 +454,37 @@ class OnPremisesPublishing extends Entity
return $this;
}
/**
* Gets the segmentsConfiguration
*
* @return SegmentConfiguration|null The segmentsConfiguration
*/
public function getSegmentsConfiguration()
{
if (array_key_exists("segmentsConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["segmentsConfiguration"], "\Beta\Microsoft\Graph\Model\SegmentConfiguration") || is_null($this->_propDict["segmentsConfiguration"])) {
return $this->_propDict["segmentsConfiguration"];
} else {
$this->_propDict["segmentsConfiguration"] = new SegmentConfiguration($this->_propDict["segmentsConfiguration"]);
return $this->_propDict["segmentsConfiguration"];
}
}
return null;
}
/**
* Sets the segmentsConfiguration
*
* @param SegmentConfiguration $val The value to assign to the segmentsConfiguration
*
* @return OnPremisesPublishing The OnPremisesPublishing
*/
public function setSegmentsConfiguration($val)
{
$this->_propDict["segmentsConfiguration"] = $val;
return $this;
}
/**
* Gets the singleSignOnSettings
* Represents the single sign-on configuration for the on-premises application.

View File

@ -57,6 +57,33 @@ class OnPremisesPublishingProfile extends Entity
return $this;
}
/**
* Gets the isDefaultAccessEnabled
*
* @return bool|null The isDefaultAccessEnabled
*/
public function getIsDefaultAccessEnabled()
{
if (array_key_exists("isDefaultAccessEnabled", $this->_propDict)) {
return $this->_propDict["isDefaultAccessEnabled"];
} else {
return null;
}
}
/**
* Sets the isDefaultAccessEnabled
*
* @param bool $val The isDefaultAccessEnabled
*
* @return OnPremisesPublishingProfile
*/
public function setIsDefaultAccessEnabled($val)
{
$this->_propDict["isDefaultAccessEnabled"] = boolval($val);
return $this;
}
/**
* Gets the isEnabled
* Represents if Azure AD Application Proxy is enabled for the tenant.

View File

@ -293,6 +293,64 @@ class OrganizationalBrandingProperties extends Entity
return $this;
}
/**
* Gets the customCSS
*
* @return \GuzzleHttp\Psr7\Stream|null The customCSS
*/
public function getCustomCSS()
{
if (array_key_exists("customCSS", $this->_propDict)) {
if (is_a($this->_propDict["customCSS"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["customCSS"])) {
return $this->_propDict["customCSS"];
} else {
$this->_propDict["customCSS"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["customCSS"]);
return $this->_propDict["customCSS"];
}
}
return null;
}
/**
* Sets the customCSS
*
* @param \GuzzleHttp\Psr7\Stream $val The customCSS
*
* @return OrganizationalBrandingProperties
*/
public function setCustomCSS($val)
{
$this->_propDict["customCSS"] = $val;
return $this;
}
/**
* Gets the customCSSRelativeUrl
*
* @return string|null The customCSSRelativeUrl
*/
public function getCustomCSSRelativeUrl()
{
if (array_key_exists("customCSSRelativeUrl", $this->_propDict)) {
return $this->_propDict["customCSSRelativeUrl"];
} else {
return null;
}
}
/**
* Sets the customCSSRelativeUrl
*
* @param string $val The customCSSRelativeUrl
*
* @return OrganizationalBrandingProperties
*/
public function setCustomCSSRelativeUrl($val)
{
$this->_propDict["customCSSRelativeUrl"] = $val;
return $this;
}
/**
* Gets the customForgotMyPasswordText
* A string to replace the default 'Forgot my password' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters.
@ -558,6 +616,95 @@ class OrganizationalBrandingProperties extends Entity
return $this;
}
/**
* Gets the headerLogo
*
* @return \GuzzleHttp\Psr7\Stream|null The headerLogo
*/
public function getHeaderLogo()
{
if (array_key_exists("headerLogo", $this->_propDict)) {
if (is_a($this->_propDict["headerLogo"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["headerLogo"])) {
return $this->_propDict["headerLogo"];
} else {
$this->_propDict["headerLogo"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["headerLogo"]);
return $this->_propDict["headerLogo"];
}
}
return null;
}
/**
* Sets the headerLogo
*
* @param \GuzzleHttp\Psr7\Stream $val The headerLogo
*
* @return OrganizationalBrandingProperties
*/
public function setHeaderLogo($val)
{
$this->_propDict["headerLogo"] = $val;
return $this;
}
/**
* Gets the headerLogoRelativeUrl
*
* @return string|null The headerLogoRelativeUrl
*/
public function getHeaderLogoRelativeUrl()
{
if (array_key_exists("headerLogoRelativeUrl", $this->_propDict)) {
return $this->_propDict["headerLogoRelativeUrl"];
} else {
return null;
}
}
/**
* Sets the headerLogoRelativeUrl
*
* @param string $val The headerLogoRelativeUrl
*
* @return OrganizationalBrandingProperties
*/
public function setHeaderLogoRelativeUrl($val)
{
$this->_propDict["headerLogoRelativeUrl"] = $val;
return $this;
}
/**
* Gets the loginPageLayoutConfiguration
*
* @return LoginPageLayoutConfiguration|null The loginPageLayoutConfiguration
*/
public function getLoginPageLayoutConfiguration()
{
if (array_key_exists("loginPageLayoutConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["loginPageLayoutConfiguration"], "\Beta\Microsoft\Graph\Model\LoginPageLayoutConfiguration") || is_null($this->_propDict["loginPageLayoutConfiguration"])) {
return $this->_propDict["loginPageLayoutConfiguration"];
} else {
$this->_propDict["loginPageLayoutConfiguration"] = new LoginPageLayoutConfiguration($this->_propDict["loginPageLayoutConfiguration"]);
return $this->_propDict["loginPageLayoutConfiguration"];
}
}
return null;
}
/**
* Sets the loginPageLayoutConfiguration
*
* @param LoginPageLayoutConfiguration $val The loginPageLayoutConfiguration
*
* @return OrganizationalBrandingProperties
*/
public function setLoginPageLayoutConfiguration($val)
{
$this->_propDict["loginPageLayoutConfiguration"] = $val;
return $this;
}
/**
* Gets the loginPageTextVisibilitySettings
* Represents the various texts that can be hidden on the login page for a tenant.

View File

@ -24,6 +24,37 @@ namespace Beta\Microsoft\Graph\Model;
*/
class PlannerBucket extends PlannerDelta
{
/**
* Gets the creationSource
*
* @return PlannerBucketCreation|null The creationSource
*/
public function getCreationSource()
{
if (array_key_exists("creationSource", $this->_propDict)) {
if (is_a($this->_propDict["creationSource"], "\Beta\Microsoft\Graph\Model\PlannerBucketCreation") || is_null($this->_propDict["creationSource"])) {
return $this->_propDict["creationSource"];
} else {
$this->_propDict["creationSource"] = new PlannerBucketCreation($this->_propDict["creationSource"]);
return $this->_propDict["creationSource"];
}
}
return null;
}
/**
* Sets the creationSource
*
* @param PlannerBucketCreation $val The creationSource
*
* @return PlannerBucket
*/
public function setCreationSource($val)
{
$this->_propDict["creationSource"] = $val;
return $this;
}
/**
* Gets the name
* Name of the bucket.

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.
*
* PlannerBucketCreation 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;
/**
* PlannerBucketCreation 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 PlannerBucketCreation extends Entity
{
/**
* Gets the creationSourceKind
*
* @return PlannerCreationSourceKind|null The creationSourceKind
*/
public function getCreationSourceKind()
{
if (array_key_exists("creationSourceKind", $this->_propDict)) {
if (is_a($this->_propDict["creationSourceKind"], "\Beta\Microsoft\Graph\Model\PlannerCreationSourceKind") || is_null($this->_propDict["creationSourceKind"])) {
return $this->_propDict["creationSourceKind"];
} else {
$this->_propDict["creationSourceKind"] = new PlannerCreationSourceKind($this->_propDict["creationSourceKind"]);
return $this->_propDict["creationSourceKind"];
}
}
return null;
}
/**
* Sets the creationSourceKind
*
* @param PlannerCreationSourceKind $val The value to assign to the creationSourceKind
*
* @return PlannerBucketCreation The PlannerBucketCreation
*/
public function setCreationSourceKind($val)
{
$this->_propDict["creationSourceKind"] = $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.
*
* PlannerBucketPropertyRule 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;
/**
* PlannerBucketPropertyRule 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 PlannerBucketPropertyRule extends PlannerPropertyRule
{
/**
* Gets the order
*
* @return string|null The order
*/
public function getOrder()
{
if (array_key_exists("order", $this->_propDict)) {
return $this->_propDict["order"];
} else {
return null;
}
}
/**
* Sets the order
*
* @param string $val The value of the order
*
* @return PlannerBucketPropertyRule
*/
public function setOrder($val)
{
$this->_propDict["order"] = $val;
return $this;
}
/**
* Gets the title
*
* @return string|null The title
*/
public function getTitle()
{
if (array_key_exists("title", $this->_propDict)) {
return $this->_propDict["title"];
} else {
return null;
}
}
/**
* Sets the title
*
* @param string $val The value of the title
*
* @return PlannerBucketPropertyRule
*/
public function setTitle($val)
{
$this->_propDict["title"] = $val;
return $this;
}
}

View File

@ -2,7 +2,7 @@
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WellKnownListName_v2 File
* PlannerCreationSourceKind File
* PHP version 7
*
* @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum;
/**
* WellKnownListName_v2 class
* PlannerCreationSourceKind class
*
* @category Model
* @package Microsoft.Graph
@ -24,13 +24,13 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class WellKnownListName_v2 extends Enum
class PlannerCreationSourceKind extends Enum
{
/**
* The Enum WellKnownListName_v2
* The Enum PlannerCreationSourceKind
*/
const NONE = "none";
const DEFAULT_LIST = "defaultList";
const FLAGGED_EMAILS = "flaggedEmails";
const EXTERNAL = "external";
const PUBLICATION = "publication";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,115 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerExternalBucketSource 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;
/**
* PlannerExternalBucketSource 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 PlannerExternalBucketSource extends PlannerBucketCreation
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.plannerExternalBucketSource");
}
/**
* Gets the contextScenarioId
*
* @return string|null The contextScenarioId
*/
public function getContextScenarioId()
{
if (array_key_exists("contextScenarioId", $this->_propDict)) {
return $this->_propDict["contextScenarioId"];
} else {
return null;
}
}
/**
* Sets the contextScenarioId
*
* @param string $val The value of the contextScenarioId
*
* @return PlannerExternalBucketSource
*/
public function setContextScenarioId($val)
{
$this->_propDict["contextScenarioId"] = $val;
return $this;
}
/**
* Gets the externalContextId
*
* @return string|null The externalContextId
*/
public function getExternalContextId()
{
if (array_key_exists("externalContextId", $this->_propDict)) {
return $this->_propDict["externalContextId"];
} else {
return null;
}
}
/**
* Sets the externalContextId
*
* @param string $val The value of the externalContextId
*
* @return PlannerExternalBucketSource
*/
public function setExternalContextId($val)
{
$this->_propDict["externalContextId"] = $val;
return $this;
}
/**
* Gets the externalObjectId
*
* @return string|null The externalObjectId
*/
public function getExternalObjectId()
{
if (array_key_exists("externalObjectId", $this->_propDict)) {
return $this->_propDict["externalObjectId"];
} else {
return null;
}
}
/**
* Sets the externalObjectId
*
* @param string $val The value of the externalObjectId
*
* @return PlannerExternalBucketSource
*/
public function setExternalObjectId($val)
{
$this->_propDict["externalObjectId"] = $val;
return $this;
}
}

View File

@ -0,0 +1,115 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerExternalPlanSource 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;
/**
* PlannerExternalPlanSource 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 PlannerExternalPlanSource extends PlannerPlanCreation
{
/**
* Set the @odata.type since this type is immediately descended from an abstract
* type that is referenced as the type in an entity.
* @param array $propDict The property dictionary
*/
public function __construct($propDict = array())
{
parent::__construct($propDict);
$this->setODataType("#microsoft.graph.plannerExternalPlanSource");
}
/**
* Gets the contextScenarioId
*
* @return string|null The contextScenarioId
*/
public function getContextScenarioId()
{
if (array_key_exists("contextScenarioId", $this->_propDict)) {
return $this->_propDict["contextScenarioId"];
} else {
return null;
}
}
/**
* Sets the contextScenarioId
*
* @param string $val The value of the contextScenarioId
*
* @return PlannerExternalPlanSource
*/
public function setContextScenarioId($val)
{
$this->_propDict["contextScenarioId"] = $val;
return $this;
}
/**
* Gets the externalContextId
*
* @return string|null The externalContextId
*/
public function getExternalContextId()
{
if (array_key_exists("externalContextId", $this->_propDict)) {
return $this->_propDict["externalContextId"];
} else {
return null;
}
}
/**
* Sets the externalContextId
*
* @param string $val The value of the externalContextId
*
* @return PlannerExternalPlanSource
*/
public function setExternalContextId($val)
{
$this->_propDict["externalContextId"] = $val;
return $this;
}
/**
* Gets the externalObjectId
*
* @return string|null The externalObjectId
*/
public function getExternalObjectId()
{
if (array_key_exists("externalObjectId", $this->_propDict)) {
return $this->_propDict["externalObjectId"];
} else {
return null;
}
}
/**
* Sets the externalObjectId
*
* @param string $val The value of the externalObjectId
*
* @return PlannerExternalPlanSource
*/
public function setExternalObjectId($val)
{
$this->_propDict["externalObjectId"] = $val;
return $this;
}
}

View File

@ -0,0 +1,213 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerExternalTaskSource 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;
/**
* PlannerExternalTaskSource 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 PlannerExternalTaskSource extends PlannerTaskCreation
{
/**
* Gets the contextScenarioId
*
* @return string|null The contextScenarioId
*/
public function getContextScenarioId()
{
if (array_key_exists("contextScenarioId", $this->_propDict)) {
return $this->_propDict["contextScenarioId"];
} else {
return null;
}
}
/**
* Sets the contextScenarioId
*
* @param string $val The value of the contextScenarioId
*
* @return PlannerExternalTaskSource
*/
public function setContextScenarioId($val)
{
$this->_propDict["contextScenarioId"] = $val;
return $this;
}
/**
* Gets the displayLinkType
*
* @return PlannerExternalTaskSourceDisplayType|null The displayLinkType
*/
public function getDisplayLinkType()
{
if (array_key_exists("displayLinkType", $this->_propDict)) {
if (is_a($this->_propDict["displayLinkType"], "\Beta\Microsoft\Graph\Model\PlannerExternalTaskSourceDisplayType") || is_null($this->_propDict["displayLinkType"])) {
return $this->_propDict["displayLinkType"];
} else {
$this->_propDict["displayLinkType"] = new PlannerExternalTaskSourceDisplayType($this->_propDict["displayLinkType"]);
return $this->_propDict["displayLinkType"];
}
}
return null;
}
/**
* Sets the displayLinkType
*
* @param PlannerExternalTaskSourceDisplayType $val The value to assign to the displayLinkType
*
* @return PlannerExternalTaskSource The PlannerExternalTaskSource
*/
public function setDisplayLinkType($val)
{
$this->_propDict["displayLinkType"] = $val;
return $this;
}
/**
* Gets the displayNameSegments
*
* @return string|null The displayNameSegments
*/
public function getDisplayNameSegments()
{
if (array_key_exists("displayNameSegments", $this->_propDict)) {
return $this->_propDict["displayNameSegments"];
} else {
return null;
}
}
/**
* Sets the displayNameSegments
*
* @param string $val The value of the displayNameSegments
*
* @return PlannerExternalTaskSource
*/
public function setDisplayNameSegments($val)
{
$this->_propDict["displayNameSegments"] = $val;
return $this;
}
/**
* Gets the externalContextId
*
* @return string|null The externalContextId
*/
public function getExternalContextId()
{
if (array_key_exists("externalContextId", $this->_propDict)) {
return $this->_propDict["externalContextId"];
} else {
return null;
}
}
/**
* Sets the externalContextId
*
* @param string $val The value of the externalContextId
*
* @return PlannerExternalTaskSource
*/
public function setExternalContextId($val)
{
$this->_propDict["externalContextId"] = $val;
return $this;
}
/**
* Gets the externalObjectId
*
* @return string|null The externalObjectId
*/
public function getExternalObjectId()
{
if (array_key_exists("externalObjectId", $this->_propDict)) {
return $this->_propDict["externalObjectId"];
} else {
return null;
}
}
/**
* Sets the externalObjectId
*
* @param string $val The value of the externalObjectId
*
* @return PlannerExternalTaskSource
*/
public function setExternalObjectId($val)
{
$this->_propDict["externalObjectId"] = $val;
return $this;
}
/**
* Gets the externalObjectVersion
*
* @return string|null The externalObjectVersion
*/
public function getExternalObjectVersion()
{
if (array_key_exists("externalObjectVersion", $this->_propDict)) {
return $this->_propDict["externalObjectVersion"];
} else {
return null;
}
}
/**
* Sets the externalObjectVersion
*
* @param string $val The value of the externalObjectVersion
*
* @return PlannerExternalTaskSource
*/
public function setExternalObjectVersion($val)
{
$this->_propDict["externalObjectVersion"] = $val;
return $this;
}
/**
* Gets the webUrl
*
* @return string|null The webUrl
*/
public function getWebUrl()
{
if (array_key_exists("webUrl", $this->_propDict)) {
return $this->_propDict["webUrl"];
} else {
return null;
}
}
/**
* Sets the webUrl
*
* @param string $val The value of the webUrl
*
* @return PlannerExternalTaskSource
*/
public function setWebUrl($val)
{
$this->_propDict["webUrl"] = $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.
*
* PlannerExternalTaskSourceDisplayType 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;
/**
* PlannerExternalTaskSourceDisplayType 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 PlannerExternalTaskSourceDisplayType extends Enum
{
/**
* The Enum PlannerExternalTaskSourceDisplayType
*/
const NONE = "none";
const GRAPHDEFAULT = "default";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,83 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerFieldRules 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;
/**
* PlannerFieldRules 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 PlannerFieldRules extends Entity
{
/**
* Gets the defaultRules
*
* @return string|null The defaultRules
*/
public function getDefaultRules()
{
if (array_key_exists("defaultRules", $this->_propDict)) {
return $this->_propDict["defaultRules"];
} else {
return null;
}
}
/**
* Sets the defaultRules
*
* @param string $val The value of the defaultRules
*
* @return PlannerFieldRules
*/
public function setDefaultRules($val)
{
$this->_propDict["defaultRules"] = $val;
return $this;
}
/**
* Gets the overrides
*
* @return PlannerRuleOverride|null The overrides
*/
public function getOverrides()
{
if (array_key_exists("overrides", $this->_propDict)) {
if (is_a($this->_propDict["overrides"], "\Beta\Microsoft\Graph\Model\PlannerRuleOverride") || is_null($this->_propDict["overrides"])) {
return $this->_propDict["overrides"];
} else {
$this->_propDict["overrides"] = new PlannerRuleOverride($this->_propDict["overrides"]);
return $this->_propDict["overrides"];
}
}
return null;
}
/**
* Sets the overrides
*
* @param PlannerRuleOverride $val The value to assign to the overrides
*
* @return PlannerFieldRules The PlannerFieldRules
*/
public function setOverrides($val)
{
$this->_propDict["overrides"] = $val;
return $this;
}
}

View File

@ -156,6 +156,37 @@ class PlannerPlan extends PlannerDelta
return $this;
}
/**
* Gets the creationSource
*
* @return PlannerPlanCreation|null The creationSource
*/
public function getCreationSource()
{
if (array_key_exists("creationSource", $this->_propDict)) {
if (is_a($this->_propDict["creationSource"], "\Beta\Microsoft\Graph\Model\PlannerPlanCreation") || is_null($this->_propDict["creationSource"])) {
return $this->_propDict["creationSource"];
} else {
$this->_propDict["creationSource"] = new PlannerPlanCreation($this->_propDict["creationSource"]);
return $this->_propDict["creationSource"];
}
}
return null;
}
/**
* Sets the creationSource
*
* @param PlannerPlanCreation $val The creationSource
*
* @return PlannerPlan
*/
public function setCreationSource($val)
{
$this->_propDict["creationSource"] = $val;
return $this;
}
/**
* Gets the owner
*

View File

@ -0,0 +1,234 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerPlanConfiguration 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;
/**
* PlannerPlanConfiguration 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 PlannerPlanConfiguration extends Entity
{
/**
* Gets the buckets
*
* @return array|null The buckets
*/
public function getBuckets()
{
if (array_key_exists("buckets", $this->_propDict)) {
return $this->_propDict["buckets"];
} else {
return null;
}
}
/**
* Sets the buckets
*
* @param PlannerPlanConfigurationBucketDefinition[] $val The buckets
*
* @return PlannerPlanConfiguration
*/
public function setBuckets($val)
{
$this->_propDict["buckets"] = $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"], "\Beta\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 PlannerPlanConfiguration
*/
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
}
/**
* Gets the createdDateTime
*
* @return \DateTime|null The createdDateTime
*/
public function getCreatedDateTime()
{
if (array_key_exists("createdDateTime", $this->_propDict)) {
if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) {
return $this->_propDict["createdDateTime"];
} else {
$this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]);
return $this->_propDict["createdDateTime"];
}
}
return null;
}
/**
* Sets the createdDateTime
*
* @param \DateTime $val The createdDateTime
*
* @return PlannerPlanConfiguration
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the defaultLanguage
*
* @return string|null The defaultLanguage
*/
public function getDefaultLanguage()
{
if (array_key_exists("defaultLanguage", $this->_propDict)) {
return $this->_propDict["defaultLanguage"];
} else {
return null;
}
}
/**
* Sets the defaultLanguage
*
* @param string $val The defaultLanguage
*
* @return PlannerPlanConfiguration
*/
public function setDefaultLanguage($val)
{
$this->_propDict["defaultLanguage"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
*
* @return IdentitySet|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
*
* @param IdentitySet $val The lastModifiedBy
*
* @return PlannerPlanConfiguration
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $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 PlannerPlanConfiguration
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the localizations
*
* @return array|null The localizations
*/
public function getLocalizations()
{
if (array_key_exists("localizations", $this->_propDict)) {
return $this->_propDict["localizations"];
} else {
return null;
}
}
/**
* Sets the localizations
*
* @param PlannerPlanConfigurationLocalization[] $val The localizations
*
* @return PlannerPlanConfiguration
*/
public function setLocalizations($val)
{
$this->_propDict["localizations"] = $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.
*
* PlannerPlanConfigurationBucketDefinition 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;
/**
* PlannerPlanConfigurationBucketDefinition 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 PlannerPlanConfigurationBucketDefinition extends Entity
{
/**
* Gets the externalBucketId
*
* @return string|null The externalBucketId
*/
public function getExternalBucketId()
{
if (array_key_exists("externalBucketId", $this->_propDict)) {
return $this->_propDict["externalBucketId"];
} else {
return null;
}
}
/**
* Sets the externalBucketId
*
* @param string $val The value of the externalBucketId
*
* @return PlannerPlanConfigurationBucketDefinition
*/
public function setExternalBucketId($val)
{
$this->_propDict["externalBucketId"] = $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.
*
* PlannerPlanConfigurationBucketLocalization 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;
/**
* PlannerPlanConfigurationBucketLocalization 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 PlannerPlanConfigurationBucketLocalization extends Entity
{
/**
* Gets the externalBucketId
*
* @return string|null The externalBucketId
*/
public function getExternalBucketId()
{
if (array_key_exists("externalBucketId", $this->_propDict)) {
return $this->_propDict["externalBucketId"];
} else {
return null;
}
}
/**
* Sets the externalBucketId
*
* @param string $val The value of the externalBucketId
*
* @return PlannerPlanConfigurationBucketLocalization
*/
public function setExternalBucketId($val)
{
$this->_propDict["externalBucketId"] = $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 value of the name
*
* @return PlannerPlanConfigurationBucketLocalization
*/
public function setName($val)
{
$this->_propDict["name"] = $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.
*
* PlannerPlanConfigurationLocalization 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;
/**
* PlannerPlanConfigurationLocalization 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 PlannerPlanConfigurationLocalization extends Entity
{
/**
* Gets the buckets
*
* @return array|null The buckets
*/
public function getBuckets()
{
if (array_key_exists("buckets", $this->_propDict)) {
return $this->_propDict["buckets"];
} else {
return null;
}
}
/**
* Sets the buckets
*
* @param PlannerPlanConfigurationBucketLocalization[] $val The buckets
*
* @return PlannerPlanConfigurationLocalization
*/
public function setBuckets($val)
{
$this->_propDict["buckets"] = $val;
return $this;
}
/**
* Gets the languageTag
*
* @return string|null The languageTag
*/
public function getLanguageTag()
{
if (array_key_exists("languageTag", $this->_propDict)) {
return $this->_propDict["languageTag"];
} else {
return null;
}
}
/**
* Sets the languageTag
*
* @param string $val The languageTag
*
* @return PlannerPlanConfigurationLocalization
*/
public function setLanguageTag($val)
{
$this->_propDict["languageTag"] = $val;
return $this;
}
/**
* Gets the planTitle
*
* @return string|null The planTitle
*/
public function getPlanTitle()
{
if (array_key_exists("planTitle", $this->_propDict)) {
return $this->_propDict["planTitle"];
} else {
return null;
}
}
/**
* Sets the planTitle
*
* @param string $val The planTitle
*
* @return PlannerPlanConfigurationLocalization
*/
public function setPlanTitle($val)
{
$this->_propDict["planTitle"] = $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.
*
* PlannerPlanCreation 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;
/**
* PlannerPlanCreation 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 PlannerPlanCreation extends Entity
{
/**
* Gets the creationSourceKind
*
* @return PlannerCreationSourceKind|null The creationSourceKind
*/
public function getCreationSourceKind()
{
if (array_key_exists("creationSourceKind", $this->_propDict)) {
if (is_a($this->_propDict["creationSourceKind"], "\Beta\Microsoft\Graph\Model\PlannerCreationSourceKind") || is_null($this->_propDict["creationSourceKind"])) {
return $this->_propDict["creationSourceKind"];
} else {
$this->_propDict["creationSourceKind"] = new PlannerCreationSourceKind($this->_propDict["creationSourceKind"]);
return $this->_propDict["creationSourceKind"];
}
}
return null;
}
/**
* Sets the creationSourceKind
*
* @param PlannerCreationSourceKind $val The value to assign to the creationSourceKind
*
* @return PlannerPlanCreation The PlannerPlanCreation
*/
public function setCreationSourceKind($val)
{
$this->_propDict["creationSourceKind"] = $val;
return $this;
}
}

View File

@ -26,7 +26,7 @@ class PlannerPlanDetails extends PlannerDelta
{
/**
* Gets the categoryDescriptions
* An object that specifies the descriptions of the 25 categories that can be associated with tasks in the plan
* An object that specifies the descriptions of the 25 categories that can be associated with tasks in the plan.
*
* @return PlannerCategoryDescriptions|null The categoryDescriptions
*/
@ -45,7 +45,7 @@ class PlannerPlanDetails extends PlannerDelta
/**
* Sets the categoryDescriptions
* An object that specifies the descriptions of the 25 categories that can be associated with tasks in the plan
* An object that specifies the descriptions of the 25 categories that can be associated with tasks in the plan.
*
* @param PlannerCategoryDescriptions $val The categoryDescriptions
*
@ -59,7 +59,7 @@ class PlannerPlanDetails extends PlannerDelta
/**
* Gets the contextDetails
* Read-only. A collection of additional information associated with plannerPlanContext entries that are defined for the plannerPlan container.
* A collection of additional information associated with plannerPlanContext entries that are defined for the plannerPlan container. Read-only.
*
* @return PlannerPlanContextDetailsCollection|null The contextDetails
*/
@ -78,7 +78,7 @@ class PlannerPlanDetails extends PlannerDelta
/**
* Sets the contextDetails
* Read-only. A collection of additional information associated with plannerPlanContext entries that are defined for the plannerPlan container.
* A collection of additional information associated with plannerPlanContext entries that are defined for the plannerPlan container. Read-only.
*
* @param PlannerPlanContextDetailsCollection $val The contextDetails
*

View File

@ -0,0 +1,140 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerPlanPropertyRule 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;
/**
* PlannerPlanPropertyRule 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 PlannerPlanPropertyRule extends PlannerPropertyRule
{
/**
* Gets the buckets
*
* @return string|null The buckets
*/
public function getBuckets()
{
if (array_key_exists("buckets", $this->_propDict)) {
return $this->_propDict["buckets"];
} else {
return null;
}
}
/**
* Sets the buckets
*
* @param string $val The value of the buckets
*
* @return PlannerPlanPropertyRule
*/
public function setBuckets($val)
{
$this->_propDict["buckets"] = $val;
return $this;
}
/**
* Gets the categoryDescriptions
*
* @return PlannerFieldRules|null The categoryDescriptions
*/
public function getCategoryDescriptions()
{
if (array_key_exists("categoryDescriptions", $this->_propDict)) {
if (is_a($this->_propDict["categoryDescriptions"], "\Beta\Microsoft\Graph\Model\PlannerFieldRules") || is_null($this->_propDict["categoryDescriptions"])) {
return $this->_propDict["categoryDescriptions"];
} else {
$this->_propDict["categoryDescriptions"] = new PlannerFieldRules($this->_propDict["categoryDescriptions"]);
return $this->_propDict["categoryDescriptions"];
}
}
return null;
}
/**
* Sets the categoryDescriptions
*
* @param PlannerFieldRules $val The value to assign to the categoryDescriptions
*
* @return PlannerPlanPropertyRule The PlannerPlanPropertyRule
*/
public function setCategoryDescriptions($val)
{
$this->_propDict["categoryDescriptions"] = $val;
return $this;
}
/**
* Gets the tasks
*
* @return string|null The tasks
*/
public function getTasks()
{
if (array_key_exists("tasks", $this->_propDict)) {
return $this->_propDict["tasks"];
} else {
return null;
}
}
/**
* Sets the tasks
*
* @param string $val The value of the tasks
*
* @return PlannerPlanPropertyRule
*/
public function setTasks($val)
{
$this->_propDict["tasks"] = $val;
return $this;
}
/**
* Gets the title
*
* @return PlannerFieldRules|null The title
*/
public function getTitle()
{
if (array_key_exists("title", $this->_propDict)) {
if (is_a($this->_propDict["title"], "\Beta\Microsoft\Graph\Model\PlannerFieldRules") || is_null($this->_propDict["title"])) {
return $this->_propDict["title"];
} else {
$this->_propDict["title"] = new PlannerFieldRules($this->_propDict["title"]);
return $this->_propDict["title"];
}
}
return null;
}
/**
* Sets the title
*
* @param PlannerFieldRules $val The value to assign to the title
*
* @return PlannerPlanPropertyRule The PlannerPlanPropertyRule
*/
public function setTitle($val)
{
$this->_propDict["title"] = $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.
*
* PlannerPropertyRule 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;
/**
* PlannerPropertyRule 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 PlannerPropertyRule extends Entity
{
/**
* Gets the ruleKind
*
* @return PlannerRuleKind|null The ruleKind
*/
public function getRuleKind()
{
if (array_key_exists("ruleKind", $this->_propDict)) {
if (is_a($this->_propDict["ruleKind"], "\Beta\Microsoft\Graph\Model\PlannerRuleKind") || is_null($this->_propDict["ruleKind"])) {
return $this->_propDict["ruleKind"];
} else {
$this->_propDict["ruleKind"] = new PlannerRuleKind($this->_propDict["ruleKind"]);
return $this->_propDict["ruleKind"];
}
}
return null;
}
/**
* Sets the ruleKind
*
* @param PlannerRuleKind $val The value to assign to the ruleKind
*
* @return PlannerPropertyRule The PlannerPropertyRule
*/
public function setRuleKind($val)
{
$this->_propDict["ruleKind"] = $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.
*
* PlannerRelationshipBasedUserType 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;
/**
* PlannerRelationshipBasedUserType 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 PlannerRelationshipBasedUserType extends PlannerTaskConfigurationRoleBase
{
/**
* Gets the role
*
* @return PlannerRelationshipUserRoles|null The role
*/
public function getRole()
{
if (array_key_exists("role", $this->_propDict)) {
if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\PlannerRelationshipUserRoles") || is_null($this->_propDict["role"])) {
return $this->_propDict["role"];
} else {
$this->_propDict["role"] = new PlannerRelationshipUserRoles($this->_propDict["role"]);
return $this->_propDict["role"];
}
}
return null;
}
/**
* Sets the role
*
* @param PlannerRelationshipUserRoles $val The value to assign to the role
*
* @return PlannerRelationshipBasedUserType The PlannerRelationshipBasedUserType
*/
public function setRole($val)
{
$this->_propDict["role"] = $val;
return $this;
}
}

View File

@ -0,0 +1,38 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerRelationshipUserRoles 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;
/**
* PlannerRelationshipUserRoles 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 PlannerRelationshipUserRoles extends Enum
{
/**
* The Enum PlannerRelationshipUserRoles
*/
const DEFAULT_RULES = "defaultRules";
const GROUP_OWNERS = "groupOwners";
const GROUP_MEMBERS = "groupMembers";
const TASK_ASSIGNEES = "taskAssignees";
const APPLICATIONS = "applications";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,36 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerRuleKind 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;
/**
* PlannerRuleKind 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 PlannerRuleKind extends Enum
{
/**
* The Enum PlannerRuleKind
*/
const TASK_RULE = "taskRule";
const BUCKET_RULE = "bucketRule";
const PLAN_RULE = "planRule";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

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.
*
* PlannerRuleOverride 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;
/**
* PlannerRuleOverride 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 PlannerRuleOverride extends Entity
{
/**
* 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 value of the name
*
* @return PlannerRuleOverride
*/
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
}
/**
* Gets the rules
*
* @return string|null The rules
*/
public function getRules()
{
if (array_key_exists("rules", $this->_propDict)) {
return $this->_propDict["rules"];
} else {
return null;
}
}
/**
* Sets the rules
*
* @param string $val The value of the rules
*
* @return PlannerRuleOverride
*/
public function setRules($val)
{
$this->_propDict["rules"] = $val;
return $this;
}
}

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.
*
* PlannerTaskConfiguration 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;
/**
* PlannerTaskConfiguration 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 PlannerTaskConfiguration extends Entity
{
/**
* Gets the editPolicy
*
* @return PlannerTaskPolicy|null The editPolicy
*/
public function getEditPolicy()
{
if (array_key_exists("editPolicy", $this->_propDict)) {
if (is_a($this->_propDict["editPolicy"], "\Beta\Microsoft\Graph\Model\PlannerTaskPolicy") || is_null($this->_propDict["editPolicy"])) {
return $this->_propDict["editPolicy"];
} else {
$this->_propDict["editPolicy"] = new PlannerTaskPolicy($this->_propDict["editPolicy"]);
return $this->_propDict["editPolicy"];
}
}
return null;
}
/**
* Sets the editPolicy
*
* @param PlannerTaskPolicy $val The editPolicy
*
* @return PlannerTaskConfiguration
*/
public function setEditPolicy($val)
{
$this->_propDict["editPolicy"] = $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.
*
* PlannerTaskConfigurationRoleBase 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;
/**
* PlannerTaskConfigurationRoleBase 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 PlannerTaskConfigurationRoleBase extends Entity
{
/**
* Gets the roleKind
*
* @return PlannerUserRoleKind|null The roleKind
*/
public function getRoleKind()
{
if (array_key_exists("roleKind", $this->_propDict)) {
if (is_a($this->_propDict["roleKind"], "\Beta\Microsoft\Graph\Model\PlannerUserRoleKind") || is_null($this->_propDict["roleKind"])) {
return $this->_propDict["roleKind"];
} else {
$this->_propDict["roleKind"] = new PlannerUserRoleKind($this->_propDict["roleKind"]);
return $this->_propDict["roleKind"];
}
}
return null;
}
/**
* Sets the roleKind
*
* @param PlannerUserRoleKind $val The value to assign to the roleKind
*
* @return PlannerTaskConfigurationRoleBase The PlannerTaskConfigurationRoleBase
*/
public function setRoleKind($val)
{
$this->_propDict["roleKind"] = $val;
return $this;
}
}

View File

@ -24,6 +24,37 @@ namespace Beta\Microsoft\Graph\Model;
class PlannerTaskCreation extends Entity
{
/**
* Gets the creationSourceKind
*
* @return PlannerCreationSourceKind|null The creationSourceKind
*/
public function getCreationSourceKind()
{
if (array_key_exists("creationSourceKind", $this->_propDict)) {
if (is_a($this->_propDict["creationSourceKind"], "\Beta\Microsoft\Graph\Model\PlannerCreationSourceKind") || is_null($this->_propDict["creationSourceKind"])) {
return $this->_propDict["creationSourceKind"];
} else {
$this->_propDict["creationSourceKind"] = new PlannerCreationSourceKind($this->_propDict["creationSourceKind"]);
return $this->_propDict["creationSourceKind"];
}
}
return null;
}
/**
* Sets the creationSourceKind
*
* @param PlannerCreationSourceKind $val The value to assign to the creationSourceKind
*
* @return PlannerTaskCreation The PlannerTaskCreation
*/
public function setCreationSourceKind($val)
{
$this->_propDict["creationSourceKind"] = $val;
return $this;
}
/**
* Gets the teamsPublicationInfo
* Information about the publication process that created this task. null value indicates that the task was not created by a publication process.

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.
*
* PlannerTaskPolicy 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;
/**
* PlannerTaskPolicy 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 PlannerTaskPolicy extends Entity
{
/**
* Gets the rules
*
* @return PlannerTaskRoleBasedRule|null The rules
*/
public function getRules()
{
if (array_key_exists("rules", $this->_propDict)) {
if (is_a($this->_propDict["rules"], "\Beta\Microsoft\Graph\Model\PlannerTaskRoleBasedRule") || is_null($this->_propDict["rules"])) {
return $this->_propDict["rules"];
} else {
$this->_propDict["rules"] = new PlannerTaskRoleBasedRule($this->_propDict["rules"]);
return $this->_propDict["rules"];
}
}
return null;
}
/**
* Sets the rules
*
* @param PlannerTaskRoleBasedRule $val The value to assign to the rules
*
* @return PlannerTaskPolicy The PlannerTaskPolicy
*/
public function setRules($val)
{
$this->_propDict["rules"] = $val;
return $this;
}
}

View File

@ -0,0 +1,410 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PlannerTaskPropertyRule 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;
/**
* PlannerTaskPropertyRule 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 PlannerTaskPropertyRule extends PlannerPropertyRule
{
/**
* Gets the appliedCategories
*
* @return PlannerFieldRules|null The appliedCategories
*/
public function getAppliedCategories()
{
if (array_key_exists("appliedCategories", $this->_propDict)) {
if (is_a($this->_propDict["appliedCategories"], "\Beta\Microsoft\Graph\Model\PlannerFieldRules") || is_null($this->_propDict["appliedCategories"])) {
return $this->_propDict["appliedCategories"];
} else {
$this->_propDict["appliedCategories"] = new PlannerFieldRules($this->_propDict["appliedCategories"]);
return $this->_propDict["appliedCategories"];
}
}
return null;
}
/**
* Sets the appliedCategories
*
* @param PlannerFieldRules $val The value to assign to the appliedCategories
*
* @return PlannerTaskPropertyRule The PlannerTaskPropertyRule
*/
public function setAppliedCategories($val)
{
$this->_propDict["appliedCategories"] = $val;
return $this;
}
/**
* Gets the assignments
*
* @return PlannerFieldRules|null The assignments
*/
public function getAssignments()
{
if (array_key_exists("assignments", $this->_propDict)) {
if (is_a($this->_propDict["assignments"], "\Beta\Microsoft\Graph\Model\PlannerFieldRules") || is_null($this->_propDict["assignments"])) {
return $this->_propDict["assignments"];
} else {
$this->_propDict["assignments"] = new PlannerFieldRules($this->_propDict["assignments"]);
return $this->_propDict["assignments"];
}
}
return null;
}
/**
* Sets the assignments
*
* @param PlannerFieldRules $val The value to assign to the assignments
*
* @return PlannerTaskPropertyRule The PlannerTaskPropertyRule
*/
public function setAssignments($val)
{
$this->_propDict["assignments"] = $val;
return $this;
}
/**
* Gets the checkLists
*
* @return PlannerFieldRules|null The checkLists
*/
public function getCheckLists()
{
if (array_key_exists("checkLists", $this->_propDict)) {
if (is_a($this->_propDict["checkLists"], "\Beta\Microsoft\Graph\Model\PlannerFieldRules") || is_null($this->_propDict["checkLists"])) {
return $this->_propDict["checkLists"];
} else {
$this->_propDict["checkLists"] = new PlannerFieldRules($this->_propDict["checkLists"]);
return $this->_propDict["checkLists"];
}
}
return null;
}
/**
* Sets the checkLists
*
* @param PlannerFieldRules $val The value to assign to the checkLists
*
* @return PlannerTaskPropertyRule The PlannerTaskPropertyRule
*/
public function setCheckLists($val)
{
$this->_propDict["checkLists"] = $val;
return $this;
}
/**
* Gets the delete
*
* @return string|null The delete
*/
public function getDelete()
{
if (array_key_exists("delete", $this->_propDict)) {
return $this->_propDict["delete"];
} else {
return null;
}
}
/**
* Sets the delete
*
* @param string $val The value of the delete
*
* @return PlannerTaskPropertyRule
*/
public function setDelete($val)
{
$this->_propDict["delete"] = $val;
return $this;
}
/**
* Gets the dueDate
*
* @return string|null The dueDate
*/
public function getDueDate()
{
if (array_key_exists("dueDate", $this->_propDict)) {
return $this->_propDict["dueDate"];
} else {
return null;
}
}
/**
* Sets the dueDate
*
* @param string $val The value of the dueDate
*
* @return PlannerTaskPropertyRule
*/
public function setDueDate($val)
{
$this->_propDict["dueDate"] = $val;
return $this;
}
/**
* Gets the move
*
* @return string|null The move
*/
public function getMove()
{
if (array_key_exists("move", $this->_propDict)) {
return $this->_propDict["move"];
} else {
return null;
}
}
/**
* Sets the move
*
* @param string $val The value of the move
*
* @return PlannerTaskPropertyRule
*/
public function setMove($val)
{
$this->_propDict["move"] = $val;
return $this;
}
/**
* Gets the notes
*
* @return string|null The notes
*/
public function getNotes()
{
if (array_key_exists("notes", $this->_propDict)) {
return $this->_propDict["notes"];
} else {
return null;
}
}
/**
* Sets the notes
*
* @param string $val The value of the notes
*
* @return PlannerTaskPropertyRule
*/
public function setNotes($val)
{
$this->_propDict["notes"] = $val;
return $this;
}
/**
* Gets the order
*
* @return string|null The order
*/
public function getOrder()
{
if (array_key_exists("order", $this->_propDict)) {
return $this->_propDict["order"];
} else {
return null;
}
}
/**
* Sets the order
*
* @param string $val The value of the order
*
* @return PlannerTaskPropertyRule
*/
public function setOrder($val)
{
$this->_propDict["order"] = $val;
return $this;
}
/**
* Gets the percentComplete
*
* @return string|null The percentComplete
*/
public function getPercentComplete()
{
if (array_key_exists("percentComplete", $this->_propDict)) {
return $this->_propDict["percentComplete"];
} else {
return null;
}
}
/**
* Sets the percentComplete
*
* @param string $val The value of the percentComplete
*
* @return PlannerTaskPropertyRule
*/
public function setPercentComplete($val)
{
$this->_propDict["percentComplete"] = $val;
return $this;
}
/**
* Gets the previewType
*
* @return string|null The previewType
*/
public function getPreviewType()
{
if (array_key_exists("previewType", $this->_propDict)) {
return $this->_propDict["previewType"];
} else {
return null;
}
}
/**
* Sets the previewType
*
* @param string $val The value of the previewType
*
* @return PlannerTaskPropertyRule
*/
public function setPreviewType($val)
{
$this->_propDict["previewType"] = $val;
return $this;
}
/**
* Gets the priority
*
* @return string|null The priority
*/
public function getPriority()
{
if (array_key_exists("priority", $this->_propDict)) {
return $this->_propDict["priority"];
} else {
return null;
}
}
/**
* Sets the priority
*
* @param string $val The value of the priority
*
* @return PlannerTaskPropertyRule
*/
public function setPriority($val)
{
$this->_propDict["priority"] = $val;
return $this;
}
/**
* Gets the references
*
* @return PlannerFieldRules|null The references
*/
public function getReferences()
{
if (array_key_exists("references", $this->_propDict)) {
if (is_a($this->_propDict["references"], "\Beta\Microsoft\Graph\Model\PlannerFieldRules") || is_null($this->_propDict["references"])) {
return $this->_propDict["references"];
} else {
$this->_propDict["references"] = new PlannerFieldRules($this->_propDict["references"]);
return $this->_propDict["references"];
}
}
return null;
}
/**
* Sets the references
*
* @param PlannerFieldRules $val The value to assign to the references
*
* @return PlannerTaskPropertyRule The PlannerTaskPropertyRule
*/
public function setReferences($val)
{
$this->_propDict["references"] = $val;
return $this;
}
/**
* Gets the startDate
*
* @return string|null The startDate
*/
public function getStartDate()
{
if (array_key_exists("startDate", $this->_propDict)) {
return $this->_propDict["startDate"];
} else {
return null;
}
}
/**
* Sets the startDate
*
* @param string $val The value of the startDate
*
* @return PlannerTaskPropertyRule
*/
public function setStartDate($val)
{
$this->_propDict["startDate"] = $val;
return $this;
}
/**
* Gets the title
*
* @return string|null The title
*/
public function getTitle()
{
if (array_key_exists("title", $this->_propDict)) {
return $this->_propDict["title"];
} else {
return null;
}
}
/**
* Sets the title
*
* @param string $val The value of the title
*
* @return PlannerTaskPropertyRule
*/
public function setTitle($val)
{
$this->_propDict["title"] = $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.
*
* PlannerTaskRoleBasedRule 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;
/**
* PlannerTaskRoleBasedRule 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 PlannerTaskRoleBasedRule extends Entity
{
/**
* Gets the defaultRule
*
* @return string|null The defaultRule
*/
public function getDefaultRule()
{
if (array_key_exists("defaultRule", $this->_propDict)) {
return $this->_propDict["defaultRule"];
} else {
return null;
}
}
/**
* Sets the defaultRule
*
* @param string $val The value of the defaultRule
*
* @return PlannerTaskRoleBasedRule
*/
public function setDefaultRule($val)
{
$this->_propDict["defaultRule"] = $val;
return $this;
}
/**
* Gets the propertyRule
*
* @return PlannerTaskPropertyRule|null The propertyRule
*/
public function getPropertyRule()
{
if (array_key_exists("propertyRule", $this->_propDict)) {
if (is_a($this->_propDict["propertyRule"], "\Beta\Microsoft\Graph\Model\PlannerTaskPropertyRule") || is_null($this->_propDict["propertyRule"])) {
return $this->_propDict["propertyRule"];
} else {
$this->_propDict["propertyRule"] = new PlannerTaskPropertyRule($this->_propDict["propertyRule"]);
return $this->_propDict["propertyRule"];
}
}
return null;
}
/**
* Sets the propertyRule
*
* @param PlannerTaskPropertyRule $val The value to assign to the propertyRule
*
* @return PlannerTaskRoleBasedRule The PlannerTaskRoleBasedRule
*/
public function setPropertyRule($val)
{
$this->_propDict["propertyRule"] = $val;
return $this;
}
/**
* Gets the role
*
* @return PlannerTaskConfigurationRoleBase|null The role
*/
public function getRole()
{
if (array_key_exists("role", $this->_propDict)) {
if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\PlannerTaskConfigurationRoleBase") || is_null($this->_propDict["role"])) {
return $this->_propDict["role"];
} else {
$this->_propDict["role"] = new PlannerTaskConfigurationRoleBase($this->_propDict["role"]);
return $this->_propDict["role"];
}
}
return null;
}
/**
* Sets the role
*
* @param PlannerTaskConfigurationRoleBase $val The value to assign to the role
*
* @return PlannerTaskRoleBasedRule The PlannerTaskRoleBasedRule
*/
public function setRole($val)
{
$this->_propDict["role"] = $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.
*
* PlannerTaskTargetKind 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;
/**
* PlannerTaskTargetKind 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 PlannerTaskTargetKind extends Enum
{
/**
* The Enum PlannerTaskTargetKind
*/
const GROUP = "group";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -21,7 +21,7 @@ namespace Beta\Microsoft\Graph\Model;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class PlannerTeamsPublicationInfo extends Entity
class PlannerTeamsPublicationInfo extends PlannerTaskCreation
{
/**

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.
*
* PlannerUserRoleKind 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;
/**
* PlannerUserRoleKind 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 PlannerUserRoleKind extends Enum
{
/**
* The Enum PlannerUserRoleKind
*/
const RELATIONSHIP = "relationship";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -113,6 +113,37 @@ class PrintDocument extends Entity
return $this;
}
/**
* Gets the downloadedDateTime
*
* @return \DateTime|null The downloadedDateTime
*/
public function getDownloadedDateTime()
{
if (array_key_exists("downloadedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["downloadedDateTime"], "\DateTime") || is_null($this->_propDict["downloadedDateTime"])) {
return $this->_propDict["downloadedDateTime"];
} else {
$this->_propDict["downloadedDateTime"] = new \DateTime($this->_propDict["downloadedDateTime"]);
return $this->_propDict["downloadedDateTime"];
}
}
return null;
}
/**
* Sets the downloadedDateTime
*
* @param \DateTime $val The downloadedDateTime
*
* @return PrintDocument
*/
public function setDownloadedDateTime($val)
{
$this->_propDict["downloadedDateTime"] = $val;
return $this;
}
/**
* Gets the size
* The document's size in bytes. Read-only.
@ -142,4 +173,35 @@ class PrintDocument extends Entity
return $this;
}
/**
* Gets the uploadedDateTime
*
* @return \DateTime|null The uploadedDateTime
*/
public function getUploadedDateTime()
{
if (array_key_exists("uploadedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["uploadedDateTime"], "\DateTime") || is_null($this->_propDict["uploadedDateTime"])) {
return $this->_propDict["uploadedDateTime"];
} else {
$this->_propDict["uploadedDateTime"] = new \DateTime($this->_propDict["uploadedDateTime"]);
return $this->_propDict["uploadedDateTime"];
}
}
return null;
}
/**
* Sets the uploadedDateTime
*
* @param \DateTime $val The uploadedDateTime
*
* @return PrintDocument
*/
public function setUploadedDateTime($val)
{
$this->_propDict["uploadedDateTime"] = $val;
return $this;
}
}

View File

@ -24,6 +24,68 @@ namespace Beta\Microsoft\Graph\Model;
*/
class PrintJob extends Entity
{
/**
* Gets the acknowledgedDateTime
*
* @return \DateTime|null The acknowledgedDateTime
*/
public function getAcknowledgedDateTime()
{
if (array_key_exists("acknowledgedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["acknowledgedDateTime"], "\DateTime") || is_null($this->_propDict["acknowledgedDateTime"])) {
return $this->_propDict["acknowledgedDateTime"];
} else {
$this->_propDict["acknowledgedDateTime"] = new \DateTime($this->_propDict["acknowledgedDateTime"]);
return $this->_propDict["acknowledgedDateTime"];
}
}
return null;
}
/**
* Sets the acknowledgedDateTime
*
* @param \DateTime $val The acknowledgedDateTime
*
* @return PrintJob
*/
public function setAcknowledgedDateTime($val)
{
$this->_propDict["acknowledgedDateTime"] = $val;
return $this;
}
/**
* Gets the completedDateTime
*
* @return \DateTime|null The completedDateTime
*/
public function getCompletedDateTime()
{
if (array_key_exists("completedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["completedDateTime"], "\DateTime") || is_null($this->_propDict["completedDateTime"])) {
return $this->_propDict["completedDateTime"];
} else {
$this->_propDict["completedDateTime"] = new \DateTime($this->_propDict["completedDateTime"]);
return $this->_propDict["completedDateTime"];
}
}
return null;
}
/**
* Sets the completedDateTime
*
* @param \DateTime $val The completedDateTime
*
* @return PrintJob
*/
public function setCompletedDateTime($val)
{
$this->_propDict["completedDateTime"] = $val;
return $this;
}
/**
* Gets the configuration
* A group of settings that a printer should use to print a job.
@ -148,6 +210,33 @@ class PrintJob extends Entity
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 errorCode
*
* @return PrintJob
*/
public function setErrorCode($val)
{
$this->_propDict["errorCode"] = intval($val);
return $this;
}
/**
* Gets the isFetchable
* If true, document can be fetched by printer.

View File

@ -31,8 +31,8 @@ class RecommendationCategory extends Enum
*/
const USAGE_AND_COMPLIANCE = "usageAndCompliance";
const SECURITY = "security";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const PRODUCTIVITY = "productivity";
const HEALTH = "health";
const CONFIGURATION = "configuration";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -2,7 +2,7 @@
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Task File
* SegmentConfiguration File
* PHP version 7
*
* @category Library
@ -12,9 +12,8 @@
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* Task class
* SegmentConfiguration class
*
* @category Model
* @package Microsoft.Graph
@ -22,6 +21,6 @@ namespace Beta\Microsoft\Graph\Model;
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class Task extends BaseTask
class SegmentConfiguration extends Entity
{
}

View File

@ -59,7 +59,7 @@ class ServicePrincipal extends DirectoryObject
/**
* Gets the accountEnabled
* true if the service principal account is enabled; otherwise, false. Supports $filter (eq, ne, not, in).
* true if the service principal account is enabled; otherwise, false. If set to false, then no users will be able to sign in to this app, even if they are assigned to it. Supports $filter (eq, ne, not, in).
*
* @return bool|null The accountEnabled
*/
@ -74,7 +74,7 @@ class ServicePrincipal extends DirectoryObject
/**
* Sets the accountEnabled
* true if the service principal account is enabled; otherwise, false. Supports $filter (eq, ne, not, in).
* true if the service principal account is enabled; otherwise, false. If set to false, then no users will be able to sign in to this app, even if they are assigned to it. Supports $filter (eq, ne, not, in).
*
* @param bool $val The accountEnabled
*

View File

@ -25,6 +25,7 @@ class ServicePrincipalLockConfiguration extends Entity
{
/**
* Gets the allProperties
* Enables locking all sensitive properties. The sensitive properties are keyCredentials, passwordCredentials, and tokenEncryptionKeyId.
*
* @return bool|null The allProperties
*/
@ -39,6 +40,7 @@ class ServicePrincipalLockConfiguration extends Entity
/**
* Sets the allProperties
* Enables locking all sensitive properties. The sensitive properties are keyCredentials, passwordCredentials, and tokenEncryptionKeyId.
*
* @param bool $val The value of the allProperties
*
@ -51,6 +53,7 @@ class ServicePrincipalLockConfiguration extends Entity
}
/**
* Gets the credentialsWithUsageSign
* Locks the keyCredentials and passwordCredentials properties for modification where credential usage type is Sign.
*
* @return bool|null The credentialsWithUsageSign
*/
@ -65,6 +68,7 @@ class ServicePrincipalLockConfiguration extends Entity
/**
* Sets the credentialsWithUsageSign
* Locks the keyCredentials and passwordCredentials properties for modification where credential usage type is Sign.
*
* @param bool $val The value of the credentialsWithUsageSign
*
@ -77,6 +81,7 @@ class ServicePrincipalLockConfiguration extends Entity
}
/**
* Gets the credentialsWithUsageVerify
* Locks the keyCredentials and passwordCredentials properties for modification where credential usage type is Verify. This locks OAuth service principals.
*
* @return bool|null The credentialsWithUsageVerify
*/
@ -91,6 +96,7 @@ class ServicePrincipalLockConfiguration extends Entity
/**
* Sets the credentialsWithUsageVerify
* Locks the keyCredentials and passwordCredentials properties for modification where credential usage type is Verify. This locks OAuth service principals.
*
* @param bool $val The value of the credentialsWithUsageVerify
*
@ -103,6 +109,7 @@ class ServicePrincipalLockConfiguration extends Entity
}
/**
* Gets the isEnabled
* Enables or disables service principal lock configuration. To allow the sensitive properties to be updated, update this property to false to disable the lock on the service principal.
*
* @return bool|null The isEnabled
*/
@ -117,6 +124,7 @@ class ServicePrincipalLockConfiguration extends Entity
/**
* Sets the isEnabled
* Enables or disables service principal lock configuration. To allow the sensitive properties to be updated, update this property to false to disable the lock on the service principal.
*
* @param bool $val The value of the isEnabled
*
@ -129,6 +137,7 @@ class ServicePrincipalLockConfiguration extends Entity
}
/**
* Gets the tokenEncryptionKeyId
* Locks the tokenEncryptionKeyId property for modification on the service principal.
*
* @return bool|null The tokenEncryptionKeyId
*/
@ -143,6 +152,7 @@ class ServicePrincipalLockConfiguration extends Entity
/**
* Sets the tokenEncryptionKeyId
* Locks the tokenEncryptionKeyId property for modification on the service principal.
*
* @param bool $val The value of the tokenEncryptionKeyId
*

View File

@ -0,0 +1,39 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ShiftWorkCloudPcAccessState 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;
/**
* ShiftWorkCloudPcAccessState 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 ShiftWorkCloudPcAccessState extends Enum
{
/**
* The Enum ShiftWorkCloudPcAccessState
*/
const UNASSIGNED = "unassigned";
const NO_LICENSES_AVAILABLE = "noLicensesAvailable";
const ACTIVATION_FAILED = "activationFailed";
const ACTIVE = "active";
const ACTIVATING = "activating";
const WAITLISTED = "waitlisted";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -55,6 +55,34 @@ class SolutionsRoot implements \JsonSerializable
return $this->_propDict;
}
/**
* Gets the businessScenarios
*
* @return array|null The businessScenarios
*/
public function getBusinessScenarios()
{
if (array_key_exists("businessScenarios", $this->_propDict)) {
return $this->_propDict["businessScenarios"];
} else {
return null;
}
}
/**
* Sets the businessScenarios
*
* @param BusinessScenario[] $val The businessScenarios
*
* @return SolutionsRoot
*/
public function setBusinessScenarios($val)
{
$this->_propDict["businessScenarios"] = $val;
return $this;
}
/**
* Gets the ODataType
*

View File

@ -1,87 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TaskViewpoint 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;
/**
* TaskViewpoint 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 TaskViewpoint extends Entity
{
/**
* Gets the categories
* The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined.
*
* @return string|null The categories
*/
public function getCategories()
{
if (array_key_exists("categories", $this->_propDict)) {
return $this->_propDict["categories"];
} else {
return null;
}
}
/**
* Sets the categories
* The categories associated with the task. Each category corresponds to the displayName property of an outlookCategory that the user has defined.
*
* @param string $val The value of the categories
*
* @return TaskViewpoint
*/
public function setCategories($val)
{
$this->_propDict["categories"] = $val;
return $this;
}
/**
* Gets the reminderDateTime
* The date and time for a reminder alert of the task to occur.
*
* @return DateTimeTimeZone|null The reminderDateTime
*/
public function getReminderDateTime()
{
if (array_key_exists("reminderDateTime", $this->_propDict)) {
if (is_a($this->_propDict["reminderDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone") || is_null($this->_propDict["reminderDateTime"])) {
return $this->_propDict["reminderDateTime"];
} else {
$this->_propDict["reminderDateTime"] = new DateTimeTimeZone($this->_propDict["reminderDateTime"]);
return $this->_propDict["reminderDateTime"];
}
}
return null;
}
/**
* Sets the reminderDateTime
* The date and time for a reminder alert of the task to occur.
*
* @param DateTimeTimeZone $val The value to assign to the reminderDateTime
*
* @return TaskViewpoint The TaskViewpoint
*/
public function setReminderDateTime($val)
{
$this->_propDict["reminderDateTime"] = $val;
return $this;
}
}

View File

@ -1,87 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Tasks 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;
/**
* Tasks 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 Tasks extends Entity
{
/**
* Gets the alltasks
* All tasks in the users mailbox.
*
* @return array|null The alltasks
*/
public function getAlltasks()
{
if (array_key_exists("alltasks", $this->_propDict)) {
return $this->_propDict["alltasks"];
} else {
return null;
}
}
/**
* Sets the alltasks
* All tasks in the users mailbox.
*
* @param BaseTask[] $val The alltasks
*
* @return Tasks
*/
public function setAlltasks($val)
{
$this->_propDict["alltasks"] = $val;
return $this;
}
/**
* Gets the lists
* The task lists in the users mailbox.
*
* @return array|null The lists
*/
public function getLists()
{
if (array_key_exists("lists", $this->_propDict)) {
return $this->_propDict["lists"];
} else {
return null;
}
}
/**
* Sets the lists
* The task lists in the users mailbox.
*
* @param BaseTaskList[] $val The lists
*
* @return Tasks
*/
public function setLists($val)
{
$this->_propDict["lists"] = $val;
return $this;
}
}

View File

@ -25,7 +25,7 @@ class TeamMembersNotificationRecipient extends TeamworkNotificationRecipient
{
/**
* Gets the teamId
* The team's identifier.
* The unique identifier for the team whose members should receive the notification.
*
* @return string|null The teamId
*/
@ -40,7 +40,7 @@ class TeamMembersNotificationRecipient extends TeamworkNotificationRecipient
/**
* Sets the teamId
* The team's identifier.
* The unique identifier for the team whose members should receive the notification.
*
* @param string $val The value of the teamId
*

View File

@ -4219,37 +4219,6 @@ class User extends DirectoryObject
return $this;
}
/**
* Gets the tasks
*
* @return Tasks|null The tasks
*/
public function getTasks()
{
if (array_key_exists("tasks", $this->_propDict)) {
if (is_a($this->_propDict["tasks"], "\Beta\Microsoft\Graph\Model\Tasks") || is_null($this->_propDict["tasks"])) {
return $this->_propDict["tasks"];
} else {
$this->_propDict["tasks"] = new Tasks($this->_propDict["tasks"]);
return $this->_propDict["tasks"];
}
}
return null;
}
/**
* Sets the tasks
*
* @param Tasks $val The tasks
*
* @return User
*/
public function setTasks($val)
{
$this->_propDict["tasks"] = $val;
return $this;
}
/**
* Gets the chats

View File

@ -0,0 +1,136 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WebApplicationSegment 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;
/**
* WebApplicationSegment 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 WebApplicationSegment extends ApplicationSegment
{
/**
* Gets the alternateUrl
*
* @return string|null The alternateUrl
*/
public function getAlternateUrl()
{
if (array_key_exists("alternateUrl", $this->_propDict)) {
return $this->_propDict["alternateUrl"];
} else {
return null;
}
}
/**
* Sets the alternateUrl
*
* @param string $val The alternateUrl
*
* @return WebApplicationSegment
*/
public function setAlternateUrl($val)
{
$this->_propDict["alternateUrl"] = $val;
return $this;
}
/**
* Gets the externalUrl
*
* @return string|null The externalUrl
*/
public function getExternalUrl()
{
if (array_key_exists("externalUrl", $this->_propDict)) {
return $this->_propDict["externalUrl"];
} else {
return null;
}
}
/**
* Sets the externalUrl
*
* @param string $val The externalUrl
*
* @return WebApplicationSegment
*/
public function setExternalUrl($val)
{
$this->_propDict["externalUrl"] = $val;
return $this;
}
/**
* Gets the internalUrl
*
* @return string|null The internalUrl
*/
public function getInternalUrl()
{
if (array_key_exists("internalUrl", $this->_propDict)) {
return $this->_propDict["internalUrl"];
} else {
return null;
}
}
/**
* Sets the internalUrl
*
* @param string $val The internalUrl
*
* @return WebApplicationSegment
*/
public function setInternalUrl($val)
{
$this->_propDict["internalUrl"] = $val;
return $this;
}
/**
* Gets the corsConfigurations
*
* @return array|null The corsConfigurations
*/
public function getCorsConfigurations()
{
if (array_key_exists("corsConfigurations", $this->_propDict)) {
return $this->_propDict["corsConfigurations"];
} else {
return null;
}
}
/**
* Sets the corsConfigurations
*
* @param CorsConfiguration_v2[] $val The corsConfigurations
*
* @return WebApplicationSegment
*/
public function setCorsConfigurations($val)
{
$this->_propDict["corsConfigurations"] = $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.
*
* WebSegmentConfiguration 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;
/**
* WebSegmentConfiguration 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 WebSegmentConfiguration extends SegmentConfiguration
{
/**
* Gets the applicationSegments
*
* @return WebApplicationSegment|null The applicationSegments
*/
public function getApplicationSegments()
{
if (array_key_exists("applicationSegments", $this->_propDict)) {
if (is_a($this->_propDict["applicationSegments"], "\Beta\Microsoft\Graph\Model\WebApplicationSegment") || is_null($this->_propDict["applicationSegments"])) {
return $this->_propDict["applicationSegments"];
} else {
$this->_propDict["applicationSegments"] = new WebApplicationSegment($this->_propDict["applicationSegments"]);
return $this->_propDict["applicationSegments"];
}
}
return null;
}
/**
* Sets the applicationSegments
*
* @param WebApplicationSegment $val The value to assign to the applicationSegments
*
* @return WebSegmentConfiguration The WebSegmentConfiguration
*/
public function setApplicationSegments($val)
{
$this->_propDict["applicationSegments"] = $val;
return $this;
}
}

View File

@ -1,60 +0,0 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WellKnownTaskList 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;
/**
* WellKnownTaskList 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 WellKnownTaskList extends BaseTaskList
{
/**
* Gets the wellKnownListName
* Property indicating the list name if the given list is a well-known list.. The possible values are: none, defaultList, flaggedEmails, unknownFutureValue.
*
* @return WellKnownListName_v2|null The wellKnownListName
*/
public function getWellKnownListName()
{
if (array_key_exists("wellKnownListName", $this->_propDict)) {
if (is_a($this->_propDict["wellKnownListName"], "\Beta\Microsoft\Graph\Model\WellKnownListName_v2") || is_null($this->_propDict["wellKnownListName"])) {
return $this->_propDict["wellKnownListName"];
} else {
$this->_propDict["wellKnownListName"] = new WellKnownListName_v2($this->_propDict["wellKnownListName"]);
return $this->_propDict["wellKnownListName"];
}
}
return null;
}
/**
* Sets the wellKnownListName
* Property indicating the list name if the given list is a well-known list.. The possible values are: none, defaultList, flaggedEmails, unknownFutureValue.
*
* @param WellKnownListName_v2 $val The wellKnownListName
*
* @return WellKnownTaskList
*/
public function setWellKnownListName($val)
{
$this->_propDict["wellKnownListName"] = $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.
*
* PurgeAreas 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\SecurityNamespace\Model;
use Microsoft\Graph\Core\Enum;
/**
* PurgeAreas 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 PurgeAreas extends Enum
{
/**
* The Enum PurgeAreas
*/
const MAILBOXES = "mailboxes";
const TEAMS_MESSAGES = "teamsMessages";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

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.
*
* PurgeType 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\SecurityNamespace\Model;
use Microsoft\Graph\Core\Enum;
/**
* PurgeType 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 PurgeType extends Enum
{
/**
* The Enum PurgeType
*/
const RECOVERABLE = "recoverable";
const PERMANENTLY_DELETED = "permanentlyDeleted";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

Some files were not shown because too many files have changed in this diff Show More