diff --git a/src/Generated/Admin/People/PeopleRequestBuilder.php b/src/Generated/Admin/People/PeopleRequestBuilder.php index 7698c56e3d8..463970c72d1 100644 --- a/src/Generated/Admin/People/PeopleRequestBuilder.php +++ b/src/Generated/Admin/People/PeopleRequestBuilder.php @@ -8,6 +8,8 @@ use Microsoft\Graph\Beta\Generated\Admin\People\NamePronunciation\NamePronunciationRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\People\ProfileCardProperties\ProfileCardPropertiesRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\People\ProfilePropertySettings\ProfilePropertySettingsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Admin\People\ProfileSources\ProfileSourcesRequestBuilder; +use Microsoft\Graph\Beta\Generated\Admin\People\ProfileSourcesWithSourceId\ProfileSourcesWithSourceIdRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\People\Pronouns\PronounsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\PeopleAdminSettings; @@ -49,6 +51,13 @@ public function profilePropertySettings(): ProfilePropertySettingsRequestBuilder return new ProfilePropertySettingsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + */ + public function profileSources(): ProfileSourcesRequestBuilder { + return new ProfileSourcesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. */ @@ -114,6 +123,15 @@ public function patch(PeopleAdminSettings $body, ?PeopleRequestBuilderPatchReque return $this->requestAdapter->sendAsync($requestInfo, [PeopleAdminSettings::class, 'createFromDiscriminatorValue'], $errorMappings); } + /** + * Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. + * @param string $sourceId Alternate key of profileSource + * @return ProfileSourcesWithSourceIdRequestBuilder + */ + public function profileSourcesWithSourceId(string $sourceId): ProfileSourcesWithSourceIdRequestBuilder { + return new ProfileSourcesWithSourceIdRequestBuilder($this->pathParameters, $this->requestAdapter, $sourceId); + } + /** * Delete navigation property people for admin * @param PeopleRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.php b/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..8e99073a6ab --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/people/profileSources/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d58ed1bdd66 --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..950cbd1cdbb --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.php b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.php new file mode 100644 index 00000000000..da89dede898 --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilder.php @@ -0,0 +1,145 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a profileSource object. + * @param ProfileSourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/profilesource-delete?view=graph-rest-beta Find more info here + */ + public function delete(?ProfileSourceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * A collection of profile source settings configured by an administrator in an organization. + * @param ProfileSourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ProfileSourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProfileSource::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a profileSource object. + * @param ProfileSource $body The request body + * @param ProfileSourceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/profilesource-update?view=graph-rest-beta Find more info here + */ + public function patch(ProfileSource $body, ?ProfileSourceItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProfileSource::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a profileSource object. + * @param ProfileSourceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ProfileSourceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * A collection of profile source settings configured by an administrator in an organization. + * @param ProfileSourceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ProfileSourceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the properties of a profileSource object. + * @param ProfileSource $body The request body + * @param ProfileSourceItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ProfileSource $body, ?ProfileSourceItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ProfileSourceItemRequestBuilder + */ + public function withUrl(string $rawUrl): ProfileSourceItemRequestBuilder { + return new ProfileSourceItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..7eed6d8ec2e --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c760b59231b --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new ProfileSourceItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..062f30da462 --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ProfileSourceItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ProfileSourceItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ProfileSourceItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ProfileSourceItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProfileSourceItemRequestBuilderGetQueryParameters { + return new ProfileSourceItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..7ec166cc8eb --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/Item/ProfileSourceItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.php b/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.php similarity index 53% rename from src/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.php rename to src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.php index a6717c6c251..35eaa50c798 100644 --- a/src/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.php +++ b/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilder.php @@ -1,23 +1,23 @@ pathParameters; - $urlTplParams['changeItemBase%2Did'] = $changeItemBaseId; - return new ChangeItemBaseItemRequestBuilder($urlTplParams, $this->requestAdapter); + $urlTplParams['profileSource%2Did'] = $profileSourceId; + return new ProfileSourceItemRequestBuilder($urlTplParams, $this->requestAdapter); } /** - * Instantiates a new ProductChangesRequestBuilder and sets the default values. + * Instantiates a new ProfileSourcesRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/identity/productChanges{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + parent::__construct($requestAdapter, [], '{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -52,41 +52,42 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases. - * @param ProductChangesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + * @param ProfileSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/identitycontainer-list-productchanges?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilesources?view=graph-rest-beta Find more info here */ - public function get(?ProductChangesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?ProfileSourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ChangeItemBaseCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ProfileSourceCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Create new navigation property to productChanges for identity - * @param ChangeItemBase $body The request body - * @param ProductChangesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Create a new profileSource object. + * @param ProfileSource $body The request body + * @param ProfileSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilesources?view=graph-rest-beta Find more info here */ - public function post(ChangeItemBase $body, ?ProductChangesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + public function post(ProfileSource $body, ?ProfileSourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ChangeItemBase::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [ProfileSource::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases. - * @param ProductChangesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. + * @param ProfileSourcesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?ProductChangesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?ProfileSourcesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -103,12 +104,12 @@ public function toGetRequestInformation(?ProductChangesRequestBuilderGetRequestC } /** - * Create new navigation property to productChanges for identity - * @param ChangeItemBase $body The request body - * @param ProductChangesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Create a new profileSource object. + * @param ProfileSource $body The request body + * @param ProfileSourcesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPostRequestInformation(ChangeItemBase $body, ?ProductChangesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPostRequestInformation(ProfileSource $body, ?ProfileSourcesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -125,10 +126,10 @@ public function toPostRequestInformation(ChangeItemBase $body, ?ProductChangesRe /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param string $rawUrl The raw URL to use for the request builder. - * @return ProductChangesRequestBuilder + * @return ProfileSourcesRequestBuilder */ - public function withUrl(string $rawUrl): ProductChangesRequestBuilder { - return new ProductChangesRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): ProfileSourcesRequestBuilder { + return new ProfileSourcesRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b14b96d7871 --- /dev/null +++ b/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new ProfileSourcesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderGetRequestConfiguration.php similarity index 69% rename from src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderGetRequestConfiguration.php rename to src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderGetRequestConfiguration.php index ce8aebf9e4a..eb39f690b58 100644 --- a/src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ProductChangesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param ProfileSourcesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ProductChangesRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?ProfileSourcesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ProductChangesRequestBuilderGetQueryParameters. + * Instantiates a new ProfileSourcesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pro * @param array|null $select Select properties to be returned * @param int|null $skip Skip the first n items * @param int|null $top Show only the first n items - * @return ProductChangesRequestBuilderGetQueryParameters + * @return ProfileSourcesRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ProductChangesRequestBuilderGetQueryParameters { - return new ProductChangesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ProfileSourcesRequestBuilderGetQueryParameters { + return new ProfileSourcesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderPostRequestConfiguration.php similarity index 75% rename from src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderPostRequestConfiguration.php rename to src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderPostRequestConfiguration.php index 3815e37c483..d06bab88b7f 100644 --- a/src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Admin/People/ProfileSources/ProfileSourcesRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.php b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.php new file mode 100644 index 00000000000..e35fe0a5277 --- /dev/null +++ b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilder.php @@ -0,0 +1,148 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + * @param string|null $sourceId Alternate key of profileSource + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $sourceId = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/people/profileSources(sourceId=\'{sourceId}\'){?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['sourceId'] = $sourceId; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a profileSource object. + * @param ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/profilesource-delete?view=graph-rest-beta Find more info here + */ + public function delete(?ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * A collection of profile source settings configured by an administrator in an organization. + * @param ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProfileSource::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a profileSource object. + * @param ProfileSource $body The request body + * @param ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/profilesource-update?view=graph-rest-beta Find more info here + */ + public function patch(ProfileSource $body, ?ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProfileSource::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a profileSource object. + * @param ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * A collection of profile source settings configured by an administrator in an organization. + * @param ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the properties of a profileSource object. + * @param ProfileSource $body The request body + * @param ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ProfileSource $body, ?ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ProfileSourcesWithSourceIdRequestBuilder + */ + public function withUrl(string $rawUrl): ProfileSourcesWithSourceIdRequestBuilder { + return new ProfileSourcesWithSourceIdRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..a33fda0958a --- /dev/null +++ b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..22be9a7e3af --- /dev/null +++ b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e2e2e299f8b --- /dev/null +++ b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters { + return new ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..4bdcdf9b97c --- /dev/null +++ b/src/Generated/Admin/People/ProfileSourcesWithSourceId/ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php index 270efb5d627..efee76a0a89 100644 --- a/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an operationalInsightsConnection object. + * Delete a resourceConnection object. * @param ResourceConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta Find more info here */ public function delete(?ResourceConnectionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?ResourceConnectionItemRequestBuilderDeleteRequestConfigu } /** - * Read the properties and relationships of a resourceConnection object. + * Read the properties and relationships of an operationalInsightsConnection object. * @param ResourceConnectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta Find more info here */ public function get(?ResourceConnectionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -76,7 +76,7 @@ public function patch(ResourceConnection $body, ?ResourceConnectionItemRequestBu } /** - * Delete an operationalInsightsConnection object. + * Delete a resourceConnection object. * @param ResourceConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ResourceConnectionItemRequestBuilder } /** - * Read the properties and relationships of a resourceConnection object. + * Read the properties and relationships of an operationalInsightsConnection object. * @param ResourceConnectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilderGetQueryParameters.php index 8b1c41acdc1..b66c01b89f0 100644 --- a/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a resourceConnection object. + * Read the properties and relationships of an operationalInsightsConnection object. */ class ResourceConnectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php index e96c20f4765..1ed313d2613 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php @@ -63,11 +63,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. * @param UpdatableAssetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta Find more info here */ public function delete(?UpdatableAssetItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -78,11 +78,11 @@ public function delete(?UpdatableAssetItemRequestBuilderDeleteRequestConfigurati } /** - * Read the properties of an azureADDevice object. + * Read the properties and relationships of an updatableAsset object. * @param UpdatableAssetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta Find more info here */ public function get(?UpdatableAssetItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -108,7 +108,7 @@ public function patch(UpdatableAsset $body, ?UpdatableAssetItemRequestBuilderPat } /** - * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. * @param UpdatableAssetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,7 +125,7 @@ public function toDeleteRequestInformation(?UpdatableAssetItemRequestBuilderDele } /** - * Read the properties of an azureADDevice object. + * Read the properties and relationships of an updatableAsset object. * @param UpdatableAssetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php index 8c15bc94e02..e3e97b05f38 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties of an azureADDevice object. + * Read the properties and relationships of an updatableAsset object. */ class UpdatableAssetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php index d3030b21ce9..f50b21f5a80 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php @@ -54,11 +54,11 @@ public function delete(?ComplianceChangeItemRequestBuilderDeleteRequestConfigura } /** - * Read the properties and relationships of a contentApproval object. + * Read the properties and relationships of a complianceChange object. * @param ComplianceChangeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta Find more info here */ public function get(?ComplianceChangeItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -102,7 +102,7 @@ public function toDeleteRequestInformation(?ComplianceChangeItemRequestBuilderDe } /** - * Read the properties and relationships of a contentApproval object. + * Read the properties and relationships of a complianceChange object. * @param ComplianceChangeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.php index 5b30a33bd5f..6397a2b5e15 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a contentApproval object. + * Read the properties and relationships of a complianceChange object. */ class ComplianceChangeItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.php index fa53c6d9e16..d8a2e61ad97 100644 --- a/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The associated group assignments for IosLobAppProvisioningConfiguration. + * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(IosLobAppProvisioningConfigurationAssignment $body, ?Assign } /** - * The associated group assignments for IosLobAppProvisioningConfiguration. + * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index 6e838857da3..38d126facd2 100644 --- a/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The associated group assignments for IosLobAppProvisioningConfiguration. + * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.php index b4d996614df..573a997ff2e 100644 --- a/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?IosLobAppProvisioningConfigurationAssignmentItemRequestB } /** - * The associated group assignments for IosLobAppProvisioningConfiguration. + * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. * @param IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?IosLobAppProvisioningConfigurationAs } /** - * The associated group assignments for IosLobAppProvisioningConfiguration. + * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. * @param IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters.php index b031f346af1..1c97c4a49fa 100644 --- a/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The associated group assignments for IosLobAppProvisioningConfiguration. + * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. */ class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.php index b2d49551005..6812535cd68 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?DeviceComplianceScheduledActionForRuleItemRequestBuilder } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param DeviceComplianceScheduledActionForRuleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?DeviceComplianceScheduledActionForRu } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param DeviceComplianceScheduledActionForRuleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters.php index 0f745123334..253415c5c8d 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. */ class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.php index bb4f67a3ce3..a85baf0f7f7 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param ScheduledActionsForRuleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -81,7 +81,7 @@ public function post(DeviceComplianceScheduledActionForRule $body, ?ScheduledAct } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param ScheduledActionsForRuleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilderGetQueryParameters.php index 614c634523d..4ffc159cb20 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. */ class ScheduledActionsForRuleRequestBuilderGetQueryParameters { diff --git a/src/Generated/Directory/DirectoryRequestBuilder.php b/src/Generated/Directory/DirectoryRequestBuilder.php index 01503b5a725..8922c733d37 100644 --- a/src/Generated/Directory/DirectoryRequestBuilder.php +++ b/src/Generated/Directory/DirectoryRequestBuilder.php @@ -20,6 +20,7 @@ use Microsoft\Graph\Beta\Generated\Directory\OutboundSharedUserProfiles\OutboundSharedUserProfilesRequestBuilder; use Microsoft\Graph\Beta\Generated\Directory\PendingExternalUserProfiles\PendingExternalUserProfilesRequestBuilder; use Microsoft\Graph\Beta\Generated\Directory\PublicKeyInfrastructure\PublicKeyInfrastructureRequestBuilder; +use Microsoft\Graph\Beta\Generated\Directory\RecommendationConfiguration\RecommendationConfigurationRequestBuilder; use Microsoft\Graph\Beta\Generated\Directory\Recommendations\RecommendationsRequestBuilder; use Microsoft\Graph\Beta\Generated\Directory\SharedEmailDomains\SharedEmailDomainsRequestBuilder; use Microsoft\Graph\Beta\Generated\Directory\Subscriptions\SubscriptionsRequestBuilder; @@ -150,6 +151,13 @@ public function publicKeyInfrastructure(): PublicKeyInfrastructureRequestBuilder return new PublicKeyInfrastructureRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the recommendationConfiguration property of the microsoft.graph.directory entity. + */ + public function recommendationConfiguration(): RecommendationConfigurationRequestBuilder { + return new RecommendationConfigurationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the recommendations property of the microsoft.graph.directory entity. */ diff --git a/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilder.php b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilder.php new file mode 100644 index 00000000000..0c0e845c301 --- /dev/null +++ b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilder.php @@ -0,0 +1,145 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/directory/recommendationConfiguration{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property recommendationConfiguration for directory + * @param RecommendationConfigurationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?RecommendationConfigurationRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the properties and relationships of a recommendationConfiguration object. + * @param RecommendationConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/recommendationconfiguration-get?view=graph-rest-beta Find more info here + */ + public function get(?RecommendationConfigurationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RecommendationConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a recommendationConfiguration object. + * @param RecommendationConfiguration $body The request body + * @param RecommendationConfigurationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/recommendationconfiguration-update?view=graph-rest-beta Find more info here + */ + public function patch(RecommendationConfiguration $body, ?RecommendationConfigurationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RecommendationConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property recommendationConfiguration for directory + * @param RecommendationConfigurationRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?RecommendationConfigurationRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Read the properties and relationships of a recommendationConfiguration object. + * @param RecommendationConfigurationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RecommendationConfigurationRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the properties of a recommendationConfiguration object. + * @param RecommendationConfiguration $body The request body + * @param RecommendationConfigurationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(RecommendationConfiguration $body, ?RecommendationConfigurationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RecommendationConfigurationRequestBuilder + */ + public function withUrl(string $rawUrl): RecommendationConfigurationRequestBuilder { + return new RecommendationConfigurationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..80a1a680b0d --- /dev/null +++ b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderGetQueryParameters.php b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..baa48b31d5a --- /dev/null +++ b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new RecommendationConfigurationRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderGetRequestConfiguration.php b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7a0f59cfe43 --- /dev/null +++ b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RecommendationConfigurationRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RecommendationConfigurationRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RecommendationConfigurationRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RecommendationConfigurationRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RecommendationConfigurationRequestBuilderGetQueryParameters { + return new RecommendationConfigurationRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderPatchRequestConfiguration.php b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..cf206c7b0ac --- /dev/null +++ b/src/Generated/Directory/RecommendationConfiguration/RecommendationConfigurationRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php index b206e5aded2..9b43142f53b 100644 --- a/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.php @@ -31,7 +31,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress. + * Create a copy of a driveItem asynchronously. You can optionally copy exclusively the child items, specify a new parent folder, or provide a new name. Once the request is accepted, the operation is queued and processed asynchronously. Use the monitor URL to track progress until the operation completes. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -47,7 +47,7 @@ public function post(CopyPostRequestBody $body, ?CopyRequestBuilderPostRequestCo } /** - * Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress. + * Create a copy of a driveItem asynchronously. You can optionally copy exclusively the child items, specify a new parent folder, or provide a new name. Once the request is accepted, the operation is queued and processed asynchronously. Use the monitor URL to track progress until the operation completes. * @param CopyPostRequestBody $body The request body * @param CopyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php index e468055ba20..df80c14d76f 100644 --- a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php @@ -60,12 +60,12 @@ public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $reques } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta Find more info here */ public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestC } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php index fff3ff6a884..279933d21b5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php index e08b72b5239..c73efe7954e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php index 0d5ef862a00..dca84c873f1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php index 356decbd96f..c01e0890796 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php index 1b0f178ce0b..3f1516f582a 100644 --- a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php @@ -109,12 +109,12 @@ public function get(?EducationUserItemRequestBuilderGetRequestConfiguration $req } /** - * Update the relatedContact collection of an educationUser object. + * Update the properties of an educationuser object. * @param EducationUser $body The request body * @param EducationUserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta Find more info here */ public function patch(EducationUser $body, ?EducationUserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -163,7 +163,7 @@ public function toGetRequestInformation(?EducationUserItemRequestBuilderGetReque } /** - * Update the relatedContact collection of an educationUser object. + * Update the properties of an educationuser object. * @param EducationUser $body The request body * @param EducationUserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.php b/src/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.php index f0613410145..205c3e2c406 100644 --- a/src/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.php +++ b/src/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Beta\Generated\EmployeeExperience\LearningCourseActivities\LearningCourseActivitiesRequestBuilder; use Microsoft\Graph\Beta\Generated\EmployeeExperience\LearningCourseActivitiesWithExternalcourseActivityId\LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder; use Microsoft\Graph\Beta\Generated\EmployeeExperience\LearningProviders\LearningProvidersRequestBuilder; +use Microsoft\Graph\Beta\Generated\EmployeeExperience\Roles\RolesRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\EmployeeExperience; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -57,6 +58,13 @@ public function learningProviders(): LearningProvidersRequestBuilder { return new LearningProvidersRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. + */ + public function roles(): RolesRequestBuilder { + return new RolesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new EmployeeExperienceRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. @@ -96,7 +104,7 @@ public function learningCourseActivitiesWithExternalcourseActivityId(string $ext /** * Update employeeExperience - * @param EmployeeExperience $body Represents a container that exposes navigation properties for employee experience resources. + * @param EmployeeExperience $body The request body * @param EmployeeExperienceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -132,7 +140,7 @@ public function toGetRequestInformation(?EmployeeExperienceRequestBuilderGetRequ /** * Update employeeExperience - * @param EmployeeExperience $body Represents a container that exposes navigation properties for employee experience resources. + * @param EmployeeExperience $body The request body * @param EmployeeExperienceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Identity/ProductChanges/Count/CountRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/Count/CountRequestBuilder.php similarity index 94% rename from src/Generated/Identity/ProductChanges/Count/CountRequestBuilder.php rename to src/Generated/EmployeeExperience/Roles/Count/CountRequestBuilder.php index cc3c4b390ee..e493fc9aa54 100644 --- a/src/Generated/Identity/ProductChanges/Count/CountRequestBuilder.php +++ b/src/Generated/EmployeeExperience/Roles/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Identity/ProductChanges/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Count/CountRequestBuilderGetQueryParameters.php similarity index 92% rename from src/Generated/Identity/ProductChanges/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/EmployeeExperience/Roles/Count/CountRequestBuilderGetQueryParameters.php index 873218f3a2a..a2e0289ac0b 100644 --- a/src/Generated/Identity/ProductChanges/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/Roles/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new EngagementRoleItemRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/identity/productChanges/{changeItemBase%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +39,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property productChanges for identity - * @param ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property roles for employeeExperience + * @param EngagementRoleItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?EngagementRoleItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +53,40 @@ public function delete(?ChangeItemBaseItemRequestBuilderDeleteRequestConfigurati } /** - * Represents entry point for Microsoft Entra product changes and planned new features. - * @param ChangeItemBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * A collection of roles in Viva Engage. + * @param EngagementRoleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?ChangeItemBaseItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?EngagementRoleItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ChangeItemBase::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRole::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property productChanges in identity - * @param ChangeItemBase $body The request body - * @param ChangeItemBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property roles in employeeExperience + * @param EngagementRole $body The request body + * @param EngagementRoleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(ChangeItemBase $body, ?ChangeItemBaseItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(EngagementRole $body, ?EngagementRoleItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ChangeItemBase::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRole::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property productChanges for identity - * @param ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property roles for employeeExperience + * @param EngagementRoleItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?EngagementRoleItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -91,11 +99,11 @@ public function toDeleteRequestInformation(?ChangeItemBaseItemRequestBuilderDele } /** - * Represents entry point for Microsoft Entra product changes and planned new features. - * @param ChangeItemBaseItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * A collection of roles in Viva Engage. + * @param EngagementRoleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?ChangeItemBaseItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?EngagementRoleItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -112,12 +120,12 @@ public function toGetRequestInformation(?ChangeItemBaseItemRequestBuilderGetRequ } /** - * Update the navigation property productChanges in identity - * @param ChangeItemBase $body The request body - * @param ChangeItemBaseItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property roles in employeeExperience + * @param EngagementRole $body The request body + * @param EngagementRoleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(ChangeItemBase $body, ?ChangeItemBaseItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(EngagementRole $body, ?EngagementRoleItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -134,10 +142,10 @@ public function toPatchRequestInformation(ChangeItemBase $body, ?ChangeItemBaseI /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param string $rawUrl The raw URL to use for the request builder. - * @return ChangeItemBaseItemRequestBuilder + * @return EngagementRoleItemRequestBuilder */ - public function withUrl(string $rawUrl): ChangeItemBaseItemRequestBuilder { - return new ChangeItemBaseItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): EngagementRoleItemRequestBuilder { + return new EngagementRoleItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderDeleteRequestConfiguration.php similarity index 75% rename from src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderDeleteRequestConfiguration.php index 5b67c2c8439..030c696d645 100644 --- a/src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderGetQueryParameters.php similarity index 72% rename from src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderGetQueryParameters.php rename to src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderGetQueryParameters.php index 7b21ed69ab8..18e9cefe33c 100644 --- a/src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderGetRequestConfiguration.php similarity index 60% rename from src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderGetRequestConfiguration.php rename to src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderGetRequestConfiguration.php index 12c6f050d20..f8d88896659 100644 --- a/src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ChangeItemBaseItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param EngagementRoleItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ChangeItemBaseItemRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?EngagementRoleItemRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ChangeItemBaseItemRequestBuilderGetQueryParameters. + * Instantiates a new EngagementRoleItemRequestBuilderGetQueryParameters. * @param array|null $expand Expand related entities * @param array|null $select Select properties to be returned - * @return ChangeItemBaseItemRequestBuilderGetQueryParameters + * @return EngagementRoleItemRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ChangeItemBaseItemRequestBuilderGetQueryParameters { - return new ChangeItemBaseItemRequestBuilderGetQueryParameters($expand, $select); + public static function createQueryParameters(?array $expand = null, ?array $select = null): EngagementRoleItemRequestBuilderGetQueryParameters { + return new EngagementRoleItemRequestBuilderGetQueryParameters($expand, $select); } } diff --git a/src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderPatchRequestConfiguration.php similarity index 75% rename from src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderPatchRequestConfiguration.php index 742a5c53a7b..3eb157da8c9 100644 --- a/src/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..a84f05ea9b7 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b07fdca8f16 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..46be0c507f1 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.php new file mode 100644 index 00000000000..2b1ba7e4661 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new EngagementRoleMemberItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a Viva Engage role from a user. + * @param EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/engagementrole-delete-members?view=graph-rest-beta Find more info here + */ + public function delete(?EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Users who have been assigned this role. + * @param EngagementRoleMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?EngagementRoleMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property members in employeeExperience + * @param EngagementRoleMember $body The request body + * @param EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(EngagementRoleMember $body, ?EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a Viva Engage role from a user. + * @param EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Users who have been assigned this role. + * @param EngagementRoleMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?EngagementRoleMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property members in employeeExperience + * @param EngagementRoleMember $body The request body + * @param EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(EngagementRoleMember $body, ?EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return EngagementRoleMemberItemRequestBuilder + */ + public function withUrl(string $rawUrl): EngagementRoleMemberItemRequestBuilder { + return new EngagementRoleMemberItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c345840de03 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5a1179e5b60 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new EngagementRoleMemberItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..55402dce71c --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param EngagementRoleMemberItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?EngagementRoleMemberItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new EngagementRoleMemberItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return EngagementRoleMemberItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): EngagementRoleMemberItemRequestBuilderGetQueryParameters { + return new EngagementRoleMemberItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..12542b36cc8 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php new file mode 100644 index 00000000000..9af19ba7258 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -0,0 +1,112 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MailboxSettingsRequestBuilder + */ + public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { + return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..cd5cad1e163 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9c2902c8b78 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MailboxSettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { + return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..2d0ff34099b --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..2fbc720967e --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9cf6bd30798 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ff7df545626 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php new file mode 100644 index 00000000000..1d69a81cb9b --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -0,0 +1,85 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ServiceProvisioningErrorsRequestBuilder + */ + public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { + return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7381103621d --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..26c237f1552 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { + return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.php new file mode 100644 index 00000000000..987b1d7f705 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilder.php @@ -0,0 +1,93 @@ +pathParameters, $this->requestAdapter); + } + + /** + * The serviceProvisioningErrors property + */ + public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { + return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new UserRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * User entity of the member who has been assigned the role. + * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?UserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * User entity of the member who has been assigned the role. + * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return UserRequestBuilder + */ + public function withUrl(string $rawUrl): UserRequestBuilder { + return new UserRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a4c4a16b591 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new UserRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ce5656fd5de --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/Item/User/UserRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UserRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UserRequestBuilderGetQueryParameters { + return new UserRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.php new file mode 100644 index 00000000000..c917d10a643 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + * @param string $engagementRoleMemberId The unique identifier of engagementRoleMember + * @return EngagementRoleMemberItemRequestBuilder + */ + public function byEngagementRoleMemberId(string $engagementRoleMemberId): EngagementRoleMemberItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['engagementRoleMember%2Did'] = $engagementRoleMemberId; + return new EngagementRoleMemberItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new MembersRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of the engagementRoleMember objects and their properties. + * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/engagementrole-list-members?view=graph-rest-beta Find more info here + */ + public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleMemberCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Assign a Viva Engage role to a user. + * @param EngagementRoleMember $body The request body + * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/engagementrole-post-members?view=graph-rest-beta Find more info here + */ + public function post(EngagementRoleMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the engagementRoleMember objects and their properties. + * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Assign a Viva Engage role to a user. + * @param EngagementRoleMember $body The request body + * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EngagementRoleMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MembersRequestBuilder + */ + public function withUrl(string $rawUrl): MembersRequestBuilder { + return new MembersRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderGetQueryParameters.php similarity index 86% rename from src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderGetQueryParameters.php rename to src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderGetQueryParameters.php index 1e855383f1f..d8b753dfae8 100644 --- a/src/Generated/Identity/ProductChanges/ProductChangesRequestBuilderGetQueryParameters.php +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..28a70460a0d --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MembersRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MembersRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MembersRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return MembersRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): MembersRequestBuilderGetQueryParameters { + return new MembersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderPostRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..acee4558e0c --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/Item/Members/MembersRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/RolesRequestBuilder.php b/src/Generated/EmployeeExperience/Roles/RolesRequestBuilder.php new file mode 100644 index 00000000000..b8e94e1f11b --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/RolesRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity. + * @param string $engagementRoleId The unique identifier of engagementRole + * @return EngagementRoleItemRequestBuilder + */ + public function byEngagementRoleId(string $engagementRoleId): EngagementRoleItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['engagementRole%2Did'] = $engagementRoleId; + return new EngagementRoleItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RolesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of all the roles that can be assigned in Viva Engage. + * @param RolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/employeeexperience-list-roles?view=graph-rest-beta Find more info here + */ + public function get(?RolesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to roles for employeeExperience + * @param EngagementRole $body The request body + * @param RolesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EngagementRole $body, ?RolesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRole::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of all the roles that can be assigned in Viva Engage. + * @param RolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RolesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to roles for employeeExperience + * @param EngagementRole $body The request body + * @param RolesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EngagementRole $body, ?RolesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return RolesRequestBuilder + */ + public function withUrl(string $rawUrl): RolesRequestBuilder { + return new RolesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderGetQueryParameters.php b/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6ae33c40dec --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new RolesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderGetRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2027e12ee96 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RolesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RolesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RolesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return RolesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): RolesRequestBuilderGetQueryParameters { + return new RolesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderPostRequestConfiguration.php b/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1f96ef18546 --- /dev/null +++ b/src/Generated/EmployeeExperience/Roles/RolesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php index 546a1e2fc7d..32b96f3351d 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?ExternalItemItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of an externalitem. + * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-beta Find more info here */ public function put(ExternalItem $body, ?ExternalItemItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -131,7 +131,7 @@ public function toGetRequestInformation(?ExternalItemItemRequestBuilderGetReques } /** - * Update the properties of an externalitem. + * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php index 26facd490f9..6d7bb079fd5 100644 --- a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php @@ -46,12 +46,12 @@ public function get(?SchemaRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new or update an existing schema for a Microsoft Search connection. + * Update the properties of a schema for an externalConnection. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/externalconnectors-schema-update?view=graph-rest-beta Find more info here */ public function patch(Schema $body, ?SchemaRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } /** - * Create a new or update an existing schema for a Microsoft Search connection. + * Update the properties of a schema for an externalConnection. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.php b/src/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.php index b8eb7c5393c..e79b35a1e3a 100644 --- a/src/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.php +++ b/src/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?InboundFlowItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the properties of an inboundApiFlow object. + * Update the properties of an inboundFileFlow object. * @param InboundFlow $body The request body * @param InboundFlowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-update?view=graph-rest-beta Find more info here */ public function patch(InboundFlow $body, ?InboundFlowItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -131,7 +131,7 @@ public function toGetRequestInformation(?InboundFlowItemRequestBuilderGetRequest } /** - * Update the properties of an inboundApiFlow object. + * Update the properties of an inboundFileFlow object. * @param InboundFlow $body The request body * @param InboundFlowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/GroupsRequestBuilder.php index e484e11c847..d7217fcbcb1 100644 --- a/src/Generated/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/GroupsRequestBuilder.php @@ -107,12 +107,12 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-beta Find more info here */ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -144,7 +144,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php index 3d4b6e9938c..232151dfb25 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-beta Find more info here */ public function post(Conversation $body, ?ConversationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?ConversationsRequestBuilderGetRequestCo } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index ffdeddae26b..07fdf1140c7 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -39,11 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete conversation. + * Delete a group's conversation object. * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-beta Find more info here */ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -69,7 +69,7 @@ public function get(?ConversationItemRequestBuilderGetRequestConfiguration $requ } /** - * Delete conversation. + * Delete a group's conversation object. * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php index b0d8cc90171..19c8d0ef7f7 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php new file mode 100644 index 00000000000..9526a1e424a --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ConfirmForUserPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfirmForUserPostRequestBody { + return new ConfirmForUserPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]; + } + + /** + * Gets the userId property value. The userId property + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('userId', $this->getUserId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the userId property value. The userId property + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php new file mode 100644 index 00000000000..53e210ec94c --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirmForUser'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action confirmForUser + * @param ConfirmForUserPostRequestBody $body The request body + * @param ConfirmForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ConfirmForUserPostRequestBody $body, ?ConfirmForUserRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action confirmForUser + * @param ConfirmForUserPostRequestBody $body The request body + * @param ConfirmForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ConfirmForUserPostRequestBody $body, ?ConfirmForUserRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmForUserRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmForUserRequestBuilder { + return new ConfirmForUserRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..dd52f466413 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php index 6b72fb885f4..45045025667 100644 --- a/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Schedule\TimeCards\Item\ClockOut\ClockOutRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Schedule\TimeCards\Item\Confirm\ConfirmRequestBuilder; +use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Schedule\TimeCards\Item\ConfirmForUser\ConfirmForUserRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Schedule\TimeCards\Item\EndBreak\EndBreakRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Team\Schedule\TimeCards\Item\StartBreak\StartBreakRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; @@ -34,6 +35,13 @@ public function confirm(): ConfirmRequestBuilder { return new ConfirmRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the confirmForUser method. + */ + public function confirmForUser(): ConfirmForUserRequestBuilder { + return new ConfirmForUserRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the endBreak method. */ diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index cecd9c98d9a..81808fa0b9b 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -62,11 +62,11 @@ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfigu } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-beta Find more info here */ public function get(?ConversationThreadItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -110,7 +110,7 @@ public function toDeleteRequestInformation(?ConversationThreadItemRequestBuilder } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php index 1efafc25e21..1915dc29631 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. */ class ConversationThreadItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php index eeb57a1ac0d..5f23ac7e6cb 100644 --- a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/IdentityRequestBuilder.php b/src/Generated/Identity/IdentityRequestBuilder.php index c3e17fd64f4..ffd6cd05109 100644 --- a/src/Generated/Identity/IdentityRequestBuilder.php +++ b/src/Generated/Identity/IdentityRequestBuilder.php @@ -13,7 +13,6 @@ use Microsoft\Graph\Beta\Generated\Identity\ContinuousAccessEvaluationPolicy\ContinuousAccessEvaluationPolicyRequestBuilder; use Microsoft\Graph\Beta\Generated\Identity\CustomAuthenticationExtensions\CustomAuthenticationExtensionsRequestBuilder; use Microsoft\Graph\Beta\Generated\Identity\IdentityProviders\IdentityProvidersRequestBuilder; -use Microsoft\Graph\Beta\Generated\Identity\ProductChanges\ProductChangesRequestBuilder; use Microsoft\Graph\Beta\Generated\Identity\UserFlowAttributes\UserFlowAttributesRequestBuilder; use Microsoft\Graph\Beta\Generated\Identity\UserFlows\UserFlowsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\IdentityContainer; @@ -91,13 +90,6 @@ public function identityProviders(): IdentityProvidersRequestBuilder { return new IdentityProvidersRequestBuilder($this->pathParameters, $this->requestAdapter); } - /** - * Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. - */ - public function productChanges(): ProductChangesRequestBuilder { - return new ProductChangesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - /** * Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.php index 259de24f911..e4ff8094d87 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @param CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-beta Find more info here */ public function delete(?CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(CustomAccessPackageWorkflowExtension $body, ?CustomAccessP } /** - * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @param CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php index 4960c159ce9..d72b48f3958 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -120,11 +120,11 @@ public function delete(?AccessPackageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta Find more info here */ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -168,7 +168,7 @@ public function toDeleteRequestInformation(?AccessPackageItemRequestBuilderDelet } /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php index b1ff43ca6d4..b2fe7f6b346 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. */ class AccessPackageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.php index 3f3f153e35a..2d677a00bce 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.php @@ -65,11 +65,11 @@ public function delete(?AccessPackagesWithUniqueNameRequestBuilderDeleteRequestC } /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. * @param AccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta Find more info here */ public function get(?AccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -113,7 +113,7 @@ public function toDeleteRequestInformation(?AccessPackagesWithUniqueNameRequestB } /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. * @param AccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters.php index 62a3fe523c2..8900e6f934e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + * Retrieve the properties and relationships of an accessPackage object. */ class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php index f50d814df51..56c8ddec4c5 100644 --- a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?RiskDetectionItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties of a riskDetection object. + * Retrieve the properties of a collection of riskDetection objects. * @param RiskDetectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta Find more info here */ public function get(?RiskDetectionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?RiskDetectionItemRequestBuilderDelet } /** - * Retrieve the properties of a riskDetection object. + * Retrieve the properties of a collection of riskDetection objects. * @param RiskDetectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilderGetQueryParameters.php index d07753ed90d..0ed3e0e8b9c 100644 --- a/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a riskDetection object. + * Retrieve the properties of a collection of riskDetection objects. */ class RiskDetectionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.php b/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.php new file mode 100644 index 00000000000..5618ea196cc --- /dev/null +++ b/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ConfirmSafePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfirmSafePostRequestBody { + return new ConfirmSafePostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'userIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setUserIds($val); + }, + ]; + } + + /** + * Gets the userIds property value. The userIds property + * @return array|null + */ + public function getUserIds(): ?array { + $val = $this->getBackingStore()->get('userIds'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userIds'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('userIds', $this->getUserIds()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the userIds property value. The userIds property + * @param array|null $value Value to set for the userIds property. + */ + public function setUserIds(?array $value): void { + $this->getBackingStore()->set('userIds', $value); + } + +} diff --git a/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.php new file mode 100644 index 00000000000..fe251324f0d --- /dev/null +++ b/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/identityProtection/riskyUsers/confirmSafe'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + * @param ConfirmSafePostRequestBody $body The request body + * @param ConfirmSafeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/riskyuser-confirmsafe?view=graph-rest-beta Find more info here + */ + public function post(ConfirmSafePostRequestBody $body, ?ConfirmSafeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + * @param ConfirmSafePostRequestBody $body The request body + * @param ConfirmSafeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ConfirmSafePostRequestBody $body, ?ConfirmSafeRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmSafeRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmSafeRequestBuilder { + return new ConfirmSafeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php b/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..d0b7608f2f0 --- /dev/null +++ b/src/Generated/IdentityProtection/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php index ca15f1e40bd..9fe4b800fc4 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.php @@ -5,6 +5,7 @@ use Exception; use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\IdentityProtection\RiskyUsers\ConfirmCompromised\ConfirmCompromisedRequestBuilder; +use Microsoft\Graph\Beta\Generated\IdentityProtection\RiskyUsers\ConfirmSafe\ConfirmSafeRequestBuilder; use Microsoft\Graph\Beta\Generated\IdentityProtection\RiskyUsers\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\IdentityProtection\RiskyUsers\Dismiss\DismissRequestBuilder; use Microsoft\Graph\Beta\Generated\IdentityProtection\RiskyUsers\Item\RiskyUserItemRequestBuilder; @@ -28,6 +29,13 @@ public function confirmCompromised(): ConfirmCompromisedRequestBuilder { return new ConfirmCompromisedRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the confirmSafe method. + */ + public function confirmSafe(): ConfirmSafeRequestBuilder { + return new ConfirmSafeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -68,11 +76,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of a collection of riskyUser objects. + * Retrieve the properties and relationships of a riskyUser object. * @param RiskyUsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-beta Find more info here */ public function get(?RiskyUsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,7 +106,7 @@ public function post(RiskyUser $body, ?RiskyUsersRequestBuilderPostRequestConfig } /** - * Retrieve the properties and relationships of a collection of riskyUser objects. + * Retrieve the properties and relationships of a riskyUser object. * @param RiskyUsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilderGetQueryParameters.php index 0823016ce86..e634d2cdae6 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of a collection of riskyUser objects. + * Retrieve the properties and relationships of a riskyUser object. */ class RiskyUsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/Announcement.php b/src/Generated/Models/Announcement.php deleted file mode 100644 index 6c6cf89b6bb..00000000000 --- a/src/Generated/Models/Announcement.php +++ /dev/null @@ -1,157 +0,0 @@ -setOdataType('#microsoft.graph.announcement'); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Announcement - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Announcement { - return new Announcement(); - } - - /** - * Gets the announcementDateTime property value. Change announcement date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - * @return DateTime|null - */ - public function getAnnouncementDateTime(): ?DateTime { - $val = $this->getBackingStore()->get('announcementDateTime'); - if (is_null($val) || $val instanceof DateTime) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'announcementDateTime'"); - } - - /** - * Gets the changeType property value. The changeType property - * @return ChangeAnnouncementChangeType|null - */ - public function getChangeType(): ?ChangeAnnouncementChangeType { - $val = $this->getBackingStore()->get('changeType'); - if (is_null($val) || $val instanceof ChangeAnnouncementChangeType) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'changeType'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'announcementDateTime' => fn(ParseNode $n) => $o->setAnnouncementDateTime($n->getDateTimeValue()), - 'changeType' => fn(ParseNode $n) => $o->setChangeType($n->getEnumValue(ChangeAnnouncementChangeType::class)), - 'impactLink' => fn(ParseNode $n) => $o->setImpactLink($n->getStringValue()), - 'isCustomerActionRequired' => fn(ParseNode $n) => $o->setIsCustomerActionRequired($n->getBooleanValue()), - 'targetDateTime' => fn(ParseNode $n) => $o->setTargetDateTime($n->getDateTimeValue()), - ]); - } - - /** - * Gets the impactLink property value. Change impact URL. Supports $filter (eq, ne, in) and $orderby. - * @return string|null - */ - public function getImpactLink(): ?string { - $val = $this->getBackingStore()->get('impactLink'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'impactLink'"); - } - - /** - * Gets the isCustomerActionRequired property value. Indicates whether the customer needs to take any action for this change. Supports $filter (eq, ne). - * @return bool|null - */ - public function getIsCustomerActionRequired(): ?bool { - $val = $this->getBackingStore()->get('isCustomerActionRequired'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'isCustomerActionRequired'"); - } - - /** - * Gets the targetDateTime property value. Date on which the change rolls out. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - * @return DateTime|null - */ - public function getTargetDateTime(): ?DateTime { - $val = $this->getBackingStore()->get('targetDateTime'); - if (is_null($val) || $val instanceof DateTime) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'targetDateTime'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeDateTimeValue('announcementDateTime', $this->getAnnouncementDateTime()); - $writer->writeEnumValue('changeType', $this->getChangeType()); - $writer->writeStringValue('impactLink', $this->getImpactLink()); - $writer->writeBooleanValue('isCustomerActionRequired', $this->getIsCustomerActionRequired()); - $writer->writeDateTimeValue('targetDateTime', $this->getTargetDateTime()); - } - - /** - * Sets the announcementDateTime property value. Change announcement date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - * @param DateTime|null $value Value to set for the announcementDateTime property. - */ - public function setAnnouncementDateTime(?DateTime $value): void { - $this->getBackingStore()->set('announcementDateTime', $value); - } - - /** - * Sets the changeType property value. The changeType property - * @param ChangeAnnouncementChangeType|null $value Value to set for the changeType property. - */ - public function setChangeType(?ChangeAnnouncementChangeType $value): void { - $this->getBackingStore()->set('changeType', $value); - } - - /** - * Sets the impactLink property value. Change impact URL. Supports $filter (eq, ne, in) and $orderby. - * @param string|null $value Value to set for the impactLink property. - */ - public function setImpactLink(?string $value): void { - $this->getBackingStore()->set('impactLink', $value); - } - - /** - * Sets the isCustomerActionRequired property value. Indicates whether the customer needs to take any action for this change. Supports $filter (eq, ne). - * @param bool|null $value Value to set for the isCustomerActionRequired property. - */ - public function setIsCustomerActionRequired(?bool $value): void { - $this->getBackingStore()->set('isCustomerActionRequired', $value); - } - - /** - * Sets the targetDateTime property value. Date on which the change rolls out. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - * @param DateTime|null $value Value to set for the targetDateTime property. - */ - public function setTargetDateTime(?DateTime $value): void { - $this->getBackingStore()->set('targetDateTime', $value); - } - -} diff --git a/src/Generated/Models/AppScope.php b/src/Generated/Models/AppScope.php index f918ef2c941..e8d4c0c0065 100644 --- a/src/Generated/Models/AppScope.php +++ b/src/Generated/Models/AppScope.php @@ -32,7 +32,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): AppSc } /** - * Gets the displayName property value. Provides the display name of the app-specific resource represented by the app scope. Provided for display purposes since appScopeId is often an immutable, non-human-readable ID. Read only. + * Gets the displayName property value. Provides the display name of the app-specific resource represented by the app scope. Read only. * @return string|null */ public function getDisplayName(): ?string { @@ -56,7 +56,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the type property value. Describes the type of app-specific resource represented by the app scope. For display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read only. + * Gets the type property value. Describes the type of app-specific resource represented by the app scope. Read-only. * @return string|null */ public function getType(): ?string { @@ -78,7 +78,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the displayName property value. Provides the display name of the app-specific resource represented by the app scope. Provided for display purposes since appScopeId is often an immutable, non-human-readable ID. Read only. + * Sets the displayName property value. Provides the display name of the app-specific resource represented by the app scope. Read only. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -86,7 +86,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the type property value. Describes the type of app-specific resource represented by the app scope. For display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read only. + * Sets the type property value. Describes the type of app-specific resource represented by the app scope. Read-only. * @param string|null $value Value to set for the type property. */ public function setType(?string $value): void { diff --git a/src/Generated/Models/Application.php b/src/Generated/Models/Application.php index 4734b1e47fa..0f3549c1e01 100644 --- a/src/Generated/Models/Application.php +++ b/src/Generated/Models/Application.php @@ -315,7 +315,7 @@ public function getHomeRealmDiscoveryPolicies(): ?array { } /** - * Gets the identifierUris property value. 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 reference in your API's code, and it must be globally unique. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * Gets the identifierUris property value. 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 reference in your API's code, and it must be globally unique across Microsoft Entra ID. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). * @return array|null */ public function getIdentifierUris(): ?array { @@ -895,7 +895,7 @@ public function setHomeRealmDiscoveryPolicies(?array $value): void { } /** - * Sets the identifierUris property value. 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 reference in your API's code, and it must be globally unique. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + * Sets the identifierUris property value. 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 reference in your API's code, and it must be globally unique across Microsoft Entra ID. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). * @param array|null $value Value to set for the identifierUris property. */ public function setIdentifierUris(?array $value): void { diff --git a/src/Generated/Models/AuditActivityInitiator.php b/src/Generated/Models/AuditActivityInitiator.php index d258ab4f64f..47964ffee4b 100644 --- a/src/Generated/Models/AuditActivityInitiator.php +++ b/src/Generated/Models/AuditActivityInitiator.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the app property value. If the actor initiating the activity is an app, this property indicates all its identification information including appId, displayName, servicePrincipalId, and servicePrincipalName. + * Gets the app property value. If the resource initiating the activity is an app, this property indicates all the app related information like appId and name. * @return AppIdentity|null */ public function getApp(): ?AppIdentity { @@ -106,7 +106,7 @@ public function getOdataType(): ?string { } /** - * Gets the user property value. If the actor initiating the activity is a user, this property indicates their identification information including their id, displayName, and userPrincipalName. + * Gets the user property value. If the resource initiating the activity is a user, this property Indicates all the user related information like user ID and userPrincipalName. * @return AuditUserIdentity|null */ public function getUser(): ?AuditUserIdentity { @@ -138,7 +138,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the app property value. If the actor initiating the activity is an app, this property indicates all its identification information including appId, displayName, servicePrincipalId, and servicePrincipalName. + * Sets the app property value. If the resource initiating the activity is an app, this property indicates all the app related information like appId and name. * @param AppIdentity|null $value Value to set for the app property. */ public function setApp(?AppIdentity $value): void { @@ -170,7 +170,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the user property value. If the actor initiating the activity is a user, this property indicates their identification information including their id, displayName, and userPrincipalName. + * Sets the user property value. If the resource initiating the activity is a user, this property Indicates all the user related information like user ID and userPrincipalName. * @param AuditUserIdentity|null $value Value to set for the user property. */ public function setUser(?AuditUserIdentity $value): void { diff --git a/src/Generated/Models/ChangeAnnouncementChangeType.php b/src/Generated/Models/ChangeAnnouncementChangeType.php deleted file mode 100644 index 3ab0fcd1849..00000000000 --- a/src/Generated/Models/ChangeAnnouncementChangeType.php +++ /dev/null @@ -1,17 +0,0 @@ -getChildNode("@odata.type"); - if ($mappingValueNode !== null) { - $mappingValue = $mappingValueNode->getStringValue(); - switch ($mappingValue) { - case '#microsoft.graph.announcement': return new Announcement(); - case '#microsoft.graph.roadmap': return new Roadmap(); - } - } - return new ChangeItemBase(); - } - - /** - * Gets the changeItemService property value. Specifies the Microsoft Entra service name to which this item belongs. Supports $filter (eq, ne, in) and $orderby. - * @return string|null - */ - public function getChangeItemService(): ?string { - $val = $this->getBackingStore()->get('changeItemService'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'changeItemService'"); - } - - /** - * Gets the description property value. Description of the new feature or change announcement. Supports $filter (eq, ne, in, startswith) and $orderby. - * @return string|null - */ - public function getDescription(): ?string { - $val = $this->getBackingStore()->get('description'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); - } - - /** - * Gets the documentationUrls property value. Link to the feature or change documentation. Supports $filter (any with eq). - * @return array|null - */ - public function getDocumentationUrls(): ?array { - $val = $this->getBackingStore()->get('documentationUrls'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'documentationUrls'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'changeItemService' => fn(ParseNode $n) => $o->setChangeItemService($n->getStringValue()), - 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), - 'documentationUrls' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setDocumentationUrls($val); - }, - 'shortDescription' => fn(ParseNode $n) => $o->setShortDescription($n->getStringValue()), - 'systemTags' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setSystemTags($val); - }, - 'tags' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setTags($val); - }, - 'title' => fn(ParseNode $n) => $o->setTitle($n->getStringValue()), - ]); - } - - /** - * Gets the shortDescription property value. A short description of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. - * @return string|null - */ - public function getShortDescription(): ?string { - $val = $this->getBackingStore()->get('shortDescription'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'shortDescription'"); - } - - /** - * Gets the systemTags property value. Microsoft Entra-specific tags. Example values: Top announcement - entraroadmaphighlightproductnews, New release highlight - entraroadmaphighlightnewfeature. Supports $filter (any with eq). - * @return array|null - */ - public function getSystemTags(): ?array { - $val = $this->getBackingStore()->get('systemTags'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'systemTags'"); - } - - /** - * Gets the tags property value. Identity and Access Management (IAM) related tags. Example values: External Identities, Reliability and Resilience. Supports $filter (any with eq). - * @return array|null - */ - public function getTags(): ?array { - $val = $this->getBackingStore()->get('tags'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'tags'"); - } - - /** - * Gets the title property value. Title of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. - * @return string|null - */ - public function getTitle(): ?string { - $val = $this->getBackingStore()->get('title'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'title'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeStringValue('changeItemService', $this->getChangeItemService()); - $writer->writeStringValue('description', $this->getDescription()); - $writer->writeCollectionOfPrimitiveValues('documentationUrls', $this->getDocumentationUrls()); - $writer->writeStringValue('shortDescription', $this->getShortDescription()); - $writer->writeCollectionOfPrimitiveValues('systemTags', $this->getSystemTags()); - $writer->writeCollectionOfPrimitiveValues('tags', $this->getTags()); - $writer->writeStringValue('title', $this->getTitle()); - } - - /** - * Sets the changeItemService property value. Specifies the Microsoft Entra service name to which this item belongs. Supports $filter (eq, ne, in) and $orderby. - * @param string|null $value Value to set for the changeItemService property. - */ - public function setChangeItemService(?string $value): void { - $this->getBackingStore()->set('changeItemService', $value); - } - - /** - * Sets the description property value. Description of the new feature or change announcement. Supports $filter (eq, ne, in, startswith) and $orderby. - * @param string|null $value Value to set for the description property. - */ - public function setDescription(?string $value): void { - $this->getBackingStore()->set('description', $value); - } - - /** - * Sets the documentationUrls property value. Link to the feature or change documentation. Supports $filter (any with eq). - * @param array|null $value Value to set for the documentationUrls property. - */ - public function setDocumentationUrls(?array $value): void { - $this->getBackingStore()->set('documentationUrls', $value); - } - - /** - * Sets the shortDescription property value. A short description of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. - * @param string|null $value Value to set for the shortDescription property. - */ - public function setShortDescription(?string $value): void { - $this->getBackingStore()->set('shortDescription', $value); - } - - /** - * Sets the systemTags property value. Microsoft Entra-specific tags. Example values: Top announcement - entraroadmaphighlightproductnews, New release highlight - entraroadmaphighlightnewfeature. Supports $filter (any with eq). - * @param array|null $value Value to set for the systemTags property. - */ - public function setSystemTags(?array $value): void { - $this->getBackingStore()->set('systemTags', $value); - } - - /** - * Sets the tags property value. Identity and Access Management (IAM) related tags. Example values: External Identities, Reliability and Resilience. Supports $filter (any with eq). - * @param array|null $value Value to set for the tags property. - */ - public function setTags(?array $value): void { - $this->getBackingStore()->set('tags', $value); - } - - /** - * Sets the title property value. Title of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. - * @param string|null $value Value to set for the title property. - */ - public function setTitle(?string $value): void { - $this->getBackingStore()->set('title', $value); - } - -} diff --git a/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php b/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php index 147965e94bd..4628f24c140 100644 --- a/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php +++ b/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php @@ -117,7 +117,7 @@ public function getEndDateTime(): ?DateTime { } /** - * Gets the errorType property value. The type of error that occurred during this health check. + * Gets the errorType property value. The type of error that occurred during this health check. For the list of possible values, see cloudPcOnPremisesConnectionHealthCheckErrorType. * @return CloudPcOnPremisesConnectionHealthCheckErrorType|null */ public function getErrorType(): ?CloudPcOnPremisesConnectionHealthCheckErrorType { @@ -271,7 +271,7 @@ public function setEndDateTime(?DateTime $value): void { } /** - * Sets the errorType property value. The type of error that occurred during this health check. + * Sets the errorType property value. The type of error that occurred during this health check. For the list of possible values, see cloudPcOnPremisesConnectionHealthCheckErrorType. * @param CloudPcOnPremisesConnectionHealthCheckErrorType|null $value Value to set for the errorType property. */ public function setErrorType(?CloudPcOnPremisesConnectionHealthCheckErrorType $value): void { diff --git a/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.php b/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.php index 580cc3085db..2a58ba8c7e9 100644 --- a/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.php +++ b/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheckErrorType.php @@ -53,6 +53,7 @@ class CloudPcOnPremisesConnectionHealthCheckErrorType extends Enum { public const RESOURCE_AVAILABILITY_CHECK_INTUNE_DEFAULT_WINDOWS_RESTRICTION_VIOLATION = "resourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation"; public const RESOURCE_AVAILABILITY_CHECK_INTUNE_CUSTOM_WINDOWS_RESTRICTION_VIOLATION = "resourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation"; public const RESOURCE_AVAILABILITY_CHECK_DEPLOYMENT_QUOTA_LIMIT_REACHED = "resourceAvailabilityCheckDeploymentQuotaLimitReached"; + public const RESOURCE_AVAILABILITY_CHECK_MISSING_REGISTRATION_FOR_LOCATION = "resourceAvailabilityCheckMissingRegistrationForLocation"; public const RESOURCE_AVAILABILITY_CHECK_TRANSIENT_SERVICE_ERROR = "resourceAvailabilityCheckTransientServiceError"; public const RESOURCE_AVAILABILITY_CHECK_UNKNOWN_ERROR = "resourceAvailabilityCheckUnknownError"; public const PERMISSION_CHECK_NO_SUBSCRIPTION_READER_ROLE = "permissionCheckNoSubscriptionReaderRole"; diff --git a/src/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.php b/src/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.php index 3dd6fc95408..230713141d4 100644 --- a/src/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.php +++ b/src/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.php @@ -36,6 +36,18 @@ public function getCronScheduleExpression(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'cronScheduleExpression'"); } + /** + * Gets the endDateTime property value. Indicates IT Admins can set an end date to define the last scheduler run before this time. If not set, the scheduler runs continuously. There is no time zone information at this time; it needs to be coordinated with timezone, for example, '2025-02-01 00:00:00' with 'China Standard Time' means the scheduling rule takes effect before Feb 01 2025 00:00:00 GMT+0800 (China Standard Time). + * @return string|null + */ + public function getEndDateTime(): ?string { + $val = $this->getBackingStore()->get('endDateTime'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'endDateTime'"); + } + /** * The deserialization information for the current model * @return array @@ -44,10 +56,26 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'cronScheduleExpression' => fn(ParseNode $n) => $o->setCronScheduleExpression($n->getStringValue()), + 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getStringValue()), + 'nextRunDateTime' => fn(ParseNode $n) => $o->setNextRunDateTime($n->getStringValue()), 'reservePercentage' => fn(ParseNode $n) => $o->setReservePercentage($n->getIntegerValue()), + 'startDateTime' => fn(ParseNode $n) => $o->setStartDateTime($n->getStringValue()), + 'timezone' => fn(ParseNode $n) => $o->setTimezone($n->getEnumValue(CloudPcPolicyTimezone::class)), ]); } + /** + * Gets the nextRunDateTime property value. Indicates IT Admins can see when the next automatic regular apply is executed. It needs to be coordinated with timezone, for example, '2025-01-01 00:00:00' with 'China Standard Time' means the next task executes at Jan 01 2025 00:00:00 GMT+0800 (China Standard Time). Read-Only. + * @return string|null + */ + public function getNextRunDateTime(): ?string { + $val = $this->getBackingStore()->get('nextRunDateTime'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'nextRunDateTime'"); + } + /** * Gets the reservePercentage property value. The percentage of Cloud PCs to keep available. Administrators can set this property to a value from 0 to 99. Cloud PCs are reprovisioned only when there are no active and connected Cloud PC users. Frontline shared only. * @return int|null @@ -60,6 +88,30 @@ public function getReservePercentage(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'reservePercentage'"); } + /** + * Gets the startDateTime property value. Indicates IT Admins can set a start date to define the first scheduler run after this time. If not set, the default is the current time. There is no time zone information at this time, it needs to be coordinated with timezone, for example, '2025-01-01 00:00:00' with 'China Standard Time' means the scheduling rule takes effect after Jan 01 2025 00:00:00 GMT+0800 (China Standard Time). + * @return string|null + */ + public function getStartDateTime(): ?string { + $val = $this->getBackingStore()->get('startDateTime'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'startDateTime'"); + } + + /** + * Gets the timezone property value. The timezone property + * @return CloudPcPolicyTimezone|null + */ + public function getTimezone(): ?CloudPcPolicyTimezone { + $val = $this->getBackingStore()->get('timezone'); + if (is_null($val) || $val instanceof CloudPcPolicyTimezone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'timezone'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -67,7 +119,11 @@ public function getReservePercentage(): ?int { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('cronScheduleExpression', $this->getCronScheduleExpression()); + $writer->writeStringValue('endDateTime', $this->getEndDateTime()); + $writer->writeStringValue('nextRunDateTime', $this->getNextRunDateTime()); $writer->writeIntegerValue('reservePercentage', $this->getReservePercentage()); + $writer->writeStringValue('startDateTime', $this->getStartDateTime()); + $writer->writeEnumValue('timezone', $this->getTimezone()); } /** @@ -78,6 +134,22 @@ public function setCronScheduleExpression(?string $value): void { $this->getBackingStore()->set('cronScheduleExpression', $value); } + /** + * Sets the endDateTime property value. Indicates IT Admins can set an end date to define the last scheduler run before this time. If not set, the scheduler runs continuously. There is no time zone information at this time; it needs to be coordinated with timezone, for example, '2025-02-01 00:00:00' with 'China Standard Time' means the scheduling rule takes effect before Feb 01 2025 00:00:00 GMT+0800 (China Standard Time). + * @param string|null $value Value to set for the endDateTime property. + */ + public function setEndDateTime(?string $value): void { + $this->getBackingStore()->set('endDateTime', $value); + } + + /** + * Sets the nextRunDateTime property value. Indicates IT Admins can see when the next automatic regular apply is executed. It needs to be coordinated with timezone, for example, '2025-01-01 00:00:00' with 'China Standard Time' means the next task executes at Jan 01 2025 00:00:00 GMT+0800 (China Standard Time). Read-Only. + * @param string|null $value Value to set for the nextRunDateTime property. + */ + public function setNextRunDateTime(?string $value): void { + $this->getBackingStore()->set('nextRunDateTime', $value); + } + /** * Sets the reservePercentage property value. The percentage of Cloud PCs to keep available. Administrators can set this property to a value from 0 to 99. Cloud PCs are reprovisioned only when there are no active and connected Cloud PC users. Frontline shared only. * @param int|null $value Value to set for the reservePercentage property. @@ -86,4 +158,20 @@ public function setReservePercentage(?int $value): void { $this->getBackingStore()->set('reservePercentage', $value); } + /** + * Sets the startDateTime property value. Indicates IT Admins can set a start date to define the first scheduler run after this time. If not set, the default is the current time. There is no time zone information at this time, it needs to be coordinated with timezone, for example, '2025-01-01 00:00:00' with 'China Standard Time' means the scheduling rule takes effect after Jan 01 2025 00:00:00 GMT+0800 (China Standard Time). + * @param string|null $value Value to set for the startDateTime property. + */ + public function setStartDateTime(?string $value): void { + $this->getBackingStore()->set('startDateTime', $value); + } + + /** + * Sets the timezone property value. The timezone property + * @param CloudPcPolicyTimezone|null $value Value to set for the timezone property. + */ + public function setTimezone(?CloudPcPolicyTimezone $value): void { + $this->getBackingStore()->set('timezone', $value); + } + } diff --git a/src/Generated/Models/CloudPcPolicyTimezone.php b/src/Generated/Models/CloudPcPolicyTimezone.php new file mode 100644 index 00000000000..7919e5eb3a9 --- /dev/null +++ b/src/Generated/Models/CloudPcPolicyTimezone.php @@ -0,0 +1,40 @@ +|null */ public function getScheduledActionsForRule(): ?array { @@ -339,7 +339,7 @@ public function setRoleScopeTagIds(?array $value): void { } /** - * Sets the scheduledActionsForRule property value. The list of scheduled action for this rule + * Sets the scheduledActionsForRule property value. The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param array|null $value Value to set for the scheduledActionsForRule property. */ public function setScheduledActionsForRule(?array $value): void { diff --git a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php index 7d014191bdb..ba40cf6ddb9 100644 --- a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the maximumCount property value. Maximum number of choices in the collection + * Gets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 * @return int|null */ public function getMaximumCount(): ?int { @@ -49,7 +49,7 @@ public function getMaximumCount(): ?int { } /** - * Gets the minimumCount property value. Minimum number of choices in the collection + * Gets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 * @return int|null */ public function getMinimumCount(): ?int { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the maximumCount property value. Maximum number of choices in the collection + * Sets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 * @param int|null $value Value to set for the maximumCount property. */ public function setMaximumCount(?int $value): void { @@ -79,7 +79,7 @@ public function setMaximumCount(?int $value): void { } /** - * Sets the minimumCount property value. Minimum number of choices in the collection + * Sets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 * @param int|null $value Value to set for the minimumCount property. */ public function setMinimumCount(?int $value): void { diff --git a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.php b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.php index 7b76a170b98..fac8e0db529 100644 --- a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.php @@ -33,7 +33,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Devic } /** - * Gets the defaultOptionId property value. Default option for choice setting + * Gets the defaultOptionId property value. Default option for the choice setting. * @return string|null */ public function getDefaultOptionId(): ?string { @@ -57,7 +57,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the options property value. Options for the setting that can be selected + * Gets the options property value. Options for the setting that can be selected. * @return array|null */ public function getOptions(): ?array { @@ -81,7 +81,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the defaultOptionId property value. Default option for choice setting + * Sets the defaultOptionId property value. Default option for the choice setting. * @param string|null $value Value to set for the defaultOptionId property. */ public function setDefaultOptionId(?string $value): void { @@ -89,7 +89,7 @@ public function setDefaultOptionId(?string $value): void { } /** - * Sets the options property value. Options for the setting that can be selected + * Sets the options property value. Options for the setting that can be selected. * @param array|null $value Value to set for the options property. */ public function setOptions(?array $value): void { diff --git a/src/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.php b/src/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.php index a2778cbead7..4ca20155e81 100644 --- a/src/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.php @@ -33,7 +33,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Devic } /** - * Gets the defaultValue property value. Default setting value for this setting. + * Gets the defaultValue property value. Default setting value for this setting * @return DeviceManagementConfigurationSettingValue|null */ public function getDefaultValue(): ?DeviceManagementConfigurationSettingValue { @@ -45,7 +45,7 @@ public function getDefaultValue(): ?DeviceManagementConfigurationSettingValue { } /** - * Gets the dependedOnBy property value. list of child settings that depend on this setting. + * Gets the dependedOnBy property value. list of child settings that depend on this setting * @return array|null */ public function getDependedOnBy(): ?array { @@ -59,7 +59,7 @@ public function getDependedOnBy(): ?array { } /** - * Gets the dependentOn property value. list of parent settings this setting is dependent on. + * Gets the dependentOn property value. list of parent settings this setting is dependent on * @return array|null */ public function getDependentOn(): ?array { @@ -87,7 +87,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the valueDefinition property value. Definition of the value for this setting. + * Gets the valueDefinition property value. Definition of the value for this setting * @return DeviceManagementConfigurationSettingValueDefinition|null */ public function getValueDefinition(): ?DeviceManagementConfigurationSettingValueDefinition { @@ -111,7 +111,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the defaultValue property value. Default setting value for this setting. + * Sets the defaultValue property value. Default setting value for this setting * @param DeviceManagementConfigurationSettingValue|null $value Value to set for the defaultValue property. */ public function setDefaultValue(?DeviceManagementConfigurationSettingValue $value): void { @@ -119,7 +119,7 @@ public function setDefaultValue(?DeviceManagementConfigurationSettingValue $valu } /** - * Sets the dependedOnBy property value. list of child settings that depend on this setting. + * Sets the dependedOnBy property value. list of child settings that depend on this setting * @param array|null $value Value to set for the dependedOnBy property. */ public function setDependedOnBy(?array $value): void { @@ -127,7 +127,7 @@ public function setDependedOnBy(?array $value): void { } /** - * Sets the dependentOn property value. list of parent settings this setting is dependent on. + * Sets the dependentOn property value. list of parent settings this setting is dependent on * @param array|null $value Value to set for the dependentOn property. */ public function setDependentOn(?array $value): void { @@ -135,7 +135,7 @@ public function setDependentOn(?array $value): void { } /** - * Sets the valueDefinition property value. Definition of the value for this setting. + * Sets the valueDefinition property value. Definition of the value for this setting * @param DeviceManagementConfigurationSettingValueDefinition|null $value Value to set for the valueDefinition property. */ public function setValueDefinition(?DeviceManagementConfigurationSettingValueDefinition $value): void { diff --git a/src/Generated/Models/Directory.php b/src/Generated/Models/Directory.php index 9d76f01df7f..1dae9e18d39 100644 --- a/src/Generated/Models/Directory.php +++ b/src/Generated/Models/Directory.php @@ -184,6 +184,7 @@ public function getFieldDeserializers(): array { 'outboundSharedUserProfiles' => fn(ParseNode $n) => $o->setOutboundSharedUserProfiles($n->getCollectionOfObjectValues([OutboundSharedUserProfile::class, 'createFromDiscriminatorValue'])), 'pendingExternalUserProfiles' => fn(ParseNode $n) => $o->setPendingExternalUserProfiles($n->getCollectionOfObjectValues([PendingExternalUserProfile::class, 'createFromDiscriminatorValue'])), 'publicKeyInfrastructure' => fn(ParseNode $n) => $o->setPublicKeyInfrastructure($n->getObjectValue([PublicKeyInfrastructureRoot::class, 'createFromDiscriminatorValue'])), + 'recommendationConfiguration' => fn(ParseNode $n) => $o->setRecommendationConfiguration($n->getObjectValue([RecommendationConfiguration::class, 'createFromDiscriminatorValue'])), 'recommendations' => fn(ParseNode $n) => $o->setRecommendations($n->getCollectionOfObjectValues([Recommendation::class, 'createFromDiscriminatorValue'])), 'sharedEmailDomains' => fn(ParseNode $n) => $o->setSharedEmailDomains($n->getCollectionOfObjectValues([SharedEmailDomain::class, 'createFromDiscriminatorValue'])), 'subscriptions' => fn(ParseNode $n) => $o->setSubscriptions($n->getCollectionOfObjectValues([CompanySubscription::class, 'createFromDiscriminatorValue'])), @@ -273,6 +274,18 @@ public function getPublicKeyInfrastructure(): ?PublicKeyInfrastructureRoot { throw new \UnexpectedValueException("Invalid type found in backing store for 'publicKeyInfrastructure'"); } + /** + * Gets the recommendationConfiguration property value. The recommendationConfiguration property + * @return RecommendationConfiguration|null + */ + public function getRecommendationConfiguration(): ?RecommendationConfiguration { + $val = $this->getBackingStore()->get('recommendationConfiguration'); + if (is_null($val) || $val instanceof RecommendationConfiguration) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recommendationConfiguration'"); + } + /** * Gets the recommendations property value. List of recommended improvements to improve tenant posture. * @return array|null @@ -349,6 +362,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('outboundSharedUserProfiles', $this->getOutboundSharedUserProfiles()); $writer->writeCollectionOfObjectValues('pendingExternalUserProfiles', $this->getPendingExternalUserProfiles()); $writer->writeObjectValue('publicKeyInfrastructure', $this->getPublicKeyInfrastructure()); + $writer->writeObjectValue('recommendationConfiguration', $this->getRecommendationConfiguration()); $writer->writeCollectionOfObjectValues('recommendations', $this->getRecommendations()); $writer->writeCollectionOfObjectValues('sharedEmailDomains', $this->getSharedEmailDomains()); $writer->writeCollectionOfObjectValues('subscriptions', $this->getSubscriptions()); @@ -483,6 +497,14 @@ public function setPublicKeyInfrastructure(?PublicKeyInfrastructureRoot $value): $this->getBackingStore()->set('publicKeyInfrastructure', $value); } + /** + * Sets the recommendationConfiguration property value. The recommendationConfiguration property + * @param RecommendationConfiguration|null $value Value to set for the recommendationConfiguration property. + */ + public function setRecommendationConfiguration(?RecommendationConfiguration $value): void { + $this->getBackingStore()->set('recommendationConfiguration', $value); + } + /** * Sets the recommendations property value. List of recommended improvements to improve tenant posture. * @param array|null $value Value to set for the recommendations property. diff --git a/src/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.php b/src/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.php index 19d54a81fbd..1a2a038a135 100644 --- a/src/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.php +++ b/src/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Drive } /** - * Gets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + * Gets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. * @return array|null */ public function getDirectoryObjectIds(): ?array { @@ -90,7 +90,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + * Sets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. * @param array|null $value Value to set for the directoryObjectIds property. */ public function setDirectoryObjectIds(?array $value): void { diff --git a/src/Generated/Models/EducationAssignment.php b/src/Generated/Models/EducationAssignment.php index 6433ecf1fcf..ed7bfe5fa87 100644 --- a/src/Generated/Models/EducationAssignment.php +++ b/src/Generated/Models/EducationAssignment.php @@ -234,6 +234,7 @@ public function getFieldDeserializers(): array { 'gradingCategory' => fn(ParseNode $n) => $o->setGradingCategory($n->getObjectValue([EducationGradingCategory::class, 'createFromDiscriminatorValue'])), 'gradingScheme' => fn(ParseNode $n) => $o->setGradingScheme($n->getObjectValue([EducationGradingScheme::class, 'createFromDiscriminatorValue'])), 'instructions' => fn(ParseNode $n) => $o->setInstructions($n->getObjectValue([EducationItemBody::class, 'createFromDiscriminatorValue'])), + 'languageTag' => fn(ParseNode $n) => $o->setLanguageTag($n->getStringValue()), 'lastModifiedBy' => fn(ParseNode $n) => $o->setLastModifiedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), 'moduleUrl' => fn(ParseNode $n) => $o->setModuleUrl($n->getStringValue()), @@ -295,6 +296,18 @@ public function getInstructions(): ?EducationItemBody { throw new \UnexpectedValueException("Invalid type found in backing store for 'instructions'"); } + /** + * Gets the languageTag property value. Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. + * @return string|null + */ + public function getLanguageTag(): ?string { + $val = $this->getBackingStore()->get('languageTag'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'languageTag'"); + } + /** * Gets the lastModifiedBy property value. Who last modified the assignment. * @return IdentitySet|null @@ -439,6 +452,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('gradingCategory', $this->getGradingCategory()); $writer->writeObjectValue('gradingScheme', $this->getGradingScheme()); $writer->writeObjectValue('instructions', $this->getInstructions()); + $writer->writeStringValue('languageTag', $this->getLanguageTag()); $writer->writeStringValue('moduleUrl', $this->getModuleUrl()); $writer->writeStringValue('notificationChannelUrl', $this->getNotificationChannelUrl()); $writer->writeCollectionOfObjectValues('resources', $this->getResources()); @@ -598,6 +612,14 @@ public function setInstructions(?EducationItemBody $value): void { $this->getBackingStore()->set('instructions', $value); } + /** + * Sets the languageTag property value. Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. + * @param string|null $value Value to set for the languageTag property. + */ + public function setLanguageTag(?string $value): void { + $this->getBackingStore()->set('languageTag', $value); + } + /** * Sets the lastModifiedBy property value. Who last modified the assignment. * @param IdentitySet|null $value Value to set for the lastModifiedBy property. diff --git a/src/Generated/Models/EducationAssignmentPointsGrade.php b/src/Generated/Models/EducationAssignmentPointsGrade.php index 9c1f159f26c..1d7675f1dcf 100644 --- a/src/Generated/Models/EducationAssignmentPointsGrade.php +++ b/src/Generated/Models/EducationAssignmentPointsGrade.php @@ -32,10 +32,23 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Educa public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'grade' => fn(ParseNode $n) => $o->setGrade($n->getStringValue()), 'points' => fn(ParseNode $n) => $o->setPoints($n->getFloatValue()), ]); } + /** + * Gets the grade property value. The grade letter from the grading scheme that corresponds to the given number of points. + * @return string|null + */ + public function getGrade(): ?string { + $val = $this->getBackingStore()->get('grade'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'grade'"); + } + /** * Gets the points property value. Number of points a teacher gives to this submission object. * @return float|null @@ -54,9 +67,18 @@ public function getPoints(): ?float { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeStringValue('grade', $this->getGrade()); $writer->writeFloatValue('points', $this->getPoints()); } + /** + * Sets the grade property value. The grade letter from the grading scheme that corresponds to the given number of points. + * @param string|null $value Value to set for the grade property. + */ + public function setGrade(?string $value): void { + $this->getBackingStore()->set('grade', $value); + } + /** * Sets the points property value. Number of points a teacher gives to this submission object. * @param float|null $value Value to set for the points property. diff --git a/src/Generated/Models/EducationModule.php b/src/Generated/Models/EducationModule.php index 3353b2bed27..52299653e36 100644 --- a/src/Generated/Models/EducationModule.php +++ b/src/Generated/Models/EducationModule.php @@ -86,6 +86,7 @@ public function getFieldDeserializers(): array { 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'isPinned' => fn(ParseNode $n) => $o->setIsPinned($n->getBooleanValue()), + 'languageTag' => fn(ParseNode $n) => $o->setLanguageTag($n->getStringValue()), 'lastModifiedBy' => fn(ParseNode $n) => $o->setLastModifiedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'lastModifiedDateTime' => fn(ParseNode $n) => $o->setLastModifiedDateTime($n->getDateTimeValue()), 'resources' => fn(ParseNode $n) => $o->setResources($n->getCollectionOfObjectValues([EducationModuleResource::class, 'createFromDiscriminatorValue'])), @@ -95,7 +96,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isPinned property value. Indicates whether the module is pinned or not. + * Gets the isPinned property value. Indicates whether the module is pinned. * @return bool|null */ public function getIsPinned(): ?bool { @@ -106,6 +107,18 @@ public function getIsPinned(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isPinned'"); } + /** + * Gets the languageTag property value. Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. + * @return string|null + */ + public function getLanguageTag(): ?string { + $val = $this->getBackingStore()->get('languageTag'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'languageTag'"); + } + /** * Gets the lastModifiedBy property value. The last user that modified the module. * @return IdentitySet|null @@ -177,6 +190,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeBooleanValue('isPinned', $this->getIsPinned()); + $writer->writeStringValue('languageTag', $this->getLanguageTag()); $writer->writeCollectionOfObjectValues('resources', $this->getResources()); } @@ -213,13 +227,21 @@ public function setDisplayName(?string $value): void { } /** - * Sets the isPinned property value. Indicates whether the module is pinned or not. + * Sets the isPinned property value. Indicates whether the module is pinned. * @param bool|null $value Value to set for the isPinned property. */ public function setIsPinned(?bool $value): void { $this->getBackingStore()->set('isPinned', $value); } + /** + * Sets the languageTag property value. Specifies the language in which UI notifications for the assignment are displayed. If languageTag isn't provided, the default language is en-US. Optional. + * @param string|null $value Value to set for the languageTag property. + */ + public function setLanguageTag(?string $value): void { + $this->getBackingStore()->set('languageTag', $value); + } + /** * Sets the lastModifiedBy property value. The last user that modified the module. * @param IdentitySet|null $value Value to set for the lastModifiedBy property. diff --git a/src/Generated/Models/EmployeeExperience.php b/src/Generated/Models/EmployeeExperience.php index 21dbb8fcd63..c03293a2b71 100644 --- a/src/Generated/Models/EmployeeExperience.php +++ b/src/Generated/Models/EmployeeExperience.php @@ -2,31 +2,21 @@ namespace Microsoft\Graph\Beta\Generated\Models; -use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; -use Microsoft\Kiota\Abstractions\Store\BackedModel; -use Microsoft\Kiota\Abstractions\Store\BackingStore; -use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; use Microsoft\Kiota\Abstractions\Types\TypeUtils; /** * Represents a container that exposes navigation properties for employee experience resources. */ -class EmployeeExperience implements AdditionalDataHolder, BackedModel, Parsable +class EmployeeExperience extends Entity implements Parsable { - /** - * @var BackingStore $backingStore Stores model information. - */ - private BackingStore $backingStore; - /** * Instantiates a new EmployeeExperience and sets the default values. */ public function __construct() { - $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); + parent::__construct(); } /** @@ -38,27 +28,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Emplo return new EmployeeExperience(); } - /** - * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @return array|null - */ - public function getAdditionalData(): ?array { - $val = $this->getBackingStore()->get('additionalData'); - if (is_null($val) || is_array($val)) { - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - /** * Gets the communities property value. A collection of communities in Viva Engage. * @return array|null @@ -93,14 +62,14 @@ public function getEngagementAsyncOperations(): ?array { */ public function getFieldDeserializers(): array { $o = $this; - return [ + return array_merge(parent::getFieldDeserializers(), [ 'communities' => fn(ParseNode $n) => $o->setCommunities($n->getCollectionOfObjectValues([Community::class, 'createFromDiscriminatorValue'])), 'engagementAsyncOperations' => fn(ParseNode $n) => $o->setEngagementAsyncOperations($n->getCollectionOfObjectValues([EngagementAsyncOperation::class, 'createFromDiscriminatorValue'])), 'goals' => fn(ParseNode $n) => $o->setGoals($n->getObjectValue([Goals::class, 'createFromDiscriminatorValue'])), 'learningCourseActivities' => fn(ParseNode $n) => $o->setLearningCourseActivities($n->getCollectionOfObjectValues([LearningCourseActivity::class, 'createFromDiscriminatorValue'])), 'learningProviders' => fn(ParseNode $n) => $o->setLearningProviders($n->getCollectionOfObjectValues([LearningProvider::class, 'createFromDiscriminatorValue'])), - '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - ]; + 'roles' => fn(ParseNode $n) => $o->setRoles($n->getCollectionOfObjectValues([EngagementRole::class, 'createFromDiscriminatorValue'])), + ]); } /** @@ -144,15 +113,17 @@ public function getLearningProviders(): ?array { } /** - * Gets the @odata.type property value. The OdataType property - * @return string|null + * Gets the roles property value. A collection of roles in Viva Engage. + * @return array|null */ - public function getOdataType(): ?string { - $val = $this->getBackingStore()->get('odataType'); - if (is_null($val) || is_string($val)) { + public function getRoles(): ?array { + $val = $this->getBackingStore()->get('roles'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, EngagementRole::class); + /** @var array|null $val */ return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'roles'"); } /** @@ -160,29 +131,13 @@ public function getOdataType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); $writer->writeCollectionOfObjectValues('communities', $this->getCommunities()); $writer->writeCollectionOfObjectValues('engagementAsyncOperations', $this->getEngagementAsyncOperations()); $writer->writeObjectValue('goals', $this->getGoals()); $writer->writeCollectionOfObjectValues('learningCourseActivities', $this->getLearningCourseActivities()); $writer->writeCollectionOfObjectValues('learningProviders', $this->getLearningProviders()); - $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeAdditionalData($this->getAdditionalData()); - } - - /** - * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - * @param array $value Value to set for the AdditionalData property. - */ - public function setAdditionalData(?array $value): void { - $this->getBackingStore()->set('additionalData', $value); - } - - /** - * Sets the BackingStore property value. Stores model information. - * @param BackingStore $value Value to set for the BackingStore property. - */ - public function setBackingStore(BackingStore $value): void { - $this->backingStore = $value; + $writer->writeCollectionOfObjectValues('roles', $this->getRoles()); } /** @@ -226,11 +181,11 @@ public function setLearningProviders(?array $value): void { } /** - * Sets the @odata.type property value. The OdataType property - * @param string|null $value Value to set for the @odata.type property. + * Sets the roles property value. A collection of roles in Viva Engage. + * @param array|null $value Value to set for the roles property. */ - public function setOdataType(?string $value): void { - $this->getBackingStore()->set('odataType', $value); + public function setRoles(?array $value): void { + $this->getBackingStore()->set('roles', $value); } } diff --git a/src/Generated/Models/EmployeeExperienceUser.php b/src/Generated/Models/EmployeeExperienceUser.php index ace929c844d..75887b59511 100644 --- a/src/Generated/Models/EmployeeExperienceUser.php +++ b/src/Generated/Models/EmployeeExperienceUser.php @@ -28,6 +28,20 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Emplo return new EmployeeExperienceUser(); } + /** + * Gets the assignedRoles property value. Represents the collection of Viva Engage roles assigned to a user. + * @return array|null + */ + public function getAssignedRoles(): ?array { + $val = $this->getBackingStore()->get('assignedRoles'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, EngagementRole::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignedRoles'"); + } + /** * The deserialization information for the current model * @return array @@ -35,6 +49,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Emplo public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'assignedRoles' => fn(ParseNode $n) => $o->setAssignedRoles($n->getCollectionOfObjectValues([EngagementRole::class, 'createFromDiscriminatorValue'])), 'learningCourseActivities' => fn(ParseNode $n) => $o->setLearningCourseActivities($n->getCollectionOfObjectValues([LearningCourseActivity::class, 'createFromDiscriminatorValue'])), ]); } @@ -59,9 +74,18 @@ public function getLearningCourseActivities(): ?array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeCollectionOfObjectValues('assignedRoles', $this->getAssignedRoles()); $writer->writeCollectionOfObjectValues('learningCourseActivities', $this->getLearningCourseActivities()); } + /** + * Sets the assignedRoles property value. Represents the collection of Viva Engage roles assigned to a user. + * @param array|null $value Value to set for the assignedRoles property. + */ + public function setAssignedRoles(?array $value): void { + $this->getBackingStore()->set('assignedRoles', $value); + } + /** * Sets the learningCourseActivities property value. The learningCourseActivities property * @param array|null $value Value to set for the learningCourseActivities property. diff --git a/src/Generated/Models/EngagementRole.php b/src/Generated/Models/EngagementRole.php new file mode 100644 index 00000000000..8016c517f04 --- /dev/null +++ b/src/Generated/Models/EngagementRole.php @@ -0,0 +1,95 @@ +getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'members' => fn(ParseNode $n) => $o->setMembers($n->getCollectionOfObjectValues([EngagementRoleMember::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the members property value. Users who have been assigned this role. + * @return array|null + */ + public function getMembers(): ?array { + $val = $this->getBackingStore()->get('members'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, EngagementRoleMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'members'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeCollectionOfObjectValues('members', $this->getMembers()); + } + + /** + * Sets the displayName property value. The name of the role. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the members property value. Users who have been assigned this role. + * @param array|null $value Value to set for the members property. + */ + public function setMembers(?array $value): void { + $this->getBackingStore()->set('members', $value); + } + +} diff --git a/src/Generated/Models/ChangeItemBaseCollectionResponse.php b/src/Generated/Models/EngagementRoleCollectionResponse.php similarity index 77% rename from src/Generated/Models/ChangeItemBaseCollectionResponse.php rename to src/Generated/Models/EngagementRoleCollectionResponse.php index 49f2f7d64ef..e523a620d5d 100644 --- a/src/Generated/Models/ChangeItemBaseCollectionResponse.php +++ b/src/Generated/Models/EngagementRoleCollectionResponse.php @@ -7,10 +7,10 @@ use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; use Microsoft\Kiota\Abstractions\Types\TypeUtils; -class ChangeItemBaseCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable +class EngagementRoleCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { /** - * Instantiates a new ChangeItemBaseCollectionResponse and sets the default values. + * Instantiates a new EngagementRoleCollectionResponse and sets the default values. */ public function __construct() { parent::__construct(); @@ -19,10 +19,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ChangeItemBaseCollectionResponse + * @return EngagementRoleCollectionResponse */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ChangeItemBaseCollectionResponse { - return new ChangeItemBaseCollectionResponse(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): EngagementRoleCollectionResponse { + return new EngagementRoleCollectionResponse(); } /** @@ -32,19 +32,19 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Chang public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ChangeItemBase::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([EngagementRole::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ChangeItemBase::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, EngagementRole::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Models/EngagementRoleMember.php b/src/Generated/Models/EngagementRoleMember.php new file mode 100644 index 00000000000..350c8e58e66 --- /dev/null +++ b/src/Generated/Models/EngagementRoleMember.php @@ -0,0 +1,113 @@ +getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'user' => fn(ParseNode $n) => $o->setUser($n->getObjectValue([User::class, 'createFromDiscriminatorValue'])), + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]); + } + + /** + * Gets the user property value. User entity of the member who has been assigned the role. + * @return User|null + */ + public function getUser(): ?User { + $val = $this->getBackingStore()->get('user'); + if (is_null($val) || $val instanceof User) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'user'"); + } + + /** + * Gets the userId property value. The Microsoft Entra ID of the user who has the role assigned. + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('user', $this->getUser()); + } + + /** + * Sets the createdDateTime property value. The timestamp when the role was assigned to the user. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the user property value. User entity of the member who has been assigned the role. + * @param User|null $value Value to set for the user property. + */ + public function setUser(?User $value): void { + $this->getBackingStore()->set('user', $value); + } + + /** + * Sets the userId property value. The Microsoft Entra ID of the user who has the role assigned. + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Models/EngagementRoleMemberCollectionResponse.php b/src/Generated/Models/EngagementRoleMemberCollectionResponse.php new file mode 100644 index 00000000000..f27531e74e8 --- /dev/null +++ b/src/Generated/Models/EngagementRoleMemberCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([EngagementRoleMember::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, EngagementRoleMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 70c7c7bc3b4..5f048566091 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -462,7 +462,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.androidWorkProfileTrustedRootCertificate': return new AndroidWorkProfileTrustedRootCertificate(); case '#microsoft.graph.androidWorkProfileVpnConfiguration': return new AndroidWorkProfileVpnConfiguration(); case '#microsoft.graph.androidWorkProfileWiFiConfiguration': return new AndroidWorkProfileWiFiConfiguration(); - case '#microsoft.graph.announcement': return new Announcement(); case '#microsoft.graph.anonymousGuestConversationMember': return new AnonymousGuestConversationMember(); case '#microsoft.graph.aospDeviceOwnerCertificateProfileBase': return new AospDeviceOwnerCertificateProfileBase(); case '#microsoft.graph.aospDeviceOwnerCompliancePolicy': return new AospDeviceOwnerCompliancePolicy(); @@ -628,7 +627,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.certificateBasedAuthConfiguration': return new CertificateBasedAuthConfiguration(); case '#microsoft.graph.certificateBasedAuthPki': return new CertificateBasedAuthPki(); case '#microsoft.graph.certificateConnectorDetails': return new CertificateConnectorDetails(); - case '#microsoft.graph.changeItemBase': return new ChangeItemBase(); case '#microsoft.graph.changeTrackedEntity': return new ChangeTrackedEntity(); case '#microsoft.graph.channel': return new Channel(); case '#microsoft.graph.chat': return new Chat(); @@ -973,6 +971,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.embeddedSIMActivationCodePoolAssignment': return new EmbeddedSIMActivationCodePoolAssignment(); case '#microsoft.graph.embeddedSIMDeviceState': return new EmbeddedSIMDeviceState(); case '#microsoft.graph.emergencyCallEvent': return new EmergencyCallEvent(); + case '#microsoft.graph.employeeExperience': return new EmployeeExperience(); case '#microsoft.graph.employeeExperienceUser': return new EmployeeExperienceUser(); case '#microsoft.graph.encryptedAwsStorageBucketFinding': return new EncryptedAwsStorageBucketFinding(); case '#microsoft.graph.encryptedAzureStorageAccountFinding': return new EncryptedAzureStorageAccountFinding(); @@ -982,6 +981,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.endUserNotification': return new EndUserNotification(); case '#microsoft.graph.endUserNotificationDetail': return new EndUserNotificationDetail(); case '#microsoft.graph.engagementAsyncOperation': return new EngagementAsyncOperation(); + case '#microsoft.graph.engagementRole': return new EngagementRole(); + case '#microsoft.graph.engagementRoleMember': return new EngagementRoleMember(); case '#microsoft.graph.enhancedPersonalizationSetting': return new EnhancedPersonalizationSetting(); case '#microsoft.graph.enrollmentConfigurationAssignment': return new EnrollmentConfigurationAssignment(); case '#microsoft.graph.enrollmentProfile': return new EnrollmentProfile(); @@ -1720,6 +1721,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.readingAssignmentSubmission': return new ReadingAssignmentSubmission(); case '#microsoft.graph.recommendation': return new Recommendation(); case '#microsoft.graph.recommendationBase': return new RecommendationBase(); + case '#microsoft.graph.recommendationConfiguration': return new RecommendationConfiguration(); case '#microsoft.graph.recordOperation': return new RecordOperation(); case '#microsoft.graph.recycleBin': return new RecycleBin(); case '#microsoft.graph.recycleBinItem': return new RecycleBinItem(); @@ -1750,7 +1752,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.riskyServicePrincipalHistoryItem': return new RiskyServicePrincipalHistoryItem(); case '#microsoft.graph.riskyUser': return new RiskyUser(); case '#microsoft.graph.riskyUserHistoryItem': return new RiskyUserHistoryItem(); - case '#microsoft.graph.roadmap': return new Roadmap(); case '#microsoft.graph.roleAssignment': return new RoleAssignment(); case '#microsoft.graph.roleDefinition': return new RoleDefinition(); case '#microsoft.graph.roleManagementAlert': return new RoleManagementAlert(); diff --git a/src/Generated/Models/ExtendedKeyUsage.php b/src/Generated/Models/ExtendedKeyUsage.php index 9a1db2c6ca3..95d722018b2 100644 --- a/src/Generated/Models/ExtendedKeyUsage.php +++ b/src/Generated/Models/ExtendedKeyUsage.php @@ -72,7 +72,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. + * Gets the name property value. Extended Key Usage Name * @return string|null */ public function getName(): ?string { @@ -84,7 +84,7 @@ public function getName(): ?string { } /** - * Gets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. + * Gets the objectIdentifier property value. Extended Key Usage Object Identifier * @return string|null */ public function getObjectIdentifier(): ?string { @@ -135,7 +135,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. + * Sets the name property value. Extended Key Usage Name * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -143,7 +143,7 @@ public function setName(?string $value): void { } /** - * Sets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. + * Sets the objectIdentifier property value. Extended Key Usage Object Identifier * @param string|null $value Value to set for the objectIdentifier property. */ public function setObjectIdentifier(?string $value): void { diff --git a/src/Generated/Models/IdentityContainer.php b/src/Generated/Models/IdentityContainer.php index f03c7cca7cd..467ffe6f03d 100644 --- a/src/Generated/Models/IdentityContainer.php +++ b/src/Generated/Models/IdentityContainer.php @@ -181,7 +181,6 @@ public function getFieldDeserializers(): array { 'customAuthenticationExtensions' => fn(ParseNode $n) => $o->setCustomAuthenticationExtensions($n->getCollectionOfObjectValues([CustomAuthenticationExtension::class, 'createFromDiscriminatorValue'])), 'identityProviders' => fn(ParseNode $n) => $o->setIdentityProviders($n->getCollectionOfObjectValues([IdentityProviderBase::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'productChanges' => fn(ParseNode $n) => $o->setProductChanges($n->getCollectionOfObjectValues([ChangeItemBase::class, 'createFromDiscriminatorValue'])), 'userFlowAttributes' => fn(ParseNode $n) => $o->setUserFlowAttributes($n->getCollectionOfObjectValues([IdentityUserFlowAttribute::class, 'createFromDiscriminatorValue'])), 'userFlows' => fn(ParseNode $n) => $o->setUserFlows($n->getCollectionOfObjectValues([IdentityUserFlow::class, 'createFromDiscriminatorValue'])), ]; @@ -213,20 +212,6 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } - /** - * Gets the productChanges property value. Represents entry point for Microsoft Entra product changes and planned new features. - * @return array|null - */ - public function getProductChanges(): ?array { - $val = $this->getBackingStore()->get('productChanges'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ChangeItemBase::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'productChanges'"); - } - /** * Gets the userFlowAttributes property value. Represents entry point for identity userflow attributes. * @return array|null @@ -270,7 +255,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('customAuthenticationExtensions', $this->getCustomAuthenticationExtensions()); $writer->writeCollectionOfObjectValues('identityProviders', $this->getIdentityProviders()); $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeCollectionOfObjectValues('productChanges', $this->getProductChanges()); $writer->writeCollectionOfObjectValues('userFlowAttributes', $this->getUserFlowAttributes()); $writer->writeCollectionOfObjectValues('userFlows', $this->getUserFlows()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -372,14 +356,6 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } - /** - * Sets the productChanges property value. Represents entry point for Microsoft Entra product changes and planned new features. - * @param array|null $value Value to set for the productChanges property. - */ - public function setProductChanges(?array $value): void { - $this->getBackingStore()->set('productChanges', $value); - } - /** * Sets the userFlowAttributes property value. Represents entry point for identity userflow attributes. * @param array|null $value Value to set for the userFlowAttributes property. diff --git a/src/Generated/Models/IosLobAppProvisioningConfiguration.php b/src/Generated/Models/IosLobAppProvisioningConfiguration.php index 1ffba73af62..3dd8e9f42f5 100644 --- a/src/Generated/Models/IosLobAppProvisioningConfiguration.php +++ b/src/Generated/Models/IosLobAppProvisioningConfiguration.php @@ -31,7 +31,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): IosLo } /** - * Gets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. + * Gets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. * @return array|null */ public function getAssignments(): ?array { @@ -95,7 +95,7 @@ public function getDisplayName(): ?string { } /** - * Gets the expirationDateTime property value. Optional profile expiration date and time. + * Gets the expirationDateTime property value. Optional profile expiration date and time. 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 would look like this: '2014-01-01T00:00:00Z'. Returned by default. * @return DateTime|null */ public function getExpirationDateTime(): ?DateTime { @@ -248,7 +248,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration. + * Sets the assignments property value. The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. * @param array|null $value Value to set for the assignments property. */ public function setAssignments(?array $value): void { @@ -288,7 +288,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the expirationDateTime property value. Optional profile expiration date and time. + * Sets the expirationDateTime property value. Optional profile expiration date and time. 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 would look like this: '2014-01-01T00:00:00Z'. Returned by default. * @param DateTime|null $value Value to set for the expirationDateTime property. */ public function setExpirationDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/MacOsLobAppAssignmentSettings.php b/src/Generated/Models/MacOsLobAppAssignmentSettings.php index 49f681a8027..0ef926d94fb 100644 --- a/src/Generated/Models/MacOsLobAppAssignmentSettings.php +++ b/src/Generated/Models/MacOsLobAppAssignmentSettings.php @@ -40,7 +40,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. + * Gets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * @return bool|null */ public function getUninstallOnDeviceRemoval(): ?bool { @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. + * Sets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * @param bool|null $value Value to set for the uninstallOnDeviceRemoval property. */ public function setUninstallOnDeviceRemoval(?bool $value): void { diff --git a/src/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.php b/src/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.php index b626ca14c0d..aa4e237dcad 100644 --- a/src/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.php +++ b/src/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Mailb } /** - * Gets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + * Gets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. * @return array|null */ public function getDirectoryObjectIds(): ?array { @@ -90,7 +90,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + * Sets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. * @param array|null $value Value to set for the directoryObjectIds property. */ public function setDirectoryObjectIds(?array $value): void { diff --git a/src/Generated/Models/OfferShiftRequest.php b/src/Generated/Models/OfferShiftRequest.php index c9995c53323..044dc645d49 100644 --- a/src/Generated/Models/OfferShiftRequest.php +++ b/src/Generated/Models/OfferShiftRequest.php @@ -48,7 +48,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the recipientActionDateTime property value. 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 + * Gets the recipientActionDateTime property value. The date and time when the recipient approved or declined the request. * @return DateTime|null */ public function getRecipientActionDateTime(): ?DateTime { @@ -60,7 +60,7 @@ public function getRecipientActionDateTime(): ?DateTime { } /** - * Gets the recipientActionMessage property value. Custom message sent by recipient of the offer shift request. + * Gets the recipientActionMessage property value. The message sent by the recipient regarding the request. * @return string|null */ public function getRecipientActionMessage(): ?string { @@ -72,7 +72,7 @@ public function getRecipientActionMessage(): ?string { } /** - * Gets the recipientUserId property value. User id of the recipient of the offer shift request. + * Gets the recipientUserId property value. The recipient's user ID. * @return string|null */ public function getRecipientUserId(): ?string { @@ -84,7 +84,7 @@ public function getRecipientUserId(): ?string { } /** - * Gets the senderShiftId property value. User id of the sender of the offer shift request. + * Gets the senderShiftId property value. The sender's shift ID. * @return string|null */ public function getSenderShiftId(): ?string { @@ -107,7 +107,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the recipientActionDateTime property value. 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 + * Sets the recipientActionDateTime property value. The date and time when the recipient approved or declined the request. * @param DateTime|null $value Value to set for the recipientActionDateTime property. */ public function setRecipientActionDateTime(?DateTime $value): void { @@ -115,7 +115,7 @@ public function setRecipientActionDateTime(?DateTime $value): void { } /** - * Sets the recipientActionMessage property value. Custom message sent by recipient of the offer shift request. + * Sets the recipientActionMessage property value. The message sent by the recipient regarding the request. * @param string|null $value Value to set for the recipientActionMessage property. */ public function setRecipientActionMessage(?string $value): void { @@ -123,7 +123,7 @@ public function setRecipientActionMessage(?string $value): void { } /** - * Sets the recipientUserId property value. User id of the recipient of the offer shift request. + * Sets the recipientUserId property value. The recipient's user ID. * @param string|null $value Value to set for the recipientUserId property. */ public function setRecipientUserId(?string $value): void { @@ -131,7 +131,7 @@ public function setRecipientUserId(?string $value): void { } /** - * Sets the senderShiftId property value. User id of the sender of the offer shift request. + * Sets the senderShiftId property value. The sender's shift ID. * @param string|null $value Value to set for the senderShiftId property. */ public function setSenderShiftId(?string $value): void { diff --git a/src/Generated/Models/PeopleAdminSettings.php b/src/Generated/Models/PeopleAdminSettings.php index ea49fc4b231..07c4b8a1b06 100644 --- a/src/Generated/Models/PeopleAdminSettings.php +++ b/src/Generated/Models/PeopleAdminSettings.php @@ -36,6 +36,7 @@ public function getFieldDeserializers(): array { 'namePronunciation' => fn(ParseNode $n) => $o->setNamePronunciation($n->getObjectValue([NamePronunciationSettings::class, 'createFromDiscriminatorValue'])), 'profileCardProperties' => fn(ParseNode $n) => $o->setProfileCardProperties($n->getCollectionOfObjectValues([ProfileCardProperty::class, 'createFromDiscriminatorValue'])), 'profilePropertySettings' => fn(ParseNode $n) => $o->setProfilePropertySettings($n->getCollectionOfObjectValues([ProfilePropertySetting::class, 'createFromDiscriminatorValue'])), + 'profileSources' => fn(ParseNode $n) => $o->setProfileSources($n->getCollectionOfObjectValues([ProfileSource::class, 'createFromDiscriminatorValue'])), 'pronouns' => fn(ParseNode $n) => $o->setPronouns($n->getObjectValue([PronounsSettings::class, 'createFromDiscriminatorValue'])), ]); } @@ -92,6 +93,20 @@ public function getProfilePropertySettings(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'profilePropertySettings'"); } + /** + * Gets the profileSources property value. A collection of profile source settings configured by an administrator in an organization. + * @return array|null + */ + public function getProfileSources(): ?array { + $val = $this->getBackingStore()->get('profileSources'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProfileSource::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'profileSources'"); + } + /** * Gets the pronouns property value. Administrator settings that manage the support of pronouns in an organization. * @return PronounsSettings|null @@ -114,6 +129,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('namePronunciation', $this->getNamePronunciation()); $writer->writeCollectionOfObjectValues('profileCardProperties', $this->getProfileCardProperties()); $writer->writeCollectionOfObjectValues('profilePropertySettings', $this->getProfilePropertySettings()); + $writer->writeCollectionOfObjectValues('profileSources', $this->getProfileSources()); $writer->writeObjectValue('pronouns', $this->getPronouns()); } @@ -149,6 +165,14 @@ public function setProfilePropertySettings(?array $value): void { $this->getBackingStore()->set('profilePropertySettings', $value); } + /** + * Sets the profileSources property value. A collection of profile source settings configured by an administrator in an organization. + * @param array|null $value Value to set for the profileSources property. + */ + public function setProfileSources(?array $value): void { + $this->getBackingStore()->set('profileSources', $value); + } + /** * Sets the pronouns property value. Administrator settings that manage the support of pronouns in an organization. * @param PronounsSettings|null $value Value to set for the pronouns property. diff --git a/src/Generated/Models/PlannerContainerType.php b/src/Generated/Models/PlannerContainerType.php index 334def5dbbd..b99cc3794b2 100644 --- a/src/Generated/Models/PlannerContainerType.php +++ b/src/Generated/Models/PlannerContainerType.php @@ -12,5 +12,6 @@ class PlannerContainerType extends Enum { public const DRIVE_ITEM = "driveItem"; public const USER = "user"; public const TEAMS_CHANNEL = "teamsChannel"; + public const ONLINE_MEETING = "onlineMeeting"; public const PLANNER_TASK = "plannerTask"; } diff --git a/src/Generated/Models/ProcessContentRequest.php b/src/Generated/Models/ProcessContentRequest.php index cdd27b88452..7d638bdc599 100644 --- a/src/Generated/Models/ProcessContentRequest.php +++ b/src/Generated/Models/ProcessContentRequest.php @@ -69,7 +69,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the contentEntries property value. A collection of content entries to be processed. Each entry contains the content itself and its metadata. Required. + * Gets the contentEntries property value. A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. Required. * @return array|null */ public function getContentEntries(): ?array { @@ -122,7 +122,7 @@ public function getOdataType(): ?string { } /** - * Gets the protectedAppMetadata property value. The protectedAppMetadata property + * Gets the protectedAppMetadata property value. Metadata about the protected application making the request. Required. * @return ProtectedApplicationMetadata|null */ public function getProtectedAppMetadata(): ?ProtectedApplicationMetadata { @@ -171,7 +171,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the contentEntries property value. A collection of content entries to be processed. Each entry contains the content itself and its metadata. Required. + * Sets the contentEntries property value. A collection of content entries to be processed. Each entry contains the content itself and its metadata. Use conversation metadata for content like prompts and responses and file metadata for files. Required. * @param array|null $value Value to set for the contentEntries property. */ public function setContentEntries(?array $value): void { @@ -195,7 +195,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the protectedAppMetadata property value. The protectedAppMetadata property + * Sets the protectedAppMetadata property value. Metadata about the protected application making the request. Required. * @param ProtectedApplicationMetadata|null $value Value to set for the protectedAppMetadata property. */ public function setProtectedAppMetadata(?ProtectedApplicationMetadata $value): void { diff --git a/src/Generated/Models/ProfileSource.php b/src/Generated/Models/ProfileSource.php index 6a3f543cb2e..df4f5acd115 100644 --- a/src/Generated/Models/ProfileSource.php +++ b/src/Generated/Models/ProfileSource.php @@ -5,6 +5,7 @@ use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; class ProfileSource extends Entity implements Parsable { @@ -25,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Profi } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. Name of the profile source intended to inform users about the profile source name. * @return string|null */ public function getDisplayName(): ?string { @@ -45,13 +46,14 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'kind' => fn(ParseNode $n) => $o->setKind($n->getStringValue()), + 'localizations' => fn(ParseNode $n) => $o->setLocalizations($n->getCollectionOfObjectValues([ProfileSourceLocalization::class, 'createFromDiscriminatorValue'])), 'sourceId' => fn(ParseNode $n) => $o->setSourceId($n->getStringValue()), 'webUrl' => fn(ParseNode $n) => $o->setWebUrl($n->getStringValue()), ]); } /** - * Gets the kind property value. The kind property + * Gets the kind property value. Type of the profile source. * @return string|null */ public function getKind(): ?string { @@ -63,7 +65,21 @@ public function getKind(): ?string { } /** - * Gets the sourceId property value. The sourceId property + * Gets the localizations property value. Alternative localized labels specified by an administrator. + * @return array|null + */ + public function getLocalizations(): ?array { + $val = $this->getBackingStore()->get('localizations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProfileSourceLocalization::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'localizations'"); + } + + /** + * Gets the sourceId property value. Profile source identifier used as an alternate key. * @return string|null */ public function getSourceId(): ?string { @@ -75,7 +91,7 @@ public function getSourceId(): ?string { } /** - * Gets the webUrl property value. The webUrl property + * Gets the webUrl property value. Web URL of the profile source that directs users to the page view of profile data. * @return string|null */ public function getWebUrl(): ?string { @@ -94,12 +110,13 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('kind', $this->getKind()); + $writer->writeCollectionOfObjectValues('localizations', $this->getLocalizations()); $writer->writeStringValue('sourceId', $this->getSourceId()); $writer->writeStringValue('webUrl', $this->getWebUrl()); } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. Name of the profile source intended to inform users about the profile source name. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -107,7 +124,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the kind property value. The kind property + * Sets the kind property value. Type of the profile source. * @param string|null $value Value to set for the kind property. */ public function setKind(?string $value): void { @@ -115,7 +132,15 @@ public function setKind(?string $value): void { } /** - * Sets the sourceId property value. The sourceId property + * Sets the localizations property value. Alternative localized labels specified by an administrator. + * @param array|null $value Value to set for the localizations property. + */ + public function setLocalizations(?array $value): void { + $this->getBackingStore()->set('localizations', $value); + } + + /** + * Sets the sourceId property value. Profile source identifier used as an alternate key. * @param string|null $value Value to set for the sourceId property. */ public function setSourceId(?string $value): void { @@ -123,7 +148,7 @@ public function setSourceId(?string $value): void { } /** - * Sets the webUrl property value. The webUrl property + * Sets the webUrl property value. Web URL of the profile source that directs users to the page view of profile data. * @param string|null $value Value to set for the webUrl property. */ public function setWebUrl(?string $value): void { diff --git a/src/Generated/Models/ProfileSourceCollectionResponse.php b/src/Generated/Models/ProfileSourceCollectionResponse.php new file mode 100644 index 00000000000..3d8b400e78b --- /dev/null +++ b/src/Generated/Models/ProfileSourceCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ProfileSource::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProfileSource::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/ProfileSourceLocalization.php b/src/Generated/Models/ProfileSourceLocalization.php new file mode 100644 index 00000000000..64bd80c4196 --- /dev/null +++ b/src/Generated/Models/ProfileSourceLocalization.php @@ -0,0 +1,180 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ProfileSourceLocalization + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProfileSourceLocalization { + return new ProfileSourceLocalization(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the displayName property value. Localized display name. + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'languageTag' => fn(ParseNode $n) => $o->setLanguageTag($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'webUrl' => fn(ParseNode $n) => $o->setWebUrl($n->getStringValue()), + ]; + } + + /** + * Gets the languageTag property value. Language locale. + * @return string|null + */ + public function getLanguageTag(): ?string { + $val = $this->getBackingStore()->get('languageTag'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'languageTag'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the webUrl property value. Localized profile source URL. + * @return string|null + */ + public function getWebUrl(): ?string { + $val = $this->getBackingStore()->get('webUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'webUrl'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('languageTag', $this->getLanguageTag()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('webUrl', $this->getWebUrl()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the displayName property value. Localized display name. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the languageTag property value. Language locale. + * @param string|null $value Value to set for the languageTag property. + */ + public function setLanguageTag(?string $value): void { + $this->getBackingStore()->set('languageTag', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the webUrl property value. Localized profile source URL. + * @param string|null $value Value to set for the webUrl property. + */ + public function setWebUrl(?string $value): void { + $this->getBackingStore()->set('webUrl', $value); + } + +} diff --git a/src/Generated/Models/ProtectedApplicationMetadata.php b/src/Generated/Models/ProtectedApplicationMetadata.php index cade80d600a..dad31693405 100644 --- a/src/Generated/Models/ProtectedApplicationMetadata.php +++ b/src/Generated/Models/ProtectedApplicationMetadata.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Prote } /** - * Gets the applicationLocation property value. For internal use only. Don't use. + * Gets the applicationLocation property value. The Entra client (application) ID. Required. * @return PolicyLocation|null */ public function getApplicationLocation(): ?PolicyLocation { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the applicationLocation property value. For internal use only. Don't use. + * Sets the applicationLocation property value. The Entra client (application) ID. Required. * @param PolicyLocation|null $value Value to set for the applicationLocation property. */ public function setApplicationLocation(?PolicyLocation $value): void { diff --git a/src/Generated/Models/RecommendationConfiguration.php b/src/Generated/Models/RecommendationConfiguration.php new file mode 100644 index 00000000000..25c3a624e24 --- /dev/null +++ b/src/Generated/Models/RecommendationConfiguration.php @@ -0,0 +1,67 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'isNotificationEnabled' => fn(ParseNode $n) => $o->setIsNotificationEnabled($n->getBooleanValue()), + ]); + } + + /** + * Gets the isNotificationEnabled property value. Indicates whether notifications for recommendations are enabled. + * @return bool|null + */ + public function getIsNotificationEnabled(): ?bool { + $val = $this->getBackingStore()->get('isNotificationEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isNotificationEnabled'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeBooleanValue('isNotificationEnabled', $this->getIsNotificationEnabled()); + } + + /** + * Sets the isNotificationEnabled property value. Indicates whether notifications for recommendations are enabled. + * @param bool|null $value Value to set for the isNotificationEnabled property. + */ + public function setIsNotificationEnabled(?bool $value): void { + $this->getBackingStore()->set('isNotificationEnabled', $value); + } + +} diff --git a/src/Generated/Models/Report.php b/src/Generated/Models/Report.php index 7623931e57d..c7e571db244 100644 --- a/src/Generated/Models/Report.php +++ b/src/Generated/Models/Report.php @@ -60,7 +60,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the content property value. The http content that has the data + * Gets the content property value. Report content; details vary by report type. * @return StreamInterface|null */ public function getContent(): ?StreamInterface { @@ -122,7 +122,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the content property value. The http content that has the data + * Sets the content property value. Report content; details vary by report type. * @param StreamInterface|null $value Value to set for the content property. */ public function setContent(?StreamInterface $value): void { diff --git a/src/Generated/Models/Roadmap.php b/src/Generated/Models/Roadmap.php deleted file mode 100644 index aa2eaa861cd..00000000000 --- a/src/Generated/Models/Roadmap.php +++ /dev/null @@ -1,157 +0,0 @@ -setOdataType('#microsoft.graph.roadmap'); - } - - /** - * Creates a new instance of the appropriate class based on discriminator value - * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return Roadmap - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): Roadmap { - return new Roadmap(); - } - - /** - * Gets the category property value. Indicates the category with which this item is associated. Supports $filter (eq, ne, in) and $orderby. - * @return string|null - */ - public function getCategory(): ?string { - $val = $this->getBackingStore()->get('category'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'category'"); - } - - /** - * Gets the changeItemState property value. The changeItemState property - * @return ChangeItemState|null - */ - public function getChangeItemState(): ?ChangeItemState { - $val = $this->getBackingStore()->get('changeItemState'); - if (is_null($val) || $val instanceof ChangeItemState) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'changeItemState'"); - } - - /** - * Gets the deliveryStage property value. The deliveryStage property - * @return RoadmapItemDeliveryStage|null - */ - public function getDeliveryStage(): ?RoadmapItemDeliveryStage { - $val = $this->getBackingStore()->get('deliveryStage'); - if (is_null($val) || $val instanceof RoadmapItemDeliveryStage) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'deliveryStage'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'category' => fn(ParseNode $n) => $o->setCategory($n->getStringValue()), - 'changeItemState' => fn(ParseNode $n) => $o->setChangeItemState($n->getEnumValue(ChangeItemState::class)), - 'deliveryStage' => fn(ParseNode $n) => $o->setDeliveryStage($n->getEnumValue(RoadmapItemDeliveryStage::class)), - 'gotoLink' => fn(ParseNode $n) => $o->setGotoLink($n->getStringValue()), - 'publishedDateTime' => fn(ParseNode $n) => $o->setPublishedDateTime($n->getDateTimeValue()), - ]); - } - - /** - * Gets the gotoLink property value. Link to the feature page in the Microsoft Entra admin center. Supports $filter (eq, ne, in) and $orderby. - * @return string|null - */ - public function getGotoLink(): ?string { - $val = $this->getBackingStore()->get('gotoLink'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'gotoLink'"); - } - - /** - * Gets the publishedDateTime property value. Feature planned release date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - * @return DateTime|null - */ - public function getPublishedDateTime(): ?DateTime { - $val = $this->getBackingStore()->get('publishedDateTime'); - if (is_null($val) || $val instanceof DateTime) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'publishedDateTime'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeStringValue('category', $this->getCategory()); - $writer->writeEnumValue('changeItemState', $this->getChangeItemState()); - $writer->writeEnumValue('deliveryStage', $this->getDeliveryStage()); - $writer->writeStringValue('gotoLink', $this->getGotoLink()); - $writer->writeDateTimeValue('publishedDateTime', $this->getPublishedDateTime()); - } - - /** - * Sets the category property value. Indicates the category with which this item is associated. Supports $filter (eq, ne, in) and $orderby. - * @param string|null $value Value to set for the category property. - */ - public function setCategory(?string $value): void { - $this->getBackingStore()->set('category', $value); - } - - /** - * Sets the changeItemState property value. The changeItemState property - * @param ChangeItemState|null $value Value to set for the changeItemState property. - */ - public function setChangeItemState(?ChangeItemState $value): void { - $this->getBackingStore()->set('changeItemState', $value); - } - - /** - * Sets the deliveryStage property value. The deliveryStage property - * @param RoadmapItemDeliveryStage|null $value Value to set for the deliveryStage property. - */ - public function setDeliveryStage(?RoadmapItemDeliveryStage $value): void { - $this->getBackingStore()->set('deliveryStage', $value); - } - - /** - * Sets the gotoLink property value. Link to the feature page in the Microsoft Entra admin center. Supports $filter (eq, ne, in) and $orderby. - * @param string|null $value Value to set for the gotoLink property. - */ - public function setGotoLink(?string $value): void { - $this->getBackingStore()->set('gotoLink', $value); - } - - /** - * Sets the publishedDateTime property value. Feature planned release date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. - * @param DateTime|null $value Value to set for the publishedDateTime property. - */ - public function setPublishedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('publishedDateTime', $value); - } - -} diff --git a/src/Generated/Models/RoadmapItemDeliveryStage.php b/src/Generated/Models/RoadmapItemDeliveryStage.php deleted file mode 100644 index 51c2fb9b9f6..00000000000 --- a/src/Generated/Models/RoadmapItemDeliveryStage.php +++ /dev/null @@ -1,12 +0,0 @@ -|null */ public function getContentSources(): ?array { @@ -195,7 +195,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the fields property value. Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. + * Gets the fields property value. Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft 365 Copilot connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax : label_title.Optional. * @return array|null */ public function getFields(): ?array { @@ -281,7 +281,7 @@ public function getResultTemplateOptions(): ?ResultTemplateOption { } /** - * Gets the sharePointOneDriveOptions property value. Indicates the kind of contents to be searched when a search is performed using application permissions. Optional. + * Gets the sharePointOneDriveOptions property value. Indicates the kind of content to be searched when a search is performed using application permissions. Optional. * @return SharePointOneDriveOptions|null */ public function getSharePointOneDriveOptions(): ?SharePointOneDriveOptions { @@ -333,7 +333,7 @@ public function getStoredFields(): ?array { } /** - * Gets the trimDuplicates property value. Indicates whether to trim away the duplicate SharePoint files from search results. Default value is false. Optional. + * Gets the trimDuplicates property value. Indicates whether to trim away the duplicate SharePoint files from search results. The default value is false. Optional. * @return bool|null */ public function getTrimDuplicates(): ?bool { @@ -411,7 +411,7 @@ public function setCollapseProperties(?array $value): void { } /** - * Sets the contentSources property value. Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional. + * Sets the contentSources property value. Contains the connection to be targeted. Respects the following format: /external/connections/connectionid where connectionid is the ConnectionId defined in the connectors administration. Note: contentSource is only applicable when entityType=externalItem. Optional. * @param array|null $value Value to set for the contentSources property. */ public function setContentSources(?array $value): void { @@ -435,7 +435,7 @@ public function setEntityTypes(?array $value): void { } /** - * Sets the fields property value. Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. + * Sets the fields property value. Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft 365 Copilot connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is labeled as title, you can retrieve it using the following syntax : label_title.Optional. * @param array|null $value Value to set for the fields property. */ public function setFields(?array $value): void { @@ -491,7 +491,7 @@ public function setResultTemplateOptions(?ResultTemplateOption $value): void { } /** - * Sets the sharePointOneDriveOptions property value. Indicates the kind of contents to be searched when a search is performed using application permissions. Optional. + * Sets the sharePointOneDriveOptions property value. Indicates the kind of content to be searched when a search is performed using application permissions. Optional. * @param SharePointOneDriveOptions|null $value Value to set for the sharePointOneDriveOptions property. */ public function setSharePointOneDriveOptions(?SharePointOneDriveOptions $value): void { @@ -523,7 +523,7 @@ public function setStoredFields(?array $value): void { } /** - * Sets the trimDuplicates property value. Indicates whether to trim away the duplicate SharePoint files from search results. Default value is false. Optional. + * Sets the trimDuplicates property value. Indicates whether to trim away the duplicate SharePoint files from search results. The default value is false. Optional. * @param bool|null $value Value to set for the trimDuplicates property. */ public function setTrimDuplicates(?bool $value): void { diff --git a/src/Generated/Models/Security/Alert.php b/src/Generated/Models/Security/Alert.php index 4bf01179399..d5b7fa826de 100644 --- a/src/Generated/Models/Security/Alert.php +++ b/src/Generated/Models/Security/Alert.php @@ -138,7 +138,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the customDetails property value. The customDetails property + * Gets the customDetails property value. User defined custom fields with string values. * @return Dictionary|null */ public function getCustomDetails(): ?Dictionary { @@ -162,7 +162,7 @@ public function getDescription(): ?string { } /** - * Gets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. + * Gets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. * @return DetectionSource|null */ public function getDetectionSource(): ?DetectionSource { @@ -602,7 +602,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the customDetails property value. The customDetails property + * Sets the customDetails property value. User defined custom fields with string values. * @param Dictionary|null $value Value to set for the customDetails property. */ public function setCustomDetails(?Dictionary $value): void { @@ -618,7 +618,7 @@ public function setDescription(?string $value): void { } /** - * Sets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl. + * Sets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence. * @param DetectionSource|null $value Value to set for the detectionSource property. */ public function setDetectionSource(?DetectionSource $value): void { diff --git a/src/Generated/Models/Security/AnalyzedEmail.php b/src/Generated/Models/Security/AnalyzedEmail.php index 084f10d03c5..e5497c6e3d8 100644 --- a/src/Generated/Models/Security/AnalyzedEmail.php +++ b/src/Generated/Models/Security/AnalyzedEmail.php @@ -80,7 +80,7 @@ public function getBulkComplaintLevel(): ?string { } /** - * Gets the clientType property value. The clientType property + * Gets the clientType property value. Shows the type of client that sent the message (for example, REST). * @return string|null */ public function getClientType(): ?string { @@ -144,7 +144,7 @@ public function getDistributionList(): ?string { } /** - * Gets the dlpRules property value. The dlpRules property + * Gets the dlpRules property value. Data loss prevention rules configured in purview. * @return array|null */ public function getDlpRules(): ?array { @@ -259,7 +259,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the forwardingDetail property value. The forwardingDetail property + * Gets the forwardingDetail property value. Email smtp forwarding details. * @return string|null */ public function getForwardingDetail(): ?string { @@ -271,7 +271,7 @@ public function getForwardingDetail(): ?string { } /** - * Gets the inboundConnectorFormattedName property value. The inboundConnectorFormattedName property + * Gets the inboundConnectorFormattedName property value. Custom instructions name that defines organizational mail flow and how the email was routed. * @return string|null */ public function getInboundConnectorFormattedName(): ?string { @@ -405,7 +405,7 @@ public function getPolicyAction(): ?string { } /** - * Gets the policyType property value. The policyType property + * Gets the policyType property value. Type of policy configured that defines the delivery action on email. * @return string|null */ public function getPolicyType(): ?string { @@ -417,7 +417,7 @@ public function getPolicyType(): ?string { } /** - * Gets the primaryOverrideSource property value. The primaryOverrideSource property + * Gets the primaryOverrideSource property value. Shows the organization or user setting that altered the intended delivery location of the message (allowed instead of blocked, or blocked instead of allowed). * @return string|null */ public function getPrimaryOverrideSource(): ?string { @@ -429,7 +429,7 @@ public function getPrimaryOverrideSource(): ?string { } /** - * Gets the recipientDetail property value. The recipientDetail property + * Gets the recipientDetail property value. Details of the recipients. * @return AnalyzedEmailRecipientDetail|null */ public function getRecipientDetail(): ?AnalyzedEmailRecipientDetail { @@ -513,7 +513,7 @@ public function getSubject(): ?string { } /** - * Gets the threatDetectionDetails property value. The threatDetectionDetails property + * Gets the threatDetectionDetails property value. Information about threats detected in the email. * @return array|null */ public function getThreatDetectionDetails(): ?array { @@ -541,7 +541,7 @@ public function getThreatTypes(): ?array { } /** - * Gets the timelineEvents property value. The timelineEvents property + * Gets the timelineEvents property value. Delivery and post-delivery events that happened to the email. * @return array|null */ public function getTimelineEvents(): ?array { @@ -646,7 +646,7 @@ public function setBulkComplaintLevel(?string $value): void { } /** - * Sets the clientType property value. The clientType property + * Sets the clientType property value. Shows the type of client that sent the message (for example, REST). * @param string|null $value Value to set for the clientType property. */ public function setClientType(?string $value): void { @@ -686,7 +686,7 @@ public function setDistributionList(?string $value): void { } /** - * Sets the dlpRules property value. The dlpRules property + * Sets the dlpRules property value. Data loss prevention rules configured in purview. * @param array|null $value Value to set for the dlpRules property. */ public function setDlpRules(?array $value): void { @@ -710,7 +710,7 @@ public function setExchangeTransportRules(?array $value): void { } /** - * Sets the forwardingDetail property value. The forwardingDetail property + * Sets the forwardingDetail property value. Email smtp forwarding details. * @param string|null $value Value to set for the forwardingDetail property. */ public function setForwardingDetail(?string $value): void { @@ -718,7 +718,7 @@ public function setForwardingDetail(?string $value): void { } /** - * Sets the inboundConnectorFormattedName property value. The inboundConnectorFormattedName property + * Sets the inboundConnectorFormattedName property value. Custom instructions name that defines organizational mail flow and how the email was routed. * @param string|null $value Value to set for the inboundConnectorFormattedName property. */ public function setInboundConnectorFormattedName(?string $value): void { @@ -806,7 +806,7 @@ public function setPolicyAction(?string $value): void { } /** - * Sets the policyType property value. The policyType property + * Sets the policyType property value. Type of policy configured that defines the delivery action on email. * @param string|null $value Value to set for the policyType property. */ public function setPolicyType(?string $value): void { @@ -814,7 +814,7 @@ public function setPolicyType(?string $value): void { } /** - * Sets the primaryOverrideSource property value. The primaryOverrideSource property + * Sets the primaryOverrideSource property value. Shows the organization or user setting that altered the intended delivery location of the message (allowed instead of blocked, or blocked instead of allowed). * @param string|null $value Value to set for the primaryOverrideSource property. */ public function setPrimaryOverrideSource(?string $value): void { @@ -822,7 +822,7 @@ public function setPrimaryOverrideSource(?string $value): void { } /** - * Sets the recipientDetail property value. The recipientDetail property + * Sets the recipientDetail property value. Details of the recipients. * @param AnalyzedEmailRecipientDetail|null $value Value to set for the recipientDetail property. */ public function setRecipientDetail(?AnalyzedEmailRecipientDetail $value): void { @@ -878,7 +878,7 @@ public function setSubject(?string $value): void { } /** - * Sets the threatDetectionDetails property value. The threatDetectionDetails property + * Sets the threatDetectionDetails property value. Information about threats detected in the email. * @param array|null $value Value to set for the threatDetectionDetails property. */ public function setThreatDetectionDetails(?array $value): void { @@ -894,7 +894,7 @@ public function setThreatTypes(?array $value): void { } /** - * Sets the timelineEvents property value. The timelineEvents property + * Sets the timelineEvents property value. Delivery and post-delivery events that happened to the email. * @param array|null $value Value to set for the timelineEvents property. */ public function setTimelineEvents(?array $value): void { diff --git a/src/Generated/Models/Security/AnalyzedEmailAttachment.php b/src/Generated/Models/Security/AnalyzedEmailAttachment.php index 597a438a7cd..758c9276cf7 100644 --- a/src/Generated/Models/Security/AnalyzedEmailAttachment.php +++ b/src/Generated/Models/Security/AnalyzedEmailAttachment.php @@ -88,7 +88,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the fileExtension property value. The fileExtension property + * Gets the fileExtension property value. Extension of the file. * @return string|null */ public function getFileExtension(): ?string { @@ -112,7 +112,7 @@ public function getFileName(): ?string { } /** - * Gets the fileSize property value. The fileSize property + * Gets the fileSize property value. Size of the file. * @return int|null */ public function getFileSize(): ?int { @@ -136,7 +136,7 @@ public function getFileType(): ?string { } /** - * Gets the malwareFamily property value. The malwareFamily property + * Gets the malwareFamily property value. The threat name associated with the threat type. * @return string|null */ public function getMalwareFamily(): ?string { @@ -172,7 +172,7 @@ public function getSha256(): ?string { } /** - * Gets the tenantAllowBlockListDetailInfo property value. The tenantAllowBlockListDetailInfo property + * Gets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. * @return string|null */ public function getTenantAllowBlockListDetailInfo(): ?string { @@ -238,7 +238,7 @@ public function setDetonationDetails(?DetonationDetails $value): void { } /** - * Sets the fileExtension property value. The fileExtension property + * Sets the fileExtension property value. Extension of the file. * @param string|null $value Value to set for the fileExtension property. */ public function setFileExtension(?string $value): void { @@ -254,7 +254,7 @@ public function setFileName(?string $value): void { } /** - * Sets the fileSize property value. The fileSize property + * Sets the fileSize property value. Size of the file. * @param int|null $value Value to set for the fileSize property. */ public function setFileSize(?int $value): void { @@ -270,7 +270,7 @@ public function setFileType(?string $value): void { } /** - * Sets the malwareFamily property value. The malwareFamily property + * Sets the malwareFamily property value. The threat name associated with the threat type. * @param string|null $value Value to set for the malwareFamily property. */ public function setMalwareFamily(?string $value): void { @@ -294,7 +294,7 @@ public function setSha256(?string $value): void { } /** - * Sets the tenantAllowBlockListDetailInfo property value. The tenantAllowBlockListDetailInfo property + * Sets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. * @param string|null $value Value to set for the tenantAllowBlockListDetailInfo property. */ public function setTenantAllowBlockListDetailInfo(?string $value): void { diff --git a/src/Generated/Models/Security/AnalyzedEmailDeliveryDetail.php b/src/Generated/Models/Security/AnalyzedEmailDeliveryDetail.php index e78f257800b..12b39d1afe3 100644 --- a/src/Generated/Models/Security/AnalyzedEmailDeliveryDetail.php +++ b/src/Generated/Models/Security/AnalyzedEmailDeliveryDetail.php @@ -83,7 +83,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the latestThreats property value. The latestThreats property + * Gets the latestThreats property value. Latest known threat on the email. * @return string|null */ public function getLatestThreats(): ?string { @@ -119,7 +119,7 @@ public function getOdataType(): ?string { } /** - * Gets the originalThreats property value. The originalThreats property + * Gets the originalThreats property value. Threats identified at the time of delivery. * @return string|null */ public function getOriginalThreats(): ?string { @@ -168,7 +168,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the latestThreats property value. The latestThreats property + * Sets the latestThreats property value. Latest known threat on the email. * @param string|null $value Value to set for the latestThreats property. */ public function setLatestThreats(?string $value): void { @@ -192,7 +192,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the originalThreats property value. The originalThreats property + * Sets the originalThreats property value. Threats identified at the time of delivery. * @param string|null $value Value to set for the originalThreats property. */ public function setOriginalThreats(?string $value): void { diff --git a/src/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.php b/src/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.php index be322f42473..603a0a120ab 100644 --- a/src/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.php +++ b/src/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.php @@ -69,7 +69,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the name property value. The name property + * Gets the name property value. Name of the the data loss prevention rule. * @return string|null */ public function getName(): ?string { @@ -93,7 +93,7 @@ public function getOdataType(): ?string { } /** - * Gets the ruleId property value. The ruleId property + * Gets the ruleId property value. Unique identifier of the data loss prevention rule. * @return string|null */ public function getRuleId(): ?string { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the name property value. The name property + * Sets the name property value. Name of the the data loss prevention rule. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { @@ -148,7 +148,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the ruleId property value. The ruleId property + * Sets the ruleId property value. Unique identifier of the data loss prevention rule. * @param string|null $value Value to set for the ruleId property. */ public function setRuleId(?string $value): void { diff --git a/src/Generated/Models/Security/AnalyzedEmailRecipientDetail.php b/src/Generated/Models/Security/AnalyzedEmailRecipientDetail.php index c9df00cfec9..8f71c48f098 100644 --- a/src/Generated/Models/Security/AnalyzedEmailRecipientDetail.php +++ b/src/Generated/Models/Security/AnalyzedEmailRecipientDetail.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the ccRecipients property value. The ccRecipients property + * Gets the ccRecipients property value. Recipient address in the cc field. * @return array|null */ public function getCcRecipients(): ?array { @@ -71,7 +71,7 @@ public function getCcRecipients(): ?array { } /** - * Gets the domainName property value. The domainName property + * Gets the domainName property value. Domain name of the recipient. * @return string|null */ public function getDomainName(): ?string { @@ -142,7 +142,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the ccRecipients property value. The ccRecipients property + * Sets the ccRecipients property value. Recipient address in the cc field. * @param array|null $value Value to set for the ccRecipients property. */ public function setCcRecipients(?array $value): void { @@ -150,7 +150,7 @@ public function setCcRecipients(?array $value): void { } /** - * Sets the domainName property value. The domainName property + * Sets the domainName property value. Domain name of the recipient. * @param string|null $value Value to set for the domainName property. */ public function setDomainName(?string $value): void { diff --git a/src/Generated/Models/Security/AnalyzedEmailSenderDetail.php b/src/Generated/Models/Security/AnalyzedEmailSenderDetail.php index dc2ca947305..14e3e548c85 100644 --- a/src/Generated/Models/Security/AnalyzedEmailSenderDetail.php +++ b/src/Generated/Models/Security/AnalyzedEmailSenderDetail.php @@ -57,7 +57,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. Display name of sender from address. * @return string|null */ public function getDisplayName(): ?string { @@ -69,7 +69,7 @@ public function getDisplayName(): ?string { } /** - * Gets the domainCreationDateTime property value. The domainCreationDateTime property + * Gets the domainCreationDateTime property value. Date and time of creation of the sender domain. * @return DateTime|null */ public function getDomainCreationDateTime(): ?DateTime { @@ -81,7 +81,7 @@ public function getDomainCreationDateTime(): ?DateTime { } /** - * Gets the domainName property value. The domainName property + * Gets the domainName property value. Registered name of the domain. * @return string|null */ public function getDomainName(): ?string { @@ -93,7 +93,7 @@ public function getDomainName(): ?string { } /** - * Gets the domainOwner property value. The domainOwner property + * Gets the domainOwner property value. Owner of the domain. * @return string|null */ public function getDomainOwner(): ?string { @@ -149,7 +149,7 @@ public function getIpv4(): ?string { } /** - * Gets the location property value. The location property + * Gets the location property value. Location of the domain. * @return string|null */ public function getLocation(): ?string { @@ -173,7 +173,7 @@ public function getMailFromAddress(): ?string { } /** - * Gets the mailFromDomainName property value. The mailFromDomainName property + * Gets the mailFromDomainName property value. Domain name of sender mail from address. * @return string|null */ public function getMailFromDomainName(): ?string { @@ -231,7 +231,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. Display name of sender from address. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -239,7 +239,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the domainCreationDateTime property value. The domainCreationDateTime property + * Sets the domainCreationDateTime property value. Date and time of creation of the sender domain. * @param DateTime|null $value Value to set for the domainCreationDateTime property. */ public function setDomainCreationDateTime(?DateTime $value): void { @@ -247,7 +247,7 @@ public function setDomainCreationDateTime(?DateTime $value): void { } /** - * Sets the domainName property value. The domainName property + * Sets the domainName property value. Registered name of the domain. * @param string|null $value Value to set for the domainName property. */ public function setDomainName(?string $value): void { @@ -255,7 +255,7 @@ public function setDomainName(?string $value): void { } /** - * Sets the domainOwner property value. The domainOwner property + * Sets the domainOwner property value. Owner of the domain. * @param string|null $value Value to set for the domainOwner property. */ public function setDomainOwner(?string $value): void { @@ -279,7 +279,7 @@ public function setIpv4(?string $value): void { } /** - * Sets the location property value. The location property + * Sets the location property value. Location of the domain. * @param string|null $value Value to set for the location property. */ public function setLocation(?string $value): void { @@ -295,7 +295,7 @@ public function setMailFromAddress(?string $value): void { } /** - * Sets the mailFromDomainName property value. The mailFromDomainName property + * Sets the mailFromDomainName property value. Domain name of sender mail from address. * @param string|null $value Value to set for the mailFromDomainName property. */ public function setMailFromDomainName(?string $value): void { diff --git a/src/Generated/Models/Security/AnalyzedEmailUrl.php b/src/Generated/Models/Security/AnalyzedEmailUrl.php index bfe725d1400..3330573201b 100644 --- a/src/Generated/Models/Security/AnalyzedEmailUrl.php +++ b/src/Generated/Models/Security/AnalyzedEmailUrl.php @@ -108,7 +108,7 @@ public function getOdataType(): ?string { } /** - * Gets the tenantAllowBlockListDetailInfo property value. The tenantAllowBlockListDetailInfo property + * Gets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. * @return string|null */ public function getTenantAllowBlockListDetailInfo(): ?string { @@ -198,7 +198,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the tenantAllowBlockListDetailInfo property value. The tenantAllowBlockListDetailInfo property + * Sets the tenantAllowBlockListDetailInfo property value. Details of entries in tenant allow/block list configured by tenant. * @param string|null $value Value to set for the tenantAllowBlockListDetailInfo property. */ public function setTenantAllowBlockListDetailInfo(?string $value): void { diff --git a/src/Generated/Models/Security/CompromiseIndicator.php b/src/Generated/Models/Security/CompromiseIndicator.php index 731e7c33d9d..011af03edf5 100644 --- a/src/Generated/Models/Security/CompromiseIndicator.php +++ b/src/Generated/Models/Security/CompromiseIndicator.php @@ -81,7 +81,7 @@ public function getOdataType(): ?string { } /** - * Gets the value property value. The value property + * Gets the value property value. Indicator. * @return string|null */ public function getValue(): ?string { @@ -93,7 +93,7 @@ public function getValue(): ?string { } /** - * Gets the verdict property value. The verdict property + * Gets the verdict property value. .The possible values are: none, malware, phish, siteUnavailable, spam, decryptionFailed, unsupportedUriScheme, unsupportedFileType, undefined, unknownFutureValue. * @return VerdictCategory|null */ public function getVerdict(): ?VerdictCategory { @@ -140,7 +140,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the value property value. The value property + * Sets the value property value. Indicator. * @param string|null $value Value to set for the value property. */ public function setValue(?string $value): void { @@ -148,7 +148,7 @@ public function setValue(?string $value): void { } /** - * Sets the verdict property value. The verdict property + * Sets the verdict property value. .The possible values are: none, malware, phish, siteUnavailable, spam, decryptionFailed, unsupportedUriScheme, unsupportedFileType, undefined, unknownFutureValue. * @param VerdictCategory|null $value Value to set for the verdict property. */ public function setVerdict(?VerdictCategory $value): void { diff --git a/src/Generated/Models/Security/DetonationBehaviourDetails.php b/src/Generated/Models/Security/DetonationBehaviourDetails.php index 511d8e725a5..ec8ca31f9b2 100644 --- a/src/Generated/Models/Security/DetonationBehaviourDetails.php +++ b/src/Generated/Models/Security/DetonationBehaviourDetails.php @@ -36,7 +36,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Deton } /** - * Gets the actionStatus property value. The actionStatus property + * Gets the actionStatus property value. The status of the action performed during detonation (e.g., 'Successful', 'Failed', 'Blocked'). * @return string|null */ public function getActionStatus(): ?string { @@ -69,7 +69,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the behaviourCapability property value. The behaviourCapability property + * Gets the behaviourCapability property value. Categorizes the capability or type of behavior observed. * @return string|null */ public function getBehaviourCapability(): ?string { @@ -81,7 +81,7 @@ public function getBehaviourCapability(): ?string { } /** - * Gets the behaviourGroup property value. The behaviourGroup property + * Gets the behaviourGroup property value. Groups related behaviors together for classification purposes. * @return string|null */ public function getBehaviourGroup(): ?string { @@ -93,7 +93,7 @@ public function getBehaviourGroup(): ?string { } /** - * Gets the details property value. The details property + * Gets the details property value. More contextual information about the observed behavior or action. * @return string|null */ public function getDetails(): ?string { @@ -105,7 +105,7 @@ public function getDetails(): ?string { } /** - * Gets the eventDateTime property value. The eventDateTime property + * Gets the eventDateTime property value. The date and time when the behavior or action was observed during detonation. * @return DateTime|null */ public function getEventDateTime(): ?DateTime { @@ -149,7 +149,7 @@ public function getOdataType(): ?string { } /** - * Gets the operation property value. The operation property + * Gets the operation property value. The specific operation or action that was performed. * @return string|null */ public function getOperation(): ?string { @@ -161,7 +161,7 @@ public function getOperation(): ?string { } /** - * Gets the processId property value. The processId property + * Gets the processId property value. The unique identifier of the process involved in the behavior. * @return string|null */ public function getProcessId(): ?string { @@ -173,7 +173,7 @@ public function getProcessId(): ?string { } /** - * Gets the processName property value. The processName property + * Gets the processName property value. The name of the process that performed or was involved in the behavior. * @return string|null */ public function getProcessName(): ?string { @@ -185,7 +185,7 @@ public function getProcessName(): ?string { } /** - * Gets the target property value. The target property + * Gets the target property value. The target of the operation. * @return string|null */ public function getTarget(): ?string { @@ -215,7 +215,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the actionStatus property value. The actionStatus property + * Sets the actionStatus property value. The status of the action performed during detonation (e.g., 'Successful', 'Failed', 'Blocked'). * @param string|null $value Value to set for the actionStatus property. */ public function setActionStatus(?string $value): void { @@ -239,7 +239,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the behaviourCapability property value. The behaviourCapability property + * Sets the behaviourCapability property value. Categorizes the capability or type of behavior observed. * @param string|null $value Value to set for the behaviourCapability property. */ public function setBehaviourCapability(?string $value): void { @@ -247,7 +247,7 @@ public function setBehaviourCapability(?string $value): void { } /** - * Sets the behaviourGroup property value. The behaviourGroup property + * Sets the behaviourGroup property value. Groups related behaviors together for classification purposes. * @param string|null $value Value to set for the behaviourGroup property. */ public function setBehaviourGroup(?string $value): void { @@ -255,7 +255,7 @@ public function setBehaviourGroup(?string $value): void { } /** - * Sets the details property value. The details property + * Sets the details property value. More contextual information about the observed behavior or action. * @param string|null $value Value to set for the details property. */ public function setDetails(?string $value): void { @@ -263,7 +263,7 @@ public function setDetails(?string $value): void { } /** - * Sets the eventDateTime property value. The eventDateTime property + * Sets the eventDateTime property value. The date and time when the behavior or action was observed during detonation. * @param DateTime|null $value Value to set for the eventDateTime property. */ public function setEventDateTime(?DateTime $value): void { @@ -279,7 +279,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the operation property value. The operation property + * Sets the operation property value. The specific operation or action that was performed. * @param string|null $value Value to set for the operation property. */ public function setOperation(?string $value): void { @@ -287,7 +287,7 @@ public function setOperation(?string $value): void { } /** - * Sets the processId property value. The processId property + * Sets the processId property value. The unique identifier of the process involved in the behavior. * @param string|null $value Value to set for the processId property. */ public function setProcessId(?string $value): void { @@ -295,7 +295,7 @@ public function setProcessId(?string $value): void { } /** - * Sets the processName property value. The processName property + * Sets the processName property value. The name of the process that performed or was involved in the behavior. * @param string|null $value Value to set for the processName property. */ public function setProcessName(?string $value): void { @@ -303,7 +303,7 @@ public function setProcessName(?string $value): void { } /** - * Sets the target property value. The target property + * Sets the target property value. The target of the operation. * @param string|null $value Value to set for the target property. */ public function setTarget(?string $value): void { diff --git a/src/Generated/Models/Security/DetonationDetails.php b/src/Generated/Models/Security/DetonationDetails.php index d89e679cef3..50f799b2e27 100644 --- a/src/Generated/Models/Security/DetonationDetails.php +++ b/src/Generated/Models/Security/DetonationDetails.php @@ -70,7 +70,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the compromiseIndicators property value. The compromiseIndicators property + * Gets the compromiseIndicators property value. Represents indicators and its associated verdict that suggests whether an email is compromised. * @return array|null */ public function getCompromiseIndicators(): ?array { @@ -84,7 +84,7 @@ public function getCompromiseIndicators(): ?array { } /** - * Gets the detonationBehaviourDetails property value. The detonationBehaviourDetails property + * Gets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation * @return DetonationBehaviourDetails|null */ public function getDetonationBehaviourDetails(): ?DetonationBehaviourDetails { @@ -120,7 +120,7 @@ public function getDetonationObservables(): ?DetonationObservables { } /** - * Gets the detonationScreenshotUri property value. The detonationScreenshotUri property + * Gets the detonationScreenshotUri property value. Show any screenshots that were captured during detonation. No screenshots are captured if the URL opens into a link that directly downloads a file. However, you see the downloaded file in the detonation chain. * @return string|null */ public function getDetonationScreenshotUri(): ?string { @@ -228,7 +228,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the compromiseIndicators property value. The compromiseIndicators property + * Sets the compromiseIndicators property value. Represents indicators and its associated verdict that suggests whether an email is compromised. * @param array|null $value Value to set for the compromiseIndicators property. */ public function setCompromiseIndicators(?array $value): void { @@ -236,7 +236,7 @@ public function setCompromiseIndicators(?array $value): void { } /** - * Sets the detonationBehaviourDetails property value. The detonationBehaviourDetails property + * Sets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation * @param DetonationBehaviourDetails|null $value Value to set for the detonationBehaviourDetails property. */ public function setDetonationBehaviourDetails(?DetonationBehaviourDetails $value): void { @@ -260,7 +260,7 @@ public function setDetonationObservables(?DetonationObservables $value): void { } /** - * Sets the detonationScreenshotUri property value. The detonationScreenshotUri property + * Sets the detonationScreenshotUri property value. Show any screenshots that were captured during detonation. No screenshots are captured if the URL opens into a link that directly downloads a file. However, you see the downloaded file in the detonation chain. * @param string|null $value Value to set for the detonationScreenshotUri property. */ public function setDetonationScreenshotUri(?string $value): void { diff --git a/src/Generated/Models/Security/ThreatDetectionDetail.php b/src/Generated/Models/Security/ThreatDetectionDetail.php index fe51c9328ef..576539e9586 100644 --- a/src/Generated/Models/Security/ThreatDetectionDetail.php +++ b/src/Generated/Models/Security/ThreatDetectionDetail.php @@ -56,7 +56,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the confidenceLevel property value. The confidenceLevel property + * Gets the confidenceLevel property value. Indicates the confidence level in the threat detection. * @return string|null */ public function getConfidenceLevel(): ?string { @@ -94,7 +94,7 @@ public function getOdataType(): ?string { } /** - * Gets the priorityAccountProtection property value. The priorityAccountProtection property + * Gets the priorityAccountProtection property value. Indicates if the account has priority protection enabled. * @return string|null */ public function getPriorityAccountProtection(): ?string { @@ -106,7 +106,7 @@ public function getPriorityAccountProtection(): ?string { } /** - * Gets the threats property value. The threats property + * Gets the threats property value. Lists the detected threats. * @return string|null */ public function getThreats(): ?string { @@ -146,7 +146,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the confidenceLevel property value. The confidenceLevel property + * Sets the confidenceLevel property value. Indicates the confidence level in the threat detection. * @param string|null $value Value to set for the confidenceLevel property. */ public function setConfidenceLevel(?string $value): void { @@ -162,7 +162,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the priorityAccountProtection property value. The priorityAccountProtection property + * Sets the priorityAccountProtection property value. Indicates if the account has priority protection enabled. * @param string|null $value Value to set for the priorityAccountProtection property. */ public function setPriorityAccountProtection(?string $value): void { @@ -170,7 +170,7 @@ public function setPriorityAccountProtection(?string $value): void { } /** - * Sets the threats property value. The threats property + * Sets the threats property value. Lists the detected threats. * @param string|null $value Value to set for the threats property. */ public function setThreats(?string $value): void { diff --git a/src/Generated/Models/Security/TimelineEvent.php b/src/Generated/Models/Security/TimelineEvent.php index cb8a5cc34c9..9829cfc45bc 100644 --- a/src/Generated/Models/Security/TimelineEvent.php +++ b/src/Generated/Models/Security/TimelineEvent.php @@ -58,7 +58,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the eventDateTime property value. The eventDateTime property + * Gets the eventDateTime property value. The date and time when the event occurred. * @return DateTime|null */ public function getEventDateTime(): ?DateTime { @@ -70,7 +70,7 @@ public function getEventDateTime(): ?DateTime { } /** - * Gets the eventDetails property value. The eventDetails property + * Gets the eventDetails property value. Additional details or context about the event. * @return string|null */ public function getEventDetails(): ?string { @@ -82,7 +82,7 @@ public function getEventDetails(): ?string { } /** - * Gets the eventResult property value. The eventResult property + * Gets the eventResult property value. The outcome or result of the event, such as delivery location or action taken. * @return string|null */ public function getEventResult(): ?string { @@ -94,7 +94,7 @@ public function getEventResult(): ?string { } /** - * Gets the eventSource property value. The eventSource property + * Gets the eventSource property value. The origin or actor that triggered the event. The possible values are: system, admin, user, unknownFutureValue. * @return EventSource|null */ public function getEventSource(): ?EventSource { @@ -106,7 +106,7 @@ public function getEventSource(): ?EventSource { } /** - * Gets the eventThreats property value. The eventThreats property + * Gets the eventThreats property value. Collection of threats identified or associated with this event. * @return array|null */ public function getEventThreats(): ?array { @@ -120,7 +120,7 @@ public function getEventThreats(): ?array { } /** - * Gets the eventType property value. The eventType property + * Gets the eventType property value. The type of event that occurred. The possible values are: originalDelivery, systemTimeTravel, dynamicDelivery, userUrlClick, reprocessed, zap, quarantineRelease, air, unknown, unknownFutureValue. * @return TimelineEventType|null */ public function getEventType(): ?TimelineEventType { @@ -199,7 +199,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the eventDateTime property value. The eventDateTime property + * Sets the eventDateTime property value. The date and time when the event occurred. * @param DateTime|null $value Value to set for the eventDateTime property. */ public function setEventDateTime(?DateTime $value): void { @@ -207,7 +207,7 @@ public function setEventDateTime(?DateTime $value): void { } /** - * Sets the eventDetails property value. The eventDetails property + * Sets the eventDetails property value. Additional details or context about the event. * @param string|null $value Value to set for the eventDetails property. */ public function setEventDetails(?string $value): void { @@ -215,7 +215,7 @@ public function setEventDetails(?string $value): void { } /** - * Sets the eventResult property value. The eventResult property + * Sets the eventResult property value. The outcome or result of the event, such as delivery location or action taken. * @param string|null $value Value to set for the eventResult property. */ public function setEventResult(?string $value): void { @@ -223,7 +223,7 @@ public function setEventResult(?string $value): void { } /** - * Sets the eventSource property value. The eventSource property + * Sets the eventSource property value. The origin or actor that triggered the event. The possible values are: system, admin, user, unknownFutureValue. * @param EventSource|null $value Value to set for the eventSource property. */ public function setEventSource(?EventSource $value): void { @@ -231,7 +231,7 @@ public function setEventSource(?EventSource $value): void { } /** - * Sets the eventThreats property value. The eventThreats property + * Sets the eventThreats property value. Collection of threats identified or associated with this event. * @param array|null $value Value to set for the eventThreats property. */ public function setEventThreats(?array $value): void { @@ -239,7 +239,7 @@ public function setEventThreats(?array $value): void { } /** - * Sets the eventType property value. The eventType property + * Sets the eventType property value. The type of event that occurred. The possible values are: originalDelivery, systemTimeTravel, dynamicDelivery, userUrlClick, reprocessed, zap, quarantineRelease, air, unknown, unknownFutureValue. * @param TimelineEventType|null $value Value to set for the eventType property. */ public function setEventType(?TimelineEventType $value): void { diff --git a/src/Generated/Models/SignIn.php b/src/Generated/Models/SignIn.php index e6b1509558c..ee9bf89986d 100644 --- a/src/Generated/Models/SignIn.php +++ b/src/Generated/Models/SignIn.php @@ -995,7 +995,7 @@ public function getTokenProtectionStatusDetails(): ?TokenProtectionStatusDetails } /** - * Gets the uniqueTokenIdentifier property value. A unique base64 encoded request identifier used to track tokens issued by Microsoft Entra ID as they're redeemed at resource providers. + * Gets the uniqueTokenIdentifier property value. A unique base64-encoded request identifier used to track tokens issued by Microsoft Entra ID as they're redeemed at resource providers. * @return string|null */ public function getUniqueTokenIdentifier(): ?string { @@ -1702,7 +1702,7 @@ public function setTokenProtectionStatusDetails(?TokenProtectionStatusDetails $v } /** - * Sets the uniqueTokenIdentifier property value. A unique base64 encoded request identifier used to track tokens issued by Microsoft Entra ID as they're redeemed at resource providers. + * Sets the uniqueTokenIdentifier property value. A unique base64-encoded request identifier used to track tokens issued by Microsoft Entra ID as they're redeemed at resource providers. * @param string|null $value Value to set for the uniqueTokenIdentifier property. */ public function setUniqueTokenIdentifier(?string $value): void { diff --git a/src/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.php b/src/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.php index 2b6f3c154a3..e93db4ac9f0 100644 --- a/src/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.php +++ b/src/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.php @@ -52,7 +52,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the siteIds property value. The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + * Gets the siteIds property value. The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. * @return array|null */ public function getSiteIds(): ?array { @@ -90,7 +90,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the siteIds property value. The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. + * Sets the siteIds property value. The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. * @param array|null $value Value to set for the siteIds property. */ public function setSiteIds(?array $value): void { diff --git a/src/Generated/Models/SwapShiftsChangeRequest.php b/src/Generated/Models/SwapShiftsChangeRequest.php index b81c5a43987..c203abe40c4 100644 --- a/src/Generated/Models/SwapShiftsChangeRequest.php +++ b/src/Generated/Models/SwapShiftsChangeRequest.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the recipientShiftId property value. Shift ID for the recipient user with whom the request is to swap. + * Gets the recipientShiftId property value. The recipient's Shift ID * @return string|null */ public function getRecipientShiftId(): ?string { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the recipientShiftId property value. Shift ID for the recipient user with whom the request is to swap. + * Sets the recipientShiftId property value. The recipient's Shift ID * @param string|null $value Value to set for the recipientShiftId property. */ public function setRecipientShiftId(?string $value): void { diff --git a/src/Generated/Models/ChangeItemState.php b/src/Generated/Models/TeamworkInteractionType.php similarity index 56% rename from src/Generated/Models/ChangeItemState.php rename to src/Generated/Models/TeamworkInteractionType.php index 6c14efe7388..86e2ae9b36c 100644 --- a/src/Generated/Models/ChangeItemState.php +++ b/src/Generated/Models/TeamworkInteractionType.php @@ -4,8 +4,7 @@ use Microsoft\Kiota\Abstractions\Enum; -class ChangeItemState extends Enum { - public const AVAILABLE = "available"; - public const COMING_SOON = "comingSoon"; +class TeamworkInteractionType extends Enum { + public const CREATE_CHAT = "createChat"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/TeamworkUserIdentity.php b/src/Generated/Models/TeamworkUserIdentity.php index 1efaffd87d4..cdd8750f305 100644 --- a/src/Generated/Models/TeamworkUserIdentity.php +++ b/src/Generated/Models/TeamworkUserIdentity.php @@ -33,6 +33,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'userIdentityType' => fn(ParseNode $n) => $o->setUserIdentityType($n->getEnumValue(TeamworkUserIdentityType::class)), + 'userPrincipalName' => fn(ParseNode $n) => $o->setUserPrincipalName($n->getStringValue()), ]); } @@ -48,6 +49,18 @@ public function getUserIdentityType(): ?TeamworkUserIdentityType { throw new \UnexpectedValueException("Invalid type found in backing store for 'userIdentityType'"); } + /** + * Gets the userPrincipalName property value. User principal name (UPN) of the user. + * @return string|null + */ + public function getUserPrincipalName(): ?string { + $val = $this->getBackingStore()->get('userPrincipalName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userPrincipalName'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -55,6 +68,7 @@ public function getUserIdentityType(): ?TeamworkUserIdentityType { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeEnumValue('userIdentityType', $this->getUserIdentityType()); + $writer->writeStringValue('userPrincipalName', $this->getUserPrincipalName()); } /** @@ -65,4 +79,12 @@ public function setUserIdentityType(?TeamworkUserIdentityType $value): void { $this->getBackingStore()->set('userIdentityType', $value); } + /** + * Sets the userPrincipalName property value. User principal name (UPN) of the user. + * @param string|null $value Value to set for the userPrincipalName property. + */ + public function setUserPrincipalName(?string $value): void { + $this->getBackingStore()->set('userPrincipalName', $value); + } + } diff --git a/src/Generated/Models/TimeOffRequest.php b/src/Generated/Models/TimeOffRequest.php index 37c969d2420..5493a773d9b 100644 --- a/src/Generated/Models/TimeOffRequest.php +++ b/src/Generated/Models/TimeOffRequest.php @@ -27,7 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeO } /** - * Gets the endDateTime property value. 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 + * Gets the endDateTime property value. The date and time the time off ends in ISO 8601 format and in UTC time. * @return DateTime|null */ public function getEndDateTime(): ?DateTime { @@ -52,7 +52,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the startDateTime property value. 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 + * Gets the startDateTime property value. The date and time the time off starts in ISO 8601 format and in UTC time. * @return DateTime|null */ public function getStartDateTime(): ?DateTime { @@ -87,7 +87,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the endDateTime property value. 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 + * Sets the endDateTime property value. The date and time the time off ends in ISO 8601 format and in UTC time. * @param DateTime|null $value Value to set for the endDateTime property. */ public function setEndDateTime(?DateTime $value): void { @@ -95,7 +95,7 @@ public function setEndDateTime(?DateTime $value): void { } /** - * Sets the startDateTime property value. 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 + * Sets the startDateTime property value. The date and time the time off starts in ISO 8601 format and in UTC time. * @param DateTime|null $value Value to set for the startDateTime property. */ public function setStartDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/WindowsDomainJoinConfiguration.php b/src/Generated/Models/WindowsDomainJoinConfiguration.php index 75d11378109..0fcbee9387c 100644 --- a/src/Generated/Models/WindowsDomainJoinConfiguration.php +++ b/src/Generated/Models/WindowsDomainJoinConfiguration.php @@ -81,7 +81,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity + * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. * @return array|null */ public function getNetworkAccessConfigurations(): ?array { @@ -144,7 +144,7 @@ public function setComputerNameSuffixRandomCharCount(?int $value): void { } /** - * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity + * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. * @param array|null $value Value to set for the networkAccessConfigurations property. */ public function setNetworkAccessConfigurations(?array $value): void { diff --git a/src/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.php b/src/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.php index f39201d31d5..09549ae6756 100644 --- a/src/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.php +++ b/src/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.php @@ -40,7 +40,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. + * Gets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. * @return bool|null */ public function getUseDeviceContext(): ?bool { @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. + * Sets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. * @param bool|null $value Value to set for the useDeviceContext property. */ public function setUseDeviceContext(?bool $value): void { diff --git a/src/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilder.php b/src/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilder.php index f77545b09c8..f501d36be18 100644 --- a/src/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilder.php +++ b/src/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilder.php @@ -51,10 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Summary of all usage insights on apps registered in the tenant for a specified period. + * Get a list of monthly insightSummary objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. * @param SummaryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-summary?view=graph-rest-beta Find more info here */ public function get(?SummaryRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -65,7 +66,7 @@ public function get(?SummaryRequestBuilderGetRequestConfiguration $requestConfig } /** - * Summary of all usage insights on apps registered in the tenant for a specified period. + * Get a list of monthly insightSummary objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. * @param SummaryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilderGetQueryParameters.php b/src/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilderGetQueryParameters.php index fbdbe5d4633..b1ad64d2517 100644 --- a/src/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilderGetQueryParameters.php +++ b/src/Generated/Reports/UserInsights/Monthly/Summary/SummaryRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Summary of all usage insights on apps registered in the tenant for a specified period. + * Get a list of monthly insightSummary objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. */ class SummaryRequestBuilderGetQueryParameters { diff --git a/src/Generated/RiskDetections/RiskDetectionsRequestBuilder.php b/src/Generated/RiskDetections/RiskDetectionsRequestBuilder.php index a0d22a4ca46..ca1e7a8c651 100644 --- a/src/Generated/RiskDetections/RiskDetectionsRequestBuilder.php +++ b/src/Generated/RiskDetections/RiskDetectionsRequestBuilder.php @@ -44,11 +44,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties of a riskDetection object. + * Retrieve the properties of a collection of riskDetection objects. * @param RiskDetectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta Find more info here */ public function get(?RiskDetectionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -74,7 +74,7 @@ public function post(RiskDetection $body, ?RiskDetectionsRequestBuilderPostReque } /** - * Retrieve the properties of a riskDetection object. + * Retrieve the properties of a collection of riskDetection objects. * @param RiskDetectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RiskDetections/RiskDetectionsRequestBuilderGetQueryParameters.php b/src/Generated/RiskDetections/RiskDetectionsRequestBuilderGetQueryParameters.php index 8c6152e8124..1464dc22797 100644 --- a/src/Generated/RiskDetections/RiskDetectionsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RiskDetections/RiskDetectionsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties of a riskDetection object. + * Retrieve the properties of a collection of riskDetection objects. */ class RiskDetectionsRequestBuilderGetQueryParameters { diff --git a/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.php b/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.php new file mode 100644 index 00000000000..8d4caf5c3a6 --- /dev/null +++ b/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ConfirmSafePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfirmSafePostRequestBody { + return new ConfirmSafePostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'userIds' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setUserIds($val); + }, + ]; + } + + /** + * Gets the userIds property value. The userIds property + * @return array|null + */ + public function getUserIds(): ?array { + $val = $this->getBackingStore()->get('userIds'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userIds'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('userIds', $this->getUserIds()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the userIds property value. The userIds property + * @param array|null $value Value to set for the userIds property. + */ + public function setUserIds(?array $value): void { + $this->getBackingStore()->set('userIds', $value); + } + +} diff --git a/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.php b/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.php new file mode 100644 index 00000000000..914529fb535 --- /dev/null +++ b/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/riskyUsers/confirmSafe'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + * @param ConfirmSafePostRequestBody $body The request body + * @param ConfirmSafeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/riskyuser-confirmsafe?view=graph-rest-beta Find more info here + */ + public function post(ConfirmSafePostRequestBody $body, ?ConfirmSafeRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none. + * @param ConfirmSafePostRequestBody $body The request body + * @param ConfirmSafeRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ConfirmSafePostRequestBody $body, ?ConfirmSafeRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmSafeRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmSafeRequestBuilder { + return new ConfirmSafeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php b/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..13ad9ae0f31 --- /dev/null +++ b/src/Generated/RiskyUsers/ConfirmSafe/ConfirmSafeRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/RiskyUsers/RiskyUsersRequestBuilder.php b/src/Generated/RiskyUsers/RiskyUsersRequestBuilder.php index 0a5cf665f60..646157346e0 100644 --- a/src/Generated/RiskyUsers/RiskyUsersRequestBuilder.php +++ b/src/Generated/RiskyUsers/RiskyUsersRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Beta\Generated\Models\RiskyUser; use Microsoft\Graph\Beta\Generated\Models\RiskyUserCollectionResponse; use Microsoft\Graph\Beta\Generated\RiskyUsers\ConfirmCompromised\ConfirmCompromisedRequestBuilder; +use Microsoft\Graph\Beta\Generated\RiskyUsers\ConfirmSafe\ConfirmSafeRequestBuilder; use Microsoft\Graph\Beta\Generated\RiskyUsers\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\RiskyUsers\Dismiss\DismissRequestBuilder; use Microsoft\Graph\Beta\Generated\RiskyUsers\Item\RiskyUserItemRequestBuilder; @@ -28,6 +29,13 @@ public function confirmCompromised(): ConfirmCompromisedRequestBuilder { return new ConfirmCompromisedRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the confirmSafe method. + */ + public function confirmSafe(): ConfirmSafeRequestBuilder { + return new ConfirmSafeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ diff --git a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php index a7971864f14..2416f0a1cd6 100644 --- a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta Find more info here */ public function get(?RoleAssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(UnifiedRoleAssignmentMultiple $body, ?RoleAssignmentsReques } /** - * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php index 845a0fd3c5f..3cc9cd7841d 100644 --- a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. */ class RoleAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.php index 9da3a24d885..a058f410f22 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.php @@ -46,12 +46,12 @@ public function get(?ClaimsPolicyRequestBuilderGetRequestConfiguration $requestC } /** - * Update a customClaimsPolicy object. + * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. * @param CustomClaimsPolicy $body The request body * @param ClaimsPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta Find more info here */ public function patch(CustomClaimsPolicy $body, ?ClaimsPolicyRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -62,12 +62,12 @@ public function patch(CustomClaimsPolicy $body, ?ClaimsPolicyRequestBuilderPatch } /** - * Update a customClaimsPolicy object. + * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. * @param CustomClaimsPolicy $body The request body * @param ClaimsPolicyRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta Find more info here */ public function put(CustomClaimsPolicy $body, ?ClaimsPolicyRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ClaimsPolicyRequestBuilderGetRequestCon } /** - * Update a customClaimsPolicy object. + * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. * @param CustomClaimsPolicy $body The request body * @param ClaimsPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPatchRequestInformation(CustomClaimsPolicy $body, ?ClaimsPolic } /** - * Update a customClaimsPolicy object. + * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. * @param CustomClaimsPolicy $body The request body * @param ClaimsPolicyRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index 51d2ca764a9..634f6db908c 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -125,11 +125,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-beta Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -172,7 +172,7 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index 183d8b067e0..33f5af44dc0 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/SitesRequestBuilder.php b/src/Generated/Sites/SitesRequestBuilder.php index d1a52deef49..80edce9fb2f 100644 --- a/src/Generated/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/SitesRequestBuilder.php @@ -83,11 +83,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta Find more info here */ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,7 +98,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php index 128329ff415..3d4ad78ca73 100644 --- a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php new file mode 100644 index 00000000000..d9d5c38eb1a --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ConfirmForUserPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfirmForUserPostRequestBody { + return new ConfirmForUserPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]; + } + + /** + * Gets the userId property value. The userId property + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('userId', $this->getUserId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the userId property value. The userId property + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php new file mode 100644 index 00000000000..b06a4669e0d --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeCards/{timeCard%2Did}/confirmForUser'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action confirmForUser + * @param ConfirmForUserPostRequestBody $body The request body + * @param ConfirmForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ConfirmForUserPostRequestBody $body, ?ConfirmForUserRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action confirmForUser + * @param ConfirmForUserPostRequestBody $body The request body + * @param ConfirmForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ConfirmForUserPostRequestBody $body, ?ConfirmForUserRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmForUserRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmForUserRequestBuilder { + return new ConfirmForUserRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..b8e37a02e0e --- /dev/null +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php index fb520a205e0..0223aa810cc 100644 --- a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Beta\Generated\Models\TimeCard; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Schedule\TimeCards\Item\ClockOut\ClockOutRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Schedule\TimeCards\Item\Confirm\ConfirmRequestBuilder; +use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Schedule\TimeCards\Item\ConfirmForUser\ConfirmForUserRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Schedule\TimeCards\Item\EndBreak\EndBreakRequestBuilder; use Microsoft\Graph\Beta\Generated\TeamTemplateDefinition\Item\TeamDefinition\Schedule\TimeCards\Item\StartBreak\StartBreakRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -34,6 +35,13 @@ public function confirm(): ConfirmRequestBuilder { return new ConfirmRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the confirmForUser method. + */ + public function confirmForUser(): ConfirmForUserRequestBuilder { + return new ConfirmForUserRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the endBreak method. */ diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php new file mode 100644 index 00000000000..2db96b7337e --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ConfirmForUserPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfirmForUserPostRequestBody { + return new ConfirmForUserPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]; + } + + /** + * Gets the userId property value. The userId property + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('userId', $this->getUserId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the userId property value. The userId property + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php new file mode 100644 index 00000000000..9dfc61bb255 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirmForUser'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action confirmForUser + * @param ConfirmForUserPostRequestBody $body The request body + * @param ConfirmForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ConfirmForUserPostRequestBody $body, ?ConfirmForUserRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action confirmForUser + * @param ConfirmForUserPostRequestBody $body The request body + * @param ConfirmForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ConfirmForUserPostRequestBody $body, ?ConfirmForUserRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmForUserRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmForUserRequestBuilder { + return new ConfirmForUserRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..531eba93b06 --- /dev/null +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php index 9df2fa55ab5..441006e1f88 100644 --- a/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Beta\Generated\Models\TimeCard; use Microsoft\Graph\Beta\Generated\Teams\Item\Schedule\TimeCards\Item\ClockOut\ClockOutRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\Schedule\TimeCards\Item\Confirm\ConfirmRequestBuilder; +use Microsoft\Graph\Beta\Generated\Teams\Item\Schedule\TimeCards\Item\ConfirmForUser\ConfirmForUserRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\Schedule\TimeCards\Item\EndBreak\EndBreakRequestBuilder; use Microsoft\Graph\Beta\Generated\Teams\Item\Schedule\TimeCards\Item\StartBreak\StartBreakRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -34,6 +35,13 @@ public function confirm(): ConfirmRequestBuilder { return new ConfirmRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the confirmForUser method. + */ + public function confirmForUser(): ConfirmForUserRequestBuilder { + return new ConfirmForUserRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the endBreak method. */ diff --git a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php index dbf9ac7a8f8..4688f83a0f0 100644 --- a/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php +++ b/src/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.php @@ -67,11 +67,12 @@ public function get(?TimeOffRequestsRequestBuilderGetRequestConfiguration $reque } /** - * Create new navigation property to timeOffRequests for teams + * Create instance of a timeoffrequest object. * @param TimeOffRequest $body The request body * @param TimeOffRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception + * @link https://learn.microsoft.com/graph/api/timeoffrequest-post?view=graph-rest-beta Find more info here */ public function post(TimeOffRequest $body, ?TimeOffRequestsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -103,7 +104,7 @@ public function toGetRequestInformation(?TimeOffRequestsRequestBuilderGetRequest } /** - * Create new navigation property to timeOffRequests for teams + * Create instance of a timeoffrequest object. * @param TimeOffRequest $body The request body * @param TimeOffRequestsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostRequestBody.php b/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostRequestBody.php new file mode 100644 index 00000000000..683ea4c28ad --- /dev/null +++ b/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostRequestBody.php @@ -0,0 +1,141 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DetermineIfInteractionIsAllowedPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DetermineIfInteractionIsAllowedPostRequestBody { + return new DetermineIfInteractionIsAllowedPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'interactionType' => fn(ParseNode $n) => $o->setInteractionType($n->getEnumValue(TeamworkInteractionType::class)), + 'users' => fn(ParseNode $n) => $o->setUsers($n->getCollectionOfObjectValues([Identity::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the interactionType property value. The interactionType property + * @return TeamworkInteractionType|null + */ + public function getInteractionType(): ?TeamworkInteractionType { + $val = $this->getBackingStore()->get('interactionType'); + if (is_null($val) || $val instanceof TeamworkInteractionType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'interactionType'"); + } + + /** + * Gets the users property value. The users property + * @return array|null + */ + public function getUsers(): ?array { + $val = $this->getBackingStore()->get('users'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Identity::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'users'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('interactionType', $this->getInteractionType()); + $writer->writeCollectionOfObjectValues('users', $this->getUsers()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the interactionType property value. The interactionType property + * @param TeamworkInteractionType|null $value Value to set for the interactionType property. + */ + public function setInteractionType(?TeamworkInteractionType $value): void { + $this->getBackingStore()->set('interactionType', $value); + } + + /** + * Sets the users property value. The users property + * @param array|null $value Value to set for the users property. + */ + public function setUsers(?array $value): void { + $this->getBackingStore()->set('users', $value); + } + +} diff --git a/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostResponse.php b/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostResponse.php new file mode 100644 index 00000000000..6cb2a6771d0 --- /dev/null +++ b/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedPostResponse.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DetermineIfInteractionIsAllowedPostResponse + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DetermineIfInteractionIsAllowedPostResponse { + return new DetermineIfInteractionIsAllowedPostResponse(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getBooleanValue()), + ]; + } + + /** + * Gets the value property value. The value property + * @return bool|null + */ + public function getValue(): ?bool { + $val = $this->getBackingStore()->get('value'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('value', $this->getValue()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the value property value. The value property + * @param bool|null $value Value to set for the value property. + */ + public function setValue(?bool $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilder.php b/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilder.php new file mode 100644 index 00000000000..213fa0f4de8 --- /dev/null +++ b/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/determineIfInteractionIsAllowed'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Determine if a specified Microsoft Teams interaction is allowed between the signed-in user and specified users. + * @param DetermineIfInteractionIsAllowedPostRequestBody $body The request body + * @param DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/teamwork-determineifinteractionisallowed?view=graph-rest-beta Find more info here + */ + public function post(DetermineIfInteractionIsAllowedPostRequestBody $body, ?DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DetermineIfInteractionIsAllowedPostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Determine if a specified Microsoft Teams interaction is allowed between the signed-in user and specified users. + * @param DetermineIfInteractionIsAllowedPostRequestBody $body The request body + * @param DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DetermineIfInteractionIsAllowedPostRequestBody $body, ?DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DetermineIfInteractionIsAllowedRequestBuilder + */ + public function withUrl(string $rawUrl): DetermineIfInteractionIsAllowedRequestBuilder { + return new DetermineIfInteractionIsAllowedRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration.php b/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..30de1794a68 --- /dev/null +++ b/src/Generated/Teamwork/DetermineIfInteractionIsAllowed/DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php new file mode 100644 index 00000000000..59d1618134f --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserPostRequestBody.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ConfirmForUserPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConfirmForUserPostRequestBody { + return new ConfirmForUserPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]; + } + + /** + * Gets the userId property value. The userId property + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('userId', $this->getUserId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the userId property value. The userId property + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php new file mode 100644 index 00000000000..a16d2584e4d --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/timeCards/{timeCard%2Did}/confirmForUser'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action confirmForUser + * @param ConfirmForUserPostRequestBody $body The request body + * @param ConfirmForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ConfirmForUserPostRequestBody $body, ?ConfirmForUserRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TimeCard::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action confirmForUser + * @param ConfirmForUserPostRequestBody $body The request body + * @param ConfirmForUserRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ConfirmForUserPostRequestBody $body, ?ConfirmForUserRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ConfirmForUserRequestBuilder + */ + public function withUrl(string $rawUrl): ConfirmForUserRequestBuilder { + return new ConfirmForUserRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..c456d20265a --- /dev/null +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/ConfirmForUser/ConfirmForUserRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php index 5ac493f1b15..ee5d5a28de3 100644 --- a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Beta\Generated\Models\TimeCard; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Schedule\TimeCards\Item\ClockOut\ClockOutRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Schedule\TimeCards\Item\Confirm\ConfirmRequestBuilder; +use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Schedule\TimeCards\Item\ConfirmForUser\ConfirmForUserRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Schedule\TimeCards\Item\EndBreak\EndBreakRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamTemplates\Item\Definitions\Item\TeamDefinition\Schedule\TimeCards\Item\StartBreak\StartBreakRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -34,6 +35,13 @@ public function confirm(): ConfirmRequestBuilder { return new ConfirmRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the confirmForUser method. + */ + public function confirmForUser(): ConfirmForUserRequestBuilder { + return new ConfirmForUserRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the endBreak method. */ diff --git a/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.php b/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.php index 256f9d6c167..d3b76457d39 100644 --- a/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.php +++ b/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List the teamTemplateDefinition objects associated with a teamTemplate. + * Get the list of teamTemplate objects that are available for a tenant. * @param TeamTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-beta Find more info here */ public function get(?TeamTemplatesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(TeamTemplate $body, ?TeamTemplatesRequestBuilderPostRequest } /** - * List the teamTemplateDefinition objects associated with a teamTemplate. + * Get the list of teamTemplate objects that are available for a tenant. * @param TeamTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilderGetQueryParameters.php index b2e9468de8d..fc305644cbb 100644 --- a/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List the teamTemplateDefinition objects associated with a teamTemplate. + * Get the list of teamTemplate objects that are available for a tenant. */ class TeamTemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teamwork/TeamworkRequestBuilder.php b/src/Generated/Teamwork/TeamworkRequestBuilder.php index 58ae6ad47bc..c8f77a482f9 100644 --- a/src/Generated/Teamwork/TeamworkRequestBuilder.php +++ b/src/Generated/Teamwork/TeamworkRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Beta\Generated\Models\Teamwork; use Microsoft\Graph\Beta\Generated\Teamwork\DeletedChats\DeletedChatsRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\DeletedTeams\DeletedTeamsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Teamwork\DetermineIfInteractionIsAllowed\DetermineIfInteractionIsAllowedRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\Devices\DevicesRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\SendActivityNotificationToRecipients\SendActivityNotificationToRecipientsRequestBuilder; use Microsoft\Graph\Beta\Generated\Teamwork\TeamsAppSettings\TeamsAppSettingsRequestBuilder; @@ -37,6 +38,13 @@ public function deletedTeams(): DeletedTeamsRequestBuilder { return new DeletedTeamsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the determineIfInteractionIsAllowed method. + */ + public function determineIfInteractionIsAllowed(): DetermineIfInteractionIsAllowedRequestBuilder { + return new DetermineIfInteractionIsAllowedRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the devices property of the microsoft.graph.teamwork entity. */ diff --git a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php index 80ee643e6d8..d6511aba83e 100644 --- a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php +++ b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php @@ -62,12 +62,12 @@ public function get(?MultiTenantOrganizationRequestBuilderGetRequestConfiguratio } /** - * Update the properties of a multi-tenant organization. + * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-beta Find more info here */ public function patch(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MultiTenantOrganizationRequestBuilderGe } /** - * Update the properties of a multi-tenant organization. + * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php index df84d393232..1489a1e2250 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Beta\Generated\Models\CalendarCollectionResponse; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Users\Item\CalendarGroups\Item\Calendars\Count\CountRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\CalendarGroups\Item\Calendars\Delta\DeltaRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\CalendarGroups\Item\Calendars\Item\CalendarItemRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -26,6 +27,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the delta method. + */ + public function delta(): DeltaRequestBuilder { + return new DeltaRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity. * @param string $calendarId The unique identifier of calendar diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.php new file mode 100644 index 00000000000..665eefdd5ac --- /dev/null +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Calendar::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Calendar::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.php new file mode 100644 index 00000000000..96a93540451 --- /dev/null +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/calendar-delta?view=graph-rest-beta Find more info here + */ + public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DeltaGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DeltaRequestBuilder + */ + public function withUrl(string $rawUrl): DeltaRequestBuilder { + return new DeltaRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7a2f4871270 --- /dev/null +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new DeltaRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f806b979b3c --- /dev/null +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DeltaRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DeltaRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DeltaRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return DeltaRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { + return new DeltaRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php b/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php index 13a6dd5a51d..a6bb0a59e00 100644 --- a/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/CalendarsRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Beta\Generated\Models\CalendarCollectionResponse; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Users\Item\Calendars\Count\CountRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\Calendars\Delta\DeltaRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Calendars\Item\CalendarItemRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -26,6 +27,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the delta method. + */ + public function delta(): DeltaRequestBuilder { + return new DeltaRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the calendars property of the microsoft.graph.user entity. * @param string $calendarId The unique identifier of calendar diff --git a/src/Generated/Users/Item/Calendars/Delta/DeltaGetResponse.php b/src/Generated/Users/Item/Calendars/Delta/DeltaGetResponse.php new file mode 100644 index 00000000000..da17fd0b0cb --- /dev/null +++ b/src/Generated/Users/Item/Calendars/Delta/DeltaGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Calendar::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Calendar::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.php new file mode 100644 index 00000000000..7f4f436c309 --- /dev/null +++ b/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/calendar-delta?view=graph-rest-beta Find more info here + */ + public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DeltaGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DeltaRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DeltaRequestBuilder + */ + public function withUrl(string $rawUrl): DeltaRequestBuilder { + return new DeltaRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..97ef3744cad --- /dev/null +++ b/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new DeltaRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4e875d15d2f --- /dev/null +++ b/src/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DeltaRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DeltaRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DeltaRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return DeltaRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DeltaRequestBuilderGetQueryParameters { + return new DeltaRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.php new file mode 100644 index 00000000000..0721b6ee253 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + * @param string $engagementRoleId The unique identifier of engagementRole + * @return EngagementRoleItemRequestBuilder + */ + public function byEngagementRoleId(string $engagementRoleId): EngagementRoleItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['engagementRole%2Did'] = $engagementRoleId; + return new EngagementRoleItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AssignedRolesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a list of all the roles assigned to a user in Viva Engage. + * @param AssignedRolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/employeeexperienceuser-list-assignedroles?view=graph-rest-beta Find more info here + */ + public function get(?AssignedRolesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to assignedRoles for users + * @param EngagementRole $body The request body + * @param AssignedRolesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EngagementRole $body, ?AssignedRolesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRole::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of all the roles assigned to a user in Viva Engage. + * @param AssignedRolesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AssignedRolesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to assignedRoles for users + * @param EngagementRole $body The request body + * @param AssignedRolesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EngagementRole $body, ?AssignedRolesRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return AssignedRolesRequestBuilder + */ + public function withUrl(string $rawUrl): AssignedRolesRequestBuilder { + return new AssignedRolesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..48feecf59f5 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new AssignedRolesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4c50d492446 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AssignedRolesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AssignedRolesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AssignedRolesRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return AssignedRolesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): AssignedRolesRequestBuilderGetQueryParameters { + return new AssignedRolesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..6e2bba37185 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/AssignedRolesRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..35e1b73bf88 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ee7bfe03d89 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..294245b4861 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.php new file mode 100644 index 00000000000..248e0674d23 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilder.php @@ -0,0 +1,151 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new EngagementRoleItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property assignedRoles for users + * @param EngagementRoleItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?EngagementRoleItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents the collection of Viva Engage roles assigned to a user. + * @param EngagementRoleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?EngagementRoleItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRole::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property assignedRoles in users + * @param EngagementRole $body The request body + * @param EngagementRoleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(EngagementRole $body, ?EngagementRoleItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRole::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property assignedRoles for users + * @param EngagementRoleItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?EngagementRoleItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Represents the collection of Viva Engage roles assigned to a user. + * @param EngagementRoleItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?EngagementRoleItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property assignedRoles in users + * @param EngagementRole $body The request body + * @param EngagementRoleItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(EngagementRole $body, ?EngagementRoleItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return EngagementRoleItemRequestBuilder + */ + public function withUrl(string $rawUrl): EngagementRoleItemRequestBuilder { + return new EngagementRoleItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..5df90f8b98c --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..25b15ccd9d1 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new EngagementRoleItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..48f9fe68493 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param EngagementRoleItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?EngagementRoleItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new EngagementRoleItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return EngagementRoleItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): EngagementRoleItemRequestBuilderGetQueryParameters { + return new EngagementRoleItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..6b0685ac6d3 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/EngagementRoleItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..4667c66823a --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..51fb8bbf658 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..06aec0be926 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.php new file mode 100644 index 00000000000..ab5e4d295f5 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.php @@ -0,0 +1,151 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new EngagementRoleMemberItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property members for users + * @param EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Users who have been assigned this role. + * @param EngagementRoleMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?EngagementRoleMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property members in users + * @param EngagementRoleMember $body The request body + * @param EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(EngagementRoleMember $body, ?EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property members for users + * @param EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Users who have been assigned this role. + * @param EngagementRoleMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?EngagementRoleMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property members in users + * @param EngagementRoleMember $body The request body + * @param EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(EngagementRoleMember $body, ?EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return EngagementRoleMemberItemRequestBuilder + */ + public function withUrl(string $rawUrl): EngagementRoleMemberItemRequestBuilder { + return new EngagementRoleMemberItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..0350cc8de3b --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7244fd4c863 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new EngagementRoleMemberItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f5fef8e2f64 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param EngagementRoleMemberItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?EngagementRoleMemberItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new EngagementRoleMemberItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return EngagementRoleMemberItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): EngagementRoleMemberItemRequestBuilderGetQueryParameters { + return new EngagementRoleMemberItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..45d897bed99 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php new file mode 100644 index 00000000000..d53817b599e --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -0,0 +1,112 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MailboxSettingsRequestBuilder + */ + public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { + return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..85fbfd5fed2 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d0a3690a8f4 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MailboxSettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { + return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..ba82fe9b570 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..d6fcb2b2410 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f15ca7cbd99 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0f0dd27ab3b --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php new file mode 100644 index 00000000000..04edc37d1f3 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -0,0 +1,85 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ServiceProvisioningErrorsRequestBuilder + */ + public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { + return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3987225aac2 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fec2c853973 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { + return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.php new file mode 100644 index 00000000000..0ea2aab9dc3 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilder.php @@ -0,0 +1,93 @@ +pathParameters, $this->requestAdapter); + } + + /** + * The serviceProvisioningErrors property + */ + public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { + return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new UserRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * User entity of the member who has been assigned the role. + * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?UserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * User entity of the member who has been assigned the role. + * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return UserRequestBuilder + */ + public function withUrl(string $rawUrl): UserRequestBuilder { + return new UserRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..809e2b5b33d --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new UserRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..81c266eee92 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/Item/User/UserRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UserRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UserRequestBuilderGetQueryParameters { + return new UserRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.php new file mode 100644 index 00000000000..cd602d3a99f --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the members property of the microsoft.graph.engagementRole entity. + * @param string $engagementRoleMemberId The unique identifier of engagementRoleMember + * @return EngagementRoleMemberItemRequestBuilder + */ + public function byEngagementRoleMemberId(string $engagementRoleMemberId): EngagementRoleMemberItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['engagementRoleMember%2Did'] = $engagementRoleMemberId; + return new EngagementRoleMemberItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new MembersRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/employeeExperience/assignedRoles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Users who have been assigned this role. + * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MembersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleMemberCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to members for users + * @param EngagementRoleMember $body The request body + * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EngagementRoleMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EngagementRoleMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Users who have been assigned this role. + * @param MembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MembersRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to members for users + * @param EngagementRoleMember $body The request body + * @param MembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EngagementRoleMember $body, ?MembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MembersRequestBuilder + */ + public function withUrl(string $rawUrl): MembersRequestBuilder { + return new MembersRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e274c1a16ee --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new MembersRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..62f6726476e --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MembersRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MembersRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MembersRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return MembersRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): MembersRequestBuilderGetQueryParameters { + return new MembersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..4a66746c359 --- /dev/null +++ b/src/Generated/Users/Item/EmployeeExperience/AssignedRoles/Item/Members/MembersRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.php b/src/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.php index a78e2715c1d..bfd9daaf252 100644 --- a/src/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.php +++ b/src/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\EmployeeExperienceUser; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Beta\Generated\Users\Item\EmployeeExperience\AssignedRoles\AssignedRolesRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\EmployeeExperience\LearningCourseActivities\LearningCourseActivitiesRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\EmployeeExperience\LearningCourseActivitiesWithExternalcourseActivityId\LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -18,6 +19,13 @@ */ class EmployeeExperienceRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the assignedRoles property of the microsoft.graph.employeeExperienceUser entity. + */ + public function assignedRoles(): AssignedRolesRequestBuilder { + return new AssignedRolesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the learningCourseActivities property of the microsoft.graph.employeeExperienceUser entity. */ diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index 8c3d9e3da5e..7093f45d2eb 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -85,11 +85,11 @@ public function delete(?PresenceRequestBuilderDeleteRequestConfiguration $reques } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta Find more info here */ public function get(?PresenceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -132,7 +132,7 @@ public function toDeleteRequestInformation(?PresenceRequestBuilderDeleteRequestC } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php index e1daf202f6a..4b7120c44ba 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. */ class PresenceRequestBuilderGetQueryParameters { diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 49a2e33d36b..4fe99c0a3d0 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -1924,6 +1924,8 @@ Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|Patch( Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|profileCardProperties:ProfileCardPropertiesRequestBuilder Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|profilePropertySettings:ProfilePropertySettingsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|profileSources:ProfileSourcesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|profileSourcesWithSourceId(sourceId:string):ProfileSourcesWithSourceIdRequestBuilder Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|pronouns:PronounsRequestBuilder Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PeopleRequestBuilderDeleteRequestConfiguration):RequestInformation @@ -2072,6 +2074,94 @@ Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePrope Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ProfilePropertySettingsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profileSources.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|Delete(requestConfiguration?:ProfileSourceItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|Get(requestConfiguration?:ProfileSourceItemRequestBuilderGetRequestConfiguration):ProfileSource +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|Patch(body:ProfileSource; requestConfiguration?:ProfileSourceItemRequestBuilderPatchRequestConfiguration):ProfileSource +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ProfileSourceItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProfileSourceItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|ToPatchRequestInformation(body:ProfileSource; requestConfiguration?:ProfileSourceItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilder::|public|WithUrl(rawUrl:string):ProfileSourceItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProfileSourceItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ProfileSourceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ProfileSourceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSources.item.ProfileSourceItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|ByProfileSourceId(profileSourceId:string):ProfileSourceItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|Get(requestConfiguration?:ProfileSourcesRequestBuilderGetRequestConfiguration):ProfileSourceCollectionResponse +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|Post(body:ProfileSource; requestConfiguration?:ProfileSourcesRequestBuilderPostRequestConfiguration):ProfileSource +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProfileSourcesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|ToPostRequestInformation(body:ProfileSource; requestConfiguration?:ProfileSourcesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.people.profileSources.ProfileSourcesRequestBuilder::|public|WithUrl(rawUrl:string):ProfileSourcesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProfileSourcesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:ProfileSourcesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ProfileSourcesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSources.profileSourcesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; sourceId?:string):void +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|Delete(requestConfiguration?:ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|Get(requestConfiguration?:ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration):ProfileSource +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|Patch(body:ProfileSource; requestConfiguration?:ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration):ProfileSource +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|ToPatchRequestInformation(body:ProfileSource; requestConfiguration?:ProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilder::|public|WithUrl(rawUrl:string):ProfileSourcesWithSourceIdRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderGetRequestConfiguration::|public|queryParameters:ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ProfileSourcesWithSourceIdRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profileSourcesWithSourceId.profileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.admin.people.pronouns.PronounsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.admin.people.pronouns.PronounsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.admin.people.pronouns.PronounsRequestBuilder::|public|Delete(requestConfiguration?:PronounsRequestBuilderDeleteRequestConfiguration):void @@ -73613,6 +73703,7 @@ Microsoft\Graph\Beta\Generated.directory.DirectoryRequestBuilder::|public|Patch( Microsoft\Graph\Beta\Generated.directory.DirectoryRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.directory.DirectoryRequestBuilder::|public|pendingExternalUserProfiles:PendingExternalUserProfilesRequestBuilder Microsoft\Graph\Beta\Generated.directory.DirectoryRequestBuilder::|public|publicKeyInfrastructure:PublicKeyInfrastructureRequestBuilder +Microsoft\Graph\Beta\Generated.directory.DirectoryRequestBuilder::|public|recommendationConfiguration:RecommendationConfigurationRequestBuilder Microsoft\Graph\Beta\Generated.directory.DirectoryRequestBuilder::|public|recommendations:RecommendationsRequestBuilder Microsoft\Graph\Beta\Generated.directory.DirectoryRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.directory.DirectoryRequestBuilder::|public|sharedEmailDomains:SharedEmailDomainsRequestBuilder @@ -74625,6 +74716,29 @@ Microsoft\Graph\Beta\Generated.directory.publicKeyInfrastructure.publicKeyInfras Microsoft\Graph\Beta\Generated.directory.publicKeyInfrastructure.publicKeyInfrastructureRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PublicKeyInfrastructureRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.directory.publicKeyInfrastructure.publicKeyInfrastructureRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.directory.publicKeyInfrastructure.publicKeyInfrastructureRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|Delete(requestConfiguration?:RecommendationConfigurationRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|Get(requestConfiguration?:RecommendationConfigurationRequestBuilderGetRequestConfiguration):RecommendationConfiguration +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|Patch(body:RecommendationConfiguration; requestConfiguration?:RecommendationConfigurationRequestBuilderPatchRequestConfiguration):RecommendationConfiguration +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:RecommendationConfigurationRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RecommendationConfigurationRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|ToPatchRequestInformation(body:RecommendationConfiguration; requestConfiguration?:RecommendationConfigurationRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.RecommendationConfigurationRequestBuilder::|public|WithUrl(rawUrl:string):RecommendationConfigurationRequestBuilder +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RecommendationConfigurationRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderGetRequestConfiguration::|public|queryParameters:RecommendationConfigurationRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RecommendationConfigurationRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.directory.recommendationConfiguration.recommendationConfigurationRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.directory.recommendations.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.directory.recommendations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.directory.recommendations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -111560,6 +111674,7 @@ Microsoft\Graph\Beta\Generated.employeeExperience.EmployeeExperienceRequestBuild Microsoft\Graph\Beta\Generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|Patch(body:EmployeeExperience; requestConfiguration?:EmployeeExperienceRequestBuilderPatchRequestConfiguration):EmployeeExperience Microsoft\Graph\Beta\Generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|roles:RolesRequestBuilder Microsoft\Graph\Beta\Generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:EmployeeExperienceRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|ToPatchRequestInformation(body:EmployeeExperience; requestConfiguration?:EmployeeExperienceRequestBuilderPatchRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.employeeExperience.EmployeeExperienceRequestBuilder::|public|urlTemplate:string @@ -112078,6 +112193,211 @@ Microsoft\Graph\Beta\Generated.employeeExperience.learningProviders.learningProv Microsoft\Graph\Beta\Generated.employeeExperience.learningProviders.learningProvidersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):LearningProvidersRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.employeeExperience.learningProviders.learningProvidersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.employeeExperience.learningProviders.learningProvidersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|Delete(requestConfiguration?:EngagementRoleItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|Get(requestConfiguration?:EngagementRoleItemRequestBuilderGetRequestConfiguration):EngagementRole +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|members:MembersRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|Patch(body:EngagementRole; requestConfiguration?:EngagementRoleItemRequestBuilderPatchRequestConfiguration):EngagementRole +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:EngagementRoleItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:EngagementRoleItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|ToPatchRequestInformation(body:EngagementRole; requestConfiguration?:EngagementRoleItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilder::|public|WithUrl(rawUrl:string):EngagementRoleItemRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:EngagementRoleItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderGetRequestConfiguration::|public|queryParameters:EngagementRoleItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):EngagementRoleItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.EngagementRoleItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|Delete(requestConfiguration?:EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|Get(requestConfiguration?:EngagementRoleMemberItemRequestBuilderGetRequestConfiguration):EngagementRoleMember +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|Patch(body:EngagementRoleMember; requestConfiguration?:EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration):EngagementRoleMember +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:EngagementRoleMemberItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:EngagementRoleMember; requestConfiguration?:EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|user:UserRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):EngagementRoleMemberItemRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:EngagementRoleMemberItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:EngagementRoleMemberItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):EngagementRoleMemberItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|Get(requestConfiguration?:MailboxSettingsRequestBuilderGetRequestConfiguration):MailboxSettings +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|Patch(body:MailboxSettings; requestConfiguration?:MailboxSettingsRequestBuilderPatchRequestConfiguration):MailboxSettings +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MailboxSettingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:MailboxSettings; requestConfiguration?:MailboxSettingsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):MailboxSettingsRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MailboxSettingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:MailboxSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):MailboxSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|Get(requestConfiguration?:ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):ServiceProvisioningErrorCollectionResponse +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):ServiceProvisioningErrorsRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ServiceProvisioningErrorsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:ServiceProvisioningErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ServiceProvisioningErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|Get(requestConfiguration?:UserRequestBuilderGetRequestConfiguration):User +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|mailboxSettings:MailboxSettingsRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|serviceProvisioningErrors:ServiceProvisioningErrorsRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UserRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.UserRequestBuilder::|public|WithUrl(rawUrl:string):UserRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.userRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.userRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.userRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.userRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.userRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UserRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.userRequestBuilderGetRequestConfiguration::|public|queryParameters:UserRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.item.user.userRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):UserRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|ByEngagementRoleMemberId(engagementRoleMemberId:string):EngagementRoleMemberItemRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):EngagementRoleMemberCollectionResponse +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|Post(body:EngagementRoleMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):EngagementRoleMember +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:EngagementRoleMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.MembersRequestBuilder::|public|WithUrl(rawUrl:string):MembersRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MembersRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetRequestConfiguration::|public|queryParameters:MembersRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|ByEngagementRoleId(engagementRoleId:string):EngagementRoleItemRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|Get(requestConfiguration?:RolesRequestBuilderGetRequestConfiguration):EngagementRoleCollectionResponse +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|Post(body:EngagementRole; requestConfiguration?:RolesRequestBuilderPostRequestConfiguration):EngagementRole +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RolesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|ToPostRequestInformation(body:EngagementRole; requestConfiguration?:RolesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.RolesRequestBuilder::|public|WithUrl(rawUrl:string):RolesRequestBuilder +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RolesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetRequestConfiguration::|public|queryParameters:RolesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RolesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.employeeExperience.roles.rolesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.EscapedPrint.connectors.ConnectorsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.EscapedPrint.connectors.ConnectorsRequestBuilder::|public|ByPrintConnectorId(printConnectorId:string):PrintConnectorItemRequestBuilder Microsoft\Graph\Beta\Generated.EscapedPrint.connectors.ConnectorsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -157334,6 +157654,27 @@ Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirm. Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getUserId():string +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setUserId(value?:string):void +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfirmForUserPostRequestBody +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|Post(body:ConfirmForUserPostRequestBody; requestConfiguration?:ConfirmForUserRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|ToPostRequestInformation(body:ConfirmForUserPostRequestBody; requestConfiguration?:ConfirmForUserRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmForUserRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.confirmForUser.confirmForUserRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAtApprovedLocation():bool @@ -157387,6 +157728,7 @@ Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.startBre Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|clockOut:ClockOutRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirm:ConfirmRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirmForUser:ConfirmForUserRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Delete(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Beta\Generated.groups.item.team.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|endBreak:EndBreakRequestBuilder @@ -162094,7 +162436,6 @@ Microsoft\Graph\Beta\Generated.identity.IdentityRequestBuilder::|public|Get(requ Microsoft\Graph\Beta\Generated.identity.IdentityRequestBuilder::|public|identityProviders:IdentityProvidersRequestBuilder Microsoft\Graph\Beta\Generated.identity.IdentityRequestBuilder::|public|Patch(body:IdentityContainer; requestConfiguration?:IdentityRequestBuilderPatchRequestConfiguration):IdentityContainer Microsoft\Graph\Beta\Generated.identity.IdentityRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.IdentityRequestBuilder::|public|productChanges:ProductChangesRequestBuilder Microsoft\Graph\Beta\Generated.identity.IdentityRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.identity.IdentityRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:IdentityRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.identity.IdentityRequestBuilder::|public|ToPatchRequestInformation(body:IdentityContainer; requestConfiguration?:IdentityRequestBuilderPatchRequestConfiguration):RequestInformation @@ -162111,71 +162452,6 @@ Microsoft\Graph\Beta\Generated.identity.identityRequestBuilderGetRequestConfigur Microsoft\Graph\Beta\Generated.identity.identityRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):IdentityRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.identity.identityRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.identity.identityRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.productChanges.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|Delete(requestConfiguration?:ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration):void -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|Get(requestConfiguration?:ChangeItemBaseItemRequestBuilderGetRequestConfiguration):ChangeItemBase -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|Patch(body:ChangeItemBase; requestConfiguration?:ChangeItemBaseItemRequestBuilderPatchRequestConfiguration):ChangeItemBase -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ChangeItemBaseItemRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|ToPatchRequestInformation(body:ChangeItemBase; requestConfiguration?:ChangeItemBaseItemRequestBuilderPatchRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilder::|public|WithUrl(rawUrl:string):ChangeItemBaseItemRequestBuilder -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ChangeItemBaseItemRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ChangeItemBaseItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ChangeItemBaseItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.productChanges.item.ChangeItemBaseItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|ByChangeItemBaseId(changeItemBaseId:string):ChangeItemBaseItemRequestBuilder -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|Count:CountRequestBuilder -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|Get(requestConfiguration?:ProductChangesRequestBuilderGetRequestConfiguration):ChangeItemBaseCollectionResponse -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|Post(body:ChangeItemBase; requestConfiguration?:ProductChangesRequestBuilderPostRequestConfiguration):ChangeItemBase -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProductChangesRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|ToPostRequestInformation(body:ChangeItemBase; requestConfiguration?:ProductChangesRequestBuilderPostRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.productChanges.ProductChangesRequestBuilder::|public|WithUrl(rawUrl:string):ProductChangesRequestBuilder -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|count:bool -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|orderby:array -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|skip:int -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetQueryParameters::|public|top:int -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProductChangesRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetRequestConfiguration::|public|queryParameters:ProductChangesRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ProductChangesRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.productChanges.productChangesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.identity.userFlowAttributes.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.identity.userFlowAttributes.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.identity.userFlowAttributes.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -183292,6 +183568,27 @@ Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmCompromised. Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmCompromisedRequestBuilder Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmCompromised.confirmCompromisedRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmCompromised.confirmCompromisedRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|getUserIds():array +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|setUserIds(value?:array):void +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfirmSafePostRequestBody +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|Post(body:ConfirmSafePostRequestBody; requestConfiguration?:ConfirmSafeRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|ToPostRequestInformation(body:ConfirmSafePostRequestBody; requestConfiguration?:ConfirmSafeRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmSafeRequestBuilder +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.confirmSafe.confirmSafeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -183420,6 +183717,7 @@ Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.item.RiskyUserItemR Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|ByRiskyUserId(riskyUserId:string):RiskyUserItemRequestBuilder Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|confirmCompromised:ConfirmCompromisedRequestBuilder +Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|confirmSafe:ConfirmSafeRequestBuilder Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.identityProtection.riskyUsers.RiskyUsersRequestBuilder::|public|dismiss:DismissRequestBuilder @@ -190972,22 +191270,6 @@ Microsoft\Graph\Beta\Generated.models.androidWorkProfileWiFiConfiguration::|publ Microsoft\Graph\Beta\Generated.models.androidWorkProfileWiFiConfiguration::|public|setSsid(value?:string):void Microsoft\Graph\Beta\Generated.models.androidWorkProfileWiFiConfiguration::|public|setWiFiSecurityType(value?:AndroidWiFiSecurityType):void Microsoft\Graph\Beta\Generated.models.androidWorkProfileWiFiConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AndroidWorkProfileWiFiConfiguration -Microsoft\Graph\Beta\Generated.models.announcement-->ChangeItemBase -Microsoft\Graph\Beta\Generated.models.announcement::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.announcement::|public|getAnnouncementDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.announcement::|public|getChangeType():ChangeAnnouncementChangeType -Microsoft\Graph\Beta\Generated.models.announcement::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.announcement::|public|getImpactLink():string -Microsoft\Graph\Beta\Generated.models.announcement::|public|getIsCustomerActionRequired():bool -Microsoft\Graph\Beta\Generated.models.announcement::|public|getTargetDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.announcement::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.announcement::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.announcement::|public|setAnnouncementDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.announcement::|public|setChangeType(value?:ChangeAnnouncementChangeType):void -Microsoft\Graph\Beta\Generated.models.announcement::|public|setImpactLink(value?:string):void -Microsoft\Graph\Beta\Generated.models.announcement::|public|setIsCustomerActionRequired(value?:bool):void -Microsoft\Graph\Beta\Generated.models.announcement::|public|setTargetDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.announcement::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Announcement Microsoft\Graph\Beta\Generated.models.anonymousGuestConversationMember-->ConversationMember Microsoft\Graph\Beta\Generated.models.anonymousGuestConversationMember::|public|constructor():void Microsoft\Graph\Beta\Generated.models.anonymousGuestConversationMember::|public|getAnonymousGuestId():string @@ -198687,15 +198969,6 @@ Microsoft\Graph\Beta\Generated.models.challengingWord::|public|setOdataType(valu Microsoft\Graph\Beta\Generated.models.challengingWord::|public|setWord(value?:string):void Microsoft\Graph\Beta\Generated.models.challengingWord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ChallengingWord Microsoft\Graph\Beta\Generated.models.challengingWord~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0000-breakingChange -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0001-deprecation -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0002-endOfSupport -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0003-featureChange -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0004-other -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0005-retirement -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0006-securityIncident -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0007-uxChange -Microsoft\Graph\Beta\Generated.models.changeAnnouncementChangeType::0008-unknownFutureValue Microsoft\Graph\Beta\Generated.models.changeAssignmentsActionResult-->DeviceActionResult Microsoft\Graph\Beta\Generated.models.changeAssignmentsActionResult::|public|constructor():void Microsoft\Graph\Beta\Generated.models.changeAssignmentsActionResult::|public|getDeviceAssignmentItems():array @@ -198704,36 +198977,6 @@ Microsoft\Graph\Beta\Generated.models.changeAssignmentsActionResult::|public|Oda Microsoft\Graph\Beta\Generated.models.changeAssignmentsActionResult::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.changeAssignmentsActionResult::|public|setDeviceAssignmentItems(value?:array):void Microsoft\Graph\Beta\Generated.models.changeAssignmentsActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ChangeAssignmentsActionResult -Microsoft\Graph\Beta\Generated.models.changeItemBase-->Entity -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|getChangeItemService():string -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|getDescription():string -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|getDocumentationUrls():array -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|getShortDescription():string -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|getSystemTags():array -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|getTags():array -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|getTitle():string -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|setChangeItemService(value?:string):void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|setDescription(value?:string):void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|setDocumentationUrls(value?:array):void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|setShortDescription(value?:string):void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|setSystemTags(value?:array):void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|setTags(value?:array):void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|public|setTitle(value?:string):void -Microsoft\Graph\Beta\Generated.models.changeItemBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ChangeItemBase -Microsoft\Graph\Beta\Generated.models.changeItemBaseCollectionResponse-->BaseCollectionPaginationCountResponse -Microsoft\Graph\Beta\Generated.models.changeItemBaseCollectionResponse::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.changeItemBaseCollectionResponse::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.changeItemBaseCollectionResponse::|public|getValue():array -Microsoft\Graph\Beta\Generated.models.changeItemBaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.changeItemBaseCollectionResponse::|public|setValue(value?:array):void -Microsoft\Graph\Beta\Generated.models.changeItemBaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ChangeItemBaseCollectionResponse -Microsoft\Graph\Beta\Generated.models.changeItemState::0000-available -Microsoft\Graph\Beta\Generated.models.changeItemState::0001-comingSoon -Microsoft\Graph\Beta\Generated.models.changeItemState::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.changeTrackedEntity-->Entity Microsoft\Graph\Beta\Generated.models.changeTrackedEntity::|public|constructor():void Microsoft\Graph\Beta\Generated.models.changeTrackedEntity::|public|getCreatedBy():IdentitySet @@ -201068,27 +201311,28 @@ Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErro Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0045-resourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0046-resourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0047-resourceAvailabilityCheckDeploymentQuotaLimitReached -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0048-resourceAvailabilityCheckTransientServiceError -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0049-resourceAvailabilityCheckUnknownError -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0050-permissionCheckNoSubscriptionReaderRole -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0051-permissionCheckNoResourceGroupOwnerRole -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0052-permissionCheckNoVNetContributorRole -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0053-permissionCheckNoResourceGroupNetworkContributorRole -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0054-permissionCheckNoWindows365NetworkUserRole -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0055-permissionCheckNoWindows365NetworkInterfaceContributorRole -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0056-permissionCheckTransientServiceError -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0057-permissionCheckUnknownError -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0058-udpConnectivityCheckStunUrlNotAllowListed -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0059-udpConnectivityCheckTurnUrlNotAllowListed -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0060-udpConnectivityCheckUrlsNotAllowListed -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0061-udpConnectivityCheckUnknownError -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0062-internalServerErrorDeploymentCanceled -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0063-internalServerErrorAllocateResourceFailed -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0064-internalServerErrorVMDeploymentTimeout -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0065-internalServerErrorUnableToRunDscScript -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0066-ssoCheckKerberosConfigurationError -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0067-internalServerUnknownError -Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0068-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0048-resourceAvailabilityCheckMissingRegistrationForLocation +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0049-resourceAvailabilityCheckTransientServiceError +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0050-resourceAvailabilityCheckUnknownError +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0051-permissionCheckNoSubscriptionReaderRole +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0052-permissionCheckNoResourceGroupOwnerRole +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0053-permissionCheckNoVNetContributorRole +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0054-permissionCheckNoResourceGroupNetworkContributorRole +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0055-permissionCheckNoWindows365NetworkUserRole +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0056-permissionCheckNoWindows365NetworkInterfaceContributorRole +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0057-permissionCheckTransientServiceError +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0058-permissionCheckUnknownError +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0059-udpConnectivityCheckStunUrlNotAllowListed +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0060-udpConnectivityCheckTurnUrlNotAllowListed +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0061-udpConnectivityCheckUrlsNotAllowListed +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0062-udpConnectivityCheckUnknownError +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0063-internalServerErrorDeploymentCanceled +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0064-internalServerErrorAllocateResourceFailed +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0065-internalServerErrorVMDeploymentTimeout +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0066-internalServerErrorUnableToRunDscScript +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0067-ssoCheckKerberosConfigurationError +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0068-internalServerUnknownError +Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheckErrorType::0069-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionHealthCheck~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionStatus::0000-pending Microsoft\Graph\Beta\Generated.models.cloudPcOnPremisesConnectionStatus::0001-running @@ -201207,16 +201451,56 @@ Microsoft\Graph\Beta\Generated.models.cloudPcPolicyApplyActionStatus::0003-unkno Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail-->Entity Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|getCronScheduleExpression():string +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|getEndDateTime():string Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|getNextRunDateTime():string Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|getReservePercentage():int +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|getStartDateTime():string +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|getTimezone():CloudPcPolicyTimezone Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|setCronScheduleExpression(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|setEndDateTime(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|setNextRunDateTime(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|setReservePercentage(value?:int):void +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|setStartDateTime(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|public|setTimezone(value?:CloudPcPolicyTimezone):void Microsoft\Graph\Beta\Generated.models.cloudPcPolicyScheduledApplyActionDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcPolicyScheduledApplyActionDetail Microsoft\Graph\Beta\Generated.models.cloudPcPolicySettingType::0000-region Microsoft\Graph\Beta\Generated.models.cloudPcPolicySettingType::0001-singleSignOn Microsoft\Graph\Beta\Generated.models.cloudPcPolicySettingType::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0000-gmt +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0001-bit +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0002-nut +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0003-hst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0004-mit +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0005-akst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0006-pst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0007-mst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0008-east +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0009-est +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0010-ast +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0011-nst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0012-art +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0013-gst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0014-azot +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0015-cet +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0016-cat +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0017-eat +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0018-get +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0019-pkt +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0020-ist +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0021-bst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0022-tha +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0023-cst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0024-jst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0025-acst +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0026-pgt +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0027-sbt +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0028-fjt +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0029-tot +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0030-lint +Microsoft\Graph\Beta\Generated.models.cloudPcPolicyTimezone::0031-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcPowerState::0000-running Microsoft\Graph\Beta\Generated.models.cloudPcPowerState::0001-poweredOff Microsoft\Graph\Beta\Generated.models.cloudPcPowerState::0002-unknownFutureValue @@ -212930,6 +213214,7 @@ Microsoft\Graph\Beta\Generated.models.directory::|public|getOnPremisesSynchroniz Microsoft\Graph\Beta\Generated.models.directory::|public|getOutboundSharedUserProfiles():array Microsoft\Graph\Beta\Generated.models.directory::|public|getPendingExternalUserProfiles():array Microsoft\Graph\Beta\Generated.models.directory::|public|getPublicKeyInfrastructure():PublicKeyInfrastructureRoot +Microsoft\Graph\Beta\Generated.models.directory::|public|getRecommendationConfiguration():RecommendationConfiguration Microsoft\Graph\Beta\Generated.models.directory::|public|getRecommendations():array Microsoft\Graph\Beta\Generated.models.directory::|public|getSharedEmailDomains():array Microsoft\Graph\Beta\Generated.models.directory::|public|getSubscriptions():array @@ -212952,6 +213237,7 @@ Microsoft\Graph\Beta\Generated.models.directory::|public|setOnPremisesSynchroniz Microsoft\Graph\Beta\Generated.models.directory::|public|setOutboundSharedUserProfiles(value?:array):void Microsoft\Graph\Beta\Generated.models.directory::|public|setPendingExternalUserProfiles(value?:array):void Microsoft\Graph\Beta\Generated.models.directory::|public|setPublicKeyInfrastructure(value?:PublicKeyInfrastructureRoot):void +Microsoft\Graph\Beta\Generated.models.directory::|public|setRecommendationConfiguration(value?:RecommendationConfiguration):void Microsoft\Graph\Beta\Generated.models.directory::|public|setRecommendations(value?:array):void Microsoft\Graph\Beta\Generated.models.directory::|public|setSharedEmailDomains(value?:array):void Microsoft\Graph\Beta\Generated.models.directory::|public|setSubscriptions(value?:array):void @@ -214946,6 +215232,7 @@ Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|getGrading(): Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|getGradingCategory():EducationGradingCategory Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|getGradingScheme():EducationGradingScheme Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|getInstructions():EducationItemBody +Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|getLanguageTag():string Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|getLastModifiedBy():IdentitySet Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|getLastModifiedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|getModuleUrl():string @@ -214977,6 +215264,7 @@ Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|setGrading(va Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|setGradingCategory(value?:EducationGradingCategory):void Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|setGradingScheme(value?:EducationGradingScheme):void Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|setInstructions(value?:EducationItemBody):void +Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|setLanguageTag(value?:string):void Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|setLastModifiedBy(value?:IdentitySet):void Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|setLastModifiedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.educationAssignment::|public|setModuleUrl(value?:string):void @@ -215058,9 +215346,11 @@ Microsoft\Graph\Beta\Generated.models.educationAssignmentIndividualRecipient::|s Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade-->EducationAssignmentGrade Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|public|constructor():void Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|public|getGrade():string Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|public|getPoints():float Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|public|setGrade(value?:string):void Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|public|setPoints(value?:float):void Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGrade::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAssignmentPointsGrade Microsoft\Graph\Beta\Generated.models.educationAssignmentPointsGradeType-->EducationAssignmentGradeType @@ -215393,6 +215683,7 @@ Microsoft\Graph\Beta\Generated.models.educationModule::|public|getDescription(): Microsoft\Graph\Beta\Generated.models.educationModule::|public|getDisplayName():string Microsoft\Graph\Beta\Generated.models.educationModule::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.educationModule::|public|getIsPinned():bool +Microsoft\Graph\Beta\Generated.models.educationModule::|public|getLanguageTag():string Microsoft\Graph\Beta\Generated.models.educationModule::|public|getLastModifiedBy():IdentitySet Microsoft\Graph\Beta\Generated.models.educationModule::|public|getLastModifiedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.educationModule::|public|getResources():array @@ -215405,6 +215696,7 @@ Microsoft\Graph\Beta\Generated.models.educationModule::|public|setCreatedDateTim Microsoft\Graph\Beta\Generated.models.educationModule::|public|setDescription(value?:string):void Microsoft\Graph\Beta\Generated.models.educationModule::|public|setDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.educationModule::|public|setIsPinned(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationModule::|public|setLanguageTag(value?:string):void Microsoft\Graph\Beta\Generated.models.educationModule::|public|setLastModifiedBy(value?:IdentitySet):void Microsoft\Graph\Beta\Generated.models.educationModule::|public|setLastModifiedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.educationModule::|public|setResources(value?:array):void @@ -216342,35 +216634,34 @@ Microsoft\Graph\Beta\Generated.models.employeeCollectionResponse::|public|getVal Microsoft\Graph\Beta\Generated.models.employeeCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.employeeCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.employeeCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EmployeeCollectionResponse +Microsoft\Graph\Beta\Generated.models.employeeExperience-->Entity Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getCommunities():array Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getEngagementAsyncOperations():array Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getGoals():Goals Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getLearningCourseActivities():array Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getLearningProviders():array -Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|getRoles():array +Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setCommunities(value?:array):void Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setEngagementAsyncOperations(value?:array):void Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setGoals(value?:Goals):void Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setLearningCourseActivities(value?:array):void Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setLearningProviders(value?:array):void -Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.employeeExperience::|public|setRoles(value?:array):void Microsoft\Graph\Beta\Generated.models.employeeExperience::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EmployeeExperience Microsoft\Graph\Beta\Generated.models.employeeExperienceUser-->Entity Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|public|getAssignedRoles():array Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|public|getLearningCourseActivities():array Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|public|setAssignedRoles(value?:array):void Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|public|setLearningCourseActivities(value?:array):void Microsoft\Graph\Beta\Generated.models.employeeExperienceUser::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EmployeeExperienceUser -Microsoft\Graph\Beta\Generated.models.employeeExperience~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.employeeOrgData::|public|constructor():void Microsoft\Graph\Beta\Generated.models.employeeOrgData::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.employeeOrgData::|public|getBackingStore():BackingStore @@ -216673,6 +216964,42 @@ Microsoft\Graph\Beta\Generated.models.engagementAsyncOperationCollectionResponse Microsoft\Graph\Beta\Generated.models.engagementAsyncOperationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EngagementAsyncOperationCollectionResponse Microsoft\Graph\Beta\Generated.models.engagementAsyncOperationType::0000-createCommunity Microsoft\Graph\Beta\Generated.models.engagementAsyncOperationType::0001-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.engagementRole-->Entity +Microsoft\Graph\Beta\Generated.models.engagementRole::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.engagementRole::|public|getDisplayName():string +Microsoft\Graph\Beta\Generated.models.engagementRole::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.engagementRole::|public|getMembers():array +Microsoft\Graph\Beta\Generated.models.engagementRole::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.engagementRole::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.engagementRole::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.engagementRole::|public|setMembers(value?:array):void +Microsoft\Graph\Beta\Generated.models.engagementRole::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EngagementRole +Microsoft\Graph\Beta\Generated.models.engagementRoleCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.engagementRoleCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.engagementRoleCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.engagementRoleCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.engagementRoleCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.engagementRoleCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.engagementRoleCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EngagementRoleCollectionResponse +Microsoft\Graph\Beta\Generated.models.engagementRoleMember-->Entity +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|getUser():User +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|getUserId():string +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|setUser(value?:User):void +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|public|setUserId(value?:string):void +Microsoft\Graph\Beta\Generated.models.engagementRoleMember::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EngagementRoleMember +Microsoft\Graph\Beta\Generated.models.engagementRoleMemberCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.engagementRoleMemberCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.engagementRoleMemberCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.engagementRoleMemberCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.engagementRoleMemberCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.engagementRoleMemberCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.engagementRoleMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EngagementRoleMemberCollectionResponse Microsoft\Graph\Beta\Generated.models.engagementUploadSession-->UploadSession Microsoft\Graph\Beta\Generated.models.engagementUploadSession::|public|constructor():void Microsoft\Graph\Beta\Generated.models.engagementUploadSession::|public|GetFieldDeserializers():array @@ -221699,7 +222026,6 @@ Microsoft\Graph\Beta\Generated.models.identityContainer::|public|getCustomAuthen Microsoft\Graph\Beta\Generated.models.identityContainer::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.identityContainer::|public|getIdentityProviders():array Microsoft\Graph\Beta\Generated.models.identityContainer::|public|getOdataType():string -Microsoft\Graph\Beta\Generated.models.identityContainer::|public|getProductChanges():array Microsoft\Graph\Beta\Generated.models.identityContainer::|public|getUserFlowAttributes():array Microsoft\Graph\Beta\Generated.models.identityContainer::|public|getUserFlows():array Microsoft\Graph\Beta\Generated.models.identityContainer::|public|Serialize(writer:ISerializationWriter):void @@ -221715,7 +222041,6 @@ Microsoft\Graph\Beta\Generated.models.identityContainer::|public|setContinuousAc Microsoft\Graph\Beta\Generated.models.identityContainer::|public|setCustomAuthenticationExtensions(value?:array):void Microsoft\Graph\Beta\Generated.models.identityContainer::|public|setIdentityProviders(value?:array):void Microsoft\Graph\Beta\Generated.models.identityContainer::|public|setOdataType(value?:string):void -Microsoft\Graph\Beta\Generated.models.identityContainer::|public|setProductChanges(value?:array):void Microsoft\Graph\Beta\Generated.models.identityContainer::|public|setUserFlowAttributes(value?:array):void Microsoft\Graph\Beta\Generated.models.identityContainer::|public|setUserFlows(value?:array):void Microsoft\Graph\Beta\Generated.models.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IdentityContainer @@ -242447,6 +242772,7 @@ Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getItemInsigh Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getNamePronunciation():NamePronunciationSettings Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getProfileCardProperties():array Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getProfilePropertySettings():array +Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getProfileSources():array Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getPronouns():PronounsSettings Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|Serialize(writer:ISerializationWriter):void @@ -242454,6 +242780,7 @@ Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setItemInsigh Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setNamePronunciation(value?:NamePronunciationSettings):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setProfileCardProperties(value?:array):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setProfilePropertySettings(value?:array):void +Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setProfileSources(value?:array):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setPronouns(value?:PronounsSettings):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PeopleAdminSettings Microsoft\Graph\Beta\Generated.models.perfectForwardSecrecyGroup::0000-pfs1 @@ -243640,7 +243967,8 @@ Microsoft\Graph\Beta\Generated.models.plannerContainerType::0003-project Microsoft\Graph\Beta\Generated.models.plannerContainerType::0004-driveItem Microsoft\Graph\Beta\Generated.models.plannerContainerType::0005-user Microsoft\Graph\Beta\Generated.models.plannerContainerType::0006-teamsChannel -Microsoft\Graph\Beta\Generated.models.plannerContainerType::0007-plannerTask +Microsoft\Graph\Beta\Generated.models.plannerContainerType::0007-onlineMeeting +Microsoft\Graph\Beta\Generated.models.plannerContainerType::0008-plannerTask Microsoft\Graph\Beta\Generated.models.plannerCreationSourceKind::0000-none Microsoft\Graph\Beta\Generated.models.plannerCreationSourceKind::0001-external Microsoft\Graph\Beta\Generated.models.plannerCreationSourceKind::0002-publication @@ -247815,12 +248143,14 @@ Microsoft\Graph\Beta\Generated.models.profileSource::|public|constructor():void Microsoft\Graph\Beta\Generated.models.profileSource::|public|getDisplayName():string Microsoft\Graph\Beta\Generated.models.profileSource::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.profileSource::|public|getKind():string +Microsoft\Graph\Beta\Generated.models.profileSource::|public|getLocalizations():array Microsoft\Graph\Beta\Generated.models.profileSource::|public|getSourceId():string Microsoft\Graph\Beta\Generated.models.profileSource::|public|getWebUrl():string Microsoft\Graph\Beta\Generated.models.profileSource::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.profileSource::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.profileSource::|public|setDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.profileSource::|public|setKind(value?:string):void +Microsoft\Graph\Beta\Generated.models.profileSource::|public|setLocalizations(value?:array):void Microsoft\Graph\Beta\Generated.models.profileSource::|public|setSourceId(value?:string):void Microsoft\Graph\Beta\Generated.models.profileSource::|public|setWebUrl(value?:string):void Microsoft\Graph\Beta\Generated.models.profileSource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProfileSource @@ -247841,6 +248171,30 @@ Microsoft\Graph\Beta\Generated.models.profileSourceAnnotation::|public|setProper Microsoft\Graph\Beta\Generated.models.profileSourceAnnotation::|public|setSourceId(value?:string):void Microsoft\Graph\Beta\Generated.models.profileSourceAnnotation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProfileSourceAnnotation Microsoft\Graph\Beta\Generated.models.profileSourceAnnotation~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.profileSourceCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.profileSourceCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.profileSourceCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.profileSourceCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.profileSourceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.profileSourceCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.profileSourceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProfileSourceCollectionResponse +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|getDisplayName():string +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|getLanguageTag():string +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|getWebUrl():string +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|setLanguageTag(value?:string):void +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|public|setWebUrl(value?:string):void +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProfileSourceLocalization +Microsoft\Graph\Beta\Generated.models.profileSourceLocalization~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.program-->Entity Microsoft\Graph\Beta\Generated.models.program::|public|constructor():void Microsoft\Graph\Beta\Generated.models.program::|public|getControls():array @@ -249230,6 +249584,14 @@ Microsoft\Graph\Beta\Generated.models.recommendationCollectionResponse::|public| Microsoft\Graph\Beta\Generated.models.recommendationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.recommendationCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.recommendationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RecommendationCollectionResponse +Microsoft\Graph\Beta\Generated.models.recommendationConfiguration-->Entity +Microsoft\Graph\Beta\Generated.models.recommendationConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.recommendationConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.recommendationConfiguration::|public|getIsNotificationEnabled():bool +Microsoft\Graph\Beta\Generated.models.recommendationConfiguration::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.recommendationConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.recommendationConfiguration::|public|setIsNotificationEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.recommendationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RecommendationConfiguration Microsoft\Graph\Beta\Generated.models.recommendationFeatureAreas::0000-users Microsoft\Graph\Beta\Generated.models.recommendationFeatureAreas::0001-groups Microsoft\Graph\Beta\Generated.models.recommendationFeatureAreas::0002-devices @@ -251314,26 +251676,6 @@ Microsoft\Graph\Beta\Generated.models.riskyUserHistoryItemCollectionResponse::|p Microsoft\Graph\Beta\Generated.models.riskyUserHistoryItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.riskyUserHistoryItemCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.riskyUserHistoryItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RiskyUserHistoryItemCollectionResponse -Microsoft\Graph\Beta\Generated.models.roadmap-->ChangeItemBase -Microsoft\Graph\Beta\Generated.models.roadmap::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.roadmap::|public|getCategory():string -Microsoft\Graph\Beta\Generated.models.roadmap::|public|getChangeItemState():ChangeItemState -Microsoft\Graph\Beta\Generated.models.roadmap::|public|getDeliveryStage():RoadmapItemDeliveryStage -Microsoft\Graph\Beta\Generated.models.roadmap::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.roadmap::|public|getGotoLink():string -Microsoft\Graph\Beta\Generated.models.roadmap::|public|getPublishedDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.roadmap::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.roadmap::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.roadmap::|public|setCategory(value?:string):void -Microsoft\Graph\Beta\Generated.models.roadmap::|public|setChangeItemState(value?:ChangeItemState):void -Microsoft\Graph\Beta\Generated.models.roadmap::|public|setDeliveryStage(value?:RoadmapItemDeliveryStage):void -Microsoft\Graph\Beta\Generated.models.roadmap::|public|setGotoLink(value?:string):void -Microsoft\Graph\Beta\Generated.models.roadmap::|public|setPublishedDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.roadmap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Roadmap -Microsoft\Graph\Beta\Generated.models.roadmapItemDeliveryStage::0000-privatePreview -Microsoft\Graph\Beta\Generated.models.roadmapItemDeliveryStage::0001-publicPreview -Microsoft\Graph\Beta\Generated.models.roadmapItemDeliveryStage::0002-ga -Microsoft\Graph\Beta\Generated.models.roadmapItemDeliveryStage::0003-unknownFutureValue Microsoft\Graph\Beta\Generated.models.roleAssignment-->Entity Microsoft\Graph\Beta\Generated.models.roleAssignment::|public|constructor():void Microsoft\Graph\Beta\Generated.models.roleAssignment::|public|getDescription():string @@ -267607,6 +267949,8 @@ Microsoft\Graph\Beta\Generated.models.teamworkHostedContent::|public|Serialize(w Microsoft\Graph\Beta\Generated.models.teamworkHostedContent::|public|setContentBytes(value?:StreamInterface):void Microsoft\Graph\Beta\Generated.models.teamworkHostedContent::|public|setContentType(value?:string):void Microsoft\Graph\Beta\Generated.models.teamworkHostedContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamworkHostedContent +Microsoft\Graph\Beta\Generated.models.teamworkInteractionType::0000-createChat +Microsoft\Graph\Beta\Generated.models.teamworkInteractionType::0001-unknownFutureValue Microsoft\Graph\Beta\Generated.models.teamworkLoginStatus::|public|constructor():void Microsoft\Graph\Beta\Generated.models.teamworkLoginStatus::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.teamworkLoginStatus::|public|getBackingStore():BackingStore @@ -267951,9 +268295,11 @@ Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity-->Identity Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|public|constructor():void Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|public|getUserIdentityType():TeamworkUserIdentityType +Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|public|getUserPrincipalName():string Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|public|setUserIdentityType(value?:TeamworkUserIdentityType):void +Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|public|setUserPrincipalName(value?:string):void Microsoft\Graph\Beta\Generated.models.teamworkUserIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamworkUserIdentity Microsoft\Graph\Beta\Generated.models.teamworkUserIdentityType::0000-aadUser Microsoft\Graph\Beta\Generated.models.teamworkUserIdentityType::0001-onPremiseAadUser @@ -302308,6 +302654,27 @@ Microsoft\Graph\Beta\Generated.riskyUsers.confirmCompromised.ConfirmCompromisedR Microsoft\Graph\Beta\Generated.riskyUsers.confirmCompromised.ConfirmCompromisedRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmCompromisedRequestBuilder Microsoft\Graph\Beta\Generated.riskyUsers.confirmCompromised.confirmCompromisedRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.riskyUsers.confirmCompromised.confirmCompromisedRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|getUserIds():array +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|public|setUserIds(value?:array):void +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfirmSafePostRequestBody +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|Post(body:ConfirmSafePostRequestBody; requestConfiguration?:ConfirmSafeRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|ToPostRequestInformation(body:ConfirmSafePostRequestBody; requestConfiguration?:ConfirmSafeRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.ConfirmSafeRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmSafeRequestBuilder +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.riskyUsers.confirmSafe.confirmSafeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.riskyUsers.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.riskyUsers.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.riskyUsers.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -302436,6 +302803,7 @@ Microsoft\Graph\Beta\Generated.riskyUsers.item.RiskyUserItemRequestBuilderPatchR Microsoft\Graph\Beta\Generated.riskyUsers.RiskyUsersRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.riskyUsers.RiskyUsersRequestBuilder::|public|ByRiskyUserId(riskyUserId:string):RiskyUserItemRequestBuilder Microsoft\Graph\Beta\Generated.riskyUsers.RiskyUsersRequestBuilder::|public|confirmCompromised:ConfirmCompromisedRequestBuilder +Microsoft\Graph\Beta\Generated.riskyUsers.RiskyUsersRequestBuilder::|public|confirmSafe:ConfirmSafeRequestBuilder Microsoft\Graph\Beta\Generated.riskyUsers.RiskyUsersRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.riskyUsers.RiskyUsersRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.riskyUsers.RiskyUsersRequestBuilder::|public|dismiss:DismissRequestBuilder @@ -353816,6 +354184,27 @@ Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirm.Confir Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getUserId():string +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setUserId(value?:string):void +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfirmForUserPostRequestBody +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|Post(body:ConfirmForUserPostRequestBody; requestConfiguration?:ConfirmForUserRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|ToPostRequestInformation(body:ConfirmForUserPostRequestBody; requestConfiguration?:ConfirmForUserRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmForUserRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.confirmForUser.confirmForUserRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAtApprovedLocation():bool @@ -353869,6 +354258,7 @@ Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.startBreak.sta Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|clockOut:ClockOutRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirm:ConfirmRequestBuilder +Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirmForUser:ConfirmForUserRequestBuilder Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Delete(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Beta\Generated.teams.item.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|endBreak:EndBreakRequestBuilder @@ -359889,6 +360279,27 @@ Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedu Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getUserId():string +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setUserId(value?:string):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfirmForUserPostRequestBody +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|Post(body:ConfirmForUserPostRequestBody; requestConfiguration?:ConfirmForUserRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|ToPostRequestInformation(body:ConfirmForUserPostRequestBody; requestConfiguration?:ConfirmForUserRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmForUserRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAtApprovedLocation():bool @@ -359942,6 +360353,7 @@ Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedu Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|clockOut:ClockOutRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirm:ConfirmRequestBuilder +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirmForUser:ConfirmForUserRequestBuilder Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Delete(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|endBreak:EndBreakRequestBuilder @@ -362725,6 +363137,40 @@ Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.DeletedTeamItemRequest Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.DeletedTeamItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DeletedTeamItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.DeletedTeamItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teamwork.deletedTeams.item.DeletedTeamItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|getInteractionType():TeamworkInteractionType +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|getUsers():array +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|setInteractionType(value?:TeamworkInteractionType):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|public|setUsers(value?:array):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DetermineIfInteractionIsAllowedPostRequestBody +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|getValue():bool +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|public|setValue(value?:bool):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DetermineIfInteractionIsAllowedPostResponse +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedPostResponse~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder::|public|Post(body:DetermineIfInteractionIsAllowedPostRequestBody; requestConfiguration?:DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration):DetermineIfInteractionIsAllowedPostResponse +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder::|public|ToPostRequestInformation(body:DetermineIfInteractionIsAllowedPostRequestBody; requestConfiguration?:DetermineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.DetermineIfInteractionIsAllowedRequestBuilder::|public|WithUrl(rawUrl:string):DetermineIfInteractionIsAllowedRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teamwork.determineIfInteractionIsAllowed.determineIfInteractionIsAllowedRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teamwork.devices.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.devices.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamwork.devices.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -368500,6 +368946,27 @@ Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.team Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirm.ConfirmRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirm.confirmRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|getUserId():string +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|public|setUserId(value?:string):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConfirmForUserPostRequestBody +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|Post(body:ConfirmForUserPostRequestBody; requestConfiguration?:ConfirmForUserRequestBuilderPostRequestConfiguration):TimeCard +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|ToPostRequestInformation(body:ConfirmForUserPostRequestBody; requestConfiguration?:ConfirmForUserRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.ConfirmForUserRequestBuilder::|public|WithUrl(rawUrl:string):ConfirmForUserRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.confirmForUser.confirmForUserRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.endBreak.endBreakPostRequestBody::|public|getAtApprovedLocation():bool @@ -368553,6 +369020,7 @@ Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.team Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|clockOut:ClockOutRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirm:ConfirmRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|confirmForUser:ConfirmForUserRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|Delete(requestConfiguration?:TimeCardItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.schedule.timeCards.item.TimeCardItemRequestBuilder::|public|endBreak:EndBreakRequestBuilder @@ -369129,6 +369597,7 @@ Microsoft\Graph\Beta\Generated.teamwork.TeamworkRequestBuilder-->BaseRequestBuil Microsoft\Graph\Beta\Generated.teamwork.TeamworkRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.teamwork.TeamworkRequestBuilder::|public|deletedChats:DeletedChatsRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.TeamworkRequestBuilder::|public|deletedTeams:DeletedTeamsRequestBuilder +Microsoft\Graph\Beta\Generated.teamwork.TeamworkRequestBuilder::|public|determineIfInteractionIsAllowed:DetermineIfInteractionIsAllowedRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.TeamworkRequestBuilder::|public|devices:DevicesRequestBuilder Microsoft\Graph\Beta\Generated.teamwork.TeamworkRequestBuilder::|public|Get(requestConfiguration?:TeamworkRequestBuilderGetRequestConfiguration):Teamwork Microsoft\Graph\Beta\Generated.teamwork.TeamworkRequestBuilder::|public|Patch(body:Teamwork; requestConfiguration?:TeamworkRequestBuilderPatchRequestConfiguration):Teamwork @@ -383910,6 +384379,7 @@ Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.Calendar Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.CalendarsRequestBuilder::|public|ByCalendarId(calendarId:string):CalendarItemRequestBuilder Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.CalendarsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.CalendarsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.CalendarsRequestBuilder::|public|delta:DeltaRequestBuilder Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.CalendarsRequestBuilder::|public|Get(requestConfiguration?:CalendarsRequestBuilderGetRequestConfiguration):CalendarCollectionResponse Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.CalendarsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.CalendarsRequestBuilder::|public|Post(body:Calendar; requestConfiguration?:CalendarsRequestBuilderPostRequestConfiguration):Calendar @@ -383948,6 +384418,34 @@ Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.count.Co Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaGetResponse-->BaseDeltaFunctionResponse +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeltaGetResponse +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.DeltaRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.DeltaRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.DeltaRequestBuilder::|public|Get(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):DeltaGetResponse +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.DeltaRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.DeltaRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.DeltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.DeltaRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.DeltaRequestBuilder::|public|WithUrl(rawUrl:string):DeltaRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DeltaRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetRequestConfiguration::|public|queryParameters:DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.item.allowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.item.allowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|constructor():void Microsoft\Graph\Beta\Generated.users.item.calendarGroups.item.calendars.item.allowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():array @@ -388315,6 +388813,7 @@ Microsoft\Graph\Beta\Generated.users.item.calendars.CalendarsRequestBuilder-->Ba Microsoft\Graph\Beta\Generated.users.item.calendars.CalendarsRequestBuilder::|public|ByCalendarId(calendarId:string):CalendarItemRequestBuilder Microsoft\Graph\Beta\Generated.users.item.calendars.CalendarsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.calendars.CalendarsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.calendars.CalendarsRequestBuilder::|public|delta:DeltaRequestBuilder Microsoft\Graph\Beta\Generated.users.item.calendars.CalendarsRequestBuilder::|public|Get(requestConfiguration?:CalendarsRequestBuilderGetRequestConfiguration):CalendarCollectionResponse Microsoft\Graph\Beta\Generated.users.item.calendars.CalendarsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.users.item.calendars.CalendarsRequestBuilder::|public|Post(body:Calendar; requestConfiguration?:CalendarsRequestBuilderPostRequestConfiguration):Calendar @@ -388353,6 +388852,34 @@ Microsoft\Graph\Beta\Generated.users.item.calendars.count.CountRequestBuilderGet Microsoft\Graph\Beta\Generated.users.item.calendars.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.users.item.calendars.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.calendars.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaGetResponse-->BaseDeltaFunctionResponse +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeltaGetResponse +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.DeltaRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.DeltaRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.DeltaRequestBuilder::|public|Get(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):DeltaGetResponse +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.DeltaRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.DeltaRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.DeltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.DeltaRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.DeltaRequestBuilder::|public|WithUrl(rawUrl:string):DeltaRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DeltaRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetRequestConfiguration::|public|queryParameters:DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.calendars.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.calendars.item.allowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Beta\Generated.users.item.calendars.item.allowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|constructor():void Microsoft\Graph\Beta\Generated.users.item.calendars.item.allowedCalendarSharingRolesWithUser.allowedCalendarSharingRolesWithUserGetResponse::|public|GetFieldDeserializers():array @@ -400471,7 +400998,213 @@ Microsoft\Graph\Beta\Generated.users.item.drives.item.DriveItemRequestBuilderGet Microsoft\Graph\Beta\Generated.users.item.drives.item.DriveItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DriveItemRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.users.item.drives.item.DriveItemRequestBuilderGetRequestConfiguration::|public|queryParameters:DriveItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.drives.item.DriveItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DriveItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|ByEngagementRoleId(engagementRoleId:string):EngagementRoleItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|Get(requestConfiguration?:AssignedRolesRequestBuilderGetRequestConfiguration):EngagementRoleCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|Post(body:EngagementRole; requestConfiguration?:AssignedRolesRequestBuilderPostRequestConfiguration):EngagementRole +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AssignedRolesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|ToPostRequestInformation(body:EngagementRole; requestConfiguration?:AssignedRolesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.AssignedRolesRequestBuilder::|public|WithUrl(rawUrl:string):AssignedRolesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AssignedRolesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetRequestConfiguration::|public|queryParameters:AssignedRolesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):AssignedRolesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.assignedRolesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|Delete(requestConfiguration?:EngagementRoleItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|Get(requestConfiguration?:EngagementRoleItemRequestBuilderGetRequestConfiguration):EngagementRole +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|members:MembersRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|Patch(body:EngagementRole; requestConfiguration?:EngagementRoleItemRequestBuilderPatchRequestConfiguration):EngagementRole +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:EngagementRoleItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:EngagementRoleItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|ToPatchRequestInformation(body:EngagementRole; requestConfiguration?:EngagementRoleItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilder::|public|WithUrl(rawUrl:string):EngagementRoleItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:EngagementRoleItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderGetRequestConfiguration::|public|queryParameters:EngagementRoleItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):EngagementRoleItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.EngagementRoleItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|Delete(requestConfiguration?:EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|Get(requestConfiguration?:EngagementRoleMemberItemRequestBuilderGetRequestConfiguration):EngagementRoleMember +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|Patch(body:EngagementRoleMember; requestConfiguration?:EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration):EngagementRoleMember +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:EngagementRoleMemberItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:EngagementRoleMember; requestConfiguration?:EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|user:UserRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):EngagementRoleMemberItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:EngagementRoleMemberItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:EngagementRoleMemberItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):EngagementRoleMemberItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|Get(requestConfiguration?:MailboxSettingsRequestBuilderGetRequestConfiguration):MailboxSettings +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|Patch(body:MailboxSettings; requestConfiguration?:MailboxSettingsRequestBuilderPatchRequestConfiguration):MailboxSettings +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MailboxSettingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:MailboxSettings; requestConfiguration?:MailboxSettingsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):MailboxSettingsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MailboxSettingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:MailboxSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):MailboxSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.mailboxSettings.mailboxSettingsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|Get(requestConfiguration?:ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):ServiceProvisioningErrorCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):ServiceProvisioningErrorsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ServiceProvisioningErrorsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:ServiceProvisioningErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ServiceProvisioningErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|Get(requestConfiguration?:UserRequestBuilderGetRequestConfiguration):User +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|mailboxSettings:MailboxSettingsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|serviceProvisioningErrors:ServiceProvisioningErrorsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UserRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.UserRequestBuilder::|public|WithUrl(rawUrl:string):UserRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.userRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.userRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.userRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.userRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.userRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UserRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.userRequestBuilderGetRequestConfiguration::|public|queryParameters:UserRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.item.user.userRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):UserRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|ByEngagementRoleMemberId(engagementRoleMemberId:string):EngagementRoleMemberItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):EngagementRoleMemberCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|Post(body:EngagementRoleMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):EngagementRoleMember +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:EngagementRoleMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.MembersRequestBuilder::|public|WithUrl(rawUrl:string):MembersRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MembersRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetRequestConfiguration::|public|queryParameters:MembersRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.assignedRoles.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.employeeExperience.EmployeeExperienceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.employeeExperience.EmployeeExperienceRequestBuilder::|public|assignedRoles:AssignedRolesRequestBuilder Microsoft\Graph\Beta\Generated.users.item.employeeExperience.EmployeeExperienceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.employeeExperience.EmployeeExperienceRequestBuilder::|public|Delete(requestConfiguration?:EmployeeExperienceRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Beta\Generated.users.item.employeeExperience.EmployeeExperienceRequestBuilder::|public|Get(requestConfiguration?:EmployeeExperienceRequestBuilderGetRequestConfiguration):EmployeeExperienceUser diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 587523c4bb4..e09d413efa9 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "0F40AB32284DFBDC12F20879BCAF6E5BAD30CAECFB277F7C18483CEA887D728A856B1B727CE4F67A8F4CBF0955C0E7F998B80F9A8691E015E619EF53C18818C7", + "descriptionHash": "73ADF297240E71DD9888A3D3F2953DDB3283BC8402049E68906573D617732614224984D7552452D05C66F7EA4C6BFA9A191B714D91F8F18606642172DD1DC2E0", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.27.0",