1
0
Fork 0

Update libraries

master
Brie Bruns 2022-11-15 15:18:32 -07:00
parent 738f44f7f2
commit 58825a04d8
457 changed files with 7832 additions and 3641 deletions

24
composer.lock generated
View File

@ -220,16 +220,16 @@
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "2.4.1", "version": "2.4.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "69568e4293f4fa993f3b0e51c9723e1e17c41379" "reference": "67c26b443f348a51926030c83481b85718457d3d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/69568e4293f4fa993f3b0e51c9723e1e17c41379", "url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d",
"reference": "69568e4293f4fa993f3b0e51c9723e1e17c41379", "reference": "67c26b443f348a51926030c83481b85718457d3d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -319,7 +319,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.1" "source": "https://github.com/guzzle/psr7/tree/2.4.3"
}, },
"funding": [ "funding": [
{ {
@ -335,20 +335,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-08-28T14:45:39+00:00" "time": "2022-10-26T14:07:24+00:00"
}, },
{ {
"name": "microsoft/microsoft-graph", "name": "microsoft/microsoft-graph",
"version": "1.80.0", "version": "1.83.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git", "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "37f763d047a9b1d37f755867731be91f4ddd0f1c" "reference": "d04d0faa72ec9bf471e06bf586d98436be5b50c8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/37f763d047a9b1d37f755867731be91f4ddd0f1c", "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/d04d0faa72ec9bf471e06bf586d98436be5b50c8",
"reference": "37f763d047a9b1d37f755867731be91f4ddd0f1c", "reference": "d04d0faa72ec9bf471e06bf586d98436be5b50c8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -384,9 +384,9 @@
"homepage": "https://developer.microsoft.com/en-us/graph", "homepage": "https://developer.microsoft.com/en-us/graph",
"support": { "support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues", "issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.80.0" "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.83.0"
}, },
"time": "2022-10-21T17:22:04+00:00" "time": "2022-11-08T17:01:11+00:00"
}, },
{ {
"name": "psr/http-client", "name": "psr/http-client",

View File

@ -220,17 +220,17 @@
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "2.4.1", "version": "2.4.3",
"version_normalized": "2.4.1.0", "version_normalized": "2.4.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "69568e4293f4fa993f3b0e51c9723e1e17c41379" "reference": "67c26b443f348a51926030c83481b85718457d3d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/69568e4293f4fa993f3b0e51c9723e1e17c41379", "url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d",
"reference": "69568e4293f4fa993f3b0e51c9723e1e17c41379", "reference": "67c26b443f348a51926030c83481b85718457d3d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -251,7 +251,7 @@
"suggest": { "suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
}, },
"time": "2022-08-28T14:45:39+00:00", "time": "2022-10-26T14:07:24+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"bamarni-bin": { "bamarni-bin": {
@ -322,7 +322,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.1" "source": "https://github.com/guzzle/psr7/tree/2.4.3"
}, },
"funding": [ "funding": [
{ {
@ -342,17 +342,17 @@
}, },
{ {
"name": "microsoft/microsoft-graph", "name": "microsoft/microsoft-graph",
"version": "1.80.0", "version": "1.83.0",
"version_normalized": "1.80.0.0", "version_normalized": "1.83.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php.git", "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git",
"reference": "37f763d047a9b1d37f755867731be91f4ddd0f1c" "reference": "d04d0faa72ec9bf471e06bf586d98436be5b50c8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/37f763d047a9b1d37f755867731be91f4ddd0f1c", "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/d04d0faa72ec9bf471e06bf586d98436be5b50c8",
"reference": "37f763d047a9b1d37f755867731be91f4ddd0f1c", "reference": "d04d0faa72ec9bf471e06bf586d98436be5b50c8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -366,7 +366,7 @@
"phpstan/phpstan": "^0.12.90 || ^1.0.0", "phpstan/phpstan": "^0.12.90 || ^1.0.0",
"phpunit/phpunit": "^8.0 || ^9.0" "phpunit/phpunit": "^8.0 || ^9.0"
}, },
"time": "2022-10-21T17:22:04+00:00", "time": "2022-11-08T17:01:11+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {
@ -390,7 +390,7 @@
"homepage": "https://developer.microsoft.com/en-us/graph", "homepage": "https://developer.microsoft.com/en-us/graph",
"support": { "support": {
"issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues", "issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues",
"source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.80.0" "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.83.0"
}, },
"install-path": "../microsoft/microsoft-graph" "install-path": "../microsoft/microsoft-graph"
}, },

View File

@ -5,7 +5,7 @@
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'reference' => 'd7dc8335c5af9ad135fb7e534dc5ccf4c3343d98', 'reference' => '738f44f7f29828d361e89d7c846d151c7ae39c26',
'name' => '__root__', 'name' => '__root__',
'dev' => true, 'dev' => true,
), ),
@ -16,7 +16,7 @@
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'reference' => 'd7dc8335c5af9ad135fb7e534dc5ccf4c3343d98', 'reference' => '738f44f7f29828d361e89d7c846d151c7ae39c26',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'guzzlehttp/guzzle' => array( 'guzzlehttp/guzzle' => array(
@ -38,21 +38,21 @@
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'guzzlehttp/psr7' => array( 'guzzlehttp/psr7' => array(
'pretty_version' => '2.4.1', 'pretty_version' => '2.4.3',
'version' => '2.4.1.0', 'version' => '2.4.3.0',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'install_path' => __DIR__ . '/../guzzlehttp/psr7',
'aliases' => array(), 'aliases' => array(),
'reference' => '69568e4293f4fa993f3b0e51c9723e1e17c41379', 'reference' => '67c26b443f348a51926030c83481b85718457d3d',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'microsoft/microsoft-graph' => array( 'microsoft/microsoft-graph' => array(
'pretty_version' => '1.80.0', 'pretty_version' => '1.83.0',
'version' => '1.80.0.0', 'version' => '1.83.0.0',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../microsoft/microsoft-graph', 'install_path' => __DIR__ . '/../microsoft/microsoft-graph',
'aliases' => array(), 'aliases' => array(),
'reference' => '37f763d047a9b1d37f755867731be91f4ddd0f1c', 'reference' => 'd04d0faa72ec9bf471e06bf586d98436be5b50c8',
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'psr/http-client' => array( 'psr/http-client' => array(

View File

@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
## 2.4.3 - 2022-10-26
### Changed
- Replaced `sha1(uniqid())` by `bin2hex(random_bytes(20))`
## 2.4.2 - 2022-10-25
### Fixed
- Fixed erroneous behaviour when combining host and relative path
## 2.4.1 - 2022-08-28 ## 2.4.1 - 2022-08-28
### Fixed ### Fixed
@ -103,7 +115,7 @@ Identical to the RC release.
### Removed ### Removed
- PHP < 7.2 support - PHP < 7.2 support
- All functions in the Guzzle\Psr7 namespace - All functions in the `GuzzleHttp\Psr7` namespace
## 1.8.1 - 2021-03-21 ## 1.8.1 - 2021-03-21

View File

@ -380,10 +380,28 @@ of the header. When a parameter does not contain a value, but just
contains a key, this function will inject a key with a '' string value. contains a key, this function will inject a key with a '' string value.
## `GuzzleHttp\Psr7\Header::normalize` ## `GuzzleHttp\Psr7\Header::splitList`
`public static function splitList(string|string[] $header): string[]`
Splits a HTTP header defined to contain a comma-separated list into
each individual value:
```
$knownEtags = Header::splitList($request->getHeader('if-none-match'));
```
Example headers include `accept`, `cache-control` and `if-none-match`.
## `GuzzleHttp\Psr7\Header::normalize` (deprecated)
`public static function normalize(string|array $header): array` `public static function normalize(string|array $header): array`
`Header::normalize()` is deprecated in favor of [`Header::splitList()`](README.md#guzzlehttppsr7headersplitlist)
which performs the same operation with a cleaned up API and improved
documentation.
Converts an array of header values that may contain comma separated Converts an array of header values that may contain comma separated
headers into an array of headers with no comma separated values. headers into an array of headers with no comma separated values.

View File

@ -62,7 +62,7 @@ final class Header
} }
/** /**
* Splits a HTTP header defined to contain comma-separated list into * Splits a HTTP header defined to contain a comma-separated list into
* each individual value. Empty values will be removed. * each individual value. Empty values will be removed.
* *
* Example headers include 'accept', 'cache-control' and 'if-none-match'. * Example headers include 'accept', 'cache-control' and 'if-none-match'.

View File

@ -34,7 +34,7 @@ final class MultipartStream implements StreamInterface
*/ */
public function __construct(array $elements = [], string $boundary = null) public function __construct(array $elements = [], string $boundary = null)
{ {
$this->boundary = $boundary ?: sha1(uniqid('', true)); $this->boundary = $boundary ?: bin2hex(random_bytes(20));
$this->stream = $this->createStream($elements); $this->stream = $this->createStream($elements);
} }

View File

@ -176,6 +176,10 @@ class Uri implements UriInterface, \JsonSerializable
$uri .= '//' . $authority; $uri .= '//' . $authority;
} }
if ($authority != '' && $path != '' && $path[0] != '/') {
$path = '/' . $path;
}
$uri .= $path; $uri .= $path;
if ($query != '') { if ($query != '') {
@ -731,8 +735,6 @@ class Uri implements UriInterface, \JsonSerializable
if ($this->scheme === '' && false !== strpos(explode('/', $this->path, 2)[0], ':')) { if ($this->scheme === '' && false !== strpos(explode('/', $this->path, 2)[0], ':')) {
throw new MalformedUriException('A relative URI must not have a path beginning with a segment containing a colon'); throw new MalformedUriException('A relative URI must not have a path beginning with a segment containing a colon');
} }
} elseif (isset($this->path[0]) && $this->path[0] !== '/') {
throw new MalformedUriException('The path of a URI with an authority must start with a slash "/" or be empty');
} }
} }
} }

View File

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

View File

@ -181,7 +181,7 @@ class LegalHold extends \Beta\Microsoft\Graph\Model\Entity
* Gets the errors * Gets the errors
* Lists any errors that happened while placing the hold. * Lists any errors that happened while placing the hold.
* *
* @return string|null The errors * @return array|null The errors
*/ */
public function getErrors() public function getErrors()
{ {
@ -196,7 +196,7 @@ class LegalHold extends \Beta\Microsoft\Graph\Model\Entity
* Sets the errors * Sets the errors
* Lists any errors that happened while placing the hold. * Lists any errors that happened while placing the hold.
* *
* @param string $val The errors * @param string[] $val The errors
* *
* @return LegalHold * @return LegalHold
*/ */

View File

@ -126,6 +126,8 @@ class External implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -59,7 +59,7 @@ class CustomTaskExtension extends \Beta\Microsoft\Graph\Model\CustomCalloutExten
/** /**
* Gets the createdDateTime * Gets the createdDateTime
* When the custom task extension was created. * When the custom task extension was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The createdDateTime * @return \DateTime|null The createdDateTime
*/ */
@ -78,7 +78,7 @@ class CustomTaskExtension extends \Beta\Microsoft\Graph\Model\CustomCalloutExten
/** /**
* Sets the createdDateTime * Sets the createdDateTime
* When the custom task extension was created. * When the custom task extension was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The createdDateTime * @param \DateTime $val The createdDateTime
* *
@ -92,7 +92,7 @@ class CustomTaskExtension extends \Beta\Microsoft\Graph\Model\CustomCalloutExten
/** /**
* Gets the lastModifiedDateTime * Gets the lastModifiedDateTime
* When the custom extension was last modified. * When the custom extension was last modified.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The lastModifiedDateTime * @return \DateTime|null The lastModifiedDateTime
*/ */
@ -111,7 +111,7 @@ class CustomTaskExtension extends \Beta\Microsoft\Graph\Model\CustomCalloutExten
/** /**
* Sets the lastModifiedDateTime * Sets the lastModifiedDateTime
* When the custom extension was last modified. * When the custom extension was last modified.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The lastModifiedDateTime * @param \DateTime $val The lastModifiedDateTime
* *
@ -125,7 +125,7 @@ class CustomTaskExtension extends \Beta\Microsoft\Graph\Model\CustomCalloutExten
/** /**
* Gets the createdBy * Gets the createdBy
* The unique identifier of the Azure AD user that created the custom task extension. * The unique identifier of the Azure AD user that created the custom task extension.Supports $filter(eq, ne) and $expand.
* *
* @return \Beta\Microsoft\Graph\Model\User|null The createdBy * @return \Beta\Microsoft\Graph\Model\User|null The createdBy
*/ */
@ -144,7 +144,7 @@ class CustomTaskExtension extends \Beta\Microsoft\Graph\Model\CustomCalloutExten
/** /**
* Sets the createdBy * Sets the createdBy
* The unique identifier of the Azure AD user that created the custom task extension. * The unique identifier of the Azure AD user that created the custom task extension.Supports $filter(eq, ne) and $expand.
* *
* @param \Beta\Microsoft\Graph\Model\User $val The createdBy * @param \Beta\Microsoft\Graph\Model\User $val The createdBy
* *
@ -158,7 +158,7 @@ class CustomTaskExtension extends \Beta\Microsoft\Graph\Model\CustomCalloutExten
/** /**
* Gets the lastModifiedBy * Gets the lastModifiedBy
* The unique identifier of the Azure AD user that modified the custom task extension last. * The unique identifier of the Azure AD user that modified the custom task extension last.Supports $filter(eq, ne) and $expand.
* *
* @return \Beta\Microsoft\Graph\Model\User|null The lastModifiedBy * @return \Beta\Microsoft\Graph\Model\User|null The lastModifiedBy
*/ */
@ -177,7 +177,7 @@ class CustomTaskExtension extends \Beta\Microsoft\Graph\Model\CustomCalloutExten
/** /**
* Sets the lastModifiedBy * Sets the lastModifiedBy
* The unique identifier of the Azure AD user that modified the custom task extension last. * The unique identifier of the Azure AD user that modified the custom task extension last.Supports $filter(eq, ne) and $expand.
* *
* @param \Beta\Microsoft\Graph\Model\User $val The lastModifiedBy * @param \Beta\Microsoft\Graph\Model\User $val The lastModifiedBy
* *

View File

@ -26,7 +26,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the completedDateTime * Gets the completedDateTime
* The date time that the run completed. Value is null if the workflow hasn't completed. Optional. * The date time that the run completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The completedDateTime * @return \DateTime|null The completedDateTime
*/ */
@ -45,7 +45,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the completedDateTime * Sets the completedDateTime
* The date time that the run completed. Value is null if the workflow hasn't completed. Optional. * The date time that the run completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The completedDateTime * @param \DateTime $val The completedDateTime
* *
@ -59,7 +59,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the failedTasksCount * Gets the failedTasksCount
* The number of tasks that failed in the run execution. Required. * The number of tasks that failed in the run execution.
* *
* @return int|null The failedTasksCount * @return int|null The failedTasksCount
*/ */
@ -74,7 +74,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the failedTasksCount * Sets the failedTasksCount
* The number of tasks that failed in the run execution. Required. * The number of tasks that failed in the run execution.
* *
* @param int $val The failedTasksCount * @param int $val The failedTasksCount
* *
@ -88,7 +88,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the failedUsersCount * Gets the failedUsersCount
* The number of users that failed in the run execution. Required. * The number of users that failed in the run execution.
* *
* @return int|null The failedUsersCount * @return int|null The failedUsersCount
*/ */
@ -103,7 +103,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the failedUsersCount * Sets the failedUsersCount
* The number of users that failed in the run execution. Required. * The number of users that failed in the run execution.
* *
* @param int $val The failedUsersCount * @param int $val The failedUsersCount
* *
@ -117,7 +117,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the lastUpdatedDateTime * Gets the lastUpdatedDateTime
* The datetime that the run was last updated. Optional. * The datetime that the run was last updated.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The lastUpdatedDateTime * @return \DateTime|null The lastUpdatedDateTime
*/ */
@ -136,7 +136,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the lastUpdatedDateTime * Sets the lastUpdatedDateTime
* The datetime that the run was last updated. Optional. * The datetime that the run was last updated.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The lastUpdatedDateTime * @param \DateTime $val The lastUpdatedDateTime
* *
@ -150,7 +150,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the processingStatus * Gets the processingStatus
* The run execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue. Required. * The run execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @return LifecycleWorkflowProcessingStatus|null The processingStatus * @return LifecycleWorkflowProcessingStatus|null The processingStatus
*/ */
@ -169,7 +169,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the processingStatus * Sets the processingStatus
* The run execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue. Required. * The run execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @param LifecycleWorkflowProcessingStatus $val The processingStatus * @param LifecycleWorkflowProcessingStatus $val The processingStatus
* *
@ -183,7 +183,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the scheduledDateTime * Gets the scheduledDateTime
* The date time that the run is scheduled to be executed for a workflow. Required. * The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The scheduledDateTime * @return \DateTime|null The scheduledDateTime
*/ */
@ -202,7 +202,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the scheduledDateTime * Sets the scheduledDateTime
* The date time that the run is scheduled to be executed for a workflow. Required. * The date time that the run is scheduled to be executed for a workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The scheduledDateTime * @param \DateTime $val The scheduledDateTime
* *
@ -216,7 +216,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the startedDateTime * Gets the startedDateTime
* The date time that the run execution started. Optional. * The date time that the run execution started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The startedDateTime * @return \DateTime|null The startedDateTime
*/ */
@ -235,7 +235,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the startedDateTime * Sets the startedDateTime
* The date time that the run execution started. Optional. * The date time that the run execution started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The startedDateTime * @param \DateTime $val The startedDateTime
* *
@ -249,7 +249,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the successfulUsersCount * Gets the successfulUsersCount
* The number of successfully completed users in the run. Required. * The number of successfully completed users in the run.
* *
* @return int|null The successfulUsersCount * @return int|null The successfulUsersCount
*/ */
@ -264,7 +264,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the successfulUsersCount * Sets the successfulUsersCount
* The number of successfully completed users in the run. Required. * The number of successfully completed users in the run.
* *
* @param int $val The successfulUsersCount * @param int $val The successfulUsersCount
* *
@ -305,7 +305,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the totalUnprocessedTasksCount * Gets the totalUnprocessedTasksCount
* The total number of unprocessed tasks in the run execution. Required. * The total number of unprocessed tasks in the run execution.
* *
* @return int|null The totalUnprocessedTasksCount * @return int|null The totalUnprocessedTasksCount
*/ */
@ -320,7 +320,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the totalUnprocessedTasksCount * Sets the totalUnprocessedTasksCount
* The total number of unprocessed tasks in the run execution. Required. * The total number of unprocessed tasks in the run execution.
* *
* @param int $val The totalUnprocessedTasksCount * @param int $val The totalUnprocessedTasksCount
* *
@ -334,7 +334,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the totalUsersCount * Gets the totalUsersCount
* The total number of users in the workflow execution. Required. * The total number of users in the workflow execution.
* *
* @return int|null The totalUsersCount * @return int|null The totalUsersCount
*/ */
@ -349,7 +349,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the totalUsersCount * Sets the totalUsersCount
* The total number of users in the workflow execution. Required. * The total number of users in the workflow execution.
* *
* @param int $val The totalUsersCount * @param int $val The totalUsersCount
* *
@ -363,7 +363,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the workflowExecutionType * Gets the workflowExecutionType
* The execution type of the workflows associated with the run. The possible values are: scheduled, onDemand, unknownFutureValue. Required. * The execution type of the workflows associated with the run. The possible values are: scheduled, onDemand, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @return WorkflowExecutionType|null The workflowExecutionType * @return WorkflowExecutionType|null The workflowExecutionType
*/ */
@ -382,7 +382,7 @@ class Run extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the workflowExecutionType * Sets the workflowExecutionType
* The execution type of the workflows associated with the run. The possible values are: scheduled, onDemand, unknownFutureValue. Required. * The execution type of the workflows associated with the run. The possible values are: scheduled, onDemand, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @param WorkflowExecutionType $val The workflowExecutionType * @param WorkflowExecutionType $val The workflowExecutionType
* *

View File

@ -27,7 +27,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the arguments * Gets the arguments
* Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks. * Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.
* *
* @return array|null The arguments * @return array|null The arguments
*/ */
@ -42,7 +42,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the arguments * Sets the arguments
* Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks. * Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.
* *
* @param \Beta\Microsoft\Graph\Model\KeyValuePair[] $val The arguments * @param \Beta\Microsoft\Graph\Model\KeyValuePair[] $val The arguments
* *
@ -56,7 +56,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the category * Gets the category
* The category of the task. The possible values are: joiner, leaver, unknownFutureValue. This property is multi-valued and the same task can apply to both joiner and leaver categories. * The category of the task. The possible values are: joiner, leaver, unknownFutureValue. This property is multi-valued and the same task can apply to both joiner and leaver categories.Supports $filter(eq, ne).
* *
* @return LifecycleTaskCategory|null The category * @return LifecycleTaskCategory|null The category
*/ */
@ -75,7 +75,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the category * Sets the category
* The category of the task. The possible values are: joiner, leaver, unknownFutureValue. This property is multi-valued and the same task can apply to both joiner and leaver categories. * The category of the task. The possible values are: joiner, leaver, unknownFutureValue. This property is multi-valued and the same task can apply to both joiner and leaver categories.Supports $filter(eq, ne).
* *
* @param LifecycleTaskCategory $val The category * @param LifecycleTaskCategory $val The category
* *
@ -89,7 +89,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the continueOnError * Gets the continueOnError
* A boolean value that determines if the failure of this task stops the subsequent workflows from running. * A boolean value that determines if the failure of this task stops the subsequent workflows from running. Optional.
* *
* @return bool|null The continueOnError * @return bool|null The continueOnError
*/ */
@ -104,7 +104,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the continueOnError * Sets the continueOnError
* A boolean value that determines if the failure of this task stops the subsequent workflows from running. * A boolean value that determines if the failure of this task stops the subsequent workflows from running. Optional.
* *
* @param bool $val The continueOnError * @param bool $val The continueOnError
* *
@ -118,7 +118,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the description * Gets the description
* A string that describes the purpose of the task for administrative use. * A string that describes the purpose of the task for administrative use. Optional.
* *
* @return string|null The description * @return string|null The description
*/ */
@ -133,7 +133,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the description * Sets the description
* A string that describes the purpose of the task for administrative use. * A string that describes the purpose of the task for administrative use. Optional.
* *
* @param string $val The description * @param string $val The description
* *
@ -147,7 +147,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the displayName * Gets the displayName
* A unique string that identifies the task. Supports $filter(eq) and orderBy. * A unique string that identifies the task. Required.Supports $filter(eq, ne) and orderBy.
* *
* @return string|null The displayName * @return string|null The displayName
*/ */
@ -162,7 +162,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the displayName * Sets the displayName
* A unique string that identifies the task. Supports $filter(eq) and orderBy. * A unique string that identifies the task. Required.Supports $filter(eq, ne) and orderBy.
* *
* @param string $val The displayName * @param string $val The displayName
* *
@ -176,7 +176,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the executionSequence * Gets the executionSequence
* An integer that states in what order the task will run in a workflow. * An integer that states in what order the task will run in a workflow.Supports $orderby.
* *
* @return int|null The executionSequence * @return int|null The executionSequence
*/ */
@ -191,7 +191,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the executionSequence * Sets the executionSequence
* An integer that states in what order the task will run in a workflow. * An integer that states in what order the task will run in a workflow.Supports $orderby.
* *
* @param int $val The executionSequence * @param int $val The executionSequence
* *
@ -205,7 +205,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the isEnabled * Gets the isEnabled
* A boolean value that denotes whether the task is set to run or not. Supports $filter(eq, ne) and orderBy. * A boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy.
* *
* @return bool|null The isEnabled * @return bool|null The isEnabled
*/ */
@ -220,7 +220,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the isEnabled * Sets the isEnabled
* A boolean value that denotes whether the task is set to run or not. Supports $filter(eq, ne) and orderBy. * A boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy.
* *
* @param bool $val The isEnabled * @param bool $val The isEnabled
* *
@ -234,7 +234,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the taskDefinitionId * Gets the taskDefinitionId
* A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see supported tasks * A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see supported tasks. Required.Supports $filter(eq, ne).
* *
* @return string|null The taskDefinitionId * @return string|null The taskDefinitionId
*/ */
@ -249,7 +249,7 @@ class Task extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the taskDefinitionId * Sets the taskDefinitionId
* A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see supported tasks * A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see supported tasks. Required.Supports $filter(eq, ne).
* *
* @param string $val The taskDefinitionId * @param string $val The taskDefinitionId
* *

View File

@ -26,7 +26,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the category * Gets the category
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver. Supports $filter (eq, has). * The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
* *
* @return LifecycleTaskCategory|null The category * @return LifecycleTaskCategory|null The category
*/ */
@ -45,7 +45,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the category * Sets the category
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver. Supports $filter (eq, has). * The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
* *
* @param LifecycleTaskCategory $val The category * @param LifecycleTaskCategory $val The category
* *
@ -115,7 +115,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the displayName * Gets the displayName
* The display name of the taskDefinition`. * The display name of the taskDefinition.Supports $filter(eq, ne) and $orderby.
* *
* @return string|null The displayName * @return string|null The displayName
*/ */
@ -130,7 +130,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the displayName * Sets the displayName
* The display name of the taskDefinition`. * The display name of the taskDefinition.Supports $filter(eq, ne) and $orderby.
* *
* @param string $val The displayName * @param string $val The displayName
* *
@ -145,7 +145,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the parameters * Gets the parameters
* The parameters that must be supplied when creating a workflow task object. * The parameters that must be supplied when creating a workflow task object.Supports $filter(any).
* *
* @return array|null The parameters * @return array|null The parameters
*/ */
@ -160,7 +160,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the parameters * Sets the parameters
* The parameters that must be supplied when creating a workflow task object. * The parameters that must be supplied when creating a workflow task object.Supports $filter(any).
* *
* @param Parameter[] $val The parameters * @param Parameter[] $val The parameters
* *
@ -174,7 +174,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the version * Gets the version
* The version number of the taskDefinition. New records are pushed when we add support for new parameters. * The version number of the taskDefinition. New records are pushed when we add support for new parameters.Supports $filter(ge, gt, le, lt, eq, ne) and $orderby.
* *
* @return int|null The version * @return int|null The version
*/ */
@ -189,7 +189,7 @@ class TaskDefinition extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the version * Sets the version
* The version number of the taskDefinition. New records are pushed when we add support for new parameters. * The version number of the taskDefinition. New records are pushed when we add support for new parameters.Supports $filter(ge, gt, le, lt, eq, ne) and $orderby.
* *
* @param int $val The version * @param int $val The version
* *

View File

@ -26,7 +26,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the completedDateTime * Gets the completedDateTime
* The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress. * The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The completedDateTime * @return \DateTime|null The completedDateTime
*/ */
@ -45,7 +45,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the completedDateTime * Sets the completedDateTime
* The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress. * The date time when taskProcessingResult execution ended. Value is null if task execution is still in progress.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The completedDateTime * @param \DateTime $val The completedDateTime
* *
@ -59,7 +59,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the createdDateTime * Gets the createdDateTime
* The date time when the taskProcessingResult was created. Supports $filter(lt, gt) and orderBy. * The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The createdDateTime * @return \DateTime|null The createdDateTime
*/ */
@ -78,7 +78,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the createdDateTime * Sets the createdDateTime
* The date time when the taskProcessingResult was created. Supports $filter(lt, gt) and orderBy. * The date time when the taskProcessingResult was created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The createdDateTime * @param \DateTime $val The createdDateTime
* *
@ -121,7 +121,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the processingStatus * Gets the processingStatus
* Describes the execution status of the taskProcessingResult. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue. Supports $filter(eq). * Describes the execution status of the taskProcessingResult. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @return LifecycleWorkflowProcessingStatus|null The processingStatus * @return LifecycleWorkflowProcessingStatus|null The processingStatus
*/ */
@ -140,7 +140,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the processingStatus * Sets the processingStatus
* Describes the execution status of the taskProcessingResult. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue. Supports $filter(eq). * Describes the execution status of the taskProcessingResult. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @param LifecycleWorkflowProcessingStatus $val The processingStatus * @param LifecycleWorkflowProcessingStatus $val The processingStatus
* *
@ -154,7 +154,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the startedDateTime * Gets the startedDateTime
* The date time when taskProcessingResult execution started. Value is null if task execution has not yet started. Supports $filter(lt, gt) and orderBy. * The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The startedDateTime * @return \DateTime|null The startedDateTime
*/ */
@ -173,7 +173,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the startedDateTime * Sets the startedDateTime
* The date time when taskProcessingResult execution started. Value is null if task execution has not yet started. Supports $filter(lt, gt) and orderBy. * The date time when taskProcessingResult execution started. Value is null if task execution has not yet started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The startedDateTime * @param \DateTime $val The startedDateTime
* *
@ -187,7 +187,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the subject * Gets the subject
* The unique identifier of the Azure AD user targeted for the task execution. * The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand.
* *
* @return \Beta\Microsoft\Graph\Model\User|null The subject * @return \Beta\Microsoft\Graph\Model\User|null The subject
*/ */
@ -206,7 +206,7 @@ class TaskProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the subject * Sets the subject
* The unique identifier of the Azure AD user targeted for the task execution. * The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand.
* *
* @param \Beta\Microsoft\Graph\Model\User $val The subject * @param \Beta\Microsoft\Graph\Model\User $val The subject
* *

View File

@ -26,7 +26,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the completedDateTime * Gets the completedDateTime
* The date time that the associated run completed. Value is null if the run has not completed. * The date time that the associated run completed. Value is null if the run has not completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The completedDateTime * @return \DateTime|null The completedDateTime
*/ */
@ -45,7 +45,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the completedDateTime * Sets the completedDateTime
* The date time that the associated run completed. Value is null if the run has not completed. * The date time that the associated run completed. Value is null if the run has not completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The completedDateTime * @param \DateTime $val The completedDateTime
* *
@ -59,7 +59,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the failedUsersCount * Gets the failedUsersCount
* The number of users in the run execution for which the associated task failed. * The number of users in the run execution for which the associated task failed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return int|null The failedUsersCount * @return int|null The failedUsersCount
*/ */
@ -74,7 +74,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the failedUsersCount * Sets the failedUsersCount
* The number of users in the run execution for which the associated task failed. * The number of users in the run execution for which the associated task failed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param int $val The failedUsersCount * @param int $val The failedUsersCount
* *
@ -121,7 +121,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the processingStatus * Gets the processingStatus
* The processing status of the associated task based on the taskProcessingResults. The possible values are based on the number of queued, inProgress, completed, completedWithErrors, canceled, failed, and unknownFutureValue. * The processing status of the associated task based on the taskProcessingResults. The possible values are based on the number of queued, inProgress, completed, completedWithErrors, canceled, failed, and unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @return LifecycleWorkflowProcessingStatus|null The processingStatus * @return LifecycleWorkflowProcessingStatus|null The processingStatus
*/ */
@ -140,7 +140,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the processingStatus * Sets the processingStatus
* The processing status of the associated task based on the taskProcessingResults. The possible values are based on the number of queued, inProgress, completed, completedWithErrors, canceled, failed, and unknownFutureValue. * The processing status of the associated task based on the taskProcessingResults. The possible values are based on the number of queued, inProgress, completed, completedWithErrors, canceled, failed, and unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @param LifecycleWorkflowProcessingStatus $val The processingStatus * @param LifecycleWorkflowProcessingStatus $val The processingStatus
* *
@ -216,7 +216,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the successfulUsersCount * Gets the successfulUsersCount
* The number of users in the run execution for which the associated task succeeded. * The number of users in the run execution for which the associated task succeeded.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return int|null The successfulUsersCount * @return int|null The successfulUsersCount
*/ */
@ -231,7 +231,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the successfulUsersCount * Sets the successfulUsersCount
* The number of users in the run execution for which the associated task succeeded. * The number of users in the run execution for which the associated task succeeded.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param int $val The successfulUsersCount * @param int $val The successfulUsersCount
* *
@ -245,7 +245,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the totalUsersCount * Gets the totalUsersCount
* The total number of users in the run execution for which the associated task was scheduled to execute. * The total number of users in the run execution for which the associated task was scheduled to execute.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return int|null The totalUsersCount * @return int|null The totalUsersCount
*/ */
@ -260,7 +260,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the totalUsersCount * Sets the totalUsersCount
* The total number of users in the run execution for which the associated task was scheduled to execute. * The total number of users in the run execution for which the associated task was scheduled to execute.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param int $val The totalUsersCount * @param int $val The totalUsersCount
* *
@ -274,7 +274,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the unprocessedUsersCount * Gets the unprocessedUsersCount
* The number of users in the run execution for which the associated task is queued, in progress, or canceled. * The number of users in the run execution for which the associated task is queued, in progress, or canceled.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return int|null The unprocessedUsersCount * @return int|null The unprocessedUsersCount
*/ */
@ -289,7 +289,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the unprocessedUsersCount * Sets the unprocessedUsersCount
* The number of users in the run execution for which the associated task is queued, in progress, or canceled. * The number of users in the run execution for which the associated task is queued, in progress, or canceled.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param int $val The unprocessedUsersCount * @param int $val The unprocessedUsersCount
* *
@ -303,7 +303,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the task * Gets the task
* The related lifecycle workflow task. * The related lifecycle workflow task.Supports $filter(eq, ne) and $expand.
* *
* @return Task|null The task * @return Task|null The task
*/ */
@ -322,7 +322,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the task * Sets the task
* The related lifecycle workflow task. * The related lifecycle workflow task.Supports $filter(eq, ne) and $expand.
* *
* @param Task $val The task * @param Task $val The task
* *
@ -336,7 +336,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the taskDefinition * Gets the taskDefinition
* The taskDefinition associated with the related lifecycle workflow task. * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand.
* *
* @return TaskDefinition|null The taskDefinition * @return TaskDefinition|null The taskDefinition
*/ */
@ -355,7 +355,7 @@ class TaskReport extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the taskDefinition * Sets the taskDefinition
* The taskDefinition associated with the related lifecycle workflow task. * The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand.
* *
* @param TaskDefinition $val The taskDefinition * @param TaskDefinition $val The taskDefinition
* *

View File

@ -26,7 +26,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the completedDateTime * Gets the completedDateTime
* The date time that the workflow execution for a user completed. Value is null if the workflow hasn't completed. Supports $filter(lt, gt) and $orderby. * The date time that the workflow execution for a user completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The completedDateTime * @return \DateTime|null The completedDateTime
*/ */
@ -45,7 +45,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the completedDateTime * Sets the completedDateTime
* The date time that the workflow execution for a user completed. Value is null if the workflow hasn't completed. Supports $filter(lt, gt) and $orderby. * The date time that the workflow execution for a user completed. Value is null if the workflow hasn't completed.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The completedDateTime * @param \DateTime $val The completedDateTime
* *
@ -88,7 +88,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the processingStatus * Gets the processingStatus
* The workflow execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue. * The workflow execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @return LifecycleWorkflowProcessingStatus|null The processingStatus * @return LifecycleWorkflowProcessingStatus|null The processingStatus
*/ */
@ -107,7 +107,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the processingStatus * Sets the processingStatus
* The workflow execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue. * The workflow execution status. The possible values are: queued, inProgress, completed, completedWithErrors, canceled, failed, unknownFutureValue.Supports $filter(eq, ne) and $orderby.
* *
* @param LifecycleWorkflowProcessingStatus $val The processingStatus * @param LifecycleWorkflowProcessingStatus $val The processingStatus
* *
@ -121,7 +121,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the scheduledDateTime * Gets the scheduledDateTime
* The date time that the workflow is scheduled to be executed for a user. * The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The scheduledDateTime * @return \DateTime|null The scheduledDateTime
*/ */
@ -140,7 +140,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the scheduledDateTime * Sets the scheduledDateTime
* The date time that the workflow is scheduled to be executed for a user. * The date time that the workflow is scheduled to be executed for a user.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The scheduledDateTime * @param \DateTime $val The scheduledDateTime
* *
@ -154,7 +154,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the startedDateTime * Gets the startedDateTime
* The date time that the workflow execution started. Value is null if the workflow execution has not started. Supports $filter(lt, gt) and $orderby. * The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The startedDateTime * @return \DateTime|null The startedDateTime
*/ */
@ -173,7 +173,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the startedDateTime * Sets the startedDateTime
* The date time that the workflow execution started. Value is null if the workflow execution has not started. Supports $filter(lt, gt) and $orderby. * The date time that the workflow execution started. Value is null if the workflow execution has not started.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The startedDateTime * @param \DateTime $val The startedDateTime
* *
@ -245,7 +245,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the workflowExecutionType * Gets the workflowExecutionType
* Describes the execution type of the workflow. The possible values are: scheduled, onDemand, unknownFutureValue. Supports $filter(eq, ne). * Describes the execution type of the workflow. The possible values are: scheduled, onDemand, unknownFutureValue.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return WorkflowExecutionType|null The workflowExecutionType * @return WorkflowExecutionType|null The workflowExecutionType
*/ */
@ -264,7 +264,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the workflowExecutionType * Sets the workflowExecutionType
* Describes the execution type of the workflow. The possible values are: scheduled, onDemand, unknownFutureValue. Supports $filter(eq, ne). * Describes the execution type of the workflow. The possible values are: scheduled, onDemand, unknownFutureValue.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param WorkflowExecutionType $val The workflowExecutionType * @param WorkflowExecutionType $val The workflowExecutionType
* *
@ -307,7 +307,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the subject * Gets the subject
* The unique identifier of the AAD user targeted for the taskProcessingResult. * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand.
* *
* @return \Beta\Microsoft\Graph\Model\User|null The subject * @return \Beta\Microsoft\Graph\Model\User|null The subject
*/ */
@ -326,7 +326,7 @@ class UserProcessingResult extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the subject * Sets the subject
* The unique identifier of the AAD user targeted for the taskProcessingResult. * The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand.
* *
* @param \Beta\Microsoft\Graph\Model\User $val The subject * @param \Beta\Microsoft\Graph\Model\User $val The subject
* *

View File

@ -25,7 +25,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the failedTasks * Gets the failedTasks
* Numerical count of failed tasks for users processed by a workflow.
* *
* @return int|null The failedTasks * @return int|null The failedTasks
*/ */
@ -40,7 +39,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the failedTasks * Sets the failedTasks
* Numerical count of failed tasks for users processed by a workflow.
* *
* @param int $val The value of the failedTasks * @param int $val The value of the failedTasks
* *
@ -53,7 +51,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
} }
/** /**
* Gets the failedUsers * Gets the failedUsers
* Numerical count of failed users processed by a workflow.
* *
* @return int|null The failedUsers * @return int|null The failedUsers
*/ */
@ -68,7 +65,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the failedUsers * Sets the failedUsers
* Numerical count of failed users processed by a workflow.
* *
* @param int $val The value of the failedUsers * @param int $val The value of the failedUsers
* *
@ -81,7 +77,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
} }
/** /**
* Gets the successfulUsers * Gets the successfulUsers
* Numerical count of successful users processed by a workflow.
* *
* @return int|null The successfulUsers * @return int|null The successfulUsers
*/ */
@ -96,7 +91,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the successfulUsers * Sets the successfulUsers
* Numerical count of successful users processed by a workflow.
* *
* @param int $val The value of the successfulUsers * @param int $val The value of the successfulUsers
* *
@ -109,7 +103,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
} }
/** /**
* Gets the totalTasks * Gets the totalTasks
* Numerical count of total tasks for users processed by a workflow.
* *
* @return int|null The totalTasks * @return int|null The totalTasks
*/ */
@ -124,7 +117,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the totalTasks * Sets the totalTasks
* Numerical count of total tasks for users processed by a workflow.
* *
* @param int $val The value of the totalTasks * @param int $val The value of the totalTasks
* *
@ -137,7 +129,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
} }
/** /**
* Gets the totalUsers * Gets the totalUsers
* Numerical count of total users processed by a workflow.
* *
* @return int|null The totalUsers * @return int|null The totalUsers
*/ */
@ -152,7 +143,6 @@ class UsersProcessingSummary extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the totalUsers * Sets the totalUsers
* Numerical count of total users processed by a workflow.
* *
* @param int $val The value of the totalUsers * @param int $val The value of the totalUsers
* *

View File

@ -26,7 +26,7 @@ class Workflow extends WorkflowBase
{ {
/** /**
* Gets the deletedDateTime * Gets the deletedDateTime
* When the workflow was deleted. Supports $filter(lt,gt) and $orderBy. * When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return \DateTime|null The deletedDateTime * @return \DateTime|null The deletedDateTime
*/ */
@ -45,7 +45,7 @@ class Workflow extends WorkflowBase
/** /**
* Sets the deletedDateTime * Sets the deletedDateTime
* When the workflow was deleted. Supports $filter(lt,gt) and $orderBy. * When the workflow was deleted.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param \DateTime $val The deletedDateTime * @param \DateTime $val The deletedDateTime
* *
@ -59,7 +59,7 @@ class Workflow extends WorkflowBase
/** /**
* Gets the id * Gets the id
* Identifier used for individually addressing a specific workflow. Supports $filter(eq, ne). * Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby.
* *
* @return string|null The id * @return string|null The id
*/ */
@ -74,7 +74,7 @@ class Workflow extends WorkflowBase
/** /**
* Sets the id * Sets the id
* Identifier used for individually addressing a specific workflow. Supports $filter(eq, ne). * Identifier used for individually addressing a specific workflow.Supports $filter(eq, ne) and $orderby.
* *
* @param string $val The id * @param string $val The id
* *
@ -121,7 +121,7 @@ class Workflow extends WorkflowBase
/** /**
* Gets the version * Gets the version
* The current version number of the workflow. Value is 1 when the workflow is first created. Supports $filter(eq, ne). * The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return int|null The version * @return int|null The version
*/ */
@ -136,7 +136,7 @@ class Workflow extends WorkflowBase
/** /**
* Sets the version * Sets the version
* The current version number of the workflow. Value is 1 when the workflow is first created. Supports $filter(eq, ne). * The current version number of the workflow. Value is 1 when the workflow is first created.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param int $val The version * @param int $val The version
* *

View File

@ -442,6 +442,8 @@ class WorkflowBase implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -26,7 +26,7 @@ class WorkflowTemplate extends \Beta\Microsoft\Graph\Model\Entity
{ {
/** /**
* Gets the category * Gets the category
* The category of the workflow template. The possible values are: joiner, leaver. Supports $filter (eq). * The category of the workflow template. The possible values are: joiner, leaver.Supports $filter(eq, ne) and $orderby.
* *
* @return LifecycleWorkflowCategory|null The category * @return LifecycleWorkflowCategory|null The category
*/ */
@ -45,7 +45,7 @@ class WorkflowTemplate extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the category * Sets the category
* The category of the workflow template. The possible values are: joiner, leaver. Supports $filter (eq). * The category of the workflow template. The possible values are: joiner, leaver.Supports $filter(eq, ne) and $orderby.
* *
* @param LifecycleWorkflowCategory $val The category * @param LifecycleWorkflowCategory $val The category
* *
@ -88,7 +88,7 @@ class WorkflowTemplate extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the displayName * Gets the displayName
* The display name of the workflowTemplate. Supports orderby. * The display name of the workflowTemplate.Supports $filter(eq, ne) and $orderby.
* *
* @return string|null The displayName * @return string|null The displayName
*/ */
@ -103,7 +103,7 @@ class WorkflowTemplate extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the displayName * Sets the displayName
* The display name of the workflowTemplate. Supports orderby. * The display name of the workflowTemplate.Supports $filter(eq, ne) and $orderby.
* *
* @param string $val The displayName * @param string $val The displayName
* *

View File

@ -26,7 +26,7 @@ class WorkflowVersion extends WorkflowBase
{ {
/** /**
* Gets the versionNumber * Gets the versionNumber
* The version of the workflow.Supports $filter(eq, ne), orderby. * The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @return int|null The versionNumber * @return int|null The versionNumber
*/ */
@ -41,7 +41,7 @@ class WorkflowVersion extends WorkflowBase
/** /**
* Sets the versionNumber * Sets the versionNumber
* The version of the workflow.Supports $filter(eq, ne), orderby. * The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby.
* *
* @param int $val The versionNumber * @param int $val The versionNumber
* *

View File

@ -325,6 +325,202 @@ class ManagedTenant extends \Beta\Microsoft\Graph\Model\Entity
} }
/**
* Gets the managedTenantAlertLogs
*
* @return array|null The managedTenantAlertLogs
*/
public function getManagedTenantAlertLogs()
{
if (array_key_exists("managedTenantAlertLogs", $this->_propDict)) {
return $this->_propDict["managedTenantAlertLogs"];
} else {
return null;
}
}
/**
* Sets the managedTenantAlertLogs
*
* @param ManagedTenantAlertLog[] $val The managedTenantAlertLogs
*
* @return ManagedTenant
*/
public function setManagedTenantAlertLogs($val)
{
$this->_propDict["managedTenantAlertLogs"] = $val;
return $this;
}
/**
* Gets the managedTenantAlertRuleDefinitions
*
* @return array|null The managedTenantAlertRuleDefinitions
*/
public function getManagedTenantAlertRuleDefinitions()
{
if (array_key_exists("managedTenantAlertRuleDefinitions", $this->_propDict)) {
return $this->_propDict["managedTenantAlertRuleDefinitions"];
} else {
return null;
}
}
/**
* Sets the managedTenantAlertRuleDefinitions
*
* @param ManagedTenantAlertRuleDefinition[] $val The managedTenantAlertRuleDefinitions
*
* @return ManagedTenant
*/
public function setManagedTenantAlertRuleDefinitions($val)
{
$this->_propDict["managedTenantAlertRuleDefinitions"] = $val;
return $this;
}
/**
* Gets the managedTenantAlertRules
*
* @return array|null The managedTenantAlertRules
*/
public function getManagedTenantAlertRules()
{
if (array_key_exists("managedTenantAlertRules", $this->_propDict)) {
return $this->_propDict["managedTenantAlertRules"];
} else {
return null;
}
}
/**
* Sets the managedTenantAlertRules
*
* @param ManagedTenantAlertRule[] $val The managedTenantAlertRules
*
* @return ManagedTenant
*/
public function setManagedTenantAlertRules($val)
{
$this->_propDict["managedTenantAlertRules"] = $val;
return $this;
}
/**
* Gets the managedTenantAlerts
*
* @return array|null The managedTenantAlerts
*/
public function getManagedTenantAlerts()
{
if (array_key_exists("managedTenantAlerts", $this->_propDict)) {
return $this->_propDict["managedTenantAlerts"];
} else {
return null;
}
}
/**
* Sets the managedTenantAlerts
*
* @param ManagedTenantAlert[] $val The managedTenantAlerts
*
* @return ManagedTenant
*/
public function setManagedTenantAlerts($val)
{
$this->_propDict["managedTenantAlerts"] = $val;
return $this;
}
/**
* Gets the managedTenantApiNotifications
*
* @return array|null The managedTenantApiNotifications
*/
public function getManagedTenantApiNotifications()
{
if (array_key_exists("managedTenantApiNotifications", $this->_propDict)) {
return $this->_propDict["managedTenantApiNotifications"];
} else {
return null;
}
}
/**
* Sets the managedTenantApiNotifications
*
* @param ManagedTenantApiNotification[] $val The managedTenantApiNotifications
*
* @return ManagedTenant
*/
public function setManagedTenantApiNotifications($val)
{
$this->_propDict["managedTenantApiNotifications"] = $val;
return $this;
}
/**
* Gets the managedTenantEmailNotifications
*
* @return array|null The managedTenantEmailNotifications
*/
public function getManagedTenantEmailNotifications()
{
if (array_key_exists("managedTenantEmailNotifications", $this->_propDict)) {
return $this->_propDict["managedTenantEmailNotifications"];
} else {
return null;
}
}
/**
* Sets the managedTenantEmailNotifications
*
* @param ManagedTenantEmailNotification[] $val The managedTenantEmailNotifications
*
* @return ManagedTenant
*/
public function setManagedTenantEmailNotifications($val)
{
$this->_propDict["managedTenantEmailNotifications"] = $val;
return $this;
}
/**
* Gets the managedTenantTicketingEndpoints
*
* @return array|null The managedTenantTicketingEndpoints
*/
public function getManagedTenantTicketingEndpoints()
{
if (array_key_exists("managedTenantTicketingEndpoints", $this->_propDict)) {
return $this->_propDict["managedTenantTicketingEndpoints"];
} else {
return null;
}
}
/**
* Sets the managedTenantTicketingEndpoints
*
* @param ManagedTenantTicketingEndpoint[] $val The managedTenantTicketingEndpoints
*
* @return ManagedTenant
*/
public function setManagedTenantTicketingEndpoints($val)
{
$this->_propDict["managedTenantTicketingEndpoints"] = $val;
return $this;
}
/** /**
* Gets the managementActions * Gets the managementActions
* The collection of baseline management actions across managed tenants. * The collection of baseline management actions across managed tenants.

View File

@ -157,6 +157,8 @@ class MyRole implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -146,7 +146,7 @@ class TenantGroup extends \Beta\Microsoft\Graph\Model\Entity
* Gets the tenantIds * Gets the tenantIds
* The collection of managed tenant identifiers include in the tenant group. Optional. Read-only. * The collection of managed tenant identifiers include in the tenant group. Optional. Read-only.
* *
* @return string|null The tenantIds * @return array|null The tenantIds
*/ */
public function getTenantIds() public function getTenantIds()
{ {
@ -161,7 +161,7 @@ class TenantGroup extends \Beta\Microsoft\Graph\Model\Entity
* Sets the tenantIds * Sets the tenantIds
* The collection of managed tenant identifiers include in the tenant group. Optional. Read-only. * The collection of managed tenant identifiers include in the tenant group. Optional. Read-only.
* *
* @param string $val The tenantIds * @param string[] $val The tenantIds
* *
* @return TenantGroup * @return TenantGroup
*/ */

View File

@ -26,7 +26,7 @@ class TenantStatusInformation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Gets the delegatedPrivilegeStatus * Gets the delegatedPrivilegeStatus
* The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue. Optional. Read-only. * The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only.
* *
* @return DelegatedPrivilegeStatus|null The delegatedPrivilegeStatus * @return DelegatedPrivilegeStatus|null The delegatedPrivilegeStatus
*/ */
@ -45,7 +45,7 @@ class TenantStatusInformation extends \Beta\Microsoft\Graph\Model\Entity
/** /**
* Sets the delegatedPrivilegeStatus * Sets the delegatedPrivilegeStatus
* The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue. Optional. Read-only. * The status of the delegated admin privilege relationship between the managing entity and the managed tenant. Possible values are: none, delegatedAdminPrivileges, unknownFutureValue, granularDelegatedAdminPrivileges, delegatedAndGranularDelegetedAdminPrivileges. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: granularDelegatedAdminPrivileges , delegatedAndGranularDelegetedAdminPrivileges. Optional. Read-only.
* *
* @param DelegatedPrivilegeStatus $val The value to assign to the delegatedPrivilegeStatus * @param DelegatedPrivilegeStatus $val The value to assign to the delegatedPrivilegeStatus
* *

View File

@ -55,6 +55,39 @@ class Admin implements \JsonSerializable
return $this->_propDict; return $this->_propDict;
} }
/**
* Gets the edge
* A container for Microsoft Edge resources. Read-only.
*
* @return Edge|null The edge
*/
public function getEdge()
{
if (array_key_exists("edge", $this->_propDict)) {
if (is_a($this->_propDict["edge"], "\Beta\Microsoft\Graph\Model\Edge") || is_null($this->_propDict["edge"])) {
return $this->_propDict["edge"];
} else {
$this->_propDict["edge"] = new Edge($this->_propDict["edge"]);
return $this->_propDict["edge"];
}
}
return null;
}
/**
* Sets the edge
* A container for Microsoft Edge resources. Read-only.
*
* @param Edge $val The edge
*
* @return Admin
*/
public function setEdge($val)
{
$this->_propDict["edge"] = $val;
return $this;
}
/** /**
* Gets the sharepoint * Gets the sharepoint
* A container for administrative resources to manage tenant-level settings for SharePoint and OneDrive. * A container for administrative resources to manage tenant-level settings for SharePoint and OneDrive.
@ -230,6 +263,8 @@ class Admin implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -113,7 +113,7 @@ class AgreementAcceptance extends Entity
/** /**
* Gets the deviceId * Gets the deviceId
* The unique identifier of the device used for accepting the agreement. * The unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values.
* *
* @return string|null The deviceId * @return string|null The deviceId
*/ */
@ -128,7 +128,7 @@ class AgreementAcceptance extends Entity
/** /**
* Sets the deviceId * Sets the deviceId
* The unique identifier of the device used for accepting the agreement. * The unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values.
* *
* @param string $val The deviceId * @param string $val The deviceId
* *
@ -200,7 +200,7 @@ class AgreementAcceptance extends Entity
/** /**
* Gets the expirationDateTime * Gets the expirationDateTime
* The expiration date time of the acceptance. 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 * The expiration date time of the acceptance. 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. Supports $filter (eq, ge, le) and eq for null values.
* *
* @return \DateTime|null The expirationDateTime * @return \DateTime|null The expirationDateTime
*/ */
@ -219,7 +219,7 @@ class AgreementAcceptance extends Entity
/** /**
* Sets the expirationDateTime * Sets the expirationDateTime
* The expiration date time of the acceptance. 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 * The expiration date time of the acceptance. 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. Supports $filter (eq, ge, le) and eq for null values.
* *
* @param \DateTime $val The expirationDateTime * @param \DateTime $val The expirationDateTime
* *
@ -233,7 +233,7 @@ class AgreementAcceptance extends Entity
/** /**
* Gets the recordedDateTime * Gets the recordedDateTime
* 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 * 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. Supports $filter (eq) and eq for null values.
* *
* @return \DateTime|null The recordedDateTime * @return \DateTime|null The recordedDateTime
*/ */
@ -252,7 +252,7 @@ class AgreementAcceptance extends Entity
/** /**
* Sets the recordedDateTime * Sets the recordedDateTime
* 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 * 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. Supports $filter (eq) and eq for null values.
* *
* @param \DateTime $val The recordedDateTime * @param \DateTime $val The recordedDateTime
* *
@ -357,7 +357,7 @@ class AgreementAcceptance extends Entity
/** /**
* Gets the userId * Gets the userId
* ID of the user who accepted the agreement. * ID of the user who accepted the agreement. Supports $filter (eq).
* *
* @return string|null The userId * @return string|null The userId
*/ */
@ -372,7 +372,7 @@ class AgreementAcceptance extends Entity
/** /**
* Sets the userId * Sets the userId
* ID of the user who accepted the agreement. * ID of the user who accepted the agreement. Supports $filter (eq).
* *
* @param string $val The userId * @param string $val The userId
* *

View File

@ -264,7 +264,7 @@ class Alert extends Entity
* Gets the comments * Gets the comments
* Customer-provided comments on alert (for customer alert management) (supports update). * Customer-provided comments on alert (for customer alert management) (supports update).
* *
* @return string|null The comments * @return array|null The comments
*/ */
public function getComments() public function getComments()
{ {
@ -279,7 +279,7 @@ class Alert extends Entity
* Sets the comments * Sets the comments
* Customer-provided comments on alert (for customer alert management) (supports update). * Customer-provided comments on alert (for customer alert management) (supports update).
* *
* @param string $val The comments * @param string[] $val The comments
* *
* @return Alert * @return Alert
*/ */
@ -384,7 +384,7 @@ class Alert extends Entity
* Gets the detectionIds * Gets the detectionIds
* Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).
* *
* @return string|null The detectionIds * @return array|null The detectionIds
*/ */
public function getDetectionIds() public function getDetectionIds()
{ {
@ -399,7 +399,7 @@ class Alert extends Entity
* Sets the detectionIds * Sets the detectionIds
* Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). * Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).
* *
* @param string $val The detectionIds * @param string[] $val The detectionIds
* *
* @return Alert * @return Alert
*/ */
@ -569,7 +569,7 @@ class Alert extends Entity
* Gets the incidentIds * Gets the incidentIds
* IDs of incidents related to current alert. * IDs of incidents related to current alert.
* *
* @return string|null The incidentIds * @return array|null The incidentIds
*/ */
public function getIncidentIds() public function getIncidentIds()
{ {
@ -584,7 +584,7 @@ class Alert extends Entity
* Sets the incidentIds * Sets the incidentIds
* IDs of incidents related to current alert. * IDs of incidents related to current alert.
* *
* @param string $val The incidentIds * @param string[] $val The incidentIds
* *
* @return Alert * @return Alert
*/ */
@ -808,7 +808,7 @@ class Alert extends Entity
* Gets the recommendedActions * Gets the recommendedActions
* Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).
* *
* @return string|null The recommendedActions * @return array|null The recommendedActions
*/ */
public function getRecommendedActions() public function getRecommendedActions()
{ {
@ -823,7 +823,7 @@ class Alert extends Entity
* Sets the recommendedActions * Sets the recommendedActions
* Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). * Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).
* *
* @param string $val The recommendedActions * @param string[] $val The recommendedActions
* *
* @return Alert * @return Alert
*/ */
@ -930,7 +930,7 @@ class Alert extends Entity
* Gets the sourceMaterials * Gets the sourceMaterials
* Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc.
* *
* @return string|null The sourceMaterials * @return array|null The sourceMaterials
*/ */
public function getSourceMaterials() public function getSourceMaterials()
{ {
@ -945,7 +945,7 @@ class Alert extends Entity
* Sets the sourceMaterials * Sets the sourceMaterials
* Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc. * Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search, etc.
* *
* @param string $val The sourceMaterials * @param string[] $val The sourceMaterials
* *
* @return Alert * @return Alert
*/ */
@ -992,7 +992,7 @@ class Alert extends Entity
* Gets the tags * Gets the tags
* User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update).
* *
* @return string|null The tags * @return array|null The tags
*/ */
public function getTags() public function getTags()
{ {
@ -1007,7 +1007,7 @@ class Alert extends Entity
* Sets the tags * Sets the tags
* User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update). * User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW', etc.) (supports update).
* *
* @param string $val The tags * @param string[] $val The tags
* *
* @return Alert * @return Alert
*/ */

View File

@ -396,7 +396,7 @@ class AndroidDeviceOwnerEnrollmentProfile extends Entity
* Gets the roleScopeTagIds * Gets the roleScopeTagIds
* List of Scope Tags for this Entity instance. * List of Scope Tags for this Entity instance.
* *
* @return string|null The roleScopeTagIds * @return array|null The roleScopeTagIds
*/ */
public function getRoleScopeTagIds() public function getRoleScopeTagIds()
{ {
@ -411,7 +411,7 @@ class AndroidDeviceOwnerEnrollmentProfile extends Entity
* Sets the roleScopeTagIds * Sets the roleScopeTagIds
* List of Scope Tags for this Entity instance. * List of Scope Tags for this Entity instance.
* *
* @param string $val The roleScopeTagIds * @param string[] $val The roleScopeTagIds
* *
* @return AndroidDeviceOwnerEnrollmentProfile * @return AndroidDeviceOwnerEnrollmentProfile
*/ */

View File

@ -189,7 +189,7 @@ class AndroidDeviceOwnerEnterpriseWiFiConfiguration extends AndroidDeviceOwnerWi
* Gets the trustedServerCertificateNames * Gets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @return string|null The trustedServerCertificateNames * @return array|null The trustedServerCertificateNames
*/ */
public function getTrustedServerCertificateNames() public function getTrustedServerCertificateNames()
{ {
@ -204,7 +204,7 @@ class AndroidDeviceOwnerEnterpriseWiFiConfiguration extends AndroidDeviceOwnerWi
* Sets the trustedServerCertificateNames * Sets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @param string $val The trustedServerCertificateNames * @param string[] $val The trustedServerCertificateNames
* *
* @return AndroidDeviceOwnerEnterpriseWiFiConfiguration * @return AndroidDeviceOwnerEnterpriseWiFiConfiguration
*/ */

View File

@ -633,7 +633,7 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfiguration
* Gets the factoryResetDeviceAdministratorEmails * Gets the factoryResetDeviceAdministratorEmails
* List of Google account emails that will be required to authenticate after a device is factory reset before it can be set up. * List of Google account emails that will be required to authenticate after a device is factory reset before it can be set up.
* *
* @return string|null The factoryResetDeviceAdministratorEmails * @return array|null The factoryResetDeviceAdministratorEmails
*/ */
public function getFactoryResetDeviceAdministratorEmails() public function getFactoryResetDeviceAdministratorEmails()
{ {
@ -648,7 +648,7 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfiguration
* Sets the factoryResetDeviceAdministratorEmails * Sets the factoryResetDeviceAdministratorEmails
* List of Google account emails that will be required to authenticate after a device is factory reset before it can be set up. * List of Google account emails that will be required to authenticate after a device is factory reset before it can be set up.
* *
* @param string $val The factoryResetDeviceAdministratorEmails * @param string[] $val The factoryResetDeviceAdministratorEmails
* *
* @return AndroidDeviceOwnerGeneralDeviceConfiguration * @return AndroidDeviceOwnerGeneralDeviceConfiguration
*/ */
@ -1977,7 +1977,7 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfiguration
* Gets the kioskModeWifiAllowedSsids * Gets the kioskModeWifiAllowedSsids
* The restricted set of WIFI SSIDs available for the user to configure in Kiosk Mode. This collection can contain a maximum of 500 elements. * The restricted set of WIFI SSIDs available for the user to configure in Kiosk Mode. This collection can contain a maximum of 500 elements.
* *
* @return string|null The kioskModeWifiAllowedSsids * @return array|null The kioskModeWifiAllowedSsids
*/ */
public function getKioskModeWifiAllowedSsids() public function getKioskModeWifiAllowedSsids()
{ {
@ -1992,7 +1992,7 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfiguration
* Sets the kioskModeWifiAllowedSsids * Sets the kioskModeWifiAllowedSsids
* The restricted set of WIFI SSIDs available for the user to configure in Kiosk Mode. This collection can contain a maximum of 500 elements. * The restricted set of WIFI SSIDs available for the user to configure in Kiosk Mode. This collection can contain a maximum of 500 elements.
* *
* @param string $val The kioskModeWifiAllowedSsids * @param string[] $val The kioskModeWifiAllowedSsids
* *
* @return AndroidDeviceOwnerGeneralDeviceConfiguration * @return AndroidDeviceOwnerGeneralDeviceConfiguration
*/ */
@ -2419,7 +2419,7 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfiguration
/** /**
* Gets the passwordBlockKeyguardFeatures * Gets the passwordBlockKeyguardFeatures
* List of device keyguard features to block. This collection can contain a maximum of 7 elements. * List of device keyguard features to block. This collection can contain a maximum of 11 elements.
* *
* @return array|null The passwordBlockKeyguardFeatures * @return array|null The passwordBlockKeyguardFeatures
*/ */
@ -2434,7 +2434,7 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration extends DeviceConfiguration
/** /**
* Sets the passwordBlockKeyguardFeatures * Sets the passwordBlockKeyguardFeatures
* List of device keyguard features to block. This collection can contain a maximum of 7 elements. * List of device keyguard features to block. This collection can contain a maximum of 11 elements.
* *
* @param AndroidKeyguardFeature[] $val The passwordBlockKeyguardFeatures * @param AndroidKeyguardFeature[] $val The passwordBlockKeyguardFeatures
* *

View File

@ -223,7 +223,7 @@ class AndroidDeviceOwnerScepCertificateProfile extends AndroidDeviceOwnerCertifi
* Gets the scepServerUrls * Gets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @return string|null The scepServerUrls * @return array|null The scepServerUrls
*/ */
public function getScepServerUrls() public function getScepServerUrls()
{ {
@ -238,7 +238,7 @@ class AndroidDeviceOwnerScepCertificateProfile extends AndroidDeviceOwnerCertifi
* Sets the scepServerUrls * Sets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @param string $val The scepServerUrls * @param string[] $val The scepServerUrls
* *
* @return AndroidDeviceOwnerScepCertificateProfile * @return AndroidDeviceOwnerScepCertificateProfile
*/ */

View File

@ -271,7 +271,7 @@ class AndroidDeviceOwnerVpnConfiguration extends VpnConfiguration
* Gets the targetedPackageIds * Gets the targetedPackageIds
* Targeted App package IDs. * Targeted App package IDs.
* *
* @return string|null The targetedPackageIds * @return array|null The targetedPackageIds
*/ */
public function getTargetedPackageIds() public function getTargetedPackageIds()
{ {
@ -286,7 +286,7 @@ class AndroidDeviceOwnerVpnConfiguration extends VpnConfiguration
* Sets the targetedPackageIds * Sets the targetedPackageIds
* Targeted App package IDs. * Targeted App package IDs.
* *
* @param string $val The targetedPackageIds * @param string[] $val The targetedPackageIds
* *
* @return AndroidDeviceOwnerVpnConfiguration * @return AndroidDeviceOwnerVpnConfiguration
*/ */

View File

@ -247,7 +247,7 @@ class AndroidEnterpriseWiFiConfiguration extends AndroidWiFiConfiguration
* Gets the trustedServerCertificateNames * Gets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @return string|null The trustedServerCertificateNames * @return array|null The trustedServerCertificateNames
*/ */
public function getTrustedServerCertificateNames() public function getTrustedServerCertificateNames()
{ {
@ -262,7 +262,7 @@ class AndroidEnterpriseWiFiConfiguration extends AndroidWiFiConfiguration
* Sets the trustedServerCertificateNames * Sets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @param string $val The trustedServerCertificateNames * @param string[] $val The trustedServerCertificateNames
* *
* @return AndroidEnterpriseWiFiConfiguration * @return AndroidEnterpriseWiFiConfiguration
*/ */

View File

@ -189,7 +189,7 @@ class AndroidForWorkEnterpriseWiFiConfiguration extends AndroidForWorkWiFiConfig
* Gets the trustedServerCertificateNames * Gets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @return string|null The trustedServerCertificateNames * @return array|null The trustedServerCertificateNames
*/ */
public function getTrustedServerCertificateNames() public function getTrustedServerCertificateNames()
{ {
@ -204,7 +204,7 @@ class AndroidForWorkEnterpriseWiFiConfiguration extends AndroidForWorkWiFiConfig
* Sets the trustedServerCertificateNames * Sets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @param string $val The trustedServerCertificateNames * @param string[] $val The trustedServerCertificateNames
* *
* @return AndroidForWorkEnterpriseWiFiConfiguration * @return AndroidForWorkEnterpriseWiFiConfiguration
*/ */

View File

@ -190,7 +190,7 @@ class AndroidForWorkScepCertificateProfile extends AndroidForWorkCertificateProf
* Gets the scepServerUrls * Gets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @return string|null The scepServerUrls * @return array|null The scepServerUrls
*/ */
public function getScepServerUrls() public function getScepServerUrls()
{ {
@ -205,7 +205,7 @@ class AndroidForWorkScepCertificateProfile extends AndroidForWorkCertificateProf
* Sets the scepServerUrls * Sets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @param string $val The scepServerUrls * @param string[] $val The scepServerUrls
* *
* @return AndroidForWorkScepCertificateProfile * @return AndroidForWorkScepCertificateProfile
*/ */

View File

@ -280,7 +280,7 @@ class AndroidForWorkSettings extends Entity
* Gets the targetGroupIds * Gets the targetGroupIds
* Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted' * Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted'
* *
* @return string|null The targetGroupIds * @return array|null The targetGroupIds
*/ */
public function getTargetGroupIds() public function getTargetGroupIds()
{ {
@ -295,7 +295,7 @@ class AndroidForWorkSettings extends Entity
* Sets the targetGroupIds * Sets the targetGroupIds
* Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted' * Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted'
* *
* @param string $val The targetGroupIds * @param string[] $val The targetGroupIds
* *
* @return AndroidForWorkSettings * @return AndroidForWorkSettings
*/ */

View File

@ -57,7 +57,7 @@ class AndroidManagedAppProtection extends TargetedManagedAppProtection
* Gets the allowedAndroidDeviceModels * Gets the allowedAndroidDeviceModels
* List of device models allowed, as a string, for the managed app to work. * List of device models allowed, as a string, for the managed app to work.
* *
* @return string|null The allowedAndroidDeviceModels * @return array|null The allowedAndroidDeviceModels
*/ */
public function getAllowedAndroidDeviceModels() public function getAllowedAndroidDeviceModels()
{ {
@ -72,7 +72,7 @@ class AndroidManagedAppProtection extends TargetedManagedAppProtection
* Sets the allowedAndroidDeviceModels * Sets the allowedAndroidDeviceModels
* List of device models allowed, as a string, for the managed app to work. * List of device models allowed, as a string, for the managed app to work.
* *
* @param string $val The allowedAndroidDeviceModels * @param string[] $val The allowedAndroidDeviceModels
* *
* @return AndroidManagedAppProtection * @return AndroidManagedAppProtection
*/ */

View File

@ -281,7 +281,7 @@ class AndroidManagedStoreAccountEnterpriseSettings extends Entity
* Gets the managedGooglePlayInitialScopeTagIds * Gets the managedGooglePlayInitialScopeTagIds
* Initial scope tags for MGP apps * Initial scope tags for MGP apps
* *
* @return string|null The managedGooglePlayInitialScopeTagIds * @return array|null The managedGooglePlayInitialScopeTagIds
*/ */
public function getManagedGooglePlayInitialScopeTagIds() public function getManagedGooglePlayInitialScopeTagIds()
{ {
@ -296,7 +296,7 @@ class AndroidManagedStoreAccountEnterpriseSettings extends Entity
* Sets the managedGooglePlayInitialScopeTagIds * Sets the managedGooglePlayInitialScopeTagIds
* Initial scope tags for MGP apps * Initial scope tags for MGP apps
* *
* @param string $val The managedGooglePlayInitialScopeTagIds * @param string[] $val The managedGooglePlayInitialScopeTagIds
* *
* @return AndroidManagedStoreAccountEnterpriseSettings * @return AndroidManagedStoreAccountEnterpriseSettings
*/ */
@ -368,7 +368,7 @@ class AndroidManagedStoreAccountEnterpriseSettings extends Entity
* Gets the targetGroupIds * Gets the targetGroupIds
* Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted' * Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted'
* *
* @return string|null The targetGroupIds * @return array|null The targetGroupIds
*/ */
public function getTargetGroupIds() public function getTargetGroupIds()
{ {
@ -383,7 +383,7 @@ class AndroidManagedStoreAccountEnterpriseSettings extends Entity
* Sets the targetGroupIds * Sets the targetGroupIds
* Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted' * Specifies which AAD groups can enroll devices in Android for Work device management if enrollmentTarget is set to 'Targeted'
* *
* @param string $val The targetGroupIds * @param string[] $val The targetGroupIds
* *
* @return AndroidManagedStoreAccountEnterpriseSettings * @return AndroidManagedStoreAccountEnterpriseSettings
*/ */

View File

@ -127,7 +127,7 @@ class AndroidScepCertificateProfile extends AndroidCertificateProfileBase
* Gets the scepServerUrls * Gets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @return string|null The scepServerUrls * @return array|null The scepServerUrls
*/ */
public function getScepServerUrls() public function getScepServerUrls()
{ {
@ -142,7 +142,7 @@ class AndroidScepCertificateProfile extends AndroidCertificateProfileBase
* Sets the scepServerUrls * Sets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @param string $val The scepServerUrls * @param string[] $val The scepServerUrls
* *
* @return AndroidScepCertificateProfile * @return AndroidScepCertificateProfile
*/ */

View File

@ -251,7 +251,7 @@ class AndroidWorkProfileEnterpriseWiFiConfiguration extends AndroidWorkProfileWi
* Gets the trustedServerCertificateNames * Gets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @return string|null The trustedServerCertificateNames * @return array|null The trustedServerCertificateNames
*/ */
public function getTrustedServerCertificateNames() public function getTrustedServerCertificateNames()
{ {
@ -266,7 +266,7 @@ class AndroidWorkProfileEnterpriseWiFiConfiguration extends AndroidWorkProfileWi
* Sets the trustedServerCertificateNames * Sets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @param string $val The trustedServerCertificateNames * @param string[] $val The trustedServerCertificateNames
* *
* @return AndroidWorkProfileEnterpriseWiFiConfiguration * @return AndroidWorkProfileEnterpriseWiFiConfiguration
*/ */

View File

@ -190,7 +190,7 @@ class AndroidWorkProfileScepCertificateProfile extends AndroidWorkProfileCertifi
* Gets the scepServerUrls * Gets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @return string|null The scepServerUrls * @return array|null The scepServerUrls
*/ */
public function getScepServerUrls() public function getScepServerUrls()
{ {
@ -205,7 +205,7 @@ class AndroidWorkProfileScepCertificateProfile extends AndroidWorkProfileCertifi
* Sets the scepServerUrls * Sets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @param string $val The scepServerUrls * @param string[] $val The scepServerUrls
* *
* @return AndroidWorkProfileScepCertificateProfile * @return AndroidWorkProfileScepCertificateProfile
*/ */

View File

@ -450,7 +450,7 @@ class AndroidWorkProfileVpnConfiguration extends DeviceConfiguration
* Gets the targetedPackageIds * Gets the targetedPackageIds
* Targeted App package IDs. * Targeted App package IDs.
* *
* @return string|null The targetedPackageIds * @return array|null The targetedPackageIds
*/ */
public function getTargetedPackageIds() public function getTargetedPackageIds()
{ {
@ -465,7 +465,7 @@ class AndroidWorkProfileVpnConfiguration extends DeviceConfiguration
* Sets the targetedPackageIds * Sets the targetedPackageIds
* Targeted App package IDs. * Targeted App package IDs.
* *
* @param string $val The targetedPackageIds * @param string[] $val The targetedPackageIds
* *
* @return AndroidWorkProfileVpnConfiguration * @return AndroidWorkProfileVpnConfiguration
*/ */

View File

@ -189,7 +189,7 @@ class AospDeviceOwnerEnterpriseWiFiConfiguration extends AospDeviceOwnerWiFiConf
* Gets the trustedServerCertificateNames * Gets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @return string|null The trustedServerCertificateNames * @return array|null The trustedServerCertificateNames
*/ */
public function getTrustedServerCertificateNames() public function getTrustedServerCertificateNames()
{ {
@ -204,7 +204,7 @@ class AospDeviceOwnerEnterpriseWiFiConfiguration extends AospDeviceOwnerWiFiConf
* Sets the trustedServerCertificateNames * Sets the trustedServerCertificateNames
* Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network. * Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.
* *
* @param string $val The trustedServerCertificateNames * @param string[] $val The trustedServerCertificateNames
* *
* @return AospDeviceOwnerEnterpriseWiFiConfiguration * @return AospDeviceOwnerEnterpriseWiFiConfiguration
*/ */

View File

@ -190,7 +190,7 @@ class AospDeviceOwnerScepCertificateProfile extends AospDeviceOwnerCertificatePr
* Gets the scepServerUrls * Gets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @return string|null The scepServerUrls * @return array|null The scepServerUrls
*/ */
public function getScepServerUrls() public function getScepServerUrls()
{ {
@ -205,7 +205,7 @@ class AospDeviceOwnerScepCertificateProfile extends AospDeviceOwnerCertificatePr
* Sets the scepServerUrls * Sets the scepServerUrls
* SCEP Server Url(s) * SCEP Server Url(s)
* *
* @param string $val The scepServerUrls * @param string[] $val The scepServerUrls
* *
* @return AospDeviceOwnerScepCertificateProfile * @return AospDeviceOwnerScepCertificateProfile
*/ */

View File

@ -126,6 +126,8 @@ class AppCatalogs implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -61,7 +61,7 @@ class AppLogCollectionRequest extends Entity
* Gets the customLogFolders * Gets the customLogFolders
* List of log folders. * List of log folders.
* *
* @return string|null The customLogFolders * @return array|null The customLogFolders
*/ */
public function getCustomLogFolders() public function getCustomLogFolders()
{ {
@ -76,7 +76,7 @@ class AppLogCollectionRequest extends Entity
* Sets the customLogFolders * Sets the customLogFolders
* List of log folders. * List of log folders.
* *
* @param string $val The customLogFolders * @param string[] $val The customLogFolders
* *
* @return AppLogCollectionRequest * @return AppLogCollectionRequest
*/ */

View File

@ -36,4 +36,5 @@ class AppManagementLevel extends Enum
const ANDROID_ENTERPRISE_DEDICATED_DEVICES_WITH_AZURE_AD_SHARED_MODE = "androidEnterpriseDedicatedDevicesWithAzureAdSharedMode"; const ANDROID_ENTERPRISE_DEDICATED_DEVICES_WITH_AZURE_AD_SHARED_MODE = "androidEnterpriseDedicatedDevicesWithAzureAdSharedMode";
const ANDROID_OPEN_SOURCE_PROJECT_USER_ASSOCIATED = "androidOpenSourceProjectUserAssociated"; const ANDROID_OPEN_SOURCE_PROJECT_USER_ASSOCIATED = "androidOpenSourceProjectUserAssociated";
const ANDROID_OPEN_SOURCE_PROJECT_USERLESS = "androidOpenSourceProjectUserless"; const ANDROID_OPEN_SOURCE_PROJECT_USERLESS = "androidOpenSourceProjectUserless";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -28,7 +28,7 @@ class AppleVpnConfiguration extends DeviceConfiguration
* Gets the associatedDomains * Gets the associatedDomains
* Associated Domains * Associated Domains
* *
* @return string|null The associatedDomains * @return array|null The associatedDomains
*/ */
public function getAssociatedDomains() public function getAssociatedDomains()
{ {
@ -43,7 +43,7 @@ class AppleVpnConfiguration extends DeviceConfiguration
* Sets the associatedDomains * Sets the associatedDomains
* Associated Domains * Associated Domains
* *
* @param string $val The associatedDomains * @param string[] $val The associatedDomains
* *
* @return AppleVpnConfiguration * @return AppleVpnConfiguration
*/ */
@ -357,7 +357,7 @@ class AppleVpnConfiguration extends DeviceConfiguration
* Gets the excludedDomains * Gets the excludedDomains
* Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated * Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated
* *
* @return string|null The excludedDomains * @return array|null The excludedDomains
*/ */
public function getExcludedDomains() public function getExcludedDomains()
{ {
@ -372,7 +372,7 @@ class AppleVpnConfiguration extends DeviceConfiguration
* Sets the excludedDomains * Sets the excludedDomains
* Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated * Domains that are accessed through the public internet instead of through VPN, even when per-app VPN is activated
* *
* @param string $val The excludedDomains * @param string[] $val The excludedDomains
* *
* @return AppleVpnConfiguration * @return AppleVpnConfiguration
*/ */
@ -627,7 +627,7 @@ class AppleVpnConfiguration extends DeviceConfiguration
* Gets the safariDomains * Gets the safariDomains
* Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection. * Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection.
* *
* @return string|null The safariDomains * @return array|null The safariDomains
*/ */
public function getSafariDomains() public function getSafariDomains()
{ {
@ -642,7 +642,7 @@ class AppleVpnConfiguration extends DeviceConfiguration
* Sets the safariDomains * Sets the safariDomains
* Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection. * Safari domains when this VPN per App setting is enabled. In addition to the apps associated with this VPN, Safari domains specified here will also be able to trigger this VPN connection.
* *
* @param string $val The safariDomains * @param string[] $val The safariDomains
* *
* @return AppleVpnConfiguration * @return AppleVpnConfiguration
*/ */

View File

@ -331,7 +331,7 @@ class Application extends DirectoryObject
* Gets the identifierUris * Gets the identifierUris
* Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&amp;lt;application-client-id&amp;gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&amp;lt;application-client-id&amp;gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
* *
* @return string|null The identifierUris * @return array|null The identifierUris
*/ */
public function getIdentifierUris() public function getIdentifierUris()
{ {
@ -346,7 +346,7 @@ class Application extends DirectoryObject
* Sets the identifierUris * Sets the identifierUris
* Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&amp;lt;application-client-id&amp;gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). * Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&amp;lt;application-client-id&amp;gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
* *
* @param string $val The identifierUris * @param string[] $val The identifierUris
* *
* @return Application * @return Application
*/ */
@ -915,7 +915,7 @@ class Application extends DirectoryObject
* Gets the tags * Gets the tags
* Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith). * Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith).
* *
* @return string|null The tags * @return array|null The tags
*/ */
public function getTags() public function getTags()
{ {
@ -930,7 +930,7 @@ class Application extends DirectoryObject
* Sets the tags * Sets the tags
* Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith). * Custom strings that can be used to categorize and identify the application. Not nullable.Supports $filter (eq, not, ge, le, startsWith).
* *
* @param string $val The tags * @param string[] $val The tags
* *
* @return Application * @return Application
*/ */

View File

@ -28,7 +28,7 @@ class ApplicationTemplate extends Entity
* Gets the categories * Gets the categories
* The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting. * The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting.
* *
* @return string|null The categories * @return array|null The categories
*/ */
public function getCategories() public function getCategories()
{ {
@ -43,7 +43,7 @@ class ApplicationTemplate extends Entity
* Sets the categories * Sets the categories
* The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting. * The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting.
* *
* @param string $val The categories * @param string[] $val The categories
* *
* @return ApplicationTemplate * @return ApplicationTemplate
*/ */
@ -264,7 +264,7 @@ class ApplicationTemplate extends Entity
* Gets the supportedProvisioningTypes * Gets the supportedProvisioningTypes
* The list of provisioning modes supported by this application. The only valid value is sync. * The list of provisioning modes supported by this application. The only valid value is sync.
* *
* @return string|null The supportedProvisioningTypes * @return array|null The supportedProvisioningTypes
*/ */
public function getSupportedProvisioningTypes() public function getSupportedProvisioningTypes()
{ {
@ -279,7 +279,7 @@ class ApplicationTemplate extends Entity
* Sets the supportedProvisioningTypes * Sets the supportedProvisioningTypes
* The list of provisioning modes supported by this application. The only valid value is sync. * The list of provisioning modes supported by this application. The only valid value is sync.
* *
* @param string $val The supportedProvisioningTypes * @param string[] $val The supportedProvisioningTypes
* *
* @return ApplicationTemplate * @return ApplicationTemplate
*/ */
@ -293,7 +293,7 @@ class ApplicationTemplate extends Entity
* Gets the supportedSingleSignOnModes * Gets the supportedSingleSignOnModes
* The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported. * The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
* *
* @return string|null The supportedSingleSignOnModes * @return array|null The supportedSingleSignOnModes
*/ */
public function getSupportedSingleSignOnModes() public function getSupportedSingleSignOnModes()
{ {
@ -308,7 +308,7 @@ class ApplicationTemplate extends Entity
* Sets the supportedSingleSignOnModes * Sets the supportedSingleSignOnModes
* The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported. * The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
* *
* @param string $val The supportedSingleSignOnModes * @param string[] $val The supportedSingleSignOnModes
* *
* @return ApplicationTemplate * @return ApplicationTemplate
*/ */

View File

@ -94,7 +94,7 @@ class AttachmentSession extends Entity
* Gets the nextExpectedRanges * Gets the nextExpectedRanges
* Indicates a single value {start} that represents the location in the file where the next upload should begin. * Indicates a single value {start} that represents the location in the file where the next upload should begin.
* *
* @return string|null The nextExpectedRanges * @return array|null The nextExpectedRanges
*/ */
public function getNextExpectedRanges() public function getNextExpectedRanges()
{ {
@ -109,7 +109,7 @@ class AttachmentSession extends Entity
* Sets the nextExpectedRanges * Sets the nextExpectedRanges
* Indicates a single value {start} that represents the location in the file where the next upload should begin. * Indicates a single value {start} that represents the location in the file where the next upload should begin.
* *
* @param string $val The nextExpectedRanges * @param string[] $val The nextExpectedRanges
* *
* @return AttachmentSession * @return AttachmentSession
*/ */

View File

@ -28,7 +28,7 @@ class AudioRoutingGroup extends Entity
* Gets the receivers * Gets the receivers
* List of receiving participant ids. * List of receiving participant ids.
* *
* @return string|null The receivers * @return array|null The receivers
*/ */
public function getReceivers() public function getReceivers()
{ {
@ -43,7 +43,7 @@ class AudioRoutingGroup extends Entity
* Sets the receivers * Sets the receivers
* List of receiving participant ids. * List of receiving participant ids.
* *
* @param string $val The receivers * @param string[] $val The receivers
* *
* @return AudioRoutingGroup * @return AudioRoutingGroup
*/ */
@ -90,7 +90,7 @@ class AudioRoutingGroup extends Entity
* Gets the sources * Gets the sources
* List of source participant ids. * List of source participant ids.
* *
* @return string|null The sources * @return array|null The sources
*/ */
public function getSources() public function getSources()
{ {
@ -105,7 +105,7 @@ class AudioRoutingGroup extends Entity
* Sets the sources * Sets the sources
* List of source participant ids. * List of source participant ids.
* *
* @param string $val The sources * @param string[] $val The sources
* *
* @return AudioRoutingGroup * @return AudioRoutingGroup
*/ */

View File

@ -210,6 +210,8 @@ class AuditLogRoot implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -125,6 +125,8 @@ class AuthenticationConditionApplication implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -239,7 +239,7 @@ class AuthorizationPolicy extends PolicyBase
* Gets the enabledPreviewFeatures * Gets the enabledPreviewFeatures
* List of features enabled for private preview on the tenant. * List of features enabled for private preview on the tenant.
* *
* @return string|null The enabledPreviewFeatures * @return array|null The enabledPreviewFeatures
*/ */
public function getEnabledPreviewFeatures() public function getEnabledPreviewFeatures()
{ {
@ -254,7 +254,7 @@ class AuthorizationPolicy extends PolicyBase
* Sets the enabledPreviewFeatures * Sets the enabledPreviewFeatures
* List of features enabled for private preview on the tenant. * List of features enabled for private preview on the tenant.
* *
* @param string $val The enabledPreviewFeatures * @param string[] $val The enabledPreviewFeatures
* *
* @return AuthorizationPolicy * @return AuthorizationPolicy
*/ */
@ -297,7 +297,7 @@ class AuthorizationPolicy extends PolicyBase
* Gets the permissionGrantPolicyIdsAssignedToDefaultUserRole * Gets the permissionGrantPolicyIdsAssignedToDefaultUserRole
* Indicates if user consent to apps is allowed, and if it is, which app consent policy (permissionGrantPolicy) governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. * Indicates if user consent to apps is allowed, and if it is, which app consent policy (permissionGrantPolicy) governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled.
* *
* @return string|null The permissionGrantPolicyIdsAssignedToDefaultUserRole * @return array|null The permissionGrantPolicyIdsAssignedToDefaultUserRole
*/ */
public function getPermissionGrantPolicyIdsAssignedToDefaultUserRole() public function getPermissionGrantPolicyIdsAssignedToDefaultUserRole()
{ {
@ -312,7 +312,7 @@ class AuthorizationPolicy extends PolicyBase
* Sets the permissionGrantPolicyIdsAssignedToDefaultUserRole * Sets the permissionGrantPolicyIdsAssignedToDefaultUserRole
* Indicates if user consent to apps is allowed, and if it is, which app consent policy (permissionGrantPolicy) governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled. * Indicates if user consent to apps is allowed, and if it is, which app consent policy (permissionGrantPolicy) governs the permission for users to grant consent. Values should be in the format managePermissionGrantsForSelf.{id}, where {id} is the id of a built-in or custom app consent policy. An empty list indicates user consent to apps is disabled.
* *
* @param string $val The permissionGrantPolicyIdsAssignedToDefaultUserRole * @param string[] $val The permissionGrantPolicyIdsAssignedToDefaultUserRole
* *
* @return AuthorizationPolicy * @return AuthorizationPolicy
*/ */

View File

@ -1050,7 +1050,7 @@ class BookingAppointment extends Entity
* Gets the staffMemberIds * Gets the staffMemberIds
* The ID of each bookingStaffMember who is scheduled in this appointment. * The ID of each bookingStaffMember who is scheduled in this appointment.
* *
* @return string|null The staffMemberIds * @return array|null The staffMemberIds
*/ */
public function getStaffMemberIds() public function getStaffMemberIds()
{ {
@ -1065,7 +1065,7 @@ class BookingAppointment extends Entity
* Sets the staffMemberIds * Sets the staffMemberIds
* The ID of each bookingStaffMember who is scheduled in this appointment. * The ID of each bookingStaffMember who is scheduled in this appointment.
* *
* @param string $val The staffMemberIds * @param string[] $val The staffMemberIds
* *
* @return BookingAppointment * @return BookingAppointment
*/ */

View File

@ -61,7 +61,7 @@ class BookingCustomQuestion extends Entity
* Gets the answerOptions * Gets the answerOptions
* List of possible answer values. * List of possible answer values.
* *
* @return string|null The answerOptions * @return array|null The answerOptions
*/ */
public function getAnswerOptions() public function getAnswerOptions()
{ {
@ -76,7 +76,7 @@ class BookingCustomQuestion extends Entity
* Sets the answerOptions * Sets the answerOptions
* List of possible answer values. * List of possible answer values.
* *
* @param string $val The answerOptions * @param string[] $val The answerOptions
* *
* @return BookingCustomQuestion * @return BookingCustomQuestion
*/ */

View File

@ -576,7 +576,7 @@ class BookingService extends BookingNamedEntity
* Gets the staffMemberIds * Gets the staffMemberIds
* Represents those staff members who provide this service. * Represents those staff members who provide this service.
* *
* @return string|null The staffMemberIds * @return array|null The staffMemberIds
*/ */
public function getStaffMemberIds() public function getStaffMemberIds()
{ {
@ -591,7 +591,7 @@ class BookingService extends BookingNamedEntity
* Sets the staffMemberIds * Sets the staffMemberIds
* Represents those staff members who provide this service. * Represents those staff members who provide this service.
* *
* @param string $val The staffMemberIds * @param string[] $val The staffMemberIds
* *
* @return BookingService * @return BookingService
*/ */

View File

@ -0,0 +1,400 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BrowserSharedCookie 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;
/**
* BrowserSharedCookie 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 BrowserSharedCookie extends Entity
{
/**
* Gets the comment
* The comment for the shared cookie.
*
* @return string|null The comment
*/
public function getComment()
{
if (array_key_exists("comment", $this->_propDict)) {
return $this->_propDict["comment"];
} else {
return null;
}
}
/**
* Sets the comment
* The comment for the shared cookie.
*
* @param string $val The comment
*
* @return BrowserSharedCookie
*/
public function setComment($val)
{
$this->_propDict["comment"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* The date and time when the shared cookie 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
* The date and time when the shared cookie was created.
*
* @param \DateTime $val The createdDateTime
*
* @return BrowserSharedCookie
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the deletedDateTime
* The date and time when the shared cookie was deleted.
*
* @return \DateTime|null The deletedDateTime
*/
public function getDeletedDateTime()
{
if (array_key_exists("deletedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) {
return $this->_propDict["deletedDateTime"];
} else {
$this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]);
return $this->_propDict["deletedDateTime"];
}
}
return null;
}
/**
* Sets the deletedDateTime
* The date and time when the shared cookie was deleted.
*
* @param \DateTime $val The deletedDateTime
*
* @return BrowserSharedCookie
*/
public function setDeletedDateTime($val)
{
$this->_propDict["deletedDateTime"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the cookie.
*
* @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 cookie.
*
* @param string $val The displayName
*
* @return BrowserSharedCookie
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the history
* The history of modifications applied to the cookie.
*
* @return array|null The history
*/
public function getHistory()
{
if (array_key_exists("history", $this->_propDict)) {
return $this->_propDict["history"];
} else {
return null;
}
}
/**
* Sets the history
* The history of modifications applied to the cookie.
*
* @param BrowserSharedCookieHistory[] $val The history
*
* @return BrowserSharedCookie
*/
public function setHistory($val)
{
$this->_propDict["history"] = $val;
return $this;
}
/**
* Gets the hostOnly
* Controls whether a cookie is a host-only or domain cookie.
*
* @return bool|null The hostOnly
*/
public function getHostOnly()
{
if (array_key_exists("hostOnly", $this->_propDict)) {
return $this->_propDict["hostOnly"];
} else {
return null;
}
}
/**
* Sets the hostOnly
* Controls whether a cookie is a host-only or domain cookie.
*
* @param bool $val The hostOnly
*
* @return BrowserSharedCookie
*/
public function setHostOnly($val)
{
$this->_propDict["hostOnly"] = boolval($val);
return $this;
}
/**
* Gets the hostOrDomain
* The URL of the cookie.
*
* @return string|null The hostOrDomain
*/
public function getHostOrDomain()
{
if (array_key_exists("hostOrDomain", $this->_propDict)) {
return $this->_propDict["hostOrDomain"];
} else {
return null;
}
}
/**
* Sets the hostOrDomain
* The URL of the cookie.
*
* @param string $val The hostOrDomain
*
* @return BrowserSharedCookie
*/
public function setHostOrDomain($val)
{
$this->_propDict["hostOrDomain"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
* The user who last modified the cookie.
*
* @return IdentitySet|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
* The user who last modified the cookie.
*
* @param IdentitySet $val The lastModifiedBy
*
* @return BrowserSharedCookie
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
* The date and time when the cookie 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
* The date and time when the cookie was last modified.
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return BrowserSharedCookie
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the path
* The path of the cookie.
*
* @return string|null The path
*/
public function getPath()
{
if (array_key_exists("path", $this->_propDict)) {
return $this->_propDict["path"];
} else {
return null;
}
}
/**
* Sets the path
* The path of the cookie.
*
* @param string $val The path
*
* @return BrowserSharedCookie
*/
public function setPath($val)
{
$this->_propDict["path"] = $val;
return $this;
}
/**
* Gets the sourceEnvironment
* Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
*
* @return BrowserSharedCookieSourceEnvironment|null The sourceEnvironment
*/
public function getSourceEnvironment()
{
if (array_key_exists("sourceEnvironment", $this->_propDict)) {
if (is_a($this->_propDict["sourceEnvironment"], "\Beta\Microsoft\Graph\Model\BrowserSharedCookieSourceEnvironment") || is_null($this->_propDict["sourceEnvironment"])) {
return $this->_propDict["sourceEnvironment"];
} else {
$this->_propDict["sourceEnvironment"] = new BrowserSharedCookieSourceEnvironment($this->_propDict["sourceEnvironment"]);
return $this->_propDict["sourceEnvironment"];
}
}
return null;
}
/**
* Sets the sourceEnvironment
* Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
*
* @param BrowserSharedCookieSourceEnvironment $val The sourceEnvironment
*
* @return BrowserSharedCookie
*/
public function setSourceEnvironment($val)
{
$this->_propDict["sourceEnvironment"] = $val;
return $this;
}
/**
* Gets the status
* The status of the cookie. The possible values are: published, pendingAdd, pendingEdit, pendingDelete, unknownFutureValue.
*
* @return BrowserSharedCookieStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\BrowserSharedCookieStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new BrowserSharedCookieStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* The status of the cookie. The possible values are: published, pendingAdd, pendingEdit, pendingDelete, unknownFutureValue.
*
* @param BrowserSharedCookieStatus $val The status
*
* @return BrowserSharedCookie
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
}

View File

@ -0,0 +1,265 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BrowserSharedCookieHistory 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;
/**
* BrowserSharedCookieHistory 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 BrowserSharedCookieHistory extends Entity
{
/**
* Gets the comment
* The comment for the shared cookie.
*
* @return string|null The comment
*/
public function getComment()
{
if (array_key_exists("comment", $this->_propDict)) {
return $this->_propDict["comment"];
} else {
return null;
}
}
/**
* Sets the comment
* The comment for the shared cookie.
*
* @param string $val The value of the comment
*
* @return BrowserSharedCookieHistory
*/
public function setComment($val)
{
$this->_propDict["comment"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the cookie.
*
* @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 cookie.
*
* @param string $val The value of the displayName
*
* @return BrowserSharedCookieHistory
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the hostOnly
* Controls whether a cookie is a host-only or domain cookie.
*
* @return bool|null The hostOnly
*/
public function getHostOnly()
{
if (array_key_exists("hostOnly", $this->_propDict)) {
return $this->_propDict["hostOnly"];
} else {
return null;
}
}
/**
* Sets the hostOnly
* Controls whether a cookie is a host-only or domain cookie.
*
* @param bool $val The value of the hostOnly
*
* @return BrowserSharedCookieHistory
*/
public function setHostOnly($val)
{
$this->_propDict["hostOnly"] = $val;
return $this;
}
/**
* Gets the hostOrDomain
* The URL of the cookie.
*
* @return string|null The hostOrDomain
*/
public function getHostOrDomain()
{
if (array_key_exists("hostOrDomain", $this->_propDict)) {
return $this->_propDict["hostOrDomain"];
} else {
return null;
}
}
/**
* Sets the hostOrDomain
* The URL of the cookie.
*
* @param string $val The value of the hostOrDomain
*
* @return BrowserSharedCookieHistory
*/
public function setHostOrDomain($val)
{
$this->_propDict["hostOrDomain"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
* The user who last modified the cookie.
*
* @return IdentitySet|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
* The user who last modified the cookie.
*
* @param IdentitySet $val The value to assign to the lastModifiedBy
*
* @return BrowserSharedCookieHistory The BrowserSharedCookieHistory
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the path
* The path of the cookie.
*
* @return string|null The path
*/
public function getPath()
{
if (array_key_exists("path", $this->_propDict)) {
return $this->_propDict["path"];
} else {
return null;
}
}
/**
* Sets the path
* The path of the cookie.
*
* @param string $val The value of the path
*
* @return BrowserSharedCookieHistory
*/
public function setPath($val)
{
$this->_propDict["path"] = $val;
return $this;
}
/**
* Gets the publishedDateTime
* The date and time when the cookie was last published.
*
* @return \DateTime|null The publishedDateTime
*/
public function getPublishedDateTime()
{
if (array_key_exists("publishedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) {
return $this->_propDict["publishedDateTime"];
} else {
$this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]);
return $this->_propDict["publishedDateTime"];
}
}
return null;
}
/**
* Sets the publishedDateTime
* The date and time when the cookie was last published.
*
* @param \DateTime $val The value to assign to the publishedDateTime
*
* @return BrowserSharedCookieHistory The BrowserSharedCookieHistory
*/
public function setPublishedDateTime($val)
{
$this->_propDict["publishedDateTime"] = $val;
return $this;
}
/**
* Gets the sourceEnvironment
* Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
*
* @return BrowserSharedCookieSourceEnvironment|null The sourceEnvironment
*/
public function getSourceEnvironment()
{
if (array_key_exists("sourceEnvironment", $this->_propDict)) {
if (is_a($this->_propDict["sourceEnvironment"], "\Beta\Microsoft\Graph\Model\BrowserSharedCookieSourceEnvironment") || is_null($this->_propDict["sourceEnvironment"])) {
return $this->_propDict["sourceEnvironment"];
} else {
$this->_propDict["sourceEnvironment"] = new BrowserSharedCookieSourceEnvironment($this->_propDict["sourceEnvironment"]);
return $this->_propDict["sourceEnvironment"];
}
}
return null;
}
/**
* Sets the sourceEnvironment
* Specifies how the cookies are shared between Microsoft Edge and Internet Explorer. The possible values are: microsoftEdge, internetExplorer11, both, unknownFutureValue.
*
* @param BrowserSharedCookieSourceEnvironment $val The value to assign to the sourceEnvironment
*
* @return BrowserSharedCookieHistory The BrowserSharedCookieHistory
*/
public function setSourceEnvironment($val)
{
$this->_propDict["sourceEnvironment"] = $val;
return $this;
}
}

View File

@ -2,7 +2,7 @@
/** /**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
* *
* OrganizationalMessagePlacement File * BrowserSharedCookieSourceEnvironment File
* PHP version 7 * PHP version 7
* *
* @category Library * @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum; use Microsoft\Graph\Core\Enum;
/** /**
* OrganizationalMessagePlacement class * BrowserSharedCookieSourceEnvironment class
* *
* @category Model * @category Model
* @package Microsoft.Graph * @package Microsoft.Graph
@ -24,15 +24,13 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License * @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com * @link https://graph.microsoft.com
*/ */
class OrganizationalMessagePlacement extends Enum class BrowserSharedCookieSourceEnvironment extends Enum
{ {
/** /**
* The Enum OrganizationalMessagePlacement * The Enum BrowserSharedCookieSourceEnvironment
*/ */
const GRAPHDEFAULT = "default"; const MICROSOFT_EDGE = "microsoftEdge";
const CARD0 = "card0"; const INTERNET_EXPLORER11 = "internetExplorer11";
const CARD1 = "card1"; const BOTH = "both";
const CARD2 = "card2";
const CARD3 = "card3";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -2,7 +2,7 @@
/** /**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
* *
* OrganizationalMessageStatus File * BrowserSharedCookieStatus File
* PHP version 7 * PHP version 7
* *
* @category Library * @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum; use Microsoft\Graph\Core\Enum;
/** /**
* OrganizationalMessageStatus class * BrowserSharedCookieStatus class
* *
* @category Model * @category Model
* @package Microsoft.Graph * @package Microsoft.Graph
@ -24,14 +24,14 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License * @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com * @link https://graph.microsoft.com
*/ */
class OrganizationalMessageStatus extends Enum class BrowserSharedCookieStatus extends Enum
{ {
/** /**
* The Enum OrganizationalMessageStatus * The Enum BrowserSharedCookieStatus
*/ */
const SCHEDULED = "scheduled"; const PUBLISHED = "published";
const ACTIVE = "active"; const PENDING_ADD = "pendingAdd";
const COMPLETED = "completed"; const PENDING_EDIT = "pendingEdit";
const CANCELLED = "cancelled"; const PENDING_DELETE = "pendingDelete";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -0,0 +1,408 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BrowserSite 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;
/**
* BrowserSite 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 BrowserSite extends Entity
{
/**
* Gets the allowRedirect
* Controls the behavior of redirected sites. If true, indicates that the site will open in Internet Explorer 11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain.
*
* @return bool|null The allowRedirect
*/
public function getAllowRedirect()
{
if (array_key_exists("allowRedirect", $this->_propDict)) {
return $this->_propDict["allowRedirect"];
} else {
return null;
}
}
/**
* Sets the allowRedirect
* Controls the behavior of redirected sites. If true, indicates that the site will open in Internet Explorer 11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain.
*
* @param bool $val The allowRedirect
*
* @return BrowserSite
*/
public function setAllowRedirect($val)
{
$this->_propDict["allowRedirect"] = boolval($val);
return $this;
}
/**
* Gets the comment
* The comment for the site.
*
* @return string|null The comment
*/
public function getComment()
{
if (array_key_exists("comment", $this->_propDict)) {
return $this->_propDict["comment"];
} else {
return null;
}
}
/**
* Sets the comment
* The comment for the site.
*
* @param string $val The comment
*
* @return BrowserSite
*/
public function setComment($val)
{
$this->_propDict["comment"] = $val;
return $this;
}
/**
* Gets the compatibilityMode
* Controls what compatibility setting is used for specific sites or domains. The possible values are: default, internetExplorer8Enterprise, internetExplorer7Enterprise, internetExplorer11, internetExplorer10, internetExplorer9, internetExplorer8, internetExplorer7, internetExplorer5, unknownFutureValue.
*
* @return BrowserSiteCompatibilityMode|null The compatibilityMode
*/
public function getCompatibilityMode()
{
if (array_key_exists("compatibilityMode", $this->_propDict)) {
if (is_a($this->_propDict["compatibilityMode"], "\Beta\Microsoft\Graph\Model\BrowserSiteCompatibilityMode") || is_null($this->_propDict["compatibilityMode"])) {
return $this->_propDict["compatibilityMode"];
} else {
$this->_propDict["compatibilityMode"] = new BrowserSiteCompatibilityMode($this->_propDict["compatibilityMode"]);
return $this->_propDict["compatibilityMode"];
}
}
return null;
}
/**
* Sets the compatibilityMode
* Controls what compatibility setting is used for specific sites or domains. The possible values are: default, internetExplorer8Enterprise, internetExplorer7Enterprise, internetExplorer11, internetExplorer10, internetExplorer9, internetExplorer8, internetExplorer7, internetExplorer5, unknownFutureValue.
*
* @param BrowserSiteCompatibilityMode $val The compatibilityMode
*
* @return BrowserSite
*/
public function setCompatibilityMode($val)
{
$this->_propDict["compatibilityMode"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* The date and time when the site 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
* The date and time when the site was created.
*
* @param \DateTime $val The createdDateTime
*
* @return BrowserSite
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the deletedDateTime
* The date and time when the site was deleted.
*
* @return \DateTime|null The deletedDateTime
*/
public function getDeletedDateTime()
{
if (array_key_exists("deletedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["deletedDateTime"], "\DateTime") || is_null($this->_propDict["deletedDateTime"])) {
return $this->_propDict["deletedDateTime"];
} else {
$this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]);
return $this->_propDict["deletedDateTime"];
}
}
return null;
}
/**
* Sets the deletedDateTime
* The date and time when the site was deleted.
*
* @param \DateTime $val The deletedDateTime
*
* @return BrowserSite
*/
public function setDeletedDateTime($val)
{
$this->_propDict["deletedDateTime"] = $val;
return $this;
}
/**
* Gets the history
* The history of modifications applied to the site.
*
* @return array|null The history
*/
public function getHistory()
{
if (array_key_exists("history", $this->_propDict)) {
return $this->_propDict["history"];
} else {
return null;
}
}
/**
* Sets the history
* The history of modifications applied to the site.
*
* @param BrowserSiteHistory[] $val The history
*
* @return BrowserSite
*/
public function setHistory($val)
{
$this->_propDict["history"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
* The user who last modified the site.
*
* @return IdentitySet|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
* The user who last modified the site.
*
* @param IdentitySet $val The lastModifiedBy
*
* @return BrowserSite
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
* The date and time when the site 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
* The date and time when the site was last modified.
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return BrowserSite
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the mergeType
* The merge type of the site. The possible values are: noMerge, default, unknownFutureValue.
*
* @return BrowserSiteMergeType|null The mergeType
*/
public function getMergeType()
{
if (array_key_exists("mergeType", $this->_propDict)) {
if (is_a($this->_propDict["mergeType"], "\Beta\Microsoft\Graph\Model\BrowserSiteMergeType") || is_null($this->_propDict["mergeType"])) {
return $this->_propDict["mergeType"];
} else {
$this->_propDict["mergeType"] = new BrowserSiteMergeType($this->_propDict["mergeType"]);
return $this->_propDict["mergeType"];
}
}
return null;
}
/**
* Sets the mergeType
* The merge type of the site. The possible values are: noMerge, default, unknownFutureValue.
*
* @param BrowserSiteMergeType $val The mergeType
*
* @return BrowserSite
*/
public function setMergeType($val)
{
$this->_propDict["mergeType"] = $val;
return $this;
}
/**
* Gets the status
* Indicates the status of the site. The possible values are: published, pendingAdd, pendingEdit, pendingDelete, unknownFutureValue.
*
* @return BrowserSiteStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\BrowserSiteStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new BrowserSiteStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* Indicates the status of the site. The possible values are: published, pendingAdd, pendingEdit, pendingDelete, unknownFutureValue.
*
* @param BrowserSiteStatus $val The status
*
* @return BrowserSite
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the targetEnvironment
* The target environment that the site should open in. The possible values are: internetExplorerMode, internetExplorer11, microsoftEdge, configurable, none, unknownFutureValue.Prior to June 15, 2022, the internetExplorer11 option would allow opening a site in the Internet Explorer 11 (IE11) desktop application. Following the retirement of IE11 on June 15, 2022, the internetExplorer11 option will no longer open an IE11 window and will instead behave the same as the internetExplorerMode option.
*
* @return BrowserSiteTargetEnvironment|null The targetEnvironment
*/
public function getTargetEnvironment()
{
if (array_key_exists("targetEnvironment", $this->_propDict)) {
if (is_a($this->_propDict["targetEnvironment"], "\Beta\Microsoft\Graph\Model\BrowserSiteTargetEnvironment") || is_null($this->_propDict["targetEnvironment"])) {
return $this->_propDict["targetEnvironment"];
} else {
$this->_propDict["targetEnvironment"] = new BrowserSiteTargetEnvironment($this->_propDict["targetEnvironment"]);
return $this->_propDict["targetEnvironment"];
}
}
return null;
}
/**
* Sets the targetEnvironment
* The target environment that the site should open in. The possible values are: internetExplorerMode, internetExplorer11, microsoftEdge, configurable, none, unknownFutureValue.Prior to June 15, 2022, the internetExplorer11 option would allow opening a site in the Internet Explorer 11 (IE11) desktop application. Following the retirement of IE11 on June 15, 2022, the internetExplorer11 option will no longer open an IE11 window and will instead behave the same as the internetExplorerMode option.
*
* @param BrowserSiteTargetEnvironment $val The targetEnvironment
*
* @return BrowserSite
*/
public function setTargetEnvironment($val)
{
$this->_propDict["targetEnvironment"] = $val;
return $this;
}
/**
* Gets the webUrl
* The URL of the site.
*
* @return string|null The webUrl
*/
public function getWebUrl()
{
if (array_key_exists("webUrl", $this->_propDict)) {
return $this->_propDict["webUrl"];
} else {
return null;
}
}
/**
* Sets the webUrl
* The URL of the site.
*
* @param string $val The webUrl
*
* @return BrowserSite
*/
public function setWebUrl($val)
{
$this->_propDict["webUrl"] = $val;
return $this;
}
}

View File

@ -0,0 +1,42 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BrowserSiteCompatibilityMode 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;
/**
* BrowserSiteCompatibilityMode 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 BrowserSiteCompatibilityMode extends Enum
{
/**
* The Enum BrowserSiteCompatibilityMode
*/
const GRAPHDEFAULT = "default";
const INTERNET_EXPLORER8_ENTERPRISE = "internetExplorer8Enterprise";
const INTERNET_EXPLORER7_ENTERPRISE = "internetExplorer7Enterprise";
const INTERNET_EXPLORER11 = "internetExplorer11";
const INTERNET_EXPLORER10 = "internetExplorer10";
const INTERNET_EXPLORER9 = "internetExplorer9";
const INTERNET_EXPLORER8 = "internetExplorer8";
const INTERNET_EXPLORER7 = "internetExplorer7";
const INTERNET_EXPLORER5 = "internetExplorer5";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,247 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BrowserSiteHistory 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;
/**
* BrowserSiteHistory 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 BrowserSiteHistory extends Entity
{
/**
* Gets the allowRedirect
* Controls the behavior of redirected sites. If true, indicates that the site will open in Internet Explorer 11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain.
*
* @return bool|null The allowRedirect
*/
public function getAllowRedirect()
{
if (array_key_exists("allowRedirect", $this->_propDict)) {
return $this->_propDict["allowRedirect"];
} else {
return null;
}
}
/**
* Sets the allowRedirect
* Controls the behavior of redirected sites. If true, indicates that the site will open in Internet Explorer 11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain.
*
* @param bool $val The value of the allowRedirect
*
* @return BrowserSiteHistory
*/
public function setAllowRedirect($val)
{
$this->_propDict["allowRedirect"] = $val;
return $this;
}
/**
* Gets the comment
* The comment for the site.
*
* @return string|null The comment
*/
public function getComment()
{
if (array_key_exists("comment", $this->_propDict)) {
return $this->_propDict["comment"];
} else {
return null;
}
}
/**
* Sets the comment
* The comment for the site.
*
* @param string $val The value of the comment
*
* @return BrowserSiteHistory
*/
public function setComment($val)
{
$this->_propDict["comment"] = $val;
return $this;
}
/**
* Gets the compatibilityMode
* Controls what compatibility setting is used for specific sites or domains. The possible values are: default, internetExplorer8Enterprise, internetExplorer7Enterprise, internetExplorer11, internetExplorer10, internetExplorer9, internetExplorer8, internetExplorer7, internetExplorer5, unknownFutureValue.
*
* @return BrowserSiteCompatibilityMode|null The compatibilityMode
*/
public function getCompatibilityMode()
{
if (array_key_exists("compatibilityMode", $this->_propDict)) {
if (is_a($this->_propDict["compatibilityMode"], "\Beta\Microsoft\Graph\Model\BrowserSiteCompatibilityMode") || is_null($this->_propDict["compatibilityMode"])) {
return $this->_propDict["compatibilityMode"];
} else {
$this->_propDict["compatibilityMode"] = new BrowserSiteCompatibilityMode($this->_propDict["compatibilityMode"]);
return $this->_propDict["compatibilityMode"];
}
}
return null;
}
/**
* Sets the compatibilityMode
* Controls what compatibility setting is used for specific sites or domains. The possible values are: default, internetExplorer8Enterprise, internetExplorer7Enterprise, internetExplorer11, internetExplorer10, internetExplorer9, internetExplorer8, internetExplorer7, internetExplorer5, unknownFutureValue.
*
* @param BrowserSiteCompatibilityMode $val The value to assign to the compatibilityMode
*
* @return BrowserSiteHistory The BrowserSiteHistory
*/
public function setCompatibilityMode($val)
{
$this->_propDict["compatibilityMode"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
* The user who last modified the site.
*
* @return IdentitySet|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
* The user who last modified the site.
*
* @param IdentitySet $val The value to assign to the lastModifiedBy
*
* @return BrowserSiteHistory The BrowserSiteHistory
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the mergeType
* The merge type of the site. The possible values are: noMerge, default, unknownFutureValue.
*
* @return BrowserSiteMergeType|null The mergeType
*/
public function getMergeType()
{
if (array_key_exists("mergeType", $this->_propDict)) {
if (is_a($this->_propDict["mergeType"], "\Beta\Microsoft\Graph\Model\BrowserSiteMergeType") || is_null($this->_propDict["mergeType"])) {
return $this->_propDict["mergeType"];
} else {
$this->_propDict["mergeType"] = new BrowserSiteMergeType($this->_propDict["mergeType"]);
return $this->_propDict["mergeType"];
}
}
return null;
}
/**
* Sets the mergeType
* The merge type of the site. The possible values are: noMerge, default, unknownFutureValue.
*
* @param BrowserSiteMergeType $val The value to assign to the mergeType
*
* @return BrowserSiteHistory The BrowserSiteHistory
*/
public function setMergeType($val)
{
$this->_propDict["mergeType"] = $val;
return $this;
}
/**
* Gets the publishedDateTime
* The date and time when the site was last published.
*
* @return \DateTime|null The publishedDateTime
*/
public function getPublishedDateTime()
{
if (array_key_exists("publishedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) {
return $this->_propDict["publishedDateTime"];
} else {
$this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]);
return $this->_propDict["publishedDateTime"];
}
}
return null;
}
/**
* Sets the publishedDateTime
* The date and time when the site was last published.
*
* @param \DateTime $val The value to assign to the publishedDateTime
*
* @return BrowserSiteHistory The BrowserSiteHistory
*/
public function setPublishedDateTime($val)
{
$this->_propDict["publishedDateTime"] = $val;
return $this;
}
/**
* Gets the targetEnvironment
* The target environment that the site should open in. The possible values are: internetExplorerMode, internetExplorer11, microsoftEdge, configurable, none, unknownFutureValue.Prior to June 15, 2022, the internetExplorer11 option would allow opening a site in the Internet Explorer 11 (IE11) desktop application. Following the retirement of IE11 on June 15, 2022, the internetExplorer11 option will no longer open an IE11 window and will instead behave the same as the internetExplorerMode option.
*
* @return BrowserSiteTargetEnvironment|null The targetEnvironment
*/
public function getTargetEnvironment()
{
if (array_key_exists("targetEnvironment", $this->_propDict)) {
if (is_a($this->_propDict["targetEnvironment"], "\Beta\Microsoft\Graph\Model\BrowserSiteTargetEnvironment") || is_null($this->_propDict["targetEnvironment"])) {
return $this->_propDict["targetEnvironment"];
} else {
$this->_propDict["targetEnvironment"] = new BrowserSiteTargetEnvironment($this->_propDict["targetEnvironment"]);
return $this->_propDict["targetEnvironment"];
}
}
return null;
}
/**
* Sets the targetEnvironment
* The target environment that the site should open in. The possible values are: internetExplorerMode, internetExplorer11, microsoftEdge, configurable, none, unknownFutureValue.Prior to June 15, 2022, the internetExplorer11 option would allow opening a site in the Internet Explorer 11 (IE11) desktop application. Following the retirement of IE11 on June 15, 2022, the internetExplorer11 option will no longer open an IE11 window and will instead behave the same as the internetExplorerMode option.
*
* @param BrowserSiteTargetEnvironment $val The value to assign to the targetEnvironment
*
* @return BrowserSiteHistory The BrowserSiteHistory
*/
public function setTargetEnvironment($val)
{
$this->_propDict["targetEnvironment"] = $val;
return $this;
}
}

View File

@ -0,0 +1,339 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BrowserSiteList 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;
/**
* BrowserSiteList 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 BrowserSiteList extends Entity
{
/**
* Gets the description
* The description of the site list.
*
* @return string|null The description
*/
public function getDescription()
{
if (array_key_exists("description", $this->_propDict)) {
return $this->_propDict["description"];
} else {
return null;
}
}
/**
* Sets the description
* The description of the site list.
*
* @param string $val The description
*
* @return BrowserSiteList
*/
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
}
/**
* Gets the displayName
* The name of the site list.
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
* The name of the site list.
*
* @param string $val The displayName
*
* @return BrowserSiteList
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the lastModifiedBy
* The user who last modified the site list.
*
* @return IdentitySet|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["lastModifiedBy"])) {
return $this->_propDict["lastModifiedBy"];
} else {
$this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]);
return $this->_propDict["lastModifiedBy"];
}
}
return null;
}
/**
* Sets the lastModifiedBy
* The user who last modified the site list.
*
* @param IdentitySet $val The lastModifiedBy
*
* @return BrowserSiteList
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
* The date and time when the site list 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
* The date and time when the site list was last modified.
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return BrowserSiteList
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the publishedBy
* The user who published the site list.
*
* @return IdentitySet|null The publishedBy
*/
public function getPublishedBy()
{
if (array_key_exists("publishedBy", $this->_propDict)) {
if (is_a($this->_propDict["publishedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["publishedBy"])) {
return $this->_propDict["publishedBy"];
} else {
$this->_propDict["publishedBy"] = new IdentitySet($this->_propDict["publishedBy"]);
return $this->_propDict["publishedBy"];
}
}
return null;
}
/**
* Sets the publishedBy
* The user who published the site list.
*
* @param IdentitySet $val The publishedBy
*
* @return BrowserSiteList
*/
public function setPublishedBy($val)
{
$this->_propDict["publishedBy"] = $val;
return $this;
}
/**
* Gets the publishedDateTime
* The date and time when the site list was published.
*
* @return \DateTime|null The publishedDateTime
*/
public function getPublishedDateTime()
{
if (array_key_exists("publishedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["publishedDateTime"], "\DateTime") || is_null($this->_propDict["publishedDateTime"])) {
return $this->_propDict["publishedDateTime"];
} else {
$this->_propDict["publishedDateTime"] = new \DateTime($this->_propDict["publishedDateTime"]);
return $this->_propDict["publishedDateTime"];
}
}
return null;
}
/**
* Sets the publishedDateTime
* The date and time when the site list was published.
*
* @param \DateTime $val The publishedDateTime
*
* @return BrowserSiteList
*/
public function setPublishedDateTime($val)
{
$this->_propDict["publishedDateTime"] = $val;
return $this;
}
/**
* Gets the revision
* The current revision of the site list.
*
* @return string|null The revision
*/
public function getRevision()
{
if (array_key_exists("revision", $this->_propDict)) {
return $this->_propDict["revision"];
} else {
return null;
}
}
/**
* Sets the revision
* The current revision of the site list.
*
* @param string $val The revision
*
* @return BrowserSiteList
*/
public function setRevision($val)
{
$this->_propDict["revision"] = $val;
return $this;
}
/**
* Gets the status
* The current status of the site list. The possible values are: draft, published, pending, unknownFutureValue.
*
* @return BrowserSiteListStatus|null The status
*/
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\BrowserSiteListStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new BrowserSiteListStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
}
/**
* Sets the status
* The current status of the site list. The possible values are: draft, published, pending, unknownFutureValue.
*
* @param BrowserSiteListStatus $val The status
*
* @return BrowserSiteList
*/
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
}
/**
* Gets the sharedCookies
* A collection of shared cookies defined for the site list.
*
* @return array|null The sharedCookies
*/
public function getSharedCookies()
{
if (array_key_exists("sharedCookies", $this->_propDict)) {
return $this->_propDict["sharedCookies"];
} else {
return null;
}
}
/**
* Sets the sharedCookies
* A collection of shared cookies defined for the site list.
*
* @param BrowserSharedCookie[] $val The sharedCookies
*
* @return BrowserSiteList
*/
public function setSharedCookies($val)
{
$this->_propDict["sharedCookies"] = $val;
return $this;
}
/**
* Gets the sites
* A collection of sites defined for the site list.
*
* @return array|null The sites
*/
public function getSites()
{
if (array_key_exists("sites", $this->_propDict)) {
return $this->_propDict["sites"];
} else {
return null;
}
}
/**
* Sets the sites
* A collection of sites defined for the site list.
*
* @param BrowserSite[] $val The sites
*
* @return BrowserSiteList
*/
public function setSites($val)
{
$this->_propDict["sites"] = $val;
return $this;
}
}

View File

@ -2,7 +2,7 @@
/** /**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
* *
* OrganizationalMessageScenario File * BrowserSiteListStatus File
* PHP version 7 * PHP version 7
* *
* @category Library * @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum; use Microsoft\Graph\Core\Enum;
/** /**
* OrganizationalMessageScenario class * BrowserSiteListStatus class
* *
* @category Model * @category Model
* @package Microsoft.Graph * @package Microsoft.Graph
@ -24,12 +24,13 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License * @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com * @link https://graph.microsoft.com
*/ */
class OrganizationalMessageScenario extends Enum class BrowserSiteListStatus extends Enum
{ {
/** /**
* The Enum OrganizationalMessageScenario * The Enum BrowserSiteListStatus
*/ */
const ONBOARDING = "onboarding"; const DRAFT = "draft";
const LIFECYCLE = "lifecycle"; const PUBLISHED = "published";
const PENDING = "pending";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -2,7 +2,7 @@
/** /**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
* *
* OrganizationalMessageLogoType File * BrowserSiteMergeType File
* PHP version 7 * PHP version 7
* *
* @category Library * @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum; use Microsoft\Graph\Core\Enum;
/** /**
* OrganizationalMessageLogoType class * BrowserSiteMergeType class
* *
* @category Model * @category Model
* @package Microsoft.Graph * @package Microsoft.Graph
@ -24,11 +24,12 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License * @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com * @link https://graph.microsoft.com
*/ */
class OrganizationalMessageLogoType extends Enum class BrowserSiteMergeType extends Enum
{ {
/** /**
* The Enum OrganizationalMessageLogoType * The Enum BrowserSiteMergeType
*/ */
const PNG = "png"; const NO_MERGE = "noMerge";
const GRAPHDEFAULT = "default";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -2,7 +2,7 @@
/** /**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
* *
* OrganizationalMessageSurface File * BrowserSiteStatus File
* PHP version 7 * PHP version 7
* *
* @category Library * @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum; use Microsoft\Graph\Core\Enum;
/** /**
* OrganizationalMessageSurface class * BrowserSiteStatus class
* *
* @category Model * @category Model
* @package Microsoft.Graph * @package Microsoft.Graph
@ -24,13 +24,14 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License * @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com * @link https://graph.microsoft.com
*/ */
class OrganizationalMessageSurface extends Enum class BrowserSiteStatus extends Enum
{ {
/** /**
* The Enum OrganizationalMessageSurface * The Enum BrowserSiteStatus
*/ */
const ACTION_CENTER = "actionCenter"; const PUBLISHED = "published";
const GET_STARTED = "getStarted"; const PENDING_ADD = "pendingAdd";
const SOFT_LANDING = "softLanding"; const PENDING_EDIT = "pendingEdit";
const PENDING_DELETE = "pendingDelete";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -2,7 +2,7 @@
/** /**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
* *
* OrganizationalMessageFrequency File * BrowserSiteTargetEnvironment File
* PHP version 7 * PHP version 7
* *
* @category Library * @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum; use Microsoft\Graph\Core\Enum;
/** /**
* OrganizationalMessageFrequency class * BrowserSiteTargetEnvironment class
* *
* @category Model * @category Model
* @package Microsoft.Graph * @package Microsoft.Graph
@ -24,13 +24,15 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License * @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com * @link https://graph.microsoft.com
*/ */
class OrganizationalMessageFrequency extends Enum class BrowserSiteTargetEnvironment extends Enum
{ {
/** /**
* The Enum OrganizationalMessageFrequency * The Enum BrowserSiteTargetEnvironment
*/ */
const WEEKLY_ONCE = "weeklyOnce"; const INTERNET_EXPLORER_MODE = "internetExplorerMode";
const MONTHLY_ONCE = "monthlyOnce"; const INTERNET_EXPLORER11 = "internetExplorer11";
const MONTHLY_TWICE = "monthlyTwice"; const MICROSOFT_EDGE = "microsoftEdge";
const CONFIGURABLE = "configurable";
const NONE = "none";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -28,7 +28,7 @@ class CartToClassAssociation extends Entity
* Gets the classroomIds * Gets the classroomIds
* Identifiers of classrooms to be associated with device carts. * Identifiers of classrooms to be associated with device carts.
* *
* @return string|null The classroomIds * @return array|null The classroomIds
*/ */
public function getClassroomIds() public function getClassroomIds()
{ {
@ -43,7 +43,7 @@ class CartToClassAssociation extends Entity
* Sets the classroomIds * Sets the classroomIds
* Identifiers of classrooms to be associated with device carts. * Identifiers of classrooms to be associated with device carts.
* *
* @param string $val The classroomIds * @param string[] $val The classroomIds
* *
* @return CartToClassAssociation * @return CartToClassAssociation
*/ */
@ -119,7 +119,7 @@ class CartToClassAssociation extends Entity
* Gets the deviceCartIds * Gets the deviceCartIds
* Identifiers of device carts to be associated with classes. * Identifiers of device carts to be associated with classes.
* *
* @return string|null The deviceCartIds * @return array|null The deviceCartIds
*/ */
public function getDeviceCartIds() public function getDeviceCartIds()
{ {
@ -134,7 +134,7 @@ class CartToClassAssociation extends Entity
* Sets the deviceCartIds * Sets the deviceCartIds
* Identifiers of device carts to be associated with classes. * Identifiers of device carts to be associated with classes.
* *
* @param string $val The deviceCartIds * @param string[] $val The deviceCartIds
* *
* @return CartToClassAssociation * @return CartToClassAssociation
*/ */

View File

@ -468,6 +468,34 @@ class ChatMessage extends Entity
return $this; return $this;
} }
/**
* Gets the messageHistory
*
* @return array|null The messageHistory
*/
public function getMessageHistory()
{
if (array_key_exists("messageHistory", $this->_propDict)) {
return $this->_propDict["messageHistory"];
} else {
return null;
}
}
/**
* Sets the messageHistory
*
* @param ChatMessageHistoryItem[] $val The messageHistory
*
* @return ChatMessage
*/
public function setMessageHistory($val)
{
$this->_propDict["messageHistory"] = $val;
return $this;
}
/** /**
* Gets the messageType * Gets the messageType
* The type of chat message. The possible values are: message, chatEvent, typing, unknownFutureValue, systemEventMessage. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: systemEventMessage. * The type of chat message. The possible values are: message, chatEvent, typing, unknownFutureValue, systemEventMessage. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: systemEventMessage.

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.
*
* ChatMessageActions 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;
/**
* ChatMessageActions 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 ChatMessageActions extends Enum
{
/**
* The Enum ChatMessageActions
*/
const REACTION_ADDED = "reactionAdded";
const REACTION_REMOVED = "reactionRemoved";
const ACTION_UNDEFINED = "actionUndefined";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}

View File

@ -0,0 +1,119 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ChatMessageHistoryItem 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;
/**
* ChatMessageHistoryItem 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 ChatMessageHistoryItem extends Entity
{
/**
* Gets the actions
*
* @return ChatMessageActions|null The actions
*/
public function getActions()
{
if (array_key_exists("actions", $this->_propDict)) {
if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\ChatMessageActions") || is_null($this->_propDict["actions"])) {
return $this->_propDict["actions"];
} else {
$this->_propDict["actions"] = new ChatMessageActions($this->_propDict["actions"]);
return $this->_propDict["actions"];
}
}
return null;
}
/**
* Sets the actions
*
* @param ChatMessageActions $val The value to assign to the actions
*
* @return ChatMessageHistoryItem The ChatMessageHistoryItem
*/
public function setActions($val)
{
$this->_propDict["actions"] = $val;
return $this;
}
/**
* Gets the modifiedDateTime
*
* @return \DateTime|null The modifiedDateTime
*/
public function getModifiedDateTime()
{
if (array_key_exists("modifiedDateTime", $this->_propDict)) {
if (is_a($this->_propDict["modifiedDateTime"], "\DateTime") || is_null($this->_propDict["modifiedDateTime"])) {
return $this->_propDict["modifiedDateTime"];
} else {
$this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]);
return $this->_propDict["modifiedDateTime"];
}
}
return null;
}
/**
* Sets the modifiedDateTime
*
* @param \DateTime $val The value to assign to the modifiedDateTime
*
* @return ChatMessageHistoryItem The ChatMessageHistoryItem
*/
public function setModifiedDateTime($val)
{
$this->_propDict["modifiedDateTime"] = $val;
return $this;
}
/**
* Gets the reaction
*
* @return ChatMessageReaction|null The reaction
*/
public function getReaction()
{
if (array_key_exists("reaction", $this->_propDict)) {
if (is_a($this->_propDict["reaction"], "\Beta\Microsoft\Graph\Model\ChatMessageReaction") || is_null($this->_propDict["reaction"])) {
return $this->_propDict["reaction"];
} else {
$this->_propDict["reaction"] = new ChatMessageReaction($this->_propDict["reaction"]);
return $this->_propDict["reaction"];
}
}
return null;
}
/**
* Sets the reaction
*
* @param ChatMessageReaction $val The value to assign to the reaction
*
* @return ChatMessageHistoryItem The ChatMessageHistoryItem
*/
public function setReaction($val)
{
$this->_propDict["reaction"] = $val;
return $this;
}
}

View File

@ -417,7 +417,7 @@ class CloudAppSecurityProfile extends Entity
/** /**
* Gets the tags * Gets the tags
* *
* @return string|null The tags * @return array|null The tags
*/ */
public function getTags() public function getTags()
{ {
@ -431,7 +431,7 @@ class CloudAppSecurityProfile extends Entity
/** /**
* Sets the tags * Sets the tags
* *
* @param string $val The tags * @param string[] $val The tags
* *
* @return CloudAppSecurityProfile * @return CloudAppSecurityProfile
*/ */

View File

@ -28,7 +28,7 @@ class CloudPcCrossCloudGovernmentOrganizationMapping extends Entity
* Gets the organizationIdsInUSGovCloud * Gets the organizationIdsInUSGovCloud
* The tenant ID in the Azure Government cloud corresponding to the GCC tenant in the public cloud. Currently, 1:1 mappings are supported, so this collection can only contain one tenant ID. * The tenant ID in the Azure Government cloud corresponding to the GCC tenant in the public cloud. Currently, 1:1 mappings are supported, so this collection can only contain one tenant ID.
* *
* @return string|null The organizationIdsInUSGovCloud * @return array|null The organizationIdsInUSGovCloud
*/ */
public function getOrganizationIdsInUSGovCloud() public function getOrganizationIdsInUSGovCloud()
{ {
@ -43,7 +43,7 @@ class CloudPcCrossCloudGovernmentOrganizationMapping extends Entity
* Sets the organizationIdsInUSGovCloud * Sets the organizationIdsInUSGovCloud
* The tenant ID in the Azure Government cloud corresponding to the GCC tenant in the public cloud. Currently, 1:1 mappings are supported, so this collection can only contain one tenant ID. * The tenant ID in the Azure Government cloud corresponding to the GCC tenant in the public cloud. Currently, 1:1 mappings are supported, so this collection can only contain one tenant ID.
* *
* @param string $val The organizationIdsInUSGovCloud * @param string[] $val The organizationIdsInUSGovCloud
* *
* @return CloudPcCrossCloudGovernmentOrganizationMapping * @return CloudPcCrossCloudGovernmentOrganizationMapping
*/ */

View File

@ -26,6 +26,7 @@ class CloudPcExportJob extends Entity
{ {
/** /**
* Gets the expirationDateTime * Gets the expirationDateTime
* The date time when the export job expires.
* *
* @return \DateTime|null The expirationDateTime * @return \DateTime|null The expirationDateTime
*/ */
@ -44,6 +45,7 @@ class CloudPcExportJob extends Entity
/** /**
* Sets the expirationDateTime * Sets the expirationDateTime
* The date time when the export job expires.
* *
* @param \DateTime $val The expirationDateTime * @param \DateTime $val The expirationDateTime
* *
@ -57,6 +59,7 @@ class CloudPcExportJob extends Entity
/** /**
* Gets the exportJobStatus * Gets the exportJobStatus
* The status of the export job.The possible values are: notStarted, inProgress, completed, unknownFutureValue. Read-only.
* *
* @return CloudPcExportJobStatus|null The exportJobStatus * @return CloudPcExportJobStatus|null The exportJobStatus
*/ */
@ -75,6 +78,7 @@ class CloudPcExportJob extends Entity
/** /**
* Sets the exportJobStatus * Sets the exportJobStatus
* The status of the export job.The possible values are: notStarted, inProgress, completed, unknownFutureValue. Read-only.
* *
* @param CloudPcExportJobStatus $val The exportJobStatus * @param CloudPcExportJobStatus $val The exportJobStatus
* *
@ -88,6 +92,7 @@ class CloudPcExportJob extends Entity
/** /**
* Gets the exportUrl * Gets the exportUrl
* The storage account url of the exported report, it can be used to download the file.
* *
* @return string|null The exportUrl * @return string|null The exportUrl
*/ */
@ -102,6 +107,7 @@ class CloudPcExportJob extends Entity
/** /**
* Sets the exportUrl * Sets the exportUrl
* The storage account url of the exported report, it can be used to download the file.
* *
* @param string $val The exportUrl * @param string $val The exportUrl
* *
@ -115,6 +121,7 @@ class CloudPcExportJob extends Entity
/** /**
* Gets the filter * Gets the filter
* The filter applied on the report.
* *
* @return string|null The filter * @return string|null The filter
*/ */
@ -129,6 +136,7 @@ class CloudPcExportJob extends Entity
/** /**
* Sets the filter * Sets the filter
* The filter applied on the report.
* *
* @param string $val The filter * @param string $val The filter
* *
@ -142,6 +150,7 @@ class CloudPcExportJob extends Entity
/** /**
* Gets the format * Gets the format
* The format of the exported report.
* *
* @return string|null The format * @return string|null The format
*/ */
@ -156,6 +165,7 @@ class CloudPcExportJob extends Entity
/** /**
* Sets the format * Sets the format
* The format of the exported report.
* *
* @param string $val The format * @param string $val The format
* *
@ -169,6 +179,7 @@ class CloudPcExportJob extends Entity
/** /**
* Gets the reportName * Gets the reportName
* The report name.The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, unknownFutureValue.
* *
* @return CloudPcReportName|null The reportName * @return CloudPcReportName|null The reportName
*/ */
@ -187,6 +198,7 @@ class CloudPcExportJob extends Entity
/** /**
* Sets the reportName * Sets the reportName
* The report name.The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, unknownFutureValue.
* *
* @param CloudPcReportName $val The reportName * @param CloudPcReportName $val The reportName
* *
@ -200,6 +212,7 @@ class CloudPcExportJob extends Entity
/** /**
* Gets the requestDateTime * Gets the requestDateTime
* The date time when the export job was requested.
* *
* @return \DateTime|null The requestDateTime * @return \DateTime|null The requestDateTime
*/ */
@ -218,6 +231,7 @@ class CloudPcExportJob extends Entity
/** /**
* Sets the requestDateTime * Sets the requestDateTime
* The date time when the export job was requested.
* *
* @param \DateTime $val The requestDateTime * @param \DateTime $val The requestDateTime
* *
@ -231,8 +245,9 @@ class CloudPcExportJob extends Entity
/** /**
* Gets the select * Gets the select
* The selected columns of the report.
* *
* @return string|null The select * @return array|null The select
*/ */
public function getSelect() public function getSelect()
{ {
@ -245,8 +260,9 @@ class CloudPcExportJob extends Entity
/** /**
* Sets the select * Sets the select
* The selected columns of the report.
* *
* @param string $val The select * @param string[] $val The select
* *
* @return CloudPcExportJob * @return CloudPcExportJob
*/ */

View File

@ -62,4 +62,30 @@ class CloudPcManagementGroupAssignmentTarget extends CloudPcManagementAssignment
$this->_propDict["groupId"] = $val; $this->_propDict["groupId"] = $val;
return $this; return $this;
} }
/**
* Gets the servicePlanId
*
* @return string|null The servicePlanId
*/
public function getServicePlanId()
{
if (array_key_exists("servicePlanId", $this->_propDict)) {
return $this->_propDict["servicePlanId"];
} else {
return null;
}
}
/**
* Sets the servicePlanId
*
* @param string $val The value of the servicePlanId
*
* @return CloudPcManagementGroupAssignmentTarget
*/
public function setServicePlanId($val)
{
$this->_propDict["servicePlanId"] = $val;
return $this;
}
} }

View File

@ -417,6 +417,37 @@ class CloudPcProvisioningPolicy extends Entity
return $this; return $this;
} }
/**
* Gets the provisioningType
*
* @return CloudPcProvisioningType|null The provisioningType
*/
public function getProvisioningType()
{
if (array_key_exists("provisioningType", $this->_propDict)) {
if (is_a($this->_propDict["provisioningType"], "\Beta\Microsoft\Graph\Model\CloudPcProvisioningType") || is_null($this->_propDict["provisioningType"])) {
return $this->_propDict["provisioningType"];
} else {
$this->_propDict["provisioningType"] = new CloudPcProvisioningType($this->_propDict["provisioningType"]);
return $this->_propDict["provisioningType"];
}
}
return null;
}
/**
* Sets the provisioningType
*
* @param CloudPcProvisioningType $val The provisioningType
*
* @return CloudPcProvisioningPolicy
*/
public function setProvisioningType($val)
{
$this->_propDict["provisioningType"] = $val;
return $this;
}
/** /**
* Gets the windowsSettings * Gets the windowsSettings
* Specific Windows settings to configure while creating Cloud PCs for this provisioning policy. * Specific Windows settings to configure while creating Cloud PCs for this provisioning policy.

View File

@ -2,7 +2,7 @@
/** /**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
* *
* OrganizationalMessageTargetingType File * CloudPcProvisioningType File
* PHP version 7 * PHP version 7
* *
* @category Library * @category Library
@ -16,7 +16,7 @@ namespace Beta\Microsoft\Graph\Model;
use Microsoft\Graph\Core\Enum; use Microsoft\Graph\Core\Enum;
/** /**
* OrganizationalMessageTargetingType class * CloudPcProvisioningType class
* *
* @category Model * @category Model
* @package Microsoft.Graph * @package Microsoft.Graph
@ -24,11 +24,12 @@ use Microsoft\Graph\Core\Enum;
* @license https://opensource.org/licenses/MIT MIT License * @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com * @link https://graph.microsoft.com
*/ */
class OrganizationalMessageTargetingType extends Enum class CloudPcProvisioningType extends Enum
{ {
/** /**
* The Enum OrganizationalMessageTargetingType * The Enum CloudPcProvisioningType
*/ */
const AAD_GROUP = "aadGroup"; const DEDICATED = "dedicated";
const SHARED = "shared";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -27,6 +27,7 @@ class CloudPcReports extends Entity
/** /**
* Gets the exportJobs * Gets the exportJobs
* The export jobs created for downloading reports.
* *
* @return array|null The exportJobs * @return array|null The exportJobs
*/ */
@ -41,6 +42,7 @@ class CloudPcReports extends Entity
/** /**
* Sets the exportJobs * Sets the exportJobs
* The export jobs created for downloading reports.
* *
* @param CloudPcExportJob[] $val The exportJobs * @param CloudPcExportJob[] $val The exportJobs
* *

View File

@ -0,0 +1,108 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* CloudPcSharedUseServicePlan 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;
/**
* CloudPcSharedUseServicePlan 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 CloudPcSharedUseServicePlan extends Entity
{
/**
* Gets the displayName
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
*
* @param string $val The displayName
*
* @return CloudPcSharedUseServicePlan
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the totalCount
*
* @return int|null The totalCount
*/
public function getTotalCount()
{
if (array_key_exists("totalCount", $this->_propDict)) {
return $this->_propDict["totalCount"];
} else {
return null;
}
}
/**
* Sets the totalCount
*
* @param int $val The totalCount
*
* @return CloudPcSharedUseServicePlan
*/
public function setTotalCount($val)
{
$this->_propDict["totalCount"] = intval($val);
return $this;
}
/**
* Gets the usedCount
*
* @return int|null The usedCount
*/
public function getUsedCount()
{
if (array_key_exists("usedCount", $this->_propDict)) {
return $this->_propDict["usedCount"];
} else {
return null;
}
}
/**
* Sets the usedCount
*
* @param int $val The usedCount
*
* @return CloudPcSharedUseServicePlan
*/
public function setUsedCount($val)
{
$this->_propDict["usedCount"] = intval($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.
*
* CollapseProperty 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;
/**
* CollapseProperty 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 CollapseProperty extends Entity
{
/**
* Gets the fields
* Defines the collapse group to trim results. The properties in this collection must be sortable/refinable properties. Required.
*
* @return string|null The fields
*/
public function getFields()
{
if (array_key_exists("fields", $this->_propDict)) {
return $this->_propDict["fields"];
} else {
return null;
}
}
/**
* Sets the fields
* Defines the collapse group to trim results. The properties in this collection must be sortable/refinable properties. Required.
*
* @param string $val The value of the fields
*
* @return CollapseProperty
*/
public function setFields($val)
{
$this->_propDict["fields"] = $val;
return $this;
}
/**
* Gets the limit
* Defines a maximum limit count for this field. This numeric value must be a positive integer. Required.
*
* @return int|null The limit
*/
public function getLimit()
{
if (array_key_exists("limit", $this->_propDict)) {
return $this->_propDict["limit"];
} else {
return null;
}
}
/**
* Sets the limit
* Defines a maximum limit count for this field. This numeric value must be a positive integer. Required.
*
* @param int $val The value of the limit
*
* @return CollapseProperty
*/
public function setLimit($val)
{
$this->_propDict["limit"] = $val;
return $this;
}
}

View File

@ -452,7 +452,7 @@ class ComanagementEligibleDevice extends Entity
/** /**
* Gets the status * Gets the status
* ComanagementEligibleStatus. Possible values are: comanaged, eligible, eligibleButNotAzureAdJoined, needsOsUpdate, ineligible, scheduledForEnrollment. * ComanagementEligibleStatus. Possible values are: comanaged, eligible, eligibleButNotAzureAdJoined, needsOsUpdate, ineligible, scheduledForEnrollment, unknownFutureValue.
* *
* @return ComanagementEligibleType|null The status * @return ComanagementEligibleType|null The status
*/ */
@ -471,7 +471,7 @@ class ComanagementEligibleDevice extends Entity
/** /**
* Sets the status * Sets the status
* ComanagementEligibleStatus. Possible values are: comanaged, eligible, eligibleButNotAzureAdJoined, needsOsUpdate, ineligible, scheduledForEnrollment. * ComanagementEligibleStatus. Possible values are: comanaged, eligible, eligibleButNotAzureAdJoined, needsOsUpdate, ineligible, scheduledForEnrollment, unknownFutureValue.
* *
* @param ComanagementEligibleType $val The status * @param ComanagementEligibleType $val The status
* *

View File

@ -163,4 +163,32 @@ class ComanagementEligibleDevicesSummary extends Entity
$this->_propDict["needsOsUpdateCount"] = $val; $this->_propDict["needsOsUpdateCount"] = $val;
return $this; return $this;
} }
/**
* Gets the scheduledForEnrollmentCount
* Count of devices scheduled for Co-Management enrollment. Valid values 0 to 9999999
*
* @return int|null The scheduledForEnrollmentCount
*/
public function getScheduledForEnrollmentCount()
{
if (array_key_exists("scheduledForEnrollmentCount", $this->_propDict)) {
return $this->_propDict["scheduledForEnrollmentCount"];
} else {
return null;
}
}
/**
* Sets the scheduledForEnrollmentCount
* Count of devices scheduled for Co-Management enrollment. Valid values 0 to 9999999
*
* @param int $val The value of the scheduledForEnrollmentCount
*
* @return ComanagementEligibleDevicesSummary
*/
public function setScheduledForEnrollmentCount($val)
{
$this->_propDict["scheduledForEnrollmentCount"] = $val;
return $this;
}
} }

View File

@ -35,4 +35,5 @@ class ComanagementEligibleType extends Enum
const NEEDS_OS_UPDATE = "needsOsUpdate"; const NEEDS_OS_UPDATE = "needsOsUpdate";
const INELIGIBLE = "ineligible"; const INELIGIBLE = "ineligible";
const SCHEDULED_FOR_ENROLLMENT = "scheduledForEnrollment"; const SCHEDULED_FOR_ENROLLMENT = "scheduledForEnrollment";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
} }

View File

@ -154,6 +154,8 @@ class CommsApplication implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -129,6 +129,8 @@ class Compliance implements \JsonSerializable
$serializableProperties[$property] = $val->value(); $serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) { } else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize(); $serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
} }
} }
return $serializableProperties; return $serializableProperties;

View File

@ -26,6 +26,7 @@ class ConditionalAccessApplications extends Entity
/** /**
* Gets the applicationFilter * Gets the applicationFilter
* Filter that defines the dynamic-application-syntax rule to include/exclude cloud applications. A filter can use custom security attributes to include/exclude applications.
* *
* @return ConditionalAccessFilter|null The applicationFilter * @return ConditionalAccessFilter|null The applicationFilter
*/ */
@ -44,6 +45,7 @@ class ConditionalAccessApplications extends Entity
/** /**
* Sets the applicationFilter * Sets the applicationFilter
* Filter that defines the dynamic-application-syntax rule to include/exclude cloud applications. A filter can use custom security attributes to include/exclude applications.
* *
* @param ConditionalAccessFilter $val The value to assign to the applicationFilter * @param ConditionalAccessFilter $val The value to assign to the applicationFilter
* *

View File

@ -82,6 +82,7 @@ class ConditionalAccessClientApplications extends Entity
/** /**
* Gets the servicePrincipalFilter * Gets the servicePrincipalFilter
* Filter that defines the dynamic-servicePrincipal-syntax rule to include/exclude service principals. A filter can use custom security attributes to include/exclude service principals.
* *
* @return ConditionalAccessFilter|null The servicePrincipalFilter * @return ConditionalAccessFilter|null The servicePrincipalFilter
*/ */
@ -100,6 +101,7 @@ class ConditionalAccessClientApplications extends Entity
/** /**
* Sets the servicePrincipalFilter * Sets the servicePrincipalFilter
* Filter that defines the dynamic-servicePrincipal-syntax rule to include/exclude service principals. A filter can use custom security attributes to include/exclude service principals.
* *
* @param ConditionalAccessFilter $val The value to assign to the servicePrincipalFilter * @param ConditionalAccessFilter $val The value to assign to the servicePrincipalFilter
* *

View File

@ -90,7 +90,7 @@ class Contact extends OutlookItem
* Gets the children * Gets the children
* The names of the contact's children. * The names of the contact's children.
* *
* @return string|null The children * @return array|null The children
*/ */
public function getChildren() public function getChildren()
{ {
@ -105,7 +105,7 @@ class Contact extends OutlookItem
* Sets the children * Sets the children
* The names of the contact's children. * The names of the contact's children.
* *
* @param string $val The children * @param string[] $val The children
* *
* @return Contact * @return Contact
*/ */
@ -384,7 +384,7 @@ class Contact extends OutlookItem
/** /**
* Gets the imAddresses * Gets the imAddresses
* *
* @return string|null The imAddresses * @return array|null The imAddresses
*/ */
public function getImAddresses() public function getImAddresses()
{ {
@ -398,7 +398,7 @@ class Contact extends OutlookItem
/** /**
* Sets the imAddresses * Sets the imAddresses
* *
* @param string $val The imAddresses * @param string[] $val The imAddresses
* *
* @return Contact * @return Contact
*/ */

View File

@ -28,7 +28,7 @@ class ContentType extends Entity
* Gets the associatedHubsUrls * Gets the associatedHubsUrls
* List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. * List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites.
* *
* @return string|null The associatedHubsUrls * @return array|null The associatedHubsUrls
*/ */
public function getAssociatedHubsUrls() public function getAssociatedHubsUrls()
{ {
@ -43,7 +43,7 @@ class ContentType extends Entity
* Sets the associatedHubsUrls * Sets the associatedHubsUrls
* List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. * List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites.
* *
* @param string $val The associatedHubsUrls * @param string[] $val The associatedHubsUrls
* *
* @return ContentType * @return ContentType
*/ */

View File

@ -86,7 +86,7 @@ class ContinuousAccessEvaluationPolicy extends Entity
* Gets the groups * Gets the groups
* The collection of group identifiers in scope for evaluation. All groups are in scope when the collection is empty. Read-only. * The collection of group identifiers in scope for evaluation. All groups are in scope when the collection is empty. Read-only.
* *
* @return string|null The groups * @return array|null The groups
*/ */
public function getGroups() public function getGroups()
{ {
@ -101,7 +101,7 @@ class ContinuousAccessEvaluationPolicy extends Entity
* Sets the groups * Sets the groups
* The collection of group identifiers in scope for evaluation. All groups are in scope when the collection is empty. Read-only. * The collection of group identifiers in scope for evaluation. All groups are in scope when the collection is empty. Read-only.
* *
* @param string $val The groups * @param string[] $val The groups
* *
* @return ContinuousAccessEvaluationPolicy * @return ContinuousAccessEvaluationPolicy
*/ */
@ -173,7 +173,7 @@ class ContinuousAccessEvaluationPolicy extends Entity
* Gets the users * Gets the users
* The collection of user identifiers in scope for evaluation. All users are in scope when the collection is empty. Read-only. * The collection of user identifiers in scope for evaluation. All users are in scope when the collection is empty. Read-only.
* *
* @return string|null The users * @return array|null The users
*/ */
public function getUsers() public function getUsers()
{ {
@ -188,7 +188,7 @@ class ContinuousAccessEvaluationPolicy extends Entity
* Sets the users * Sets the users
* The collection of user identifiers in scope for evaluation. All users are in scope when the collection is empty. Read-only. * The collection of user identifiers in scope for evaluation. All users are in scope when the collection is empty. Read-only.
* *
* @param string $val The users * @param string[] $val The users
* *
* @return ContinuousAccessEvaluationPolicy * @return ContinuousAccessEvaluationPolicy
*/ */

View File

@ -148,7 +148,7 @@ class Conversation extends Entity
* Gets the uniqueSenders * Gets the uniqueSenders
* All the users that sent a message to this Conversation. * All the users that sent a message to this Conversation.
* *
* @return string|null The uniqueSenders * @return array|null The uniqueSenders
*/ */
public function getUniqueSenders() public function getUniqueSenders()
{ {
@ -163,7 +163,7 @@ class Conversation extends Entity
* Sets the uniqueSenders * Sets the uniqueSenders
* All the users that sent a message to this Conversation. * All the users that sent a message to this Conversation.
* *
* @param string $val The uniqueSenders * @param string[] $val The uniqueSenders
* *
* @return Conversation * @return Conversation
*/ */

View File

@ -57,7 +57,7 @@ class ConversationMember extends Entity
* Gets the roles * Gets the roles
* The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property.
* *
* @return string|null The roles * @return array|null The roles
*/ */
public function getRoles() public function getRoles()
{ {
@ -72,7 +72,7 @@ class ConversationMember extends Entity
* Sets the roles * Sets the roles
* The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. * The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property.
* *
* @param string $val The roles * @param string[] $val The roles
* *
* @return ConversationMember * @return ConversationMember
*/ */

View File

@ -237,7 +237,7 @@ class ConversationThread extends Entity
* Gets the uniqueSenders * Gets the uniqueSenders
* All the users that sent a message to this thread. Returned by default. * All the users that sent a message to this thread. Returned by default.
* *
* @return string|null The uniqueSenders * @return array|null The uniqueSenders
*/ */
public function getUniqueSenders() public function getUniqueSenders()
{ {
@ -252,7 +252,7 @@ class ConversationThread extends Entity
* Sets the uniqueSenders * Sets the uniqueSenders
* All the users that sent a message to this thread. Returned by default. * All the users that sent a message to this thread. Returned by default.
* *
* @param string $val The uniqueSenders * @param string[] $val The uniqueSenders
* *
* @return ConversationThread * @return ConversationThread
*/ */

View File

@ -28,7 +28,7 @@ class CountryNamedLocation extends NamedLocation
* Gets the countriesAndRegions * Gets the countriesAndRegions
* List of countries and/or regions in two-letter format specified by ISO 3166-2. * List of countries and/or regions in two-letter format specified by ISO 3166-2.
* *
* @return string|null The countriesAndRegions * @return array|null The countriesAndRegions
*/ */
public function getCountriesAndRegions() public function getCountriesAndRegions()
{ {
@ -43,7 +43,7 @@ class CountryNamedLocation extends NamedLocation
* Sets the countriesAndRegions * Sets the countriesAndRegions
* List of countries and/or regions in two-letter format specified by ISO 3166-2. * List of countries and/or regions in two-letter format specified by ISO 3166-2.
* *
* @param string $val The countriesAndRegions * @param string[] $val The countriesAndRegions
* *
* @return CountryNamedLocation * @return CountryNamedLocation
*/ */

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