1
0
Fork 0

Update libraries

master
Brie Bruns 2023-03-24 12:11:52 -06:00
parent 80d62586a2
commit 246a9a1736
174 changed files with 9686 additions and 361 deletions

24
composer.lock generated
View File

@ -220,16 +220,16 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.4.3",
"version": "2.4.4",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "67c26b443f348a51926030c83481b85718457d3d"
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d",
"reference": "67c26b443f348a51926030c83481b85718457d3d",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"shasum": ""
},
"require": {
@ -319,7 +319,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.3"
"source": "https://github.com/guzzle/psr7/tree/2.4.4"
},
"funding": [
{
@ -335,20 +335,20 @@
"type": "tidelift"
}
],
"time": "2022-10-26T14:07:24+00:00"
"time": "2023-03-09T13:19:02+00:00"
},
{
"name": "microsoft/microsoft-graph",
"version": "1.89.0",
"version": "1.92.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "b263ffdefdb83e8ec5e0d3cac0e56e0f7f30ea2f"
"reference": "11bdfe4692002ccd40a36faca844916109f1939e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/b263ffdefdb83e8ec5e0d3cac0e56e0f7f30ea2f",
"reference": "b263ffdefdb83e8ec5e0d3cac0e56e0f7f30ea2f",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/11bdfe4692002ccd40a36faca844916109f1939e",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e",
"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.89.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.92.0"
},
"time": "2023-03-02T07:33:45+00:00"
"time": "2023-03-21T14:11:26+00:00"
},
{
"name": "psr/http-client",

View File

@ -220,17 +220,17 @@
},
{
"name": "guzzlehttp/psr7",
"version": "2.4.3",
"version_normalized": "2.4.3.0",
"version": "2.4.4",
"version_normalized": "2.4.4.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "67c26b443f348a51926030c83481b85718457d3d"
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d",
"reference": "67c26b443f348a51926030c83481b85718457d3d",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf",
"shasum": ""
},
"require": {
@ -251,7 +251,7 @@
"suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"time": "2022-10-26T14:07:24+00:00",
"time": "2023-03-09T13:19:02+00:00",
"type": "library",
"extra": {
"bamarni-bin": {
@ -322,7 +322,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.3"
"source": "https://github.com/guzzle/psr7/tree/2.4.4"
},
"funding": [
{
@ -342,17 +342,17 @@
},
{
"name": "microsoft/microsoft-graph",
"version": "1.89.0",
"version_normalized": "1.89.0.0",
"version": "1.92.0",
"version_normalized": "1.92.0.0",
"source": {
"type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "b263ffdefdb83e8ec5e0d3cac0e56e0f7f30ea2f"
"reference": "11bdfe4692002ccd40a36faca844916109f1939e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/b263ffdefdb83e8ec5e0d3cac0e56e0f7f30ea2f",
"reference": "b263ffdefdb83e8ec5e0d3cac0e56e0f7f30ea2f",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/11bdfe4692002ccd40a36faca844916109f1939e",
"reference": "11bdfe4692002ccd40a36faca844916109f1939e",
"shasum": ""
},
"require": {
@ -366,7 +366,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"time": "2023-03-02T07:33:45+00:00",
"time": "2023-03-21T14:11:26+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.89.0"
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.92.0"
},
"install-path": "../microsoft/microsoft-graph"
},

View File

@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '8e6cf7bdc7e8d2f0a957954713d75b8c905adaa5',
'reference' => '80d62586a2931932b7376f1956c4a627b9fbda3b',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '8e6cf7bdc7e8d2f0a957954713d75b8c905adaa5',
'reference' => '80d62586a2931932b7376f1956c4a627b9fbda3b',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@ -38,18 +38,18 @@
'dev_requirement' => false,
),
'guzzlehttp/psr7' => array(
'pretty_version' => '2.4.3',
'version' => '2.4.3.0',
'reference' => '67c26b443f348a51926030c83481b85718457d3d',
'pretty_version' => '2.4.4',
'version' => '2.4.4.0',
'reference' => '3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf',
'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(),
'dev_requirement' => false,
),
'microsoft/microsoft-graph' => array(
'pretty_version' => '1.89.0',
'version' => '1.89.0.0',
'reference' => 'b263ffdefdb83e8ec5e0d3cac0e56e0f7f30ea2f',
'pretty_version' => '1.92.0',
'version' => '1.92.0.0',
'reference' => '11bdfe4692002ccd40a36faca844916109f1939e',
'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(),

View File

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
## 2.4.4 - 2023-03-09
### Changed
- Removed the need for `AllowDynamicProperties` in `LazyOpenStream`
## 2.4.3 - 2022-10-26
### Changed

View File

@ -8,6 +8,12 @@ functionality like query string parsing.
![Static analysis](https://github.com/guzzle/psr7/workflows/Static%20analysis/badge.svg)
# Installation
```shell
composer require guzzlehttp/psr7
```
# Stream implementation
This package comes with a number of stream implementations and stream
@ -245,6 +251,8 @@ class EofCallbackStream implements StreamInterface
private $callback;
private $stream;
public function __construct(StreamInterface $stream, callable $cb)
{
$this->stream = $stream;

View File

@ -10,7 +10,6 @@ use Psr\Http\Message\StreamInterface;
* Lazily reads or writes to a file that is opened only after an IO operation
* take place on the stream.
*/
#[\AllowDynamicProperties]
final class LazyOpenStream implements StreamInterface
{
use StreamDecoratorTrait;
@ -21,6 +20,11 @@ final class LazyOpenStream implements StreamInterface
/** @var string */
private $mode;
/**
* @var StreamInterface
*/
private $stream;
/**
* @param string $filename File to lazily open
* @param string $mode fopen mode to use when opening the stream
@ -29,6 +33,10 @@ final class LazyOpenStream implements StreamInterface
{
$this->filename = $filename;
$this->mode = $mode;
// unsetting the property forces the first access to go through
// __get().
unset($this->stream);
}
/**

View File

@ -0,0 +1,36 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# This action will bump the SDK version constant when a pull request against feat/kiota-preview is created
# from a branch path spec like kiota/v1.0/pipelinebuild/*.
name: "bump kiota sdk version"
on:
pull_request:
branches:
- feat/kiota-preview
paths:
- 'src/Generated/**'
defaults:
run:
shell: bash
jobs:
bump-sdk-version:
if: startsWith(github.head_ref, 'kiota/v1.0/pipelinebuild/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Git config user
run: |
git config --global user.email "GraphTooling@service.microsoft.com"
git config --global user.name "Microsoft Graph DevX Tooling"
- name: Run increment script
run: php scripts/BumpPreviewSdkVersion.php
- name: Commit and push changes if any
run: if git commit -am "Bump SDK version"; then git push origin $GITHUB_HEAD_REF; fi

View File

@ -0,0 +1,38 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# This action will bump the SDK version constant when a pull request against dev is created
# from a branch path spec like beta/pipelinebuild/* or v1.0/pipelinebuild/*.
name: "bump sdk version"
on:
pull_request:
branches:
- dev
paths:
- 'src/Model/**'
- 'src/*/Model/**'
- 'src/Beta/**'
defaults:
run:
shell: bash
jobs:
bump-sdk-version:
if: startsWith(github.head_ref, 'beta/pipelinebuild/') || startsWith(github.head_ref, 'v1.0/pipelinebuild/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Git config user
run: |
git config --global user.email "GraphTooling@service.microsoft.com"
git config --global user.name "Microsoft Graph DevX Tooling"
- name: Run increment script
run: php scripts/BumpStableSdkVersion.php
- name: Commit and push changes if any
run: if git commit -am "Bump SDK version"; then git push origin $GITHUB_HEAD_REF; fi

View File

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

View File

@ -55,6 +55,37 @@ class External implements \JsonSerializable
return $this->_propDict;
}
/**
* Gets the industryData
*
* @return \Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRoot|null The industryData
*/
public function getIndustryData()
{
if (array_key_exists("industryData", $this->_propDict)) {
if (is_a($this->_propDict["industryData"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRoot") || is_null($this->_propDict["industryData"])) {
return $this->_propDict["industryData"];
} else {
$this->_propDict["industryData"] = new \Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRoot($this->_propDict["industryData"]);
return $this->_propDict["industryData"];
}
}
return null;
}
/**
* Sets the industryData
*
* @param \Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRoot $val The industryData
*
* @return External
*/
public function setIndustryData($val)
{
$this->_propDict["industryData"] = $val;
return $this;
}
/**
* Gets the connections

View File

@ -34,4 +34,35 @@ class CustomTaskExtensionCallbackConfiguration extends \Beta\Microsoft\Graph\Mod
$this->setODataType("#microsoft.graph.identityGovernance.customTaskExtensionCallbackConfiguration");
}
/**
* Gets the authorizedApps
*
* @return \Beta\Microsoft\Graph\Model\Application|null The authorizedApps
*/
public function getAuthorizedApps()
{
if (array_key_exists("authorizedApps", $this->_propDict)) {
if (is_a($this->_propDict["authorizedApps"], "\Beta\Microsoft\Graph\Model\Application") || is_null($this->_propDict["authorizedApps"])) {
return $this->_propDict["authorizedApps"];
} else {
$this->_propDict["authorizedApps"] = new \Beta\Microsoft\Graph\Model\Application($this->_propDict["authorizedApps"]);
return $this->_propDict["authorizedApps"];
}
}
return null;
}
/**
* Sets the authorizedApps
*
* @param \Beta\Microsoft\Graph\Model\Application $val The value to assign to the authorizedApps
*
* @return CustomTaskExtensionCallbackConfiguration The CustomTaskExtensionCallbackConfiguration
*/
public function setAuthorizedApps($val)
{
$this->_propDict["authorizedApps"] = $val;
return $this;
}
}

View File

@ -0,0 +1,260 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AggregatedInboundStatistics 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\IndustryData\Model;
/**
* AggregatedInboundStatistics 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 AggregatedInboundStatistics extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the errors
* The aggregate count of errors encountered by activities during this run.
*
* @return int|null The errors
*/
public function getErrors()
{
if (array_key_exists("errors", $this->_propDict)) {
return $this->_propDict["errors"];
} else {
return null;
}
}
/**
* Sets the errors
* The aggregate count of errors encountered by activities during this run.
*
* @param int $val The value of the errors
*
* @return AggregatedInboundStatistics
*/
public function setErrors($val)
{
$this->_propDict["errors"] = $val;
return $this;
}
/**
* Gets the groups
* The aggregate count of active inbound groups processed during the run.
*
* @return int|null The groups
*/
public function getGroups()
{
if (array_key_exists("groups", $this->_propDict)) {
return $this->_propDict["groups"];
} else {
return null;
}
}
/**
* Sets the groups
* The aggregate count of active inbound groups processed during the run.
*
* @param int $val The value of the groups
*
* @return AggregatedInboundStatistics
*/
public function setGroups($val)
{
$this->_propDict["groups"] = $val;
return $this;
}
/**
* Gets the matchedPeopleByRole
* The aggregate count of active people matched to an Azure Active Directory user, by role.
*
* @return IndustryDataRunRoleCountMetric|null The matchedPeopleByRole
*/
public function getMatchedPeopleByRole()
{
if (array_key_exists("matchedPeopleByRole", $this->_propDict)) {
if (is_a($this->_propDict["matchedPeopleByRole"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunRoleCountMetric") || is_null($this->_propDict["matchedPeopleByRole"])) {
return $this->_propDict["matchedPeopleByRole"];
} else {
$this->_propDict["matchedPeopleByRole"] = new IndustryDataRunRoleCountMetric($this->_propDict["matchedPeopleByRole"]);
return $this->_propDict["matchedPeopleByRole"];
}
}
return null;
}
/**
* Sets the matchedPeopleByRole
* The aggregate count of active people matched to an Azure Active Directory user, by role.
*
* @param IndustryDataRunRoleCountMetric $val The value to assign to the matchedPeopleByRole
*
* @return AggregatedInboundStatistics The AggregatedInboundStatistics
*/
public function setMatchedPeopleByRole($val)
{
$this->_propDict["matchedPeopleByRole"] = $val;
return $this;
}
/**
* Gets the memberships
* The aggregate count of active inbound memberships processed during the run.
*
* @return int|null The memberships
*/
public function getMemberships()
{
if (array_key_exists("memberships", $this->_propDict)) {
return $this->_propDict["memberships"];
} else {
return null;
}
}
/**
* Sets the memberships
* The aggregate count of active inbound memberships processed during the run.
*
* @param int $val The value of the memberships
*
* @return AggregatedInboundStatistics
*/
public function setMemberships($val)
{
$this->_propDict["memberships"] = $val;
return $this;
}
/**
* Gets the organizations
* The aggregate count of active inbound organizations processed during the run.
*
* @return int|null The organizations
*/
public function getOrganizations()
{
if (array_key_exists("organizations", $this->_propDict)) {
return $this->_propDict["organizations"];
} else {
return null;
}
}
/**
* Sets the organizations
* The aggregate count of active inbound organizations processed during the run.
*
* @param int $val The value of the organizations
*
* @return AggregatedInboundStatistics
*/
public function setOrganizations($val)
{
$this->_propDict["organizations"] = $val;
return $this;
}
/**
* Gets the people
* The aggregate count of active inbound people processed during the run.
*
* @return int|null The people
*/
public function getPeople()
{
if (array_key_exists("people", $this->_propDict)) {
return $this->_propDict["people"];
} else {
return null;
}
}
/**
* Sets the people
* The aggregate count of active inbound people processed during the run.
*
* @param int $val The value of the people
*
* @return AggregatedInboundStatistics
*/
public function setPeople($val)
{
$this->_propDict["people"] = $val;
return $this;
}
/**
* Gets the unmatchedPeopleByRole
* The aggregate count of active people not matched to an Azure Active Directory user, by role.
*
* @return IndustryDataRunRoleCountMetric|null The unmatchedPeopleByRole
*/
public function getUnmatchedPeopleByRole()
{
if (array_key_exists("unmatchedPeopleByRole", $this->_propDict)) {
if (is_a($this->_propDict["unmatchedPeopleByRole"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunRoleCountMetric") || is_null($this->_propDict["unmatchedPeopleByRole"])) {
return $this->_propDict["unmatchedPeopleByRole"];
} else {
$this->_propDict["unmatchedPeopleByRole"] = new IndustryDataRunRoleCountMetric($this->_propDict["unmatchedPeopleByRole"]);
return $this->_propDict["unmatchedPeopleByRole"];
}
}
return null;
}
/**
* Sets the unmatchedPeopleByRole
* The aggregate count of active people not matched to an Azure Active Directory user, by role.
*
* @param IndustryDataRunRoleCountMetric $val The value to assign to the unmatchedPeopleByRole
*
* @return AggregatedInboundStatistics The AggregatedInboundStatistics
*/
public function setUnmatchedPeopleByRole($val)
{
$this->_propDict["unmatchedPeopleByRole"] = $val;
return $this;
}
/**
* Gets the warnings
* The aggregate count of warnings generated by activities during this run.
*
* @return int|null The warnings
*/
public function getWarnings()
{
if (array_key_exists("warnings", $this->_propDict)) {
return $this->_propDict["warnings"];
} else {
return null;
}
}
/**
* Sets the warnings
* The aggregate count of warnings generated by activities during this run.
*
* @param int $val The value of the warnings
*
* @return AggregatedInboundStatistics
*/
public function setWarnings($val)
{
$this->_propDict["warnings"] = $val;
return $this;
}
}

View File

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

View File

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

View File

@ -0,0 +1,148 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* FileUploadSession 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\IndustryData\Model;
/**
* FileUploadSession 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 FileUploadSession extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the containerExpirationDateTime
* The expiration date and time for the container. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The containerExpirationDateTime
*/
public function getContainerExpirationDateTime()
{
if (array_key_exists("containerExpirationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["containerExpirationDateTime"], "\DateTime") || is_null($this->_propDict["containerExpirationDateTime"])) {
return $this->_propDict["containerExpirationDateTime"];
} else {
$this->_propDict["containerExpirationDateTime"] = new \DateTime($this->_propDict["containerExpirationDateTime"]);
return $this->_propDict["containerExpirationDateTime"];
}
}
return null;
}
/**
* Sets the containerExpirationDateTime
* The expiration date and time for the container. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The value to assign to the containerExpirationDateTime
*
* @return FileUploadSession The FileUploadSession
*/
public function setContainerExpirationDateTime($val)
{
$this->_propDict["containerExpirationDateTime"] = $val;
return $this;
}
/**
* Gets the containerId
* The container ID where the files are uploaded.
*
* @return string|null The containerId
*/
public function getContainerId()
{
if (array_key_exists("containerId", $this->_propDict)) {
return $this->_propDict["containerId"];
} else {
return null;
}
}
/**
* Sets the containerId
* The container ID where the files are uploaded.
*
* @param string $val The value of the containerId
*
* @return FileUploadSession
*/
public function setContainerId($val)
{
$this->_propDict["containerId"] = $val;
return $this;
}
/**
* Gets the sessionExpirationDateTime
* The expiration date and time for the file upload session. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The sessionExpirationDateTime
*/
public function getSessionExpirationDateTime()
{
if (array_key_exists("sessionExpirationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["sessionExpirationDateTime"], "\DateTime") || is_null($this->_propDict["sessionExpirationDateTime"])) {
return $this->_propDict["sessionExpirationDateTime"];
} else {
$this->_propDict["sessionExpirationDateTime"] = new \DateTime($this->_propDict["sessionExpirationDateTime"]);
return $this->_propDict["sessionExpirationDateTime"];
}
}
return null;
}
/**
* Sets the sessionExpirationDateTime
* The expiration date and time for the file upload session. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The value to assign to the sessionExpirationDateTime
*
* @return FileUploadSession The FileUploadSession
*/
public function setSessionExpirationDateTime($val)
{
$this->_propDict["sessionExpirationDateTime"] = $val;
return $this;
}
/**
* Gets the sessionUrl
* The Azure Storage SAS URI to upload source files to.
*
* @return string|null The sessionUrl
*/
public function getSessionUrl()
{
if (array_key_exists("sessionUrl", $this->_propDict)) {
return $this->_propDict["sessionUrl"];
} else {
return null;
}
}
/**
* Sets the sessionUrl
* The Azure Storage SAS URI to upload source files to.
*
* @param string $val The value of the sessionUrl
*
* @return FileUploadSession
*/
public function setSessionUrl($val)
{
$this->_propDict["sessionUrl"] = $val;
return $this;
}
}

View File

@ -0,0 +1,56 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* FileValidateOperation 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\IndustryData\Model;
/**
* FileValidateOperation 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 FileValidateOperation extends ValidateOperation
{
/**
* Gets the validatedFiles
* Set of files validated by the validate operation.
*
* @return array|null The validatedFiles
*/
public function getValidatedFiles()
{
if (array_key_exists("validatedFiles", $this->_propDict)) {
return $this->_propDict["validatedFiles"];
} else {
return null;
}
}
/**
* Sets the validatedFiles
* Set of files validated by the validate operation.
*
* @param string[] $val The validatedFiles
*
* @return FileValidateOperation
*/
public function setValidatedFiles($val)
{
$this->_propDict["validatedFiles"] = $val;
return $this;
}
}

View File

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

View File

@ -0,0 +1,280 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* InboundActivityResults 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\IndustryData\Model;
/**
* InboundActivityResults 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 InboundActivityResults extends IndustryDataActivityStatistics
{
/**
* Gets the errors
* Number of errors encountered while processing the inbound flow.
*
* @return int|null The errors
*/
public function getErrors()
{
if (array_key_exists("errors", $this->_propDict)) {
return $this->_propDict["errors"];
} else {
return null;
}
}
/**
* Sets the errors
* Number of errors encountered while processing the inbound flow.
*
* @param int $val The value of the errors
*
* @return InboundActivityResults
*/
public function setErrors($val)
{
$this->_propDict["errors"] = $val;
return $this;
}
/**
* Gets the groups
* Counts of active and inactive groups processed by the inbound flow.
*
* @return IndustryDataRunEntityCountMetric|null The groups
*/
public function getGroups()
{
if (array_key_exists("groups", $this->_propDict)) {
if (is_a($this->_propDict["groups"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunEntityCountMetric") || is_null($this->_propDict["groups"])) {
return $this->_propDict["groups"];
} else {
$this->_propDict["groups"] = new IndustryDataRunEntityCountMetric($this->_propDict["groups"]);
return $this->_propDict["groups"];
}
}
return null;
}
/**
* Sets the groups
* Counts of active and inactive groups processed by the inbound flow.
*
* @param IndustryDataRunEntityCountMetric $val The value to assign to the groups
*
* @return InboundActivityResults The InboundActivityResults
*/
public function setGroups($val)
{
$this->_propDict["groups"] = $val;
return $this;
}
/**
* Gets the matchedPeopleByRole
* Number of people matched to an Azure Active Directory user, by role.
*
* @return IndustryDataRunRoleCountMetric|null The matchedPeopleByRole
*/
public function getMatchedPeopleByRole()
{
if (array_key_exists("matchedPeopleByRole", $this->_propDict)) {
if (is_a($this->_propDict["matchedPeopleByRole"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunRoleCountMetric") || is_null($this->_propDict["matchedPeopleByRole"])) {
return $this->_propDict["matchedPeopleByRole"];
} else {
$this->_propDict["matchedPeopleByRole"] = new IndustryDataRunRoleCountMetric($this->_propDict["matchedPeopleByRole"]);
return $this->_propDict["matchedPeopleByRole"];
}
}
return null;
}
/**
* Sets the matchedPeopleByRole
* Number of people matched to an Azure Active Directory user, by role.
*
* @param IndustryDataRunRoleCountMetric $val The value to assign to the matchedPeopleByRole
*
* @return InboundActivityResults The InboundActivityResults
*/
public function setMatchedPeopleByRole($val)
{
$this->_propDict["matchedPeopleByRole"] = $val;
return $this;
}
/**
* Gets the memberships
* Counts of active and inactive memberships processed by the inbound flow.
*
* @return IndustryDataRunEntityCountMetric|null The memberships
*/
public function getMemberships()
{
if (array_key_exists("memberships", $this->_propDict)) {
if (is_a($this->_propDict["memberships"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunEntityCountMetric") || is_null($this->_propDict["memberships"])) {
return $this->_propDict["memberships"];
} else {
$this->_propDict["memberships"] = new IndustryDataRunEntityCountMetric($this->_propDict["memberships"]);
return $this->_propDict["memberships"];
}
}
return null;
}
/**
* Sets the memberships
* Counts of active and inactive memberships processed by the inbound flow.
*
* @param IndustryDataRunEntityCountMetric $val The value to assign to the memberships
*
* @return InboundActivityResults The InboundActivityResults
*/
public function setMemberships($val)
{
$this->_propDict["memberships"] = $val;
return $this;
}
/**
* Gets the organizations
* Counts of active and inactive organizations processed by the inbound flow.
*
* @return IndustryDataRunEntityCountMetric|null The organizations
*/
public function getOrganizations()
{
if (array_key_exists("organizations", $this->_propDict)) {
if (is_a($this->_propDict["organizations"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunEntityCountMetric") || is_null($this->_propDict["organizations"])) {
return $this->_propDict["organizations"];
} else {
$this->_propDict["organizations"] = new IndustryDataRunEntityCountMetric($this->_propDict["organizations"]);
return $this->_propDict["organizations"];
}
}
return null;
}
/**
* Sets the organizations
* Counts of active and inactive organizations processed by the inbound flow.
*
* @param IndustryDataRunEntityCountMetric $val The value to assign to the organizations
*
* @return InboundActivityResults The InboundActivityResults
*/
public function setOrganizations($val)
{
$this->_propDict["organizations"] = $val;
return $this;
}
/**
* Gets the people
* Counts of active and inactive people processed by the inbound flow.
*
* @return IndustryDataRunEntityCountMetric|null The people
*/
public function getPeople()
{
if (array_key_exists("people", $this->_propDict)) {
if (is_a($this->_propDict["people"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunEntityCountMetric") || is_null($this->_propDict["people"])) {
return $this->_propDict["people"];
} else {
$this->_propDict["people"] = new IndustryDataRunEntityCountMetric($this->_propDict["people"]);
return $this->_propDict["people"];
}
}
return null;
}
/**
* Sets the people
* Counts of active and inactive people processed by the inbound flow.
*
* @param IndustryDataRunEntityCountMetric $val The value to assign to the people
*
* @return InboundActivityResults The InboundActivityResults
*/
public function setPeople($val)
{
$this->_propDict["people"] = $val;
return $this;
}
/**
* Gets the unmatchedPeopleByRole
* Number of people not matched to an Azure Active Directory user, by role.
*
* @return IndustryDataRunRoleCountMetric|null The unmatchedPeopleByRole
*/
public function getUnmatchedPeopleByRole()
{
if (array_key_exists("unmatchedPeopleByRole", $this->_propDict)) {
if (is_a($this->_propDict["unmatchedPeopleByRole"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunRoleCountMetric") || is_null($this->_propDict["unmatchedPeopleByRole"])) {
return $this->_propDict["unmatchedPeopleByRole"];
} else {
$this->_propDict["unmatchedPeopleByRole"] = new IndustryDataRunRoleCountMetric($this->_propDict["unmatchedPeopleByRole"]);
return $this->_propDict["unmatchedPeopleByRole"];
}
}
return null;
}
/**
* Sets the unmatchedPeopleByRole
* Number of people not matched to an Azure Active Directory user, by role.
*
* @param IndustryDataRunRoleCountMetric $val The value to assign to the unmatchedPeopleByRole
*
* @return InboundActivityResults The InboundActivityResults
*/
public function setUnmatchedPeopleByRole($val)
{
$this->_propDict["unmatchedPeopleByRole"] = $val;
return $this;
}
/**
* Gets the warnings
* Number of warnings encountered while processing the inbound flow.
*
* @return int|null The warnings
*/
public function getWarnings()
{
if (array_key_exists("warnings", $this->_propDict)) {
return $this->_propDict["warnings"];
} else {
return null;
}
}
/**
* Sets the warnings
* Number of warnings encountered while processing the inbound flow.
*
* @param int $val The value of the warnings
*
* @return InboundActivityResults
*/
public function setWarnings($val)
{
$this->_propDict["warnings"] = $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.
*
* InboundDomain 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\IndustryData\Model;
use Microsoft\Graph\Core\Enum;
/**
* InboundDomain 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 InboundDomain extends Enum
{
/**
* The Enum InboundDomain
*/
const EDUCATION_ROSTERING = "educationRostering";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

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

View File

@ -0,0 +1,192 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* InboundFlow 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\IndustryData\Model;
/**
* InboundFlow 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 InboundFlow extends IndustryDataActivity
{
/**
* Gets the dataDomain
* The broad category of data that this flow imports. The possible values are: educationRostering, unknownFutureValue.
*
* @return InboundDomain|null The dataDomain
*/
public function getDataDomain()
{
if (array_key_exists("dataDomain", $this->_propDict)) {
if (is_a($this->_propDict["dataDomain"], "\Beta\Microsoft\Graph\IndustryData\Model\InboundDomain") || is_null($this->_propDict["dataDomain"])) {
return $this->_propDict["dataDomain"];
} else {
$this->_propDict["dataDomain"] = new InboundDomain($this->_propDict["dataDomain"]);
return $this->_propDict["dataDomain"];
}
}
return null;
}
/**
* Sets the dataDomain
* The broad category of data that this flow imports. The possible values are: educationRostering, unknownFutureValue.
*
* @param InboundDomain $val The dataDomain
*
* @return InboundFlow
*/
public function setDataDomain($val)
{
$this->_propDict["dataDomain"] = $val;
return $this;
}
/**
* Gets the effectiveDateTime
* The start of the time window when the flow is allowed to run. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The effectiveDateTime
*/
public function getEffectiveDateTime()
{
if (array_key_exists("effectiveDateTime", $this->_propDict)) {
if (is_a($this->_propDict["effectiveDateTime"], "\DateTime") || is_null($this->_propDict["effectiveDateTime"])) {
return $this->_propDict["effectiveDateTime"];
} else {
$this->_propDict["effectiveDateTime"] = new \DateTime($this->_propDict["effectiveDateTime"]);
return $this->_propDict["effectiveDateTime"];
}
}
return null;
}
/**
* Sets the effectiveDateTime
* The start of the time window when the flow is allowed to run. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The effectiveDateTime
*
* @return InboundFlow
*/
public function setEffectiveDateTime($val)
{
$this->_propDict["effectiveDateTime"] = $val;
return $this;
}
/**
* Gets the expirationDateTime
* The end of the time window when the flow is allowed to run. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The expirationDateTime
*/
public function getExpirationDateTime()
{
if (array_key_exists("expirationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["expirationDateTime"], "\DateTime") || is_null($this->_propDict["expirationDateTime"])) {
return $this->_propDict["expirationDateTime"];
} else {
$this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]);
return $this->_propDict["expirationDateTime"];
}
}
return null;
}
/**
* Sets the expirationDateTime
* The end of the time window when the flow is allowed to run. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The expirationDateTime
*
* @return InboundFlow
*/
public function setExpirationDateTime($val)
{
$this->_propDict["expirationDateTime"] = $val;
return $this;
}
/**
* Gets the dataConnector
* The data connector in the context of which this flow pulls in data from a source system.
*
* @return IndustryDataConnector|null The dataConnector
*/
public function getDataConnector()
{
if (array_key_exists("dataConnector", $this->_propDict)) {
if (is_a($this->_propDict["dataConnector"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataConnector") || is_null($this->_propDict["dataConnector"])) {
return $this->_propDict["dataConnector"];
} else {
$this->_propDict["dataConnector"] = new IndustryDataConnector($this->_propDict["dataConnector"]);
return $this->_propDict["dataConnector"];
}
}
return null;
}
/**
* Sets the dataConnector
* The data connector in the context of which this flow pulls in data from a source system.
*
* @param IndustryDataConnector $val The dataConnector
*
* @return InboundFlow
*/
public function setDataConnector($val)
{
$this->_propDict["dataConnector"] = $val;
return $this;
}
/**
* Gets the year
* The year that the data brought in via this flow applies to.
*
* @return YearTimePeriodDefinition|null The year
*/
public function getYear()
{
if (array_key_exists("year", $this->_propDict)) {
if (is_a($this->_propDict["year"], "\Beta\Microsoft\Graph\IndustryData\Model\YearTimePeriodDefinition") || is_null($this->_propDict["year"])) {
return $this->_propDict["year"];
} else {
$this->_propDict["year"] = new YearTimePeriodDefinition($this->_propDict["year"]);
return $this->_propDict["year"];
}
}
return null;
}
/**
* Sets the year
* The year that the data brought in via this flow applies to.
*
* @param YearTimePeriodDefinition $val The year
*
* @return InboundFlow
*/
public function setYear($val)
{
$this->_propDict["year"] = $val;
return $this;
}
}

View File

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

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.
*
* IndustryDataActivity 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\IndustryData\Model;
/**
* IndustryDataActivity 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 IndustryDataActivity extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the displayName
* The name of the activity. Maximum supported length is 100 characters.
*
* @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 activity. Maximum supported length is 100 characters.
*
* @param string $val The displayName
*
* @return IndustryDataActivity
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the readinessStatus
* The state of the activity from creation through to ready to do work. The possible values are: notReady, ready, failed, disabled, expired, unknownFutureValue.
*
* @return ReadinessStatus|null The readinessStatus
*/
public function getReadinessStatus()
{
if (array_key_exists("readinessStatus", $this->_propDict)) {
if (is_a($this->_propDict["readinessStatus"], "\Beta\Microsoft\Graph\IndustryData\Model\ReadinessStatus") || is_null($this->_propDict["readinessStatus"])) {
return $this->_propDict["readinessStatus"];
} else {
$this->_propDict["readinessStatus"] = new ReadinessStatus($this->_propDict["readinessStatus"]);
return $this->_propDict["readinessStatus"];
}
}
return null;
}
/**
* Sets the readinessStatus
* The state of the activity from creation through to ready to do work. The possible values are: notReady, ready, failed, disabled, expired, unknownFutureValue.
*
* @param ReadinessStatus $val The readinessStatus
*
* @return IndustryDataActivity
*/
public function setReadinessStatus($val)
{
$this->_propDict["readinessStatus"] = $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.
*
* IndustryDataActivityStatistics 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\IndustryData\Model;
/**
* IndustryDataActivityStatistics 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 IndustryDataActivityStatistics extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the activityId
* The identifier for the activity that is being reported on.
*
* @return string|null The activityId
*/
public function getActivityId()
{
if (array_key_exists("activityId", $this->_propDict)) {
return $this->_propDict["activityId"];
} else {
return null;
}
}
/**
* Sets the activityId
* The identifier for the activity that is being reported on.
*
* @param string $val The value of the activityId
*
* @return IndustryDataActivityStatistics
*/
public function setActivityId($val)
{
$this->_propDict["activityId"] = $val;
return $this;
}
/**
* Gets the displayName
* The display name of the underlying flow.
*
* @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 display name of the underlying flow.
*
* @param string $val The value of the displayName
*
* @return IndustryDataActivityStatistics
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the status
* The latest status of the activity in the run. The possible values are: inProgress, skipped, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue.
*
* @return IndustryDataActivityStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataActivityStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new IndustryDataActivityStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* The latest status of the activity in the run. The possible values are: inProgress, skipped, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue.
*
* @param IndustryDataActivityStatus $val The value to assign to the status
*
* @return IndustryDataActivityStatistics The IndustryDataActivityStatistics
*/
public function setStatus($val)
{
$this->_propDict["status"] = $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.
*
* IndustryDataActivityStatus 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\IndustryData\Model;
use Microsoft\Graph\Core\Enum;
/**
* IndustryDataActivityStatus 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 IndustryDataActivityStatus extends Enum
{
/**
* The Enum IndustryDataActivityStatus
*/
const IN_PROGRESS = "inProgress";
const SKIPPED = "skipped";
const FAILED = "failed";
const COMPLETED = "completed";
const COMPLETED_WITH_ERRORS = "completedWithErrors";
const COMPLETED_WITH_WARNINGS = "completedWithWarnings";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

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.
*
* IndustryDataConnector 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\IndustryData\Model;
/**
* IndustryDataConnector 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 IndustryDataConnector extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the displayName
* The name of the data connector. Maximum supported length is 100 characters.
*
* @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 data connector. Maximum supported length is 100 characters.
*
* @param string $val The displayName
*
* @return IndustryDataConnector
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the sourceSystem
* The sourceSystemDefinition this connector is connected to.
*
* @return SourceSystemDefinition|null The sourceSystem
*/
public function getSourceSystem()
{
if (array_key_exists("sourceSystem", $this->_propDict)) {
if (is_a($this->_propDict["sourceSystem"], "\Beta\Microsoft\Graph\IndustryData\Model\SourceSystemDefinition") || is_null($this->_propDict["sourceSystem"])) {
return $this->_propDict["sourceSystem"];
} else {
$this->_propDict["sourceSystem"] = new SourceSystemDefinition($this->_propDict["sourceSystem"]);
return $this->_propDict["sourceSystem"];
}
}
return null;
}
/**
* Sets the sourceSystem
* The sourceSystemDefinition this connector is connected to.
*
* @param SourceSystemDefinition $val The sourceSystem
*
* @return IndustryDataConnector
*/
public function setSourceSystem($val)
{
$this->_propDict["sourceSystem"] = $val;
return $this;
}
}

View File

@ -0,0 +1,267 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IndustryDataRoot 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\IndustryData\Model;
/**
* IndustryDataRoot 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 IndustryDataRoot extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the dataConnectors
* Set of connectors for importing data from source systems.
*
* @return array|null The dataConnectors
*/
public function getDataConnectors()
{
if (array_key_exists("dataConnectors", $this->_propDict)) {
return $this->_propDict["dataConnectors"];
} else {
return null;
}
}
/**
* Sets the dataConnectors
* Set of connectors for importing data from source systems.
*
* @param IndustryDataConnector[] $val The dataConnectors
*
* @return IndustryDataRoot
*/
public function setDataConnectors($val)
{
$this->_propDict["dataConnectors"] = $val;
return $this;
}
/**
* Gets the inboundFlows
* Set of data import flow activities to bring data into the canonical store via a connector.
*
* @return array|null The inboundFlows
*/
public function getInboundFlows()
{
if (array_key_exists("inboundFlows", $this->_propDict)) {
return $this->_propDict["inboundFlows"];
} else {
return null;
}
}
/**
* Sets the inboundFlows
* Set of data import flow activities to bring data into the canonical store via a connector.
*
* @param InboundFlow[] $val The inboundFlows
*
* @return IndustryDataRoot
*/
public function setInboundFlows($val)
{
$this->_propDict["inboundFlows"] = $val;
return $this;
}
/**
* Gets the operations
* Set of ephemeral operations that the system runs currently. Read-only.
*
* @return array|null The operations
*/
public function getOperations()
{
if (array_key_exists("operations", $this->_propDict)) {
return $this->_propDict["operations"];
} else {
return null;
}
}
/**
* Sets the operations
* Set of ephemeral operations that the system runs currently. Read-only.
*
* @param \Beta\Microsoft\Graph\Model\LongRunningOperation[] $val The operations
*
* @return IndustryDataRoot
*/
public function setOperations($val)
{
$this->_propDict["operations"] = $val;
return $this;
}
/**
* Gets the referenceDefinitions
* Set of user modifiable system picker types.
*
* @return array|null The referenceDefinitions
*/
public function getReferenceDefinitions()
{
if (array_key_exists("referenceDefinitions", $this->_propDict)) {
return $this->_propDict["referenceDefinitions"];
} else {
return null;
}
}
/**
* Sets the referenceDefinitions
* Set of user modifiable system picker types.
*
* @param ReferenceDefinition[] $val The referenceDefinitions
*
* @return IndustryDataRoot
*/
public function setReferenceDefinitions($val)
{
$this->_propDict["referenceDefinitions"] = $val;
return $this;
}
/**
* Gets the roleGroups
* Set of groups of individual roles that makes role-based admin simpler.
*
* @return array|null The roleGroups
*/
public function getRoleGroups()
{
if (array_key_exists("roleGroups", $this->_propDict)) {
return $this->_propDict["roleGroups"];
} else {
return null;
}
}
/**
* Sets the roleGroups
* Set of groups of individual roles that makes role-based admin simpler.
*
* @param RoleGroup[] $val The roleGroups
*
* @return IndustryDataRoot
*/
public function setRoleGroups($val)
{
$this->_propDict["roleGroups"] = $val;
return $this;
}
/**
* Gets the runs
* Set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only.
*
* @return array|null The runs
*/
public function getRuns()
{
if (array_key_exists("runs", $this->_propDict)) {
return $this->_propDict["runs"];
} else {
return null;
}
}
/**
* Sets the runs
* Set of ephemeral runs which present the point-in-time that diagnostic state of activities performed by the system. Read-only.
*
* @param IndustryDataRun[] $val The runs
*
* @return IndustryDataRoot
*/
public function setRuns($val)
{
$this->_propDict["runs"] = $val;
return $this;
}
/**
* Gets the sourceSystems
* Set of source definitions that represents real-world external systems.
*
* @return array|null The sourceSystems
*/
public function getSourceSystems()
{
if (array_key_exists("sourceSystems", $this->_propDict)) {
return $this->_propDict["sourceSystems"];
} else {
return null;
}
}
/**
* Sets the sourceSystems
* Set of source definitions that represents real-world external systems.
*
* @param SourceSystemDefinition[] $val The sourceSystems
*
* @return IndustryDataRoot
*/
public function setSourceSystems($val)
{
$this->_propDict["sourceSystems"] = $val;
return $this;
}
/**
* Gets the years
* Set of years represented in the system.
*
* @return array|null The years
*/
public function getYears()
{
if (array_key_exists("years", $this->_propDict)) {
return $this->_propDict["years"];
} else {
return null;
}
}
/**
* Sets the years
* Set of years represented in the system.
*
* @param YearTimePeriodDefinition[] $val The years
*
* @return IndustryDataRoot
*/
public function setYears($val)
{
$this->_propDict["years"] = $val;
return $this;
}
}

View File

@ -0,0 +1,218 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IndustryDataRun 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\IndustryData\Model;
/**
* IndustryDataRun 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 IndustryDataRun extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the blockingError
* An error object to diagnose critical failures in the run.
*
* @return \Beta\Microsoft\Graph\Model\PublicError|null The blockingError
*/
public function getBlockingError()
{
if (array_key_exists("blockingError", $this->_propDict)) {
if (is_a($this->_propDict["blockingError"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["blockingError"])) {
return $this->_propDict["blockingError"];
} else {
$this->_propDict["blockingError"] = new \Beta\Microsoft\Graph\Model\PublicError($this->_propDict["blockingError"]);
return $this->_propDict["blockingError"];
}
}
return null;
}
/**
* Sets the blockingError
* An error object to diagnose critical failures in the run.
*
* @param \Beta\Microsoft\Graph\Model\PublicError $val The blockingError
*
* @return IndustryDataRun
*/
public function setBlockingError($val)
{
$this->_propDict["blockingError"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the run for rendering in a user interface.
*
* @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 run for rendering in a user interface.
*
* @param string $val The displayName
*
* @return IndustryDataRun
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the endDateTime
* The date and time when the run finished or null if the run is still in-progress. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The endDateTime
*/
public function getEndDateTime()
{
if (array_key_exists("endDateTime", $this->_propDict)) {
if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) {
return $this->_propDict["endDateTime"];
} else {
$this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]);
return $this->_propDict["endDateTime"];
}
}
return null;
}
/**
* Sets the endDateTime
* The date and time when the run finished or null if the run is still in-progress. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The endDateTime
*
* @return IndustryDataRun
*/
public function setEndDateTime($val)
{
$this->_propDict["endDateTime"] = $val;
return $this;
}
/**
* Gets the startDateTime
* The date and time when the run started. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @return \DateTime|null The startDateTime
*/
public function getStartDateTime()
{
if (array_key_exists("startDateTime", $this->_propDict)) {
if (is_a($this->_propDict["startDateTime"], "\DateTime") || is_null($this->_propDict["startDateTime"])) {
return $this->_propDict["startDateTime"];
} else {
$this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]);
return $this->_propDict["startDateTime"];
}
}
return null;
}
/**
* Sets the startDateTime
* The date and time when the run started. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The startDateTime
*
* @return IndustryDataRun
*/
public function setStartDateTime($val)
{
$this->_propDict["startDateTime"] = $val;
return $this;
}
/**
* Gets the status
* The current status of the run. The possible values are: running, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue.
*
* @return IndustryDataRunStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new IndustryDataRunStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* The current status of the run. The possible values are: running, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue.
*
* @param IndustryDataRunStatus $val The status
*
* @return IndustryDataRun
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the activities
* The set of activities performed during the run.
*
* @return array|null The activities
*/
public function getActivities()
{
if (array_key_exists("activities", $this->_propDict)) {
return $this->_propDict["activities"];
} else {
return null;
}
}
/**
* Sets the activities
* The set of activities performed during the run.
*
* @param IndustryDataRunActivity[] $val The activities
*
* @return IndustryDataRun
*/
public function setActivities($val)
{
$this->_propDict["activities"] = $val;
return $this;
}
}

View File

@ -0,0 +1,155 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IndustryDataRunActivity 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\IndustryData\Model;
/**
* IndustryDataRunActivity 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 IndustryDataRunActivity extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the blockingError
* An error object to diagnose critical failures in an activity.
*
* @return \Beta\Microsoft\Graph\Model\PublicError|null The blockingError
*/
public function getBlockingError()
{
if (array_key_exists("blockingError", $this->_propDict)) {
if (is_a($this->_propDict["blockingError"], "\Beta\Microsoft\Graph\Model\PublicError") || is_null($this->_propDict["blockingError"])) {
return $this->_propDict["blockingError"];
} else {
$this->_propDict["blockingError"] = new \Beta\Microsoft\Graph\Model\PublicError($this->_propDict["blockingError"]);
return $this->_propDict["blockingError"];
}
}
return null;
}
/**
* Sets the blockingError
* An error object to diagnose critical failures in an activity.
*
* @param \Beta\Microsoft\Graph\Model\PublicError $val The blockingError
*
* @return IndustryDataRunActivity
*/
public function setBlockingError($val)
{
$this->_propDict["blockingError"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the running flow.
*
* @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 running flow.
*
* @param string $val The displayName
*
* @return IndustryDataRunActivity
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the status
* The current status of the activity. The possible values are: inProgress, skipped, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue.
*
* @return IndustryDataActivityStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataActivityStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new IndustryDataActivityStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* The current status of the activity. The possible values are: inProgress, skipped, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue.
*
* @param IndustryDataActivityStatus $val The status
*
* @return IndustryDataRunActivity
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the activity
* The flow that was run by this activity.
*
* @return IndustryDataActivity|null The activity
*/
public function getActivity()
{
if (array_key_exists("activity", $this->_propDict)) {
if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataActivity") || is_null($this->_propDict["activity"])) {
return $this->_propDict["activity"];
} else {
$this->_propDict["activity"] = new IndustryDataActivity($this->_propDict["activity"]);
return $this->_propDict["activity"];
}
}
return null;
}
/**
* Sets the activity
* The flow that was run by this activity.
*
* @param IndustryDataActivity $val The activity
*
* @return IndustryDataRunActivity
*/
public function setActivity($val)
{
$this->_propDict["activity"] = $val;
return $this;
}
}

View File

@ -0,0 +1,110 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IndustryDataRunEntityCountMetric 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\IndustryData\Model;
/**
* IndustryDataRunEntityCountMetric 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 IndustryDataRunEntityCountMetric extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the active
* The count of entries for the entity marked as Active.
*
* @return int|null The active
*/
public function getActive()
{
if (array_key_exists("active", $this->_propDict)) {
return $this->_propDict["active"];
} else {
return null;
}
}
/**
* Sets the active
* The count of entries for the entity marked as Active.
*
* @param int $val The value of the active
*
* @return IndustryDataRunEntityCountMetric
*/
public function setActive($val)
{
$this->_propDict["active"] = $val;
return $this;
}
/**
* Gets the inactive
* The count of entries for the entity marked as Inactive.
*
* @return int|null The inactive
*/
public function getInactive()
{
if (array_key_exists("inactive", $this->_propDict)) {
return $this->_propDict["inactive"];
} else {
return null;
}
}
/**
* Sets the inactive
* The count of entries for the entity marked as Inactive.
*
* @param int $val The value of the inactive
*
* @return IndustryDataRunEntityCountMetric
*/
public function setInactive($val)
{
$this->_propDict["inactive"] = $val;
return $this;
}
/**
* Gets the total
* Total count of the entity.
*
* @return int|null The total
*/
public function getTotal()
{
if (array_key_exists("total", $this->_propDict)) {
return $this->_propDict["total"];
} else {
return null;
}
}
/**
* Sets the total
* Total count of the entity.
*
* @param int $val The value of the total
*
* @return IndustryDataRunEntityCountMetric
*/
public function setTotal($val)
{
$this->_propDict["total"] = $val;
return $this;
}
}

View File

@ -0,0 +1,82 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IndustryDataRunRoleCountMetric 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\IndustryData\Model;
/**
* IndustryDataRunRoleCountMetric 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 IndustryDataRunRoleCountMetric extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the count
* The number of people in this role.
*
* @return int|null The count
*/
public function getCount()
{
if (array_key_exists("count", $this->_propDict)) {
return $this->_propDict["count"];
} else {
return null;
}
}
/**
* Sets the count
* The number of people in this role.
*
* @param int $val The value of the count
*
* @return IndustryDataRunRoleCountMetric
*/
public function setCount($val)
{
$this->_propDict["count"] = $val;
return $this;
}
/**
* Gets the role
* The role that is being measured.
*
* @return string|null The role
*/
public function getRole()
{
if (array_key_exists("role", $this->_propDict)) {
return $this->_propDict["role"];
} else {
return null;
}
}
/**
* Sets the role
* The role that is being measured.
*
* @param string $val The value of the role
*
* @return IndustryDataRunRoleCountMetric
*/
public function setRole($val)
{
$this->_propDict["role"] = $val;
return $this;
}
}

View File

@ -0,0 +1,153 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* IndustryDataRunStatistics 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\IndustryData\Model;
/**
* IndustryDataRunStatistics 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 IndustryDataRunStatistics extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the activityStatistics
* The collection of statistics for each activity included in this run.
*
* @return IndustryDataActivityStatistics|null The activityStatistics
*/
public function getActivityStatistics()
{
if (array_key_exists("activityStatistics", $this->_propDict)) {
if (is_a($this->_propDict["activityStatistics"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataActivityStatistics") || is_null($this->_propDict["activityStatistics"])) {
return $this->_propDict["activityStatistics"];
} else {
$this->_propDict["activityStatistics"] = new IndustryDataActivityStatistics($this->_propDict["activityStatistics"]);
return $this->_propDict["activityStatistics"];
}
}
return null;
}
/**
* Sets the activityStatistics
* The collection of statistics for each activity included in this run.
*
* @param IndustryDataActivityStatistics $val The value to assign to the activityStatistics
*
* @return IndustryDataRunStatistics The IndustryDataRunStatistics
*/
public function setActivityStatistics($val)
{
$this->_propDict["activityStatistics"] = $val;
return $this;
}
/**
* Gets the inboundTotals
* The aggregate statistics for all inbound flows.
*
* @return AggregatedInboundStatistics|null The inboundTotals
*/
public function getInboundTotals()
{
if (array_key_exists("inboundTotals", $this->_propDict)) {
if (is_a($this->_propDict["inboundTotals"], "\Beta\Microsoft\Graph\IndustryData\Model\AggregatedInboundStatistics") || is_null($this->_propDict["inboundTotals"])) {
return $this->_propDict["inboundTotals"];
} else {
$this->_propDict["inboundTotals"] = new AggregatedInboundStatistics($this->_propDict["inboundTotals"]);
return $this->_propDict["inboundTotals"];
}
}
return null;
}
/**
* Sets the inboundTotals
* The aggregate statistics for all inbound flows.
*
* @param AggregatedInboundStatistics $val The value to assign to the inboundTotals
*
* @return IndustryDataRunStatistics The IndustryDataRunStatistics
*/
public function setInboundTotals($val)
{
$this->_propDict["inboundTotals"] = $val;
return $this;
}
/**
* Gets the runId
* The ID of the underlying run for the statistics.
*
* @return string|null The runId
*/
public function getRunId()
{
if (array_key_exists("runId", $this->_propDict)) {
return $this->_propDict["runId"];
} else {
return null;
}
}
/**
* Sets the runId
* The ID of the underlying run for the statistics.
*
* @param string $val The value of the runId
*
* @return IndustryDataRunStatistics
*/
public function setRunId($val)
{
$this->_propDict["runId"] = $val;
return $this;
}
/**
* Gets the status
* The latest status of the run. The possible values are: running, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue.
*
* @return IndustryDataRunStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\IndustryData\Model\IndustryDataRunStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new IndustryDataRunStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* The latest status of the run. The possible values are: running, failed, completed, completedWithErrors, completedWithWarnings, unknownFutureValue.
*
* @param IndustryDataRunStatus $val The value to assign to the status
*
* @return IndustryDataRunStatistics The IndustryDataRunStatistics
*/
public function setStatus($val)
{
$this->_propDict["status"] = $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.
*
* IndustryDataRunStatus 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\IndustryData\Model;
use Microsoft\Graph\Core\Enum;
/**
* IndustryDataRunStatus 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 IndustryDataRunStatus extends Enum
{
/**
* The Enum IndustryDataRunStatus
*/
const RUNNING = "running";
const FAILED = "failed";
const COMPLETED = "completed";
const COMPLETED_WITH_ERRORS = "completedWithErrors";
const COMPLETED_WITH_WARNINGS = "completedWithWarnings";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

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

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.
*
* ReadinessStatus 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\IndustryData\Model;
use Microsoft\Graph\Core\Enum;
/**
* ReadinessStatus 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 ReadinessStatus extends Enum
{
/**
* The Enum ReadinessStatus
*/
const NOT_READY = "notReady";
const READY = "ready";
const FAILED = "failed";
const DISABLED = "disabled";
const EXPIRED = "expired";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,238 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ReferenceDefinition 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\IndustryData\Model;
/**
* ReferenceDefinition 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 ReferenceDefinition extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the code
* The code value for the definition that must be unique within the referenceType.
*
* @return string|null The code
*/
public function getCode()
{
if (array_key_exists("code", $this->_propDict)) {
return $this->_propDict["code"];
} else {
return null;
}
}
/**
* Sets the code
* The code value for the definition that must be unique within the referenceType.
*
* @param string $val The code
*
* @return ReferenceDefinition
*/
public function setCode($val)
{
$this->_propDict["code"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* The date and time when the definition was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-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 definition was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The createdDateTime
*
* @return ReferenceDefinition
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the isDisabled
* Indicates whether the definition has been disabled.
*
* @return bool|null The isDisabled
*/
public function getIsDisabled()
{
if (array_key_exists("isDisabled", $this->_propDict)) {
return $this->_propDict["isDisabled"];
} else {
return null;
}
}
/**
* Sets the isDisabled
* Indicates whether the definition has been disabled.
*
* @param bool $val The isDisabled
*
* @return ReferenceDefinition
*/
public function setIsDisabled($val)
{
$this->_propDict["isDisabled"] = boolval($val);
return $this;
}
/**
* Gets the lastModifiedDateTime
* The date and time when the definition was most recently changed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-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 definition was most recently changed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return ReferenceDefinition
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the referenceType
* The categorical type for a collection of enumerated values.
*
* @return string|null The referenceType
*/
public function getReferenceType()
{
if (array_key_exists("referenceType", $this->_propDict)) {
return $this->_propDict["referenceType"];
} else {
return null;
}
}
/**
* Sets the referenceType
* The categorical type for a collection of enumerated values.
*
* @param string $val The referenceType
*
* @return ReferenceDefinition
*/
public function setReferenceType($val)
{
$this->_propDict["referenceType"] = $val;
return $this;
}
/**
* Gets the sortIndex
* The ordering index to present the definitions within a type consistently in user interfaces.
*
* @return int|null The sortIndex
*/
public function getSortIndex()
{
if (array_key_exists("sortIndex", $this->_propDict)) {
return $this->_propDict["sortIndex"];
} else {
return null;
}
}
/**
* Sets the sortIndex
* The ordering index to present the definitions within a type consistently in user interfaces.
*
* @param int $val The sortIndex
*
* @return ReferenceDefinition
*/
public function setSortIndex($val)
{
$this->_propDict["sortIndex"] = intval($val);
return $this;
}
/**
* Gets the source
* The standards body or organization source which defined the code.
*
* @return string|null The source
*/
public function getSource()
{
if (array_key_exists("source", $this->_propDict)) {
return $this->_propDict["source"];
} else {
return null;
}
}
/**
* Sets the source
* The standards body or organization source which defined the code.
*
* @param string $val The source
*
* @return ReferenceDefinition
*/
public function setSource($val)
{
$this->_propDict["source"] = $val;
return $this;
}
}

View File

@ -0,0 +1,85 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ReferenceValue 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\IndustryData\Model;
/**
* ReferenceValue 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 ReferenceValue extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the code
* The code of the desired referenceDefinition entry.
*
* @return string|null The code
*/
public function getCode()
{
if (array_key_exists("code", $this->_propDict)) {
return $this->_propDict["code"];
} else {
return null;
}
}
/**
* Sets the code
* The code of the desired referenceDefinition entry.
*
* @param string $val The value of the code
*
* @return ReferenceValue
*/
public function setCode($val)
{
$this->_propDict["code"] = $val;
return $this;
}
/**
* Gets the value
*
* @return ReferenceDefinition|null The value
*/
public function getValue()
{
if (array_key_exists("value", $this->_propDict)) {
if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\IndustryData\Model\ReferenceDefinition") || is_null($this->_propDict["value"])) {
return $this->_propDict["value"];
} else {
$this->_propDict["value"] = new ReferenceDefinition($this->_propDict["value"]);
return $this->_propDict["value"];
}
}
return null;
}
/**
* Sets the value
*
* @param ReferenceDefinition $val The value to assign to the value
*
* @return ReferenceValue The ReferenceValue
*/
public function setValue($val)
{
$this->_propDict["value"] = $val;
return $this;
}
}

View File

@ -0,0 +1,86 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* RoleGroup 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\IndustryData\Model;
/**
* RoleGroup 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 RoleGroup extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the displayName
* The name of the role group.
*
* @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 role group.
*
* @param string $val The displayName
*
* @return RoleGroup
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the roles
* The set of roles included in the role group.
*
* @return array|null The roles
*/
public function getRoles()
{
if (array_key_exists("roles", $this->_propDict)) {
return $this->_propDict["roles"];
} else {
return null;
}
}
/**
* Sets the roles
* The set of roles included in the role group.
*
* @param RoleReferenceValue[] $val The roles
*
* @return RoleGroup
*/
public function setRoles($val)
{
$this->_propDict["roles"] = $val;
return $this;
}
}

View File

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

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.
*
* SourceSystemDefinition 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\IndustryData\Model;
/**
* SourceSystemDefinition 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 SourceSystemDefinition extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the displayName
* The name of the source system. Maximum supported length is 100 characters.
*
* @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 source system. Maximum supported length is 100 characters.
*
* @param string $val The displayName
*
* @return SourceSystemDefinition
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the userMatchingSettings
* A collection of user matching settings by roleGroup.
*
* @return array|null The userMatchingSettings
*/
public function getUserMatchingSettings()
{
if (array_key_exists("userMatchingSettings", $this->_propDict)) {
return $this->_propDict["userMatchingSettings"];
} else {
return null;
}
}
/**
* Sets the userMatchingSettings
* A collection of user matching settings by roleGroup.
*
* @param UserMatchingSetting[] $val The userMatchingSettings
*
* @return SourceSystemDefinition
*/
public function setUserMatchingSettings($val)
{
$this->_propDict["userMatchingSettings"] = $val;
return $this;
}
/**
* Gets the vendor
* The name of the vendor who supplies the source system. Maximum supported length is 100 characters.
*
* @return string|null The vendor
*/
public function getVendor()
{
if (array_key_exists("vendor", $this->_propDict)) {
return $this->_propDict["vendor"];
} else {
return null;
}
}
/**
* Sets the vendor
* The name of the vendor who supplies the source system. Maximum supported length is 100 characters.
*
* @param string $val The vendor
*
* @return SourceSystemDefinition
*/
public function setVendor($val)
{
$this->_propDict["vendor"] = $val;
return $this;
}
}

View File

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

View File

@ -0,0 +1,151 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* UserMatchingSetting 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\IndustryData\Model;
/**
* UserMatchingSetting 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 UserMatchingSetting extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the matchTarget
* The RefUserMatchTarget for matching a user from the source with an Azure Active Directory user object.
*
* @return UserMatchTargetReferenceValue|null The matchTarget
*/
public function getMatchTarget()
{
if (array_key_exists("matchTarget", $this->_propDict)) {
if (is_a($this->_propDict["matchTarget"], "\Beta\Microsoft\Graph\IndustryData\Model\UserMatchTargetReferenceValue") || is_null($this->_propDict["matchTarget"])) {
return $this->_propDict["matchTarget"];
} else {
$this->_propDict["matchTarget"] = new UserMatchTargetReferenceValue($this->_propDict["matchTarget"]);
return $this->_propDict["matchTarget"];
}
}
return null;
}
/**
* Sets the matchTarget
* The RefUserMatchTarget for matching a user from the source with an Azure Active Directory user object.
*
* @param UserMatchTargetReferenceValue $val The value to assign to the matchTarget
*
* @return UserMatchingSetting The UserMatchingSetting
*/
public function setMatchTarget($val)
{
$this->_propDict["matchTarget"] = $val;
return $this;
}
/**
* Gets the priorityOrder
* The priority order to apply when a user has multiple RefRole codes assigned.
*
* @return int|null The priorityOrder
*/
public function getPriorityOrder()
{
if (array_key_exists("priorityOrder", $this->_propDict)) {
return $this->_propDict["priorityOrder"];
} else {
return null;
}
}
/**
* Sets the priorityOrder
* The priority order to apply when a user has multiple RefRole codes assigned.
*
* @param int $val The value of the priorityOrder
*
* @return UserMatchingSetting
*/
public function setPriorityOrder($val)
{
$this->_propDict["priorityOrder"] = $val;
return $this;
}
/**
* Gets the sourceIdentifier
* The RefIdentifierType that uniquely identifies a user in the source data.
*
* @return IdentifierTypeReferenceValue|null The sourceIdentifier
*/
public function getSourceIdentifier()
{
if (array_key_exists("sourceIdentifier", $this->_propDict)) {
if (is_a($this->_propDict["sourceIdentifier"], "\Beta\Microsoft\Graph\IndustryData\Model\IdentifierTypeReferenceValue") || is_null($this->_propDict["sourceIdentifier"])) {
return $this->_propDict["sourceIdentifier"];
} else {
$this->_propDict["sourceIdentifier"] = new IdentifierTypeReferenceValue($this->_propDict["sourceIdentifier"]);
return $this->_propDict["sourceIdentifier"];
}
}
return null;
}
/**
* Sets the sourceIdentifier
* The RefIdentifierType that uniquely identifies a user in the source data.
*
* @param IdentifierTypeReferenceValue $val The value to assign to the sourceIdentifier
*
* @return UserMatchingSetting The UserMatchingSetting
*/
public function setSourceIdentifier($val)
{
$this->_propDict["sourceIdentifier"] = $val;
return $this;
}
/**
* Gets the roleGroup
*
* @return RoleGroup|null The roleGroup
*/
public function getRoleGroup()
{
if (array_key_exists("roleGroup", $this->_propDict)) {
if (is_a($this->_propDict["roleGroup"], "\Beta\Microsoft\Graph\IndustryData\Model\RoleGroup") || is_null($this->_propDict["roleGroup"])) {
return $this->_propDict["roleGroup"];
} else {
$this->_propDict["roleGroup"] = new RoleGroup($this->_propDict["roleGroup"]);
return $this->_propDict["roleGroup"];
}
}
return null;
}
/**
* Sets the roleGroup
*
* @param RoleGroup $val The value to assign to the roleGroup
*
* @return UserMatchingSetting The UserMatchingSetting
*/
public function setRoleGroup($val)
{
$this->_propDict["roleGroup"] = $val;
return $this;
}
}

View File

@ -0,0 +1,87 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ValidateOperation 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\IndustryData\Model;
/**
* ValidateOperation 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 ValidateOperation extends \Beta\Microsoft\Graph\Model\LongRunningOperation
{
/**
* Gets the errors
* Set of errors discovered through validation.
*
* @return array|null The errors
*/
public function getErrors()
{
if (array_key_exists("errors", $this->_propDict)) {
return $this->_propDict["errors"];
} else {
return null;
}
}
/**
* Sets the errors
* Set of errors discovered through validation.
*
* @param \Beta\Microsoft\Graph\Model\PublicError[] $val The errors
*
* @return ValidateOperation
*/
public function setErrors($val)
{
$this->_propDict["errors"] = $val;
return $this;
}
/**
* Gets the warnings
* Set of warnings discovered through validation.
*
* @return array|null The warnings
*/
public function getWarnings()
{
if (array_key_exists("warnings", $this->_propDict)) {
return $this->_propDict["warnings"];
} else {
return null;
}
}
/**
* Sets the warnings
* Set of warnings discovered through validation.
*
* @param \Beta\Microsoft\Graph\Model\PublicError[] $val The warnings
*
* @return ValidateOperation
*/
public function setWarnings($val)
{
$this->_propDict["warnings"] = $val;
return $this;
}
}

View File

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

View File

@ -0,0 +1,155 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* YearTimePeriodDefinition 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\IndustryData\Model;
/**
* YearTimePeriodDefinition 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 YearTimePeriodDefinition extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the displayName
* The name of the year. Maximum supported length is 100 characters.
*
* @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 year. Maximum supported length is 100 characters.
*
* @param string $val The displayName
*
* @return YearTimePeriodDefinition
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the endDate
* The last day of the year using ISO 8601 format for date.
*
* @return \DateTime|null The endDate
*/
public function getEndDate()
{
if (array_key_exists("endDate", $this->_propDict)) {
if (is_a($this->_propDict["endDate"], "\DateTime") || is_null($this->_propDict["endDate"])) {
return $this->_propDict["endDate"];
} else {
$this->_propDict["endDate"] = new \DateTime($this->_propDict["endDate"]);
return $this->_propDict["endDate"];
}
}
return null;
}
/**
* Sets the endDate
* The last day of the year using ISO 8601 format for date.
*
* @param \DateTime $val The endDate
*
* @return YearTimePeriodDefinition
*/
public function setEndDate($val)
{
$this->_propDict["endDate"] = $val;
return $this;
}
/**
* Gets the startDate
* The first day of the year using ISO 8601 format for date.
*
* @return \DateTime|null The startDate
*/
public function getStartDate()
{
if (array_key_exists("startDate", $this->_propDict)) {
if (is_a($this->_propDict["startDate"], "\DateTime") || is_null($this->_propDict["startDate"])) {
return $this->_propDict["startDate"];
} else {
$this->_propDict["startDate"] = new \DateTime($this->_propDict["startDate"]);
return $this->_propDict["startDate"];
}
}
return null;
}
/**
* Sets the startDate
* The first day of the year using ISO 8601 format for date.
*
* @param \DateTime $val The startDate
*
* @return YearTimePeriodDefinition
*/
public function setStartDate($val)
{
$this->_propDict["startDate"] = $val;
return $this;
}
/**
* Gets the year
* A pointer to a year entry in the referenceDefinition collection.
*
* @return YearReferenceValue|null The year
*/
public function getYear()
{
if (array_key_exists("year", $this->_propDict)) {
if (is_a($this->_propDict["year"], "\Beta\Microsoft\Graph\IndustryData\Model\YearReferenceValue") || is_null($this->_propDict["year"])) {
return $this->_propDict["year"];
} else {
$this->_propDict["year"] = new YearReferenceValue($this->_propDict["year"]);
return $this->_propDict["year"];
}
}
return null;
}
/**
* Sets the year
* A pointer to a year entry in the referenceDefinition collection.
*
* @param YearReferenceValue $val The year
*
* @return YearTimePeriodDefinition
*/
public function setYear($val)
{
$this->_propDict["year"] = $val;
return $this;
}
}

View File

@ -169,6 +169,36 @@ class AccessPackageAssignment extends Entity
return $this;
}
/**
* Gets the customExtensionCalloutInstances
* Information about all the custom extension calls that were made during the access package assignment workflow.
*
* @return array|null The customExtensionCalloutInstances
*/
public function getCustomExtensionCalloutInstances()
{
if (array_key_exists("customExtensionCalloutInstances", $this->_propDict)) {
return $this->_propDict["customExtensionCalloutInstances"];
} else {
return null;
}
}
/**
* Sets the customExtensionCalloutInstances
* Information about all the custom extension calls that were made during the access package assignment workflow.
*
* @param CustomExtensionCalloutInstance[] $val The customExtensionCalloutInstances
*
* @return AccessPackageAssignment
*/
public function setCustomExtensionCalloutInstances($val)
{
$this->_propDict["customExtensionCalloutInstances"] = $val;
return $this;
}
/**
* Gets the expiredDateTime
* The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

View File

@ -545,4 +545,34 @@ class AccessPackageAssignmentPolicy extends Entity
return $this;
}
/**
* Gets the customExtensionStageSettings
* The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand.
*
* @return array|null The customExtensionStageSettings
*/
public function getCustomExtensionStageSettings()
{
if (array_key_exists("customExtensionStageSettings", $this->_propDict)) {
return $this->_propDict["customExtensionStageSettings"];
} else {
return null;
}
}
/**
* Sets the customExtensionStageSettings
* The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand.
*
* @param CustomExtensionStageSetting[] $val The customExtensionStageSettings
*
* @return AccessPackageAssignmentPolicy
*/
public function setCustomExtensionStageSettings($val)
{
$this->_propDict["customExtensionStageSettings"] = $val;
return $this;
}
}

View File

@ -121,6 +121,36 @@ class AccessPackageAssignmentRequest extends Entity
}
/**
* Gets the customExtensionCalloutInstances
* Information about all the custom extension calls that were made during the access package assignment request workflow.
*
* @return array|null The customExtensionCalloutInstances
*/
public function getCustomExtensionCalloutInstances()
{
if (array_key_exists("customExtensionCalloutInstances", $this->_propDict)) {
return $this->_propDict["customExtensionCalloutInstances"];
} else {
return null;
}
}
/**
* Sets the customExtensionCalloutInstances
* Information about all the custom extension calls that were made during the access package assignment request workflow.
*
* @param CustomExtensionCalloutInstance[] $val The customExtensionCalloutInstances
*
* @return AccessPackageAssignmentRequest
*/
public function setCustomExtensionCalloutInstances($val)
{
$this->_propDict["customExtensionCalloutInstances"] = $val;
return $this;
}
/**
* Gets the customExtensionHandlerInstances
* A collection of custom workflow extension instances being run on an assignment request. Read-only.

View File

@ -0,0 +1,143 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AccessPackageAssignmentRequestCallbackData 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;
/**
* AccessPackageAssignmentRequestCallbackData 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 AccessPackageAssignmentRequestCallbackData extends CustomExtensionData
{
/**
* Gets the customExtensionStageInstanceDetail
* Details for the callback.
*
* @return string|null The customExtensionStageInstanceDetail
*/
public function getCustomExtensionStageInstanceDetail()
{
if (array_key_exists("customExtensionStageInstanceDetail", $this->_propDict)) {
return $this->_propDict["customExtensionStageInstanceDetail"];
} else {
return null;
}
}
/**
* Sets the customExtensionStageInstanceDetail
* Details for the callback.
*
* @param string $val The value of the customExtensionStageInstanceDetail
*
* @return AccessPackageAssignmentRequestCallbackData
*/
public function setCustomExtensionStageInstanceDetail($val)
{
$this->_propDict["customExtensionStageInstanceDetail"] = $val;
return $this;
}
/**
* Gets the customExtensionStageInstanceId
* Unique identifier of the callout to the custom extension.
*
* @return string|null The customExtensionStageInstanceId
*/
public function getCustomExtensionStageInstanceId()
{
if (array_key_exists("customExtensionStageInstanceId", $this->_propDict)) {
return $this->_propDict["customExtensionStageInstanceId"];
} else {
return null;
}
}
/**
* Sets the customExtensionStageInstanceId
* Unique identifier of the callout to the custom extension.
*
* @param string $val The value of the customExtensionStageInstanceId
*
* @return AccessPackageAssignmentRequestCallbackData
*/
public function setCustomExtensionStageInstanceId($val)
{
$this->_propDict["customExtensionStageInstanceId"] = $val;
return $this;
}
/**
* Gets the stage
* Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
*
* @return AccessPackageCustomExtensionStage|null The stage
*/
public function getStage()
{
if (array_key_exists("stage", $this->_propDict)) {
if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\AccessPackageCustomExtensionStage") || is_null($this->_propDict["stage"])) {
return $this->_propDict["stage"];
} else {
$this->_propDict["stage"] = new AccessPackageCustomExtensionStage($this->_propDict["stage"]);
return $this->_propDict["stage"];
}
}
return null;
}
/**
* Sets the stage
* Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
*
* @param AccessPackageCustomExtensionStage $val The value to assign to the stage
*
* @return AccessPackageAssignmentRequestCallbackData The AccessPackageAssignmentRequestCallbackData
*/
public function setStage($val)
{
$this->_propDict["stage"] = $val;
return $this;
}
/**
* Gets the state
* Allow the extension to be able to deny or cancel the request submitted by the requestor. The supported values are Denied and Canceled. This property can only be set for an assignmentRequestCreated stage.
*
* @return string|null The state
*/
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
return $this->_propDict["state"];
} else {
return null;
}
}
/**
* Sets the state
* Allow the extension to be able to deny or cancel the request submitted by the requestor. The supported values are Denied and Canceled. This property can only be set for an assignmentRequestCreated stage.
*
* @param string $val The value of the state
*
* @return AccessPackageAssignmentRequestCallbackData
*/
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
}
}

View File

@ -0,0 +1,184 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AccessPackageAssignmentRequestWorkflowExtension 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;
/**
* AccessPackageAssignmentRequestWorkflowExtension 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 AccessPackageAssignmentRequestWorkflowExtension extends CustomCalloutExtension
{
/**
* Gets the callbackConfiguration
* The callback configuration for a custom extension.
*
* @return CustomExtensionCallbackConfiguration|null The callbackConfiguration
*/
public function getCallbackConfiguration()
{
if (array_key_exists("callbackConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["callbackConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionCallbackConfiguration") || is_null($this->_propDict["callbackConfiguration"])) {
return $this->_propDict["callbackConfiguration"];
} else {
$this->_propDict["callbackConfiguration"] = new CustomExtensionCallbackConfiguration($this->_propDict["callbackConfiguration"]);
return $this->_propDict["callbackConfiguration"];
}
}
return null;
}
/**
* Sets the callbackConfiguration
* The callback configuration for a custom extension.
*
* @param CustomExtensionCallbackConfiguration $val The callbackConfiguration
*
* @return AccessPackageAssignmentRequestWorkflowExtension
*/
public function setCallbackConfiguration($val)
{
$this->_propDict["callbackConfiguration"] = $val;
return $this;
}
/**
* Gets the createdBy
* The userPrincipalName of the user or identity of the subject that created this resource. Read-only.
*
* @return string|null The createdBy
*/
public function getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
return $this->_propDict["createdBy"];
} else {
return null;
}
}
/**
* Sets the createdBy
* The userPrincipalName of the user or identity of the subject that created this resource. Read-only.
*
* @param string $val The createdBy
*
* @return AccessPackageAssignmentRequestWorkflowExtension
*/
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* When the object was created.
*
* @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
* When the object was created.
*
* @param \DateTime $val The createdDateTime
*
* @return AccessPackageAssignmentRequestWorkflowExtension
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
* The userPrincipalName of the identity that last modified the object.
*
* @return string|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
return $this->_propDict["lastModifiedBy"];
} else {
return null;
}
}
/**
* Sets the lastModifiedBy
* The userPrincipalName of the identity that last modified the object.
*
* @param string $val The lastModifiedBy
*
* @return AccessPackageAssignmentRequestWorkflowExtension
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
* When the object was last modified.
*
* @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
* When the object was last modified.
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return AccessPackageAssignmentRequestWorkflowExtension
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
}

View File

@ -0,0 +1,184 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AccessPackageAssignmentWorkflowExtension 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;
/**
* AccessPackageAssignmentWorkflowExtension 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 AccessPackageAssignmentWorkflowExtension extends CustomCalloutExtension
{
/**
* Gets the callbackConfiguration
* The callback configuration for a custom extension.
*
* @return CustomExtensionCallbackConfiguration|null The callbackConfiguration
*/
public function getCallbackConfiguration()
{
if (array_key_exists("callbackConfiguration", $this->_propDict)) {
if (is_a($this->_propDict["callbackConfiguration"], "\Beta\Microsoft\Graph\Model\CustomExtensionCallbackConfiguration") || is_null($this->_propDict["callbackConfiguration"])) {
return $this->_propDict["callbackConfiguration"];
} else {
$this->_propDict["callbackConfiguration"] = new CustomExtensionCallbackConfiguration($this->_propDict["callbackConfiguration"]);
return $this->_propDict["callbackConfiguration"];
}
}
return null;
}
/**
* Sets the callbackConfiguration
* The callback configuration for a custom extension.
*
* @param CustomExtensionCallbackConfiguration $val The callbackConfiguration
*
* @return AccessPackageAssignmentWorkflowExtension
*/
public function setCallbackConfiguration($val)
{
$this->_propDict["callbackConfiguration"] = $val;
return $this;
}
/**
* Gets the createdBy
* The userPrincipalName of the user or identity of the subject that created this resource. Read-only.
*
* @return string|null The createdBy
*/
public function getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
return $this->_propDict["createdBy"];
} else {
return null;
}
}
/**
* Sets the createdBy
* The userPrincipalName of the user or identity of the subject that created this resource. Read-only.
*
* @param string $val The createdBy
*
* @return AccessPackageAssignmentWorkflowExtension
*/
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* When the entity was created.
*
* @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
* When the entity was created.
*
* @param \DateTime $val The createdDateTime
*
* @return AccessPackageAssignmentWorkflowExtension
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
* The userPrincipalName of the identity that last modified the entity.
*
* @return string|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
return $this->_propDict["lastModifiedBy"];
} else {
return null;
}
}
/**
* Sets the lastModifiedBy
* The userPrincipalName of the identity that last modified the entity.
*
* @param string $val The lastModifiedBy
*
* @return AccessPackageAssignmentWorkflowExtension
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
* When the entity was last modified.
*
* @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
* When the entity was last modified.
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return AccessPackageAssignmentWorkflowExtension
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
}

View File

@ -294,6 +294,36 @@ class AccessPackageCatalog extends Entity
}
/**
* Gets the accessPackageCustomWorkflowExtensions
* The attributes of a logic app, which can be called at various stages of an access package request and assignment cycle.
*
* @return array|null The accessPackageCustomWorkflowExtensions
*/
public function getAccessPackageCustomWorkflowExtensions()
{
if (array_key_exists("accessPackageCustomWorkflowExtensions", $this->_propDict)) {
return $this->_propDict["accessPackageCustomWorkflowExtensions"];
} else {
return null;
}
}
/**
* Sets the accessPackageCustomWorkflowExtensions
* The attributes of a logic app, which can be called at various stages of an access package request and assignment cycle.
*
* @param CustomCalloutExtension[] $val The accessPackageCustomWorkflowExtensions
*
* @return AccessPackageCatalog
*/
public function setAccessPackageCustomWorkflowExtensions($val)
{
$this->_propDict["accessPackageCustomWorkflowExtensions"] = $val;
return $this;
}
/**
* Gets the accessPackageResourceRoles
* The roles in each resource in a catalog. Read-only.

View File

@ -26,7 +26,7 @@ class AndroidLobApp extends MobileLobApp
{
/**
* Gets the identityName
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
*
* @return string|null The identityName
*/
@ -41,7 +41,7 @@ class AndroidLobApp extends MobileLobApp
/**
* Sets the identityName
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
* The Identity Name. This property is deprecated starting in February 2023 (Release 2302).
*
* @param string $val The identityName
*
@ -55,7 +55,7 @@ class AndroidLobApp extends MobileLobApp
/**
* Gets the identityVersion
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
*
* @return string|null The identityVersion
*/
@ -70,7 +70,7 @@ class AndroidLobApp extends MobileLobApp
/**
* Sets the identityVersion
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
* The identity version. This property is deprecated starting in February 2023 (Release 2302).
*
* @param string $val The identityVersion
*

View File

@ -1406,6 +1406,7 @@ class Application extends DirectoryObject
/**
* Gets the synchronization
* Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API.
*
* @return Synchronization|null The synchronization
*/
@ -1424,6 +1425,7 @@ class Application extends DirectoryObject
/**
* Sets the synchronization
* Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API.
*
* @param Synchronization $val The synchronization
*

View File

@ -115,7 +115,7 @@ class AttributeMapping extends Entity
/**
* Gets the flowType
* Defines when this attribute should be updated in the target directory. Possible values are: Always (default), ObjectAddOnly (only when new object is created), MultiValueAddOnly (only when the change is adding new values to a multi-valued attribute).
* Defines when this attribute should be updated in the target directory. Possible values are: Always (default) ObjectAddOnly - only when new object is created MultiValueAddOnly - only when the change is adding new values to a multi-valued attribute ValueAddOnly AttributeAddOnly
*
* @return AttributeFlowType|null The flowType
*/
@ -134,7 +134,7 @@ class AttributeMapping extends Entity
/**
* Sets the flowType
* Defines when this attribute should be updated in the target directory. Possible values are: Always (default), ObjectAddOnly (only when new object is created), MultiValueAddOnly (only when the change is adding new values to a multi-valued attribute).
* Defines when this attribute should be updated in the target directory. Possible values are: Always (default) ObjectAddOnly - only when new object is created MultiValueAddOnly - only when the change is adding new values to a multi-valued attribute ValueAddOnly AttributeAddOnly
*
* @param AttributeFlowType $val The value to assign to the flowType
*

View File

@ -110,7 +110,7 @@ class AttributeMappingParameterSchema extends Entity
/**
* Gets the type
* Possible values are: Boolean, Binary, Reference, Integer, String. Default is String.
* The possible values are: String, Integer, Reference, Binary, Boolean, DateTime. Default is String.
*
* @return AttributeType|null The type
*/
@ -129,7 +129,7 @@ class AttributeMappingParameterSchema extends Entity
/**
* Sets the type
* Possible values are: Boolean, Binary, Reference, Integer, String. Default is String.
* The possible values are: String, Integer, Reference, Binary, Boolean, DateTime. Default is String.
*
* @param AttributeType $val The value to assign to the type
*

View File

@ -51,6 +51,39 @@ class AuthenticationStrength extends Entity
$this->_propDict["authenticationStrengthId"] = $val;
return $this;
}
/**
* Gets the authenticationStrengthResult
* The result of the authentication strength. The possible values are: notSet, skippedForProofUp, satisfied, singleChallengeRequired, multipleChallengesRequired, singleRegistrationRequired, multipleRegistrationsRequired, cannotSatisfyDueToCombinationConfiguration, cannotSatisfy, unknownFutureValue.
*
* @return AuthenticationStrengthResult|null The authenticationStrengthResult
*/
public function getAuthenticationStrengthResult()
{
if (array_key_exists("authenticationStrengthResult", $this->_propDict)) {
if (is_a($this->_propDict["authenticationStrengthResult"], "\Beta\Microsoft\Graph\Model\AuthenticationStrengthResult") || is_null($this->_propDict["authenticationStrengthResult"])) {
return $this->_propDict["authenticationStrengthResult"];
} else {
$this->_propDict["authenticationStrengthResult"] = new AuthenticationStrengthResult($this->_propDict["authenticationStrengthResult"]);
return $this->_propDict["authenticationStrengthResult"];
}
}
return null;
}
/**
* Sets the authenticationStrengthResult
* The result of the authentication strength. The possible values are: notSet, skippedForProofUp, satisfied, singleChallengeRequired, multipleChallengesRequired, singleRegistrationRequired, multipleRegistrationsRequired, cannotSatisfyDueToCombinationConfiguration, cannotSatisfy, unknownFutureValue.
*
* @param AuthenticationStrengthResult $val The value to assign to the authenticationStrengthResult
*
* @return AuthenticationStrength The AuthenticationStrength
*/
public function setAuthenticationStrengthResult($val)
{
$this->_propDict["authenticationStrengthResult"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the authentication strength.

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.
*
* AuthenticationStrengthResult 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;
/**
* AuthenticationStrengthResult 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 AuthenticationStrengthResult extends Enum
{
/**
* The Enum AuthenticationStrengthResult
*/
const NOT_SET = "notSet";
const SKIPPED_FOR_PROOF_UP = "skippedForProofUp";
const SATISFIED = "satisfied";
const SINGLE_CHALLENGE_REQUIRED = "singleChallengeRequired";
const MULTIPLE_CHALLENGES_REQUIRED = "multipleChallengesRequired";
const SINGLE_REGISTRATION_REQUIRED = "singleRegistrationRequired";
const MULTIPLE_REGISTRATIONS_REQUIRED = "multipleRegistrationsRequired";
const CANNOT_SATISFY_DUE_TO_COMBINATION_CONFIGURATION = "cannotSatisfyDueToCombinationConfiguration";
const CANNOT_SATISFY = "cannotSatisfy";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

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

View File

@ -519,6 +519,7 @@ class CloudPC extends Entity
/**
* Gets the provisioningType
* The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue. Default value is dedicated.
*
* @return CloudPcProvisioningType|null The provisioningType
*/
@ -537,6 +538,7 @@ class CloudPC extends Entity
/**
* Sets the provisioningType
* The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue. Default value is dedicated.
*
* @param CloudPcProvisioningType $val The provisioningType
*

View File

@ -79,4 +79,60 @@ class CloudPcLaunchInfo extends Entity
$this->_propDict["cloudPcLaunchUrl"] = $val;
return $this;
}
/**
* Gets the windows365SwitchCompatible
* Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false.
*
* @return bool|null The windows365SwitchCompatible
*/
public function getWindows365SwitchCompatible()
{
if (array_key_exists("windows365SwitchCompatible", $this->_propDict)) {
return $this->_propDict["windows365SwitchCompatible"];
} else {
return null;
}
}
/**
* Sets the windows365SwitchCompatible
* Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false.
*
* @param bool $val The value of the windows365SwitchCompatible
*
* @return CloudPcLaunchInfo
*/
public function setWindows365SwitchCompatible($val)
{
$this->_propDict["windows365SwitchCompatible"] = $val;
return $this;
}
/**
* Gets the windows365SwitchNotCompatibleReason
* Indicates the reason the Cloud PC doesn't support switch. CPCOsVersionNotMeetRequirement indicates that the user needs to update their Cloud PC operation system version. CPCHardwareNotMeetRequirement indicates that the Cloud PC needs more CPU or RAM to support the functionality.
*
* @return string|null The windows365SwitchNotCompatibleReason
*/
public function getWindows365SwitchNotCompatibleReason()
{
if (array_key_exists("windows365SwitchNotCompatibleReason", $this->_propDict)) {
return $this->_propDict["windows365SwitchNotCompatibleReason"];
} else {
return null;
}
}
/**
* Sets the windows365SwitchNotCompatibleReason
* Indicates the reason the Cloud PC doesn't support switch. CPCOsVersionNotMeetRequirement indicates that the user needs to update their Cloud PC operation system version. CPCHardwareNotMeetRequirement indicates that the Cloud PC needs more CPU or RAM to support the functionality.
*
* @param string $val The value of the windows365SwitchNotCompatibleReason
*
* @return CloudPcLaunchInfo
*/
public function setWindows365SwitchNotCompatibleReason($val)
{
$this->_propDict["windows365SwitchNotCompatibleReason"] = $val;
return $this;
}
}

View File

@ -82,6 +82,33 @@ class CloudPcProvisioningPolicy extends Entity
return $this;
}
/**
* Gets the cloudPcNamingTemplate
*
* @return string|null The cloudPcNamingTemplate
*/
public function getCloudPcNamingTemplate()
{
if (array_key_exists("cloudPcNamingTemplate", $this->_propDict)) {
return $this->_propDict["cloudPcNamingTemplate"];
} else {
return null;
}
}
/**
* Sets the cloudPcNamingTemplate
*
* @param string $val The cloudPcNamingTemplate
*
* @return CloudPcProvisioningPolicy
*/
public function setCloudPcNamingTemplate($val)
{
$this->_propDict["cloudPcNamingTemplate"] = $val;
return $this;
}
/**
* Gets the description
* The provisioning policy description.

View File

@ -57,4 +57,32 @@ class CloudPcProvisioningPolicyAssignment extends Entity
return $this;
}
/**
* Gets the assignedUsers
*
* @return array|null The assignedUsers
*/
public function getAssignedUsers()
{
if (array_key_exists("assignedUsers", $this->_propDict)) {
return $this->_propDict["assignedUsers"];
} else {
return null;
}
}
/**
* Sets the assignedUsers
*
* @param User[] $val The assignedUsers
*
* @return CloudPcProvisioningPolicyAssignment
*/
public function setAssignedUsers($val)
{
$this->_propDict["assignedUsers"] = $val;
return $this;
}
}

View File

@ -296,63 +296,4 @@ class ComplianceManagementPartner extends Entity
return $this;
}
/**
* Gets the windowsEnrollmentAssignments
* User groups which enroll Windows devices through partner.
*
* @return array|null The windowsEnrollmentAssignments
*/
public function getWindowsEnrollmentAssignments()
{
if (array_key_exists("windowsEnrollmentAssignments", $this->_propDict)) {
return $this->_propDict["windowsEnrollmentAssignments"];
} else {
return null;
}
}
/**
* Sets the windowsEnrollmentAssignments
* User groups which enroll Windows devices through partner.
*
* @param ComplianceManagementPartnerAssignment[] $val The windowsEnrollmentAssignments
*
* @return ComplianceManagementPartner
*/
public function setWindowsEnrollmentAssignments($val)
{
$this->_propDict["windowsEnrollmentAssignments"] = $val;
return $this;
}
/**
* Gets the windowsOnboarded
* Partner onboarded for Windows devices.
*
* @return bool|null The windowsOnboarded
*/
public function getWindowsOnboarded()
{
if (array_key_exists("windowsOnboarded", $this->_propDict)) {
return $this->_propDict["windowsOnboarded"];
} else {
return null;
}
}
/**
* Sets the windowsOnboarded
* Partner onboarded for Windows devices.
*
* @param bool $val The windowsOnboarded
*
* @return ComplianceManagementPartner
*/
public function setWindowsOnboarded($val)
{
$this->_propDict["windowsOnboarded"] = boolval($val);
return $this;
}
}

View File

@ -62,4 +62,5 @@ class ConditionalAccessRule extends Enum
const B2B_DIRECT_CONNECT_USER = "b2bDirectConnectUser";
const OTHER_EXTERNAL_USER = "otherExternalUser";
const SERVICE_PROVIDER = "serviceProvider";
const MICROSOFT_ADMIN_PORTALS = "microsoftAdminPortals";
}

View File

@ -59,7 +59,7 @@ class ConditionalAccessRuleSatisfied extends Entity
/**
* Gets the ruleSatisfied
* Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates.
* Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals.
*
* @return ConditionalAccessRule|null The ruleSatisfied
*/
@ -78,7 +78,7 @@ class ConditionalAccessRuleSatisfied extends Entity
/**
* Sets the ruleSatisfied
* Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates.
* Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals.
*
* @param ConditionalAccessRule $val The value to assign to the ruleSatisfied
*

View File

@ -26,7 +26,7 @@ class CustomExtensionCallbackConfiguration extends Entity
/**
* Gets the timeoutDuration
* Callback time out in ISO 8601 time duration. Accepted time durations are between five minutes to three hours. For example, PT5M for five minutes and PT3H for three hours.
* The maximum duration in ISO 8601 format that Azure AD will wait for a resume action for the callout it sent to the logic app. The valid range for custom extensions in lifecycle workflows is five minutes to three hours. The valid range for custom extensions in entitlement management is between 5 minutes and 14 days. For example, PT3H refers to three hours, P3D refers to three days, PT10M refers to ten minutes.
*
* @return \DateInterval|null The timeoutDuration
*/
@ -45,7 +45,7 @@ class CustomExtensionCallbackConfiguration extends Entity
/**
* Sets the timeoutDuration
* Callback time out in ISO 8601 time duration. Accepted time durations are between five minutes to three hours. For example, PT5M for five minutes and PT3H for three hours.
* The maximum duration in ISO 8601 format that Azure AD will wait for a resume action for the callout it sent to the logic app. The valid range for custom extensions in lifecycle workflows is five minutes to three hours. The valid range for custom extensions in entitlement management is between 5 minutes and 14 days. For example, PT3H refers to three hours, P3D refers to three days, PT10M refers to ten minutes.
*
* @param \DateInterval $val The value to assign to the timeoutDuration
*

View File

@ -0,0 +1,171 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomExtensionCalloutInstance 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;
/**
* CustomExtensionCalloutInstance 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 CustomExtensionCalloutInstance extends Entity
{
/**
* Gets the customExtensionId
* Identification of the custom extension that was triggered at this instance.
*
* @return string|null The customExtensionId
*/
public function getCustomExtensionId()
{
if (array_key_exists("customExtensionId", $this->_propDict)) {
return $this->_propDict["customExtensionId"];
} else {
return null;
}
}
/**
* Sets the customExtensionId
* Identification of the custom extension that was triggered at this instance.
*
* @param string $val The value of the customExtensionId
*
* @return CustomExtensionCalloutInstance
*/
public function setCustomExtensionId($val)
{
$this->_propDict["customExtensionId"] = $val;
return $this;
}
/**
* Gets the detail
* Details provided by the logic app during the callback of the request instance.
*
* @return string|null The detail
*/
public function getDetail()
{
if (array_key_exists("detail", $this->_propDict)) {
return $this->_propDict["detail"];
} else {
return null;
}
}
/**
* Sets the detail
* Details provided by the logic app during the callback of the request instance.
*
* @param string $val The value of the detail
*
* @return CustomExtensionCalloutInstance
*/
public function setDetail($val)
{
$this->_propDict["detail"] = $val;
return $this;
}
/**
* Gets the externalCorrelationId
* The unique run identifier for the logic app.
*
* @return string|null The externalCorrelationId
*/
public function getExternalCorrelationId()
{
if (array_key_exists("externalCorrelationId", $this->_propDict)) {
return $this->_propDict["externalCorrelationId"];
} else {
return null;
}
}
/**
* Sets the externalCorrelationId
* The unique run identifier for the logic app.
*
* @param string $val The value of the externalCorrelationId
*
* @return CustomExtensionCalloutInstance
*/
public function setExternalCorrelationId($val)
{
$this->_propDict["externalCorrelationId"] = $val;
return $this;
}
/**
* Gets the id
* Unique identifier for the callout instance. Read-only.
*
* @return string|null The id
*/
public function getId()
{
if (array_key_exists("id", $this->_propDict)) {
return $this->_propDict["id"];
} else {
return null;
}
}
/**
* Sets the id
* Unique identifier for the callout instance. Read-only.
*
* @param string $val The value of the id
*
* @return CustomExtensionCalloutInstance
*/
public function setId($val)
{
$this->_propDict["id"] = $val;
return $this;
}
/**
* Gets the status
* The status of the request to the custom extension. The possible values are: calloutSent, callbackReceived, calloutFailed, callbackTimedOut, waitingForCallback, unknownFutureValue.
*
* @return CustomExtensionCalloutInstanceStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CustomExtensionCalloutInstanceStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new CustomExtensionCalloutInstanceStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* The status of the request to the custom extension. The possible values are: calloutSent, callbackReceived, calloutFailed, callbackTimedOut, waitingForCallback, unknownFutureValue.
*
* @param CustomExtensionCalloutInstanceStatus $val The value to assign to the status
*
* @return CustomExtensionCalloutInstance The CustomExtensionCalloutInstance
*/
public function setStatus($val)
{
$this->_propDict["status"] = $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.
*
* CustomExtensionCalloutInstanceStatus 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;
/**
* CustomExtensionCalloutInstanceStatus 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 CustomExtensionCalloutInstanceStatus extends Enum
{
/**
* The Enum CustomExtensionCalloutInstanceStatus
*/
const CALLOUT_SENT = "calloutSent";
const CALLBACK_RECEIVED = "callbackReceived";
const CALLOUT_FAILED = "calloutFailed";
const CALLBACK_TIMED_OUT = "callbackTimedOut";
const WAITING_FOR_CALLBACK = "waitingForCallback";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,93 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CustomExtensionStageSetting 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;
/**
* CustomExtensionStageSetting 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 CustomExtensionStageSetting extends Entity
{
/**
* Gets the stage
* Indicates the stage of the access package assignment request workflow when the access package custom extension runs. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
*
* @return AccessPackageCustomExtensionStage|null The stage
*/
public function getStage()
{
if (array_key_exists("stage", $this->_propDict)) {
if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\AccessPackageCustomExtensionStage") || is_null($this->_propDict["stage"])) {
return $this->_propDict["stage"];
} else {
$this->_propDict["stage"] = new AccessPackageCustomExtensionStage($this->_propDict["stage"]);
return $this->_propDict["stage"];
}
}
return null;
}
/**
* Sets the stage
* Indicates the stage of the access package assignment request workflow when the access package custom extension runs. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
*
* @param AccessPackageCustomExtensionStage $val The stage
*
* @return CustomExtensionStageSetting
*/
public function setStage($val)
{
$this->_propDict["stage"] = $val;
return $this;
}
/**
* Gets the customExtension
* Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand.
*
* @return CustomCalloutExtension|null The customExtension
*/
public function getCustomExtension()
{
if (array_key_exists("customExtension", $this->_propDict)) {
if (is_a($this->_propDict["customExtension"], "\Beta\Microsoft\Graph\Model\CustomCalloutExtension") || is_null($this->_propDict["customExtension"])) {
return $this->_propDict["customExtension"];
} else {
$this->_propDict["customExtension"] = new CustomCalloutExtension($this->_propDict["customExtension"]);
return $this->_propDict["customExtension"];
}
}
return null;
}
/**
* Sets the customExtension
* Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand.
*
* @param CustomCalloutExtension $val The customExtension
*
* @return CustomExtensionStageSetting
*/
public function setCustomExtension($val)
{
$this->_propDict["customExtension"] = $val;
return $this;
}
}

View File

@ -461,7 +461,7 @@ class DepEnrollmentBaseProfile extends EnrollmentProfile
/**
* Gets the supervisedModeEnabled
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
* Supervised mode, True to enable, false otherwise. See hhttps://learn.microsoft.com/mem/intune/enrollment/device-enrollment for additional information.
*
* @return bool|null The supervisedModeEnabled
*/
@ -476,7 +476,7 @@ class DepEnrollmentBaseProfile extends EnrollmentProfile
/**
* Sets the supervisedModeEnabled
* Supervised mode, True to enable, false otherwise. See https://learn.microsoft.com/intune/deploy-use/enroll-devices-in-microsoft-intune for additional information.
* Supervised mode, True to enable, false otherwise. See hhttps://learn.microsoft.com/mem/intune/enrollment/device-enrollment for additional information.
*
* @param bool $val The supervisedModeEnabled
*

View File

@ -53,6 +53,93 @@ class DepMacOSEnrollmentProfile extends DepEnrollmentBaseProfile
return $this;
}
/**
* Gets the adminAccountFullName
* Indicates what the full name for the admin account is
*
* @return string|null The adminAccountFullName
*/
public function getAdminAccountFullName()
{
if (array_key_exists("adminAccountFullName", $this->_propDict)) {
return $this->_propDict["adminAccountFullName"];
} else {
return null;
}
}
/**
* Sets the adminAccountFullName
* Indicates what the full name for the admin account is
*
* @param string $val The adminAccountFullName
*
* @return DepMacOSEnrollmentProfile
*/
public function setAdminAccountFullName($val)
{
$this->_propDict["adminAccountFullName"] = $val;
return $this;
}
/**
* Gets the adminAccountPassword
* Indicates what the password for the admin account is
*
* @return string|null The adminAccountPassword
*/
public function getAdminAccountPassword()
{
if (array_key_exists("adminAccountPassword", $this->_propDict)) {
return $this->_propDict["adminAccountPassword"];
} else {
return null;
}
}
/**
* Sets the adminAccountPassword
* Indicates what the password for the admin account is
*
* @param string $val The adminAccountPassword
*
* @return DepMacOSEnrollmentProfile
*/
public function setAdminAccountPassword($val)
{
$this->_propDict["adminAccountPassword"] = $val;
return $this;
}
/**
* Gets the adminAccountUserName
* Indicates what the user name for the admin account is
*
* @return string|null The adminAccountUserName
*/
public function getAdminAccountUserName()
{
if (array_key_exists("adminAccountUserName", $this->_propDict)) {
return $this->_propDict["adminAccountUserName"];
} else {
return null;
}
}
/**
* Sets the adminAccountUserName
* Indicates what the user name for the admin account is
*
* @param string $val The adminAccountUserName
*
* @return DepMacOSEnrollmentProfile
*/
public function setAdminAccountUserName($val)
{
$this->_propDict["adminAccountUserName"] = $val;
return $this;
}
/**
* Gets the autoUnlockWithWatchDisabled
* Indicates if UnlockWithWatch screen is disabled
@ -198,6 +285,35 @@ class DepMacOSEnrollmentProfile extends DepEnrollmentBaseProfile
return $this;
}
/**
* Gets the hideAdminAccount
* Indicates whether the admin account should be hidded or not
*
* @return bool|null The hideAdminAccount
*/
public function getHideAdminAccount()
{
if (array_key_exists("hideAdminAccount", $this->_propDict)) {
return $this->_propDict["hideAdminAccount"];
} else {
return null;
}
}
/**
* Sets the hideAdminAccount
* Indicates whether the admin account should be hidded or not
*
* @param bool $val The hideAdminAccount
*
* @return DepMacOSEnrollmentProfile
*/
public function setHideAdminAccount($val)
{
$this->_propDict["hideAdminAccount"] = boolval($val);
return $this;
}
/**
* Gets the iCloudDiagnosticsDisabled
* Indicates if iCloud Analytics screen is disabled
@ -372,6 +488,35 @@ class DepMacOSEnrollmentProfile extends DepEnrollmentBaseProfile
return $this;
}
/**
* Gets the requestRequiresNetworkTether
* Indicates if the device is network-tethered to run the command
*
* @return bool|null The requestRequiresNetworkTether
*/
public function getRequestRequiresNetworkTether()
{
if (array_key_exists("requestRequiresNetworkTether", $this->_propDict)) {
return $this->_propDict["requestRequiresNetworkTether"];
} else {
return null;
}
}
/**
* Sets the requestRequiresNetworkTether
* Indicates if the device is network-tethered to run the command
*
* @param bool $val The requestRequiresNetworkTether
*
* @return DepMacOSEnrollmentProfile
*/
public function setRequestRequiresNetworkTether($val)
{
$this->_propDict["requestRequiresNetworkTether"] = boolval($val);
return $this;
}
/**
* Gets the setPrimarySetupAccountAsRegularUser
* Indicates whether Setup Assistant will set the account as a regular user

View File

@ -35,8 +35,8 @@ class DeviceLicensingStatus extends Enum
const DEVICE_IS_NOT_AZURE_ACTIVE_DIRECTORY_JOINED = "deviceIsNotAzureActiveDirectoryJoined";
const VERIFYING_MICROSOFT_DEVICE_IDENTITY = "verifyingMicrosoftDeviceIdentity";
const DEVICE_IDENTITY_VERIFICATION_FAILED = "deviceIdentityVerificationFailed";
const VERIFYING_MIROSOFT_ACCOUNT_IDENTITY = "verifyingMirosoftAccountIdentity";
const MIROSOFT_ACCOUNT_VERIFICATION_FAILED = "mirosoftAccountVerificationFailed";
const VERIFYING_MICROSOFT_ACCOUNT_IDENTITY = "verifyingMicrosoftAccountIdentity";
const MICROSOFT_ACCOUNT_VERIFICATION_FAILED = "microsoftAccountVerificationFailed";
const ACQUIRING_DEVICE_LICENSE = "acquiringDeviceLicense";
const REFRESHING_DEVICE_LICENSE = "refreshingDeviceLicense";
const DEVICE_LICENSE_REFRESH_SUCCEED = "deviceLicenseRefreshSucceed";

View File

@ -54,7 +54,7 @@ class DeviceLogCollectionRequest extends Entity
/**
* Gets the templateType
* The template type that is sent with the collection request. Possible values are: predefined.
* Indicates The template type that is sent with the collection request. defaule is Predefined. Possible values are: predefined, unknownFutureValue.
*
* @return DeviceLogCollectionTemplateType|null The templateType
*/
@ -73,7 +73,7 @@ class DeviceLogCollectionRequest extends Entity
/**
* Sets the templateType
* The template type that is sent with the collection request. Possible values are: predefined.
* Indicates The template type that is sent with the collection request. defaule is Predefined. Possible values are: predefined, unknownFutureValue.
*
* @param DeviceLogCollectionTemplateType $val The value to assign to the templateType
*

View File

@ -26,7 +26,7 @@ class DeviceLogCollectionResponse extends Entity
{
/**
* Gets the enrolledByUser
* The User Principal Name (UPN) of the user that enrolled the device
* The User Principal Name (UPN) of the user that enrolled the device.
*
* @return string|null The enrolledByUser
*/
@ -41,7 +41,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Sets the enrolledByUser
* The User Principal Name (UPN) of the user that enrolled the device
* The User Principal Name (UPN) of the user that enrolled the device.
*
* @param string $val The enrolledByUser
*
@ -84,7 +84,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Gets the expirationDateTimeUTC
* The DateTime of the expiration of the logs
* The DateTime of the expiration of the logs.
*
* @return \DateTime|null The expirationDateTimeUTC
*/
@ -103,7 +103,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Sets the expirationDateTimeUTC
* The DateTime of the expiration of the logs
* The DateTime of the expiration of the logs.
*
* @param \DateTime $val The expirationDateTimeUTC
*
@ -117,7 +117,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Gets the initiatedByUserPrincipalName
* The UPN for who initiated the request
* The UPN for who initiated the request.
*
* @return string|null The initiatedByUserPrincipalName
*/
@ -132,7 +132,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Sets the initiatedByUserPrincipalName
* The UPN for who initiated the request
* The UPN for who initiated the request.
*
* @param string $val The initiatedByUserPrincipalName
*
@ -146,7 +146,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Gets the managedDeviceId
* The device Id
* Indicates Intune device unique identifier.
*
* @return string|null The managedDeviceId
*/
@ -161,7 +161,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Sets the managedDeviceId
* The device Id
* Indicates Intune device unique identifier.
*
* @param string $val The managedDeviceId
*
@ -175,7 +175,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Gets the receivedDateTimeUTC
* The DateTime the request was received
* The DateTime the request was received.
*
* @return \DateTime|null The receivedDateTimeUTC
*/
@ -194,7 +194,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Sets the receivedDateTimeUTC
* The DateTime the request was received
* The DateTime the request was received.
*
* @param \DateTime $val The receivedDateTimeUTC
*
@ -208,7 +208,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Gets the requestedDateTimeUTC
* The DateTime of the request
* The DateTime of the request.
*
* @return \DateTime|null The requestedDateTimeUTC
*/
@ -227,7 +227,7 @@ class DeviceLogCollectionResponse extends Entity
/**
* Sets the requestedDateTimeUTC
* The DateTime of the request
* The DateTime of the request.
*
* @param \DateTime $val The requestedDateTimeUTC
*
@ -269,25 +269,58 @@ class DeviceLogCollectionResponse extends Entity
}
/**
* Gets the status
* The status of the log collection request
* Gets the sizeInKB
* The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
*
* @return string|null The status
* @return float|null The sizeInKB
*/
public function getStatus()
public function getSizeInKB()
{
if (array_key_exists("status", $this->_propDict)) {
return $this->_propDict["status"];
if (array_key_exists("sizeInKB", $this->_propDict)) {
return $this->_propDict["sizeInKB"];
} else {
return null;
}
}
/**
* Sets the status
* The status of the log collection request
* Sets the sizeInKB
* The size of the logs in KB. Valid values -1.79769313486232E+308 to 1.79769313486232E+308
*
* @param string $val The status
* @param float $val The sizeInKB
*
* @return DeviceLogCollectionResponse
*/
public function setSizeInKB($val)
{
$this->_propDict["sizeInKB"] = floatval($val);
return $this;
}
/**
* Gets the status
* Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending. Possible values are: pending, completed, failed, unknownFutureValue.
*
* @return AppLogUploadState|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AppLogUploadState") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new AppLogUploadState($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* Indicates the status for the app log collection request if it is pending, completed or failed, Default is pending. Possible values are: pending, completed, failed, unknownFutureValue.
*
* @param AppLogUploadState $val The status
*
* @return DeviceLogCollectionResponse
*/

View File

@ -30,4 +30,5 @@ class DeviceLogCollectionTemplateType extends Enum
* The Enum DeviceLogCollectionTemplateType
*/
const PREDEFINED = "predefined";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -299,7 +299,7 @@ class DeviceManagementConfigurationPolicyTemplate extends Entity
/**
* Gets the templateFamily
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue.
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts.
*
* @return DeviceManagementConfigurationTemplateFamily|null The templateFamily
*/
@ -318,7 +318,7 @@ class DeviceManagementConfigurationPolicyTemplate extends Entity
/**
* Sets the templateFamily
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue.
* TemplateFamily for this template. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts.
*
* @param DeviceManagementConfigurationTemplateFamily $val The templateFamily
*

View File

@ -82,7 +82,7 @@ class DeviceManagementConfigurationPolicyTemplateReference extends Entity
/**
* Gets the templateFamily
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue.
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts.
*
* @return DeviceManagementConfigurationTemplateFamily|null The templateFamily
*/
@ -101,7 +101,7 @@ class DeviceManagementConfigurationPolicyTemplateReference extends Entity
/**
* Sets the templateFamily
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue.
* Template Family of the referenced Template. This property is read-only. Possible values are: none, endpointSecurityAntivirus, endpointSecurityDiskEncryption, endpointSecurityFirewall, endpointSecurityEndpointDetectionAndResponse, endpointSecurityAttackSurfaceReduction, endpointSecurityAccountProtection, endpointSecurityApplicationControl, endpointSecurityEndpointPrivilegeManagement, enrollmentConfiguration, appQuietTime, baseline, unknownFutureValue, deviceConfigurationScripts.
*
* @param DeviceManagementConfigurationTemplateFamily $val The value to assign to the templateFamily
*

View File

@ -60,7 +60,7 @@ class DeviceManagementConfigurationSetting extends Entity
/**
* Gets the settingDefinitions
* List of related Setting Definitions. This property is read-only.
* List of related Setting Definitions
*
* @return array|null The settingDefinitions
*/
@ -75,7 +75,7 @@ class DeviceManagementConfigurationSetting extends Entity
/**
* Sets the settingDefinitions
* List of related Setting Definitions. This property is read-only.
* List of related Setting Definitions
*
* @param DeviceManagementConfigurationSettingDefinition[] $val The settingDefinitions
*

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

@ -26,7 +26,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
{
/**
* Gets the maximumCount
* Maximum number of setting group count in the collection. Valid values 1 to 100
* Maximum number of setting group count in the collection
*
* @return int|null The maximumCount
*/
@ -41,7 +41,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Sets the maximumCount
* Maximum number of setting group count in the collection. Valid values 1 to 100
* Maximum number of setting group count in the collection
*
* @param int $val The maximumCount
*
@ -55,7 +55,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Gets the minimumCount
* Minimum number of setting group count in the collection. Valid values 1 to 100
* Minimum number of setting group count in the collection
*
* @return int|null The minimumCount
*/
@ -70,7 +70,7 @@ class DeviceManagementConfigurationSettingGroupCollectionDefinition extends Devi
/**
* Sets the minimumCount
* Minimum number of setting group count in the collection. Valid values 1 to 100
* Minimum number of setting group count in the collection
*
* @param int $val The minimumCount
*

View File

@ -26,7 +26,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev
{
/**
* Gets the maximumCount
* Maximum number of simple settings in the collection. Valid values 1 to 100
* Maximum number of simple settings in the collection
*
* @return int|null The maximumCount
*/
@ -41,7 +41,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev
/**
* Sets the maximumCount
* Maximum number of simple settings in the collection. Valid values 1 to 100
* Maximum number of simple settings in the collection
*
* @param int $val The maximumCount
*
@ -55,7 +55,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev
/**
* Gets the minimumCount
* Minimum number of simple settings in the collection. Valid values 1 to 100
* Minimum number of simple settings in the collection
*
* @return int|null The minimumCount
*/
@ -70,7 +70,7 @@ class DeviceManagementConfigurationSimpleSettingCollectionDefinition extends Dev
/**
* Sets the minimumCount
* Minimum number of simple settings in the collection. Valid values 1 to 100
* Minimum number of simple settings in the collection
*
* @param int $val The minimumCount
*

View File

@ -54,7 +54,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
/**
* Gets the format
* Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue.
* Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub.
*
* @return DeviceManagementConfigurationStringFormat|null The format
*/
@ -73,7 +73,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
/**
* Sets the format
* Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue.
* Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub.
*
* @param DeviceManagementConfigurationStringFormat $val The value to assign to the format
*
@ -142,7 +142,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
}
/**
* Gets the maximumLength
* Maximum length of string. Valid values 0 to 87516
* Maximum length of string
*
* @return int|null The maximumLength
*/
@ -157,7 +157,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
/**
* Sets the maximumLength
* Maximum length of string. Valid values 0 to 87516
* Maximum length of string
*
* @param int $val The value of the maximumLength
*
@ -170,7 +170,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
}
/**
* Gets the minimumLength
* Minimum length of string. Valid values 0 to 87516
* Minimum length of string
*
* @return int|null The minimumLength
*/
@ -185,7 +185,7 @@ class DeviceManagementConfigurationStringSettingValueDefinition extends DeviceMa
/**
* Sets the minimumLength
* Minimum length of string. Valid values 0 to 87516
* Minimum length of string
*
* @param int $val The value of the minimumLength
*

View File

@ -42,4 +42,5 @@ class DeviceManagementConfigurationTemplateFamily extends Enum
const APP_QUIET_TIME = "appQuietTime";
const BASELINE = "baseline";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const DEVICE_CONFIGURATION_SCRIPTS = "deviceConfigurationScripts";
}

View File

@ -0,0 +1,110 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* DeviceManagementIntentCustomizedSetting 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;
/**
* DeviceManagementIntentCustomizedSetting 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 DeviceManagementIntentCustomizedSetting extends Entity
{
/**
* Gets the customizedJson
* JSON representation of the customized value, if different from default
*
* @return string|null The customizedJson
*/
public function getCustomizedJson()
{
if (array_key_exists("customizedJson", $this->_propDict)) {
return $this->_propDict["customizedJson"];
} else {
return null;
}
}
/**
* Sets the customizedJson
* JSON representation of the customized value, if different from default
*
* @param string $val The value of the customizedJson
*
* @return DeviceManagementIntentCustomizedSetting
*/
public function setCustomizedJson($val)
{
$this->_propDict["customizedJson"] = $val;
return $this;
}
/**
* Gets the defaultJson
* JSON representation of the default value from the template
*
* @return string|null The defaultJson
*/
public function getDefaultJson()
{
if (array_key_exists("defaultJson", $this->_propDict)) {
return $this->_propDict["defaultJson"];
} else {
return null;
}
}
/**
* Sets the defaultJson
* JSON representation of the default value from the template
*
* @param string $val The value of the defaultJson
*
* @return DeviceManagementIntentCustomizedSetting
*/
public function setDefaultJson($val)
{
$this->_propDict["defaultJson"] = $val;
return $this;
}
/**
* Gets the definitionId
* The ID of the setting definition for this setting
*
* @return string|null The definitionId
*/
public function getDefinitionId()
{
if (array_key_exists("definitionId", $this->_propDict)) {
return $this->_propDict["definitionId"];
} else {
return null;
}
}
/**
* Sets the definitionId
* The ID of the setting definition for this setting
*
* @param string $val The value of the definitionId
*
* @return DeviceManagementIntentCustomizedSetting
*/
public function setDefinitionId($val)
{
$this->_propDict["definitionId"] = $val;
return $this;
}
}

View File

@ -26,7 +26,7 @@ class DirectoryDefinition extends Entity
{
/**
* Gets the discoverabilities
* Read only value indicating what type of discovery the app supports. Possible values are: AttributeDataTypes, AttributeNames, AttributeReadOnly, None, ReferenceAttributes, UnknownFutureValue.
* Read-only value indicating what type of discovery the app supports. The possible values are: None, AttributeNames, AttributeDataTypes, AttributeReadOnly, ReferenceAttributes, UnknownFutureValue. This is a multi-valued object.
*
* @return DirectoryDefinitionDiscoverabilities|null The discoverabilities
*/
@ -45,7 +45,7 @@ class DirectoryDefinition extends Entity
/**
* Sets the discoverabilities
* Read only value indicating what type of discovery the app supports. Possible values are: AttributeDataTypes, AttributeNames, AttributeReadOnly, None, ReferenceAttributes, UnknownFutureValue.
* Read-only value indicating what type of discovery the app supports. The possible values are: None, AttributeNames, AttributeDataTypes, AttributeReadOnly, ReferenceAttributes, UnknownFutureValue. This is a multi-valued object.
*
* @param DirectoryDefinitionDiscoverabilities $val The discoverabilities
*
@ -151,6 +151,7 @@ class DirectoryDefinition extends Entity
/**
* Gets the readOnly
* Whether this object is read-only.
*
* @return bool|null The readOnly
*/
@ -165,6 +166,7 @@ class DirectoryDefinition extends Entity
/**
* Sets the readOnly
* Whether this object is read-only.
*
* @param bool $val The readOnly
*

View File

@ -26,7 +26,7 @@ class EnterpriseCodeSigningCertificate extends Entity
{
/**
* Gets the content
* The Windows Enterprise Code-Signing Certificate in the raw data format.
* The Windows Enterprise Code-Signing Certificate in the raw data format. Set to null once certificate has been uploaded and other properties have been populated.
*
* @return \GuzzleHttp\Psr7\Stream|null The content
*/
@ -45,7 +45,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Sets the content
* The Windows Enterprise Code-Signing Certificate in the raw data format.
* The Windows Enterprise Code-Signing Certificate in the raw data format. Set to null once certificate has been uploaded and other properties have been populated.
*
* @param \GuzzleHttp\Psr7\Stream $val The content
*
@ -59,7 +59,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Gets the expirationDateTime
* The Cert Expiration Date.
* The cert expiration date and time (using ISO 8601 format, in UTC time). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @return \DateTime|null The expirationDateTime
*/
@ -78,7 +78,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Sets the expirationDateTime
* The Cert Expiration Date.
* The cert expiration date and time (using ISO 8601 format, in UTC time). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @param \DateTime $val The expirationDateTime
*
@ -92,7 +92,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Gets the issuer
* The Issuer value for the cert.
* The issuer value for the cert. This might contain information such as country (C), state or province (S), locality (L), common name of the cert (CN), organization (O), and organizational unit (OU). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @return string|null The issuer
*/
@ -107,7 +107,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Sets the issuer
* The Issuer value for the cert.
* The issuer value for the cert. This might contain information such as country (C), state or province (S), locality (L), common name of the cert (CN), organization (O), and organizational unit (OU). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @param string $val The issuer
*
@ -121,7 +121,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Gets the issuerName
* The Issuer Name for the cert.
* The issuer name for the cert. This might contain information such as country (C), state or province (S), locality (L), common name of the cert (CN), organization (O), and organizational unit (OU). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @return string|null The issuerName
*/
@ -136,7 +136,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Sets the issuerName
* The Issuer Name for the cert.
* The issuer name for the cert. This might contain information such as country (C), state or province (S), locality (L), common name of the cert (CN), organization (O), and organizational unit (OU). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @param string $val The issuerName
*
@ -150,7 +150,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Gets the status
* The Certificate Status Provisioned or not Provisioned. Possible values are: notProvisioned, provisioned.
* Whether the Certificate Status Provisioned or not Provisioned. Possible values are: notProvisioned, provisioned. Default is notProvisioned. Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported. Possible values are: notProvisioned, provisioned.
*
* @return CertificateStatus|null The status
*/
@ -169,7 +169,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Sets the status
* The Certificate Status Provisioned or not Provisioned. Possible values are: notProvisioned, provisioned.
* Whether the Certificate Status Provisioned or not Provisioned. Possible values are: notProvisioned, provisioned. Default is notProvisioned. Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported. Possible values are: notProvisioned, provisioned.
*
* @param CertificateStatus $val The status
*
@ -183,7 +183,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Gets the subject
* The Subject Value for the cert.
* The subject value for the cert. This might contain information such as country (C), state or province (S), locality (L), common name of the cert (CN), organization (O), and organizational unit (OU). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @return string|null The subject
*/
@ -198,7 +198,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Sets the subject
* The Subject Value for the cert.
* The subject value for the cert. This might contain information such as country (C), state or province (S), locality (L), common name of the cert (CN), organization (O), and organizational unit (OU). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @param string $val The subject
*
@ -212,7 +212,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Gets the subjectName
* The Subject Name for the cert.
* The subject name for the cert. This might contain information such as country (C), state or province (S), locality (L), common name of the cert (CN), organization (O), and organizational unit (OU). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @return string|null The subjectName
*/
@ -227,7 +227,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Sets the subjectName
* The Subject Name for the cert.
* The subject name for the cert. This might contain information such as country (C), state or province (S), locality (L), common name of the cert (CN), organization (O), and organizational unit (OU). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @param string $val The subjectName
*
@ -241,7 +241,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Gets the uploadDateTime
* The date time of CodeSigning Cert when it is uploaded.
* The date time of CodeSigning Cert when it is uploaded (using ISO 8601 format, in UTC time). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @return \DateTime|null The uploadDateTime
*/
@ -260,7 +260,7 @@ class EnterpriseCodeSigningCertificate extends Entity
/**
* Sets the uploadDateTime
* The date time of CodeSigning Cert when it is uploaded.
* The date time of CodeSigning Cert when it is uploaded (using ISO 8601 format, in UTC time). Uploading a valid cert file through the Intune admin console will automatically populate this value in the HTTP response. Supports: $filter, $select, $top, $OrderBy, $skip. $Search is not supported.
*
* @param \DateTime $val The uploadDateTime
*

View File

@ -41,5 +41,6 @@ class EntityType extends Enum
const ACRONYM = "acronym";
const BOOKMARK = "bookmark";
const CHAT_MESSAGE = "chatMessage";
const PERSON = "person";
const QNA = "qna";
}

View File

@ -0,0 +1,227 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ExtendRemoteHelpSessionResponse 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;
/**
* ExtendRemoteHelpSessionResponse 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 ExtendRemoteHelpSessionResponse implements \JsonSerializable
{
/**
* The array of properties available
* to the model
*
* @var array $_propDict
*/
protected $_propDict;
/**
* Construct a new ExtendRemoteHelpSessionResponse
*
* @param array $propDict A list of properties to set
*/
function __construct($propDict = array())
{
if (!is_array($propDict)) {
$propDict = array();
}
$this->_propDict = $propDict;
}
/**
* Gets the property dictionary of the ExtendRemoteHelpSessionResponse
*
* @return array The list of properties
*/
public function getProperties()
{
return $this->_propDict;
}
/**
* Gets the acsHelperUserToken
* Helper ACS User Token
*
* @return string|null The acsHelperUserToken
*/
public function getAcsHelperUserToken()
{
if (array_key_exists("acsHelperUserToken", $this->_propDict)) {
return $this->_propDict["acsHelperUserToken"];
} else {
return null;
}
}
/**
* Sets the acsHelperUserToken
* Helper ACS User Token
*
* @param string $val The acsHelperUserToken
*
* @return ExtendRemoteHelpSessionResponse
*/
public function setAcsHelperUserToken($val)
{
$this->_propDict["acsHelperUserToken"] = $val;
return $this;
}
/**
* Gets the pubSubHelperAccessUri
* Azure Pubsub Group Id
*
* @return string|null The pubSubHelperAccessUri
*/
public function getPubSubHelperAccessUri()
{
if (array_key_exists("pubSubHelperAccessUri", $this->_propDict)) {
return $this->_propDict["pubSubHelperAccessUri"];
} else {
return null;
}
}
/**
* Sets the pubSubHelperAccessUri
* Azure Pubsub Group Id
*
* @param string $val The pubSubHelperAccessUri
*
* @return ExtendRemoteHelpSessionResponse
*/
public function setPubSubHelperAccessUri($val)
{
$this->_propDict["pubSubHelperAccessUri"] = $val;
return $this;
}
/**
* Gets the sessionExpirationDateTime
* Azure Pubsub Session Expiration Date Time.
*
* @return \DateTime|null The sessionExpirationDateTime
*/
public function getSessionExpirationDateTime()
{
if (array_key_exists("sessionExpirationDateTime", $this->_propDict)) {
if (is_a($this->_propDict["sessionExpirationDateTime"], "\DateTime") || is_null($this->_propDict["sessionExpirationDateTime"])) {
return $this->_propDict["sessionExpirationDateTime"];
} else {
$this->_propDict["sessionExpirationDateTime"] = new \DateTime($this->_propDict["sessionExpirationDateTime"]);
return $this->_propDict["sessionExpirationDateTime"];
}
}
return null;
}
/**
* Sets the sessionExpirationDateTime
* Azure Pubsub Session Expiration Date Time.
*
* @param \DateTime $val The sessionExpirationDateTime
*
* @return ExtendRemoteHelpSessionResponse
*/
public function setSessionExpirationDateTime($val)
{
$this->_propDict["sessionExpirationDateTime"] = $val;
return $this;
}
/**
* Gets the sessionKey
* The unique identifier for a session
*
* @return string|null The sessionKey
*/
public function getSessionKey()
{
if (array_key_exists("sessionKey", $this->_propDict)) {
return $this->_propDict["sessionKey"];
} else {
return null;
}
}
/**
* Sets the sessionKey
* The unique identifier for a session
*
* @param string $val The sessionKey
*
* @return ExtendRemoteHelpSessionResponse
*/
public function setSessionKey($val)
{
$this->_propDict["sessionKey"] = $val;
return $this;
}
/**
* Gets the ODataType
*
* @return string|null The ODataType
*/
public function getODataType()
{
if (array_key_exists('@odata.type', $this->_propDict)) {
return $this->_propDict["@odata.type"];
}
return null;
}
/**
* Sets the ODataType
*
* @param string $val The ODataType
*
* @return ExtendRemoteHelpSessionResponse
*/
public function setODataType($val)
{
$this->_propDict["@odata.type"] = $val;
return $this;
}
/**
* Serializes the object by property array
* Manually serialize DateTime into RFC3339 format
*
* @return array The list of properties
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
$serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) {
if (is_a($val, "\DateTime")) {
$serializableProperties[$property] = $val->format(\DateTime::RFC3339);
} else if (is_a($val, "\Microsoft\Graph\Core\Enum")) {
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
}
}

View File

@ -349,7 +349,7 @@ class HardwareInformation extends Entity
/**
* Gets the deviceLicensingStatus
* Device based subscription licensing status. The update frequency of this property is daily. Note this property is currently supported only for Windows based Device based subscription licensing. In case it is not supported, the value will be set to unknown (-1). Possible values are: licenseRefreshStarted, licenseRefreshPending, deviceIsNotAzureActiveDirectoryJoined, verifyingMicrosoftDeviceIdentity, deviceIdentityVerificationFailed, verifyingMirosoftAccountIdentity, mirosoftAccountVerificationFailed, acquiringDeviceLicense, refreshingDeviceLicense, deviceLicenseRefreshSucceed, deviceLicenseRefreshFailed, removingDeviceLicense, deviceLicenseRemoveSucceed, deviceLicenseRemoveFailed, unknownFutureValue, unknown.
* Device based subscription licensing status. The update frequency of this property is daily. Note this property is currently supported only for Windows based Device based subscription licensing. In case it is not supported, the value will be set to unknown (-1). Possible values are: licenseRefreshStarted, licenseRefreshPending, deviceIsNotAzureActiveDirectoryJoined, verifyingMicrosoftDeviceIdentity, deviceIdentityVerificationFailed, verifyingMicrosoftAccountIdentity, microsoftAccountVerificationFailed, acquiringDeviceLicense, refreshingDeviceLicense, deviceLicenseRefreshSucceed, deviceLicenseRefreshFailed, removingDeviceLicense, deviceLicenseRemoveSucceed, deviceLicenseRemoveFailed, unknownFutureValue, unknown.
*
* @return DeviceLicensingStatus|null The deviceLicensingStatus
*/
@ -368,7 +368,7 @@ class HardwareInformation extends Entity
/**
* Sets the deviceLicensingStatus
* Device based subscription licensing status. The update frequency of this property is daily. Note this property is currently supported only for Windows based Device based subscription licensing. In case it is not supported, the value will be set to unknown (-1). Possible values are: licenseRefreshStarted, licenseRefreshPending, deviceIsNotAzureActiveDirectoryJoined, verifyingMicrosoftDeviceIdentity, deviceIdentityVerificationFailed, verifyingMirosoftAccountIdentity, mirosoftAccountVerificationFailed, acquiringDeviceLicense, refreshingDeviceLicense, deviceLicenseRefreshSucceed, deviceLicenseRefreshFailed, removingDeviceLicense, deviceLicenseRemoveSucceed, deviceLicenseRemoveFailed, unknownFutureValue, unknown.
* Device based subscription licensing status. The update frequency of this property is daily. Note this property is currently supported only for Windows based Device based subscription licensing. In case it is not supported, the value will be set to unknown (-1). Possible values are: licenseRefreshStarted, licenseRefreshPending, deviceIsNotAzureActiveDirectoryJoined, verifyingMicrosoftDeviceIdentity, deviceIdentityVerificationFailed, verifyingMicrosoftAccountIdentity, microsoftAccountVerificationFailed, acquiringDeviceLicense, refreshingDeviceLicense, deviceLicenseRefreshSucceed, deviceLicenseRefreshFailed, removingDeviceLicense, deviceLicenseRemoveSucceed, deviceLicenseRemoveFailed, unknownFutureValue, unknown.
*
* @param DeviceLicensingStatus $val The value to assign to the deviceLicensingStatus
*

View File

@ -25,7 +25,7 @@ class Identity extends Entity
{
/**
* Gets the displayName
* The display name of the identity. This property is read-only.
* The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
*
* @return string|null The displayName
*/
@ -40,7 +40,7 @@ class Identity extends Entity
/**
* Sets the displayName
* The display name of the identity. This property is read-only.
* The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
*
* @param string $val The value of the displayName
*
@ -53,7 +53,7 @@ class Identity extends Entity
}
/**
* Gets the id
* The identifier of the identity. This property is read-only.
* Unique identifier for the identity.
*
* @return string|null The id
*/
@ -68,7 +68,7 @@ class Identity extends Entity
/**
* Sets the id
* The identifier of the identity. This property is read-only.
* Unique identifier for the identity.
*
* @param string $val The value of the id
*

View File

@ -26,7 +26,7 @@ class IdentitySet extends Entity
/**
* Gets the application
* Optional. The application associated with this action.
* The Identity of the Application. This property is read-only.
*
* @return Identity|null The application
*/
@ -45,7 +45,7 @@ class IdentitySet extends Entity
/**
* Sets the application
* Optional. The application associated with this action.
* The Identity of the Application. This property is read-only.
*
* @param Identity $val The value to assign to the application
*
@ -59,7 +59,7 @@ class IdentitySet extends Entity
/**
* Gets the device
* Optional. The device associated with this action.
* The Identity of the Device. This property is read-only.
*
* @return Identity|null The device
*/
@ -78,7 +78,7 @@ class IdentitySet extends Entity
/**
* Sets the device
* Optional. The device associated with this action.
* The Identity of the Device. This property is read-only.
*
* @param Identity $val The value to assign to the device
*
@ -92,7 +92,7 @@ class IdentitySet extends Entity
/**
* Gets the user
* Optional. The user associated with this action.
* The Identity of the User. This property is read-only.
*
* @return Identity|null The user
*/
@ -111,7 +111,7 @@ class IdentitySet extends Entity
/**
* Sets the user
* Optional. The user associated with this action.
* The Identity of the User. This property is read-only.
*
* @param Identity $val The value to assign to the user
*

View File

@ -229,4 +229,31 @@ class JobResponseBase extends Entity
return $this;
}
/**
* Gets the userId
*
* @return string|null The userId
*/
public function getUserId()
{
if (array_key_exists("userId", $this->_propDict)) {
return $this->_propDict["userId"];
} else {
return null;
}
}
/**
* Sets the userId
*
* @param string $val The userId
*
* @return JobResponseBase
*/
public function setUserId($val)
{
$this->_propDict["userId"] = $val;
return $this;
}
}

View File

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

View File

@ -113,7 +113,7 @@ class LearningContent extends Entity
/**
* Gets the createdDateTime
* The date when the learning content was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
* The date and time when the learning content was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
*
* @return \DateTime|null The createdDateTime
*/
@ -132,7 +132,7 @@ class LearningContent extends Entity
/**
* Sets the createdDateTime
* The date when the learning content was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
* The date and time when the learning content was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
*
* @param \DateTime $val The createdDateTime
*
@ -266,7 +266,7 @@ class LearningContent extends Entity
/**
* Gets the isActive
* Indicates whether the content is active or not. Inactive content will not show up in the UI. The default value is true. Optional.
* Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional.
*
* @return bool|null The isActive
*/
@ -281,7 +281,7 @@ class LearningContent extends Entity
/**
* Sets the isActive
* Indicates whether the content is active or not. Inactive content will not show up in the UI. The default value is true. Optional.
* Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional.
*
* @param bool $val The isActive
*
@ -382,7 +382,7 @@ class LearningContent extends Entity
/**
* Gets the lastModifiedDateTime
* The date when the learning content was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
* The date and time when the learning content was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
*
* @return \DateTime|null The lastModifiedDateTime
*/
@ -401,7 +401,7 @@ class LearningContent extends Entity
/**
* Sets the lastModifiedDateTime
* The date when the learning content was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
* The date and time when the learning content was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
*
* @param \DateTime $val The lastModifiedDateTime
*

View File

@ -53,35 +53,6 @@ class LearningProvider extends Entity
return $this;
}
/**
* Gets the isEnabled
* The state of the provider. Optional.
*
* @return bool|null The isEnabled
*/
public function getIsEnabled()
{
if (array_key_exists("isEnabled", $this->_propDict)) {
return $this->_propDict["isEnabled"];
} else {
return null;
}
}
/**
* Sets the isEnabled
* The state of the provider. Optional.
*
* @param bool $val The isEnabled
*
* @return LearningProvider
*/
public function setIsEnabled($val)
{
$this->_propDict["isEnabled"] = boolval($val);
return $this;
}
/**
* Gets the loginWebUrl
* Authentication URL to access the courses for the provider. Optional.
@ -113,7 +84,7 @@ class LearningProvider extends Entity
/**
* Gets the longLogoWebUrlForDarkTheme
* The long logo URL for the dark mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.
* The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
*
* @return string|null The longLogoWebUrlForDarkTheme
*/
@ -128,7 +99,7 @@ class LearningProvider extends Entity
/**
* Sets the longLogoWebUrlForDarkTheme
* The long logo URL for the dark mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.
* The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
*
* @param string $val The longLogoWebUrlForDarkTheme
*
@ -142,7 +113,7 @@ class LearningProvider extends Entity
/**
* Gets the longLogoWebUrlForLightTheme
* The long logo URL for the light mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.
* The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
*
* @return string|null The longLogoWebUrlForLightTheme
*/
@ -157,7 +128,7 @@ class LearningProvider extends Entity
/**
* Sets the longLogoWebUrlForLightTheme
* The long logo URL for the light mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.
* The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
*
* @param string $val The longLogoWebUrlForLightTheme
*
@ -171,7 +142,7 @@ class LearningProvider extends Entity
/**
* Gets the squareLogoWebUrlForDarkTheme
* The square logo URL for the dark mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.
* The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
*
* @return string|null The squareLogoWebUrlForDarkTheme
*/
@ -186,7 +157,7 @@ class LearningProvider extends Entity
/**
* Sets the squareLogoWebUrlForDarkTheme
* The square logo URL for the dark mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.
* The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
*
* @param string $val The squareLogoWebUrlForDarkTheme
*
@ -200,7 +171,7 @@ class LearningProvider extends Entity
/**
* Gets the squareLogoWebUrlForLightTheme
* The square logo URL for the light mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.
* The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
*
* @return string|null The squareLogoWebUrlForLightTheme
*/
@ -215,7 +186,7 @@ class LearningProvider extends Entity
/**
* Sets the squareLogoWebUrlForLightTheme
* The square logo URL for the light mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.
* The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.
*
* @param string $val The squareLogoWebUrlForLightTheme
*

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.
*
* LicenseType 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;
/**
* LicenseType 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 LicenseType extends Enum
{
/**
* The Enum LicenseType
*/
const NOT_PAID = "notPaid";
const PAID = "paid";
const TRIAL = "trial";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -118,4 +118,32 @@ class LogicAppTriggerEndpointConfiguration extends CustomExtensionEndpointConfig
$this->_propDict["subscriptionId"] = $val;
return $this;
}
/**
* Gets the url
* The URL to the logic app endpoint that will be triggered. Only required for app-only token scenarios where app is creating a customCalloutExtension without a signed-in user.
*
* @return string|null The url
*/
public function getUrl()
{
if (array_key_exists("url", $this->_propDict)) {
return $this->_propDict["url"];
} else {
return null;
}
}
/**
* Sets the url
* The URL to the logic app endpoint that will be triggered. Only required for app-only token scenarios where app is creating a customCalloutExtension without a signed-in user.
*
* @param string $val The value of the url
*
* @return LogicAppTriggerEndpointConfiguration
*/
public function setUrl($val)
{
$this->_propDict["url"] = $val;
return $this;
}
}

View File

@ -114,7 +114,7 @@ class MacOSLobApp extends MobileLobApp
/**
* Gets the identityVersion
* The identity version. This property is being deprecated in 2211(November 2022).
* The identity version. This property is deprecated starting in 2211(November 2022).
*
* @return string|null The identityVersion
*/
@ -129,7 +129,7 @@ class MacOSLobApp extends MobileLobApp
/**
* Sets the identityVersion
* The identity version. This property is being deprecated in 2211(November 2022).
* The identity version. This property is deprecated starting in 2211(November 2022).
*
* @param string $val The identityVersion
*

View File

@ -36,7 +36,7 @@ class MacOsLobAppAssignmentSettings extends MobileAppAssignmentSettings
/**
* Gets the uninstallOnDeviceRemoval
* When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune.
* Whether or not to uninstall the app when device is removed from Intune.
*
* @return bool|null The uninstallOnDeviceRemoval
*/
@ -51,7 +51,7 @@ class MacOsLobAppAssignmentSettings extends MobileAppAssignmentSettings
/**
* Sets the uninstallOnDeviceRemoval
* When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune.
* Whether or not to uninstall the app when device is removed from Intune.
*
* @param bool $val The value of the uninstallOnDeviceRemoval
*

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