diff --git a/src/Generated/Admin/AdminRequestBuilder.php b/src/Generated/Admin/AdminRequestBuilder.php index 36d3f071643..f0d93364a62 100644 --- a/src/Generated/Admin/AdminRequestBuilder.php +++ b/src/Generated/Admin/AdminRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Admin\ReportSettings\ReportSettingsRequestBuilder; use Microsoft\Graph\Generated\Admin\ServiceAnnouncement\ServiceAnnouncementRequestBuilder; use Microsoft\Graph\Generated\Admin\Sharepoint\SharepointRequestBuilder; +use Microsoft\Graph\Generated\Admin\Teams\TeamsRequestBuilder; use Microsoft\Graph\Generated\Models\Admin; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -64,6 +65,13 @@ public function sharepoint(): SharepointRequestBuilder { return new SharepointRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the teams property of the microsoft.graph.admin entity. + */ + public function teams(): TeamsRequestBuilder { + return new TeamsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new AdminRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Admin/Teams/TeamsRequestBuilder.php b/src/Generated/Admin/Teams/TeamsRequestBuilder.php new file mode 100644 index 00000000000..edb35b1e631 --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TeamsRequestBuilder 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}/admin/teams{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property teams for admin + * @param TeamsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TeamsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents a collection of user configurations. + * @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TeamsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsAdminRoot::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property teams in admin + * @param TeamsAdminRoot $body The request body + * @param TeamsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TeamsAdminRoot $body, ?TeamsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsAdminRoot::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property teams for admin + * @param TeamsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TeamsRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Represents a collection of user configurations. + * @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TeamsRequestBuilderGetRequestConfiguration $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 teams in admin + * @param TeamsAdminRoot $body The request body + * @param TeamsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TeamsAdminRoot $body, ?TeamsRequestBuilderPatchRequestConfiguration $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 TeamsRequestBuilder + */ + public function withUrl(string $rawUrl): TeamsRequestBuilder { + return new TeamsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/TeamsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Teams/TeamsRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..b37c5b9c0e8 --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderDeleteRequestConfiguration.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/Teams/TeamsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..11b2e52fe0d --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.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 TeamsRequestBuilderGetQueryParameters 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/Teams/TeamsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/TeamsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d4c14e1bbf2 --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TeamsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TeamsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TeamsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TeamsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TeamsRequestBuilderGetQueryParameters { + return new TeamsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Teams/TeamsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/TeamsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..554ff4a58c8 --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderPatchRequestConfiguration.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/Teams/UserConfigurations/Count/CountRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..c722d09748f --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/teams/userConfigurations/$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/Teams/UserConfigurations/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2574f73a662 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..bc4599a9d2f --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilder.php new file mode 100644 index 00000000000..2b131630a78 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilder.php @@ -0,0 +1,153 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TeamsUserConfigurationItemRequestBuilder 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}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property userConfigurations for admin + * @param TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the Teams user configurations for a specific user using their ID (the user's identifier). + * @param TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration|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/teamsadministration-teamsuserconfiguration-get?view=graph-rest-1.0 Find more info here + */ + public function get(?TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsUserConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property userConfigurations in admin + * @param TeamsUserConfiguration $body The request body + * @param TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TeamsUserConfiguration $body, ?TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsUserConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property userConfigurations for admin + * @param TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Read the Teams user configurations for a specific user using their ID (the user's identifier). + * @param TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration $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 userConfigurations in admin + * @param TeamsUserConfiguration $body The request body + * @param TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TeamsUserConfiguration $body, ?TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration $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 TeamsUserConfigurationItemRequestBuilder + */ + public function withUrl(string $rawUrl): TeamsUserConfigurationItemRequestBuilder { + return new TeamsUserConfigurationItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..d24c82ee69b --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration.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/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9de8118f566 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetQueryParameters.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 TeamsUserConfigurationItemRequestBuilderGetQueryParameters 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/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b69a8774fc2 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TeamsUserConfigurationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TeamsUserConfigurationItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TeamsUserConfigurationItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TeamsUserConfigurationItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TeamsUserConfigurationItemRequestBuilderGetQueryParameters { + return new TeamsUserConfigurationItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..1722ddadd6d --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration.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/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php new file mode 100644 index 00000000000..6554f9317d8 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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}/admin/teams/userConfigurations/{teamsUserConfiguration%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. 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. 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/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1e8c859787d --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7f655a343b7 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..beb98e82b17 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..d89a7aba7bc --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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}/admin/teams/userConfigurations/{teamsUserConfiguration%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/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f6d3ab248f7 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..cd5b372d474 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php new file mode 100644 index 00000000000..84f5b50652d --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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}/admin/teams/userConfigurations/{teamsUserConfiguration%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. Supports $filter (eq, not, for isResolved and serviceInstance). + * @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. Supports $filter (eq, not, for isResolved and serviceInstance). + * @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/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..05df7f09531 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..48cd7ffd1cd --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilder.php new file mode 100644 index 00000000000..3fc68b3be14 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Represents an Entra user account. + * @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); + } + + /** + * Represents an Entra user account. + * @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/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..991f9e3d711 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..431878d8182 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/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/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.php new file mode 100644 index 00000000000..63ea581a7d3 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + * @param string $teamsUserConfigurationId The unique identifier of teamsUserConfiguration + * @return TeamsUserConfigurationItemRequestBuilder + */ + public function byTeamsUserConfigurationId(string $teamsUserConfigurationId): TeamsUserConfigurationItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['teamsUserConfiguration%2Did'] = $teamsUserConfigurationId; + return new TeamsUserConfigurationItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new UserConfigurationsRequestBuilder 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}/admin/teams/userConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get user configurations for all Teams users who belong to a tenant. + * @param UserConfigurationsRequestBuilderGetRequestConfiguration|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/teamsadministration-teamsadminroot-list-userconfigurations?view=graph-rest-1.0 Find more info here + */ + public function get(?UserConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsUserConfigurationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to userConfigurations for admin + * @param TeamsUserConfiguration $body The request body + * @param UserConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(TeamsUserConfiguration $body, ?UserConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsUserConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get user configurations for all Teams users who belong to a tenant. + * @param UserConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserConfigurationsRequestBuilderGetRequestConfiguration $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 userConfigurations for admin + * @param TeamsUserConfiguration $body The request body + * @param UserConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(TeamsUserConfiguration $body, ?UserConfigurationsRequestBuilderPostRequestConfiguration $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 UserConfigurationsRequestBuilder + */ + public function withUrl(string $rawUrl): UserConfigurationsRequestBuilder { + return new UserConfigurationsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..158c581640e --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetQueryParameters.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 UserConfigurationsRequestBuilderGetQueryParameters 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/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..caa6a913252 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserConfigurationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserConfigurationsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserConfigurationsRequestBuilderGetQueryParameters. + * @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 UserConfigurationsRequestBuilderGetQueryParameters + */ + 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): UserConfigurationsRequestBuilderGetQueryParameters { + return new UserConfigurationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..8a25b5c22bb --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderPostRequestConfiguration.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/Communications/AdhocCalls/AdhocCallsRequestBuilder.php b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.php new file mode 100644 index 00000000000..9e0b9fc2642 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. + * @param string $adhocCallId The unique identifier of adhocCall + * @return AdhocCallItemRequestBuilder + */ + public function byAdhocCallId(string $adhocCallId): AdhocCallItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['adhocCall%2Did'] = $adhocCallId; + return new AdhocCallItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AdhocCallsRequestBuilder 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}/communications/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get adhocCalls from communications + * @param AdhocCallsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AdhocCallsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdhocCallCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to adhocCalls for communications + * @param AdhocCall $body The request body + * @param AdhocCallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(AdhocCall $body, ?AdhocCallsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdhocCall::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get adhocCalls from communications + * @param AdhocCallsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AdhocCallsRequestBuilderGetRequestConfiguration $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 adhocCalls for communications + * @param AdhocCall $body The request body + * @param AdhocCallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(AdhocCall $body, ?AdhocCallsRequestBuilderPostRequestConfiguration $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 AdhocCallsRequestBuilder + */ + public function withUrl(string $rawUrl): AdhocCallsRequestBuilder { + return new AdhocCallsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4e827546a8e --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilderGetQueryParameters.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 AdhocCallsRequestBuilderGetQueryParameters 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/Communications/AdhocCalls/AdhocCallsRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2273bf9aeea --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AdhocCallsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AdhocCallsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AdhocCallsRequestBuilderGetQueryParameters. + * @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 AdhocCallsRequestBuilderGetQueryParameters + */ + 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): AdhocCallsRequestBuilderGetQueryParameters { + return new AdhocCallsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5754493c4fb --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/AdhocCallsRequestBuilderPostRequestConfiguration.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/Communications/AdhocCalls/Count/CountRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..50ef0afe68e --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/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}/communications/adhocCalls/$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/Communications/AdhocCalls/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..de72733839c --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..eb33c5a9e6d --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/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/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilder.php new file mode 100644 index 00000000000..48d64a3fa83 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilder.php @@ -0,0 +1,160 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + */ + public function transcripts(): TranscriptsRequestBuilder { + return new TranscriptsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new AdhocCallItemRequestBuilder 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}/communications/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property adhocCalls for communications + * @param AdhocCallItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?AdhocCallItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get adhocCalls from communications + * @param AdhocCallItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AdhocCallItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdhocCall::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property adhocCalls in communications + * @param AdhocCall $body The request body + * @param AdhocCallItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(AdhocCall $body, ?AdhocCallItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdhocCall::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property adhocCalls for communications + * @param AdhocCallItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AdhocCallItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get adhocCalls from communications + * @param AdhocCallItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AdhocCallItemRequestBuilderGetRequestConfiguration $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 adhocCalls in communications + * @param AdhocCall $body The request body + * @param AdhocCallItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(AdhocCall $body, ?AdhocCallItemRequestBuilderPatchRequestConfiguration $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 AdhocCallItemRequestBuilder + */ + public function withUrl(string $rawUrl): AdhocCallItemRequestBuilder { + return new AdhocCallItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..9afd6a215d1 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderDeleteRequestConfiguration.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/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..426845030bd --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderGetQueryParameters.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 AdhocCallItemRequestBuilderGetQueryParameters 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/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..42ffad1c7b0 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AdhocCallItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AdhocCallItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AdhocCallItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AdhocCallItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AdhocCallItemRequestBuilderGetQueryParameters { + return new AdhocCallItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..f32dedc62fa --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/AdhocCallItemRequestBuilderPatchRequestConfiguration.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/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..e383fd0d5a7 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/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}/communications/adhocCalls/{adhocCall%2Did}/recordings/$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/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ffa3eb7504a --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0cbdc2c9b2d --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/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/Communications/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.php new file mode 100644 index 00000000000..cb407a9969f --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/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([CallRecording::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, CallRecording::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/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.php new file mode 100644 index 00000000000..43efba461d1 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.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}/communications/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function delta + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + 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); + } + + /** + * Invoke function delta + * @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/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..13a585add7d --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/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/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..13b82a47fdd --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/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/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.php new file mode 100644 index 00000000000..44871d42249 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CallRecordingItemRequestBuilder 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}/communications/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property recordings for communications + * @param CallRecordingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CallRecordingItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The recordings of a call. Read-only. + * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CallRecordingItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property recordings in communications + * @param CallRecording $body The request body + * @param CallRecordingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(CallRecording $body, ?CallRecordingItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property recordings for communications + * @param CallRecordingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CallRecordingItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The recordings of a call. Read-only. + * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CallRecordingItemRequestBuilderGetRequestConfiguration $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 recordings in communications + * @param CallRecording $body The request body + * @param CallRecordingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(CallRecording $body, ?CallRecordingItemRequestBuilderPatchRequestConfiguration $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 CallRecordingItemRequestBuilder + */ + public function withUrl(string $rawUrl): CallRecordingItemRequestBuilder { + return new CallRecordingItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c0e851613ba --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.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/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ef6699fbd93 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.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 CallRecordingItemRequestBuilderGetQueryParameters 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/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a3b03beff1e --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CallRecordingItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CallRecordingItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CallRecordingItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CallRecordingItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CallRecordingItemRequestBuilderGetQueryParameters { + return new CallRecordingItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..a343b56fd9b --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.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/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.php new file mode 100644 index 00000000000..7bea65b4351 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.php @@ -0,0 +1,144 @@ +|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}/communications/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The content of the recording. Read-only. + * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The content of the recording. Read-only. + * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * The content of the recording. Read-only. + * @param StreamInterface $body Binary request body + * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The content of the recording. Read-only. + * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The content of the recording. Read-only. + * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + return $requestInfo; + } + + /** + * The content of the recording. Read-only. + * @param StreamInterface $body Binary request body + * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setStreamContent($body, "application/octet-stream"); + 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 ContentRequestBuilder + */ + public function withUrl(string $rawUrl): ContentRequestBuilder { + return new ContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..0aae8e1e167 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.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/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f868eb021d8 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.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/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..fda0e7391b3 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.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/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.php new file mode 100644 index 00000000000..d90ec27b6f2 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.php @@ -0,0 +1,141 @@ +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 recordings property of the microsoft.graph.adhocCall entity. + * @param string $callRecordingId The unique identifier of callRecording + * @return CallRecordingItemRequestBuilder + */ + public function byCallRecordingId(string $callRecordingId): CallRecordingItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['callRecording%2Did'] = $callRecordingId; + return new CallRecordingItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RecordingsRequestBuilder 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}/communications/adhocCalls/{adhocCall%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The recordings of a call. Read-only. + * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RecordingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecordingCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to recordings for communications + * @param CallRecording $body The request body + * @param RecordingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CallRecording $body, ?RecordingsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The recordings of a call. Read-only. + * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RecordingsRequestBuilderGetRequestConfiguration $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 recordings for communications + * @param CallRecording $body The request body + * @param RecordingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CallRecording $body, ?RecordingsRequestBuilderPostRequestConfiguration $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 RecordingsRequestBuilder + */ + public function withUrl(string $rawUrl): RecordingsRequestBuilder { + return new RecordingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6a0be18dabc --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.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 RecordingsRequestBuilderGetQueryParameters 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/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5c28a7a8c38 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RecordingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RecordingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RecordingsRequestBuilderGetQueryParameters. + * @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 RecordingsRequestBuilderGetQueryParameters + */ + 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): RecordingsRequestBuilderGetQueryParameters { + return new RecordingsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..7544e11dda0 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..c1c7eecb2a9 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/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}/communications/adhocCalls/{adhocCall%2Did}/transcripts/$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/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1d0b40daad8 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..19586669165 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/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/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.php new file mode 100644 index 00000000000..65e3dd7bd4a --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/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([CallTranscript::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, CallTranscript::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/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.php new file mode 100644 index 00000000000..29e33d691b3 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.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}/communications/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function delta + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + 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); + } + + /** + * Invoke function delta + * @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/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..87f253da571 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/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/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..38ea378b7e8 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/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/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php new file mode 100644 index 00000000000..2196cd9f2fb --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php @@ -0,0 +1,160 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the media for the cloudCommunications entity. + */ + public function metadataContent(): MetadataContentRequestBuilder { + return new MetadataContentRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CallTranscriptItemRequestBuilder 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}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property transcripts for communications + * @param CallTranscriptItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CallTranscriptItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The transcripts of a call. Read-only. + * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CallTranscriptItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscript::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property transcripts in communications + * @param CallTranscript $body The request body + * @param CallTranscriptItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(CallTranscript $body, ?CallTranscriptItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscript::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property transcripts for communications + * @param CallTranscriptItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CallTranscriptItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The transcripts of a call. Read-only. + * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CallTranscriptItemRequestBuilderGetRequestConfiguration $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 transcripts in communications + * @param CallTranscript $body The request body + * @param CallTranscriptItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(CallTranscript $body, ?CallTranscriptItemRequestBuilderPatchRequestConfiguration $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 CallTranscriptItemRequestBuilder + */ + public function withUrl(string $rawUrl): CallTranscriptItemRequestBuilder { + return new CallTranscriptItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c31418b7918 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderDeleteRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c01181c8ba6 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.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 CallTranscriptItemRequestBuilderGetQueryParameters 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/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..567a01a4944 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CallTranscriptItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CallTranscriptItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CallTranscriptItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CallTranscriptItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CallTranscriptItemRequestBuilderGetQueryParameters { + return new CallTranscriptItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..743faf34433 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderPatchRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.php new file mode 100644 index 00000000000..5f2a87f648b --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.php @@ -0,0 +1,144 @@ +|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}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The content of the transcript. Read-only. + * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The content of the transcript. Read-only. + * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * The content of the transcript. Read-only. + * @param StreamInterface $body Binary request body + * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscript::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The content of the transcript. Read-only. + * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The content of the transcript. Read-only. + * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + return $requestInfo; + } + + /** + * The content of the transcript. Read-only. + * @param StreamInterface $body Binary request body + * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setStreamContent($body, "application/octet-stream"); + 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 ContentRequestBuilder + */ + public function withUrl(string $rawUrl): ContentRequestBuilder { + return new ContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..9df9115a990 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..853eada95a1 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderGetRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..98b3d42b335 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderPutRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php new file mode 100644 index 00000000000..c35a8fddff7 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.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}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param MetadataContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?MetadataContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param MetadataContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MetadataContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param StreamInterface $body Binary request body + * @param MetadataContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(StreamInterface $body, ?MetadataContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param MetadataContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?MetadataContentRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param MetadataContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MetadataContentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + return $requestInfo; + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param StreamInterface $body Binary request body + * @param MetadataContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(StreamInterface $body, ?MetadataContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setStreamContent($body, "application/octet-stream"); + 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 MetadataContentRequestBuilder + */ + public function withUrl(string $rawUrl): MetadataContentRequestBuilder { + return new MetadataContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..383506b2396 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderDeleteRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f9b5d5926d1 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderGetRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..3fae9d5e23d --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderPutRequestConfiguration.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/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.php new file mode 100644 index 00000000000..b1f482aae37 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.php @@ -0,0 +1,141 @@ +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 transcripts property of the microsoft.graph.adhocCall entity. + * @param string $callTranscriptId The unique identifier of callTranscript + * @return CallTranscriptItemRequestBuilder + */ + public function byCallTranscriptId(string $callTranscriptId): CallTranscriptItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['callTranscript%2Did'] = $callTranscriptId; + return new CallTranscriptItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new TranscriptsRequestBuilder 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}/communications/adhocCalls/{adhocCall%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The transcripts of a call. Read-only. + * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TranscriptsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscriptCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to transcripts for communications + * @param CallTranscript $body The request body + * @param TranscriptsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CallTranscript $body, ?TranscriptsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscript::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The transcripts of a call. Read-only. + * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TranscriptsRequestBuilderGetRequestConfiguration $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 transcripts for communications + * @param CallTranscript $body The request body + * @param TranscriptsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CallTranscript $body, ?TranscriptsRequestBuilderPostRequestConfiguration $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 TranscriptsRequestBuilder + */ + public function withUrl(string $rawUrl): TranscriptsRequestBuilder { + return new TranscriptsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4cf71bc065a --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.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 TranscriptsRequestBuilderGetQueryParameters 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/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7a11c2d17b0 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TranscriptsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TranscriptsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TranscriptsRequestBuilderGetQueryParameters. + * @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 TranscriptsRequestBuilderGetQueryParameters + */ + 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): TranscriptsRequestBuilderGetQueryParameters { + return new TranscriptsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..8fe0baf7bc4 --- /dev/null +++ b/src/Generated/Communications/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderPostRequestConfiguration.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/Communications/CommunicationsRequestBuilder.php b/src/Generated/Communications/CommunicationsRequestBuilder.php index 9da32474d3c..c45f6699d01 100644 --- a/src/Generated/Communications/CommunicationsRequestBuilder.php +++ b/src/Generated/Communications/CommunicationsRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Communications\AdhocCalls\AdhocCallsRequestBuilder; use Microsoft\Graph\Generated\Communications\CallRecords\CallRecordsRequestBuilder; use Microsoft\Graph\Generated\Communications\Calls\CallsRequestBuilder; use Microsoft\Graph\Generated\Communications\GetAllOnlineMeetingMessages\GetAllOnlineMeetingMessagesRequestBuilder; @@ -23,6 +24,13 @@ */ class CommunicationsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity. + */ + public function adhocCalls(): AdhocCallsRequestBuilder { + return new AdhocCallsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity. */ diff --git a/src/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.php b/src/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.php new file mode 100644 index 00000000000..5b61dd953a9 --- /dev/null +++ b/src/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.php @@ -0,0 +1,74 @@ +|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}/communications/presences/{presence%2Did}/clearAutomaticLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + * @param ClearAutomaticLocationRequestBuilderPostRequestConfiguration|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-clearautomaticlocation?view=graph-rest-1.0 Find more info here + */ + public function post(?ClearAutomaticLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + * @param ClearAutomaticLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?ClearAutomaticLocationRequestBuilderPostRequestConfiguration $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"); + 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 ClearAutomaticLocationRequestBuilder + */ + public function withUrl(string $rawUrl): ClearAutomaticLocationRequestBuilder { + return new ClearAutomaticLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..362cdaaca86 --- /dev/null +++ b/src/Generated/Communications/Presences/Item/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilderPostRequestConfiguration.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/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilder.php b/src/Generated/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilder.php new file mode 100644 index 00000000000..bafd60ecfac --- /dev/null +++ b/src/Generated/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilder.php @@ -0,0 +1,74 @@ +|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}/communications/presences/{presence%2Did}/clearLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Clear the work location signals for a user, including both the manual and automatic layers for the current date. + * @param ClearLocationRequestBuilderPostRequestConfiguration|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-clearlocation?view=graph-rest-1.0 Find more info here + */ + public function post(?ClearLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Clear the work location signals for a user, including both the manual and automatic layers for the current date. + * @param ClearLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?ClearLocationRequestBuilderPostRequestConfiguration $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"); + 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 ClearLocationRequestBuilder + */ + public function withUrl(string $rawUrl): ClearLocationRequestBuilder { + return new ClearLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..85d7903bc3f --- /dev/null +++ b/src/Generated/Communications/Presences/Item/ClearLocation/ClearLocationRequestBuilderPostRequestConfiguration.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/Communications/Presences/Item/PresenceItemRequestBuilder.php b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php index eaf065585dc..ed8c5ce9aeb 100644 --- a/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php +++ b/src/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.php @@ -4,8 +4,12 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Communications\Presences\Item\ClearAutomaticLocation\ClearAutomaticLocationRequestBuilder; +use Microsoft\Graph\Generated\Communications\Presences\Item\ClearLocation\ClearLocationRequestBuilder; use Microsoft\Graph\Generated\Communications\Presences\Item\ClearPresence\ClearPresenceRequestBuilder; use Microsoft\Graph\Generated\Communications\Presences\Item\ClearUserPreferredPresence\ClearUserPreferredPresenceRequestBuilder; +use Microsoft\Graph\Generated\Communications\Presences\Item\SetAutomaticLocation\SetAutomaticLocationRequestBuilder; +use Microsoft\Graph\Generated\Communications\Presences\Item\SetManualLocation\SetManualLocationRequestBuilder; use Microsoft\Graph\Generated\Communications\Presences\Item\SetPresence\SetPresenceRequestBuilder; use Microsoft\Graph\Generated\Communications\Presences\Item\SetStatusMessage\SetStatusMessageRequestBuilder; use Microsoft\Graph\Generated\Communications\Presences\Item\SetUserPreferredPresence\SetUserPreferredPresenceRequestBuilder; @@ -21,6 +25,20 @@ */ class PresenceItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the clearAutomaticLocation method. + */ + public function clearAutomaticLocation(): ClearAutomaticLocationRequestBuilder { + return new ClearAutomaticLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the clearLocation method. + */ + public function clearLocation(): ClearLocationRequestBuilder { + return new ClearLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the clearPresence method. */ @@ -35,6 +53,20 @@ public function clearUserPreferredPresence(): ClearUserPreferredPresenceRequestB return new ClearUserPreferredPresenceRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the setAutomaticLocation method. + */ + public function setAutomaticLocation(): SetAutomaticLocationRequestBuilder { + return new SetAutomaticLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the setManualLocation method. + */ + public function setManualLocation(): SetManualLocationRequestBuilder { + return new SetManualLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the setPresence method. */ diff --git a/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.php b/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.php new file mode 100644 index 00000000000..b59d1d38e0a --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.php @@ -0,0 +1,137 @@ +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 SetAutomaticLocationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SetAutomaticLocationPostRequestBody { + return new SetAutomaticLocationPostRequestBody(); + } + + /** + * 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 [ + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]; + } + + /** + * Gets the placeId property value. The placeId property + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + $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 placeId property value. The placeId property + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php new file mode 100644 index 00000000000..1ce79f6c798 --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.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}/communications/presences/{presence%2Did}/setAutomaticLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + * @param SetAutomaticLocationPostRequestBody $body The request body + * @param SetAutomaticLocationRequestBuilderPostRequestConfiguration|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-setautomaticlocation?view=graph-rest-1.0 Find more info here + */ + public function post(SetAutomaticLocationPostRequestBody $body, ?SetAutomaticLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + * @param SetAutomaticLocationPostRequestBody $body The request body + * @param SetAutomaticLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SetAutomaticLocationPostRequestBody $body, ?SetAutomaticLocationRequestBuilderPostRequestConfiguration $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 SetAutomaticLocationRequestBuilder + */ + public function withUrl(string $rawUrl): SetAutomaticLocationRequestBuilder { + return new SetAutomaticLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..082ceb0d34b --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetAutomaticLocation/SetAutomaticLocationRequestBuilderPostRequestConfiguration.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/Communications/Presences/Item/SetManualLocation/SetManualLocationPostRequestBody.php b/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationPostRequestBody.php new file mode 100644 index 00000000000..63edfa5616c --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationPostRequestBody.php @@ -0,0 +1,137 @@ +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 SetManualLocationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SetManualLocationPostRequestBody { + return new SetManualLocationPostRequestBody(); + } + + /** + * 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 [ + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]; + } + + /** + * Gets the placeId property value. The placeId property + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + $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 placeId property value. The placeId property + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.php b/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.php new file mode 100644 index 00000000000..05ec2cdca55 --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilder.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}/communications/presences/{presence%2Did}/setManualLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + * @param SetManualLocationPostRequestBody $body The request body + * @param SetManualLocationRequestBuilderPostRequestConfiguration|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-setmanuallocation?view=graph-rest-1.0 Find more info here + */ + public function post(SetManualLocationPostRequestBody $body, ?SetManualLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + * @param SetManualLocationPostRequestBody $body The request body + * @param SetManualLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SetManualLocationPostRequestBody $body, ?SetManualLocationRequestBuilderPostRequestConfiguration $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 SetManualLocationRequestBuilder + */ + public function withUrl(string $rawUrl): SetManualLocationRequestBuilder { + return new SetManualLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..d70c3d8cb08 --- /dev/null +++ b/src/Generated/Communications/Presences/Item/SetManualLocation/SetManualLocationRequestBuilderPostRequestConfiguration.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/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.php index 416596b9ddf..6612917712f 100644 --- a/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/CloudPCItemRequestBuilder.php @@ -7,8 +7,10 @@ use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\CloudPCs\Item\EndGracePeriod\EndGracePeriodRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\CloudPCs\Item\Reboot\RebootRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\CloudPCs\Item\Rename\RenameRequestBuilder; +use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\CloudPCs\Item\Reprovision\ReprovisionRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\CloudPCs\Item\Resize\ResizeRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\CloudPCs\Item\Restore\RestoreRequestBuilder; +use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\CloudPCs\Item\RetrieveCloudPcLaunchDetail\RetrieveCloudPcLaunchDetailRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\CloudPCs\Item\Troubleshoot\TroubleshootRequestBuilder; use Microsoft\Graph\Generated\Models\CloudPC; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; @@ -43,6 +45,13 @@ public function rename(): RenameRequestBuilder { return new RenameRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the reprovision method. + */ + public function reprovision(): ReprovisionRequestBuilder { + return new ReprovisionRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the resize method. */ @@ -57,6 +66,13 @@ public function restore(): RestoreRequestBuilder { return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the retrieveCloudPcLaunchDetail method. + */ + public function retrieveCloudPcLaunchDetail(): RetrieveCloudPcLaunchDetailRequestBuilder { + return new RetrieveCloudPcLaunchDetailRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the troubleshoot method. */ diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.php b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.php new file mode 100644 index 00000000000..a6911ddb5ad --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.php @@ -0,0 +1,138 @@ +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 ReprovisionPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ReprovisionPostRequestBody { + return new ReprovisionPostRequestBody(); + } + + /** + * 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 [ + 'osVersion' => fn(ParseNode $n) => $o->setOsVersion($n->getEnumValue(CloudPcOperatingSystem::class)), + 'userAccountType' => fn(ParseNode $n) => $o->setUserAccountType($n->getEnumValue(CloudPcUserAccountType::class)), + ]; + } + + /** + * Gets the osVersion property value. The osVersion property + * @return CloudPcOperatingSystem|null + */ + public function getOsVersion(): ?CloudPcOperatingSystem { + $val = $this->getBackingStore()->get('osVersion'); + if (is_null($val) || $val instanceof CloudPcOperatingSystem) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'osVersion'"); + } + + /** + * Gets the userAccountType property value. The userAccountType property + * @return CloudPcUserAccountType|null + */ + public function getUserAccountType(): ?CloudPcUserAccountType { + $val = $this->getBackingStore()->get('userAccountType'); + if (is_null($val) || $val instanceof CloudPcUserAccountType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userAccountType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('osVersion', $this->getOsVersion()); + $writer->writeEnumValue('userAccountType', $this->getUserAccountType()); + $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 osVersion property value. The osVersion property + * @param CloudPcOperatingSystem|null $value Value to set for the osVersion property. + */ + public function setOsVersion(?CloudPcOperatingSystem $value): void { + $this->getBackingStore()->set('osVersion', $value); + } + + /** + * Sets the userAccountType property value. The userAccountType property + * @param CloudPcUserAccountType|null $value Value to set for the userAccountType property. + */ + public function setUserAccountType(?CloudPcUserAccountType $value): void { + $this->getBackingStore()->set('userAccountType', $value); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.php new file mode 100644 index 00000000000..5b1d0392646 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.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}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/reprovision'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Reprovision a specific Cloud PC. + * @param ReprovisionPostRequestBody $body The request body + * @param ReprovisionRequestBuilderPostRequestConfiguration|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/cloudpc-reprovision?view=graph-rest-1.0 Find more info here + */ + public function post(ReprovisionPostRequestBody $body, ?ReprovisionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Reprovision a specific Cloud PC. + * @param ReprovisionPostRequestBody $body The request body + * @param ReprovisionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ReprovisionPostRequestBody $body, ?ReprovisionRequestBuilderPostRequestConfiguration $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 ReprovisionRequestBuilder + */ + public function withUrl(string $rawUrl): ReprovisionRequestBuilder { + return new ReprovisionRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilderPostRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..6d729981b39 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/Reprovision/ReprovisionRequestBuilderPostRequestConfiguration.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/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.php new file mode 100644 index 00000000000..471e984ce16 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.php @@ -0,0 +1,75 @@ +|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}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + * @param RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration|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/cloudpc-retrievecloudpclaunchdetail?view=graph-rest-1.0 Find more info here + */ + public function get(?RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CloudPcLaunchDetail::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + * @param RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration $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); + $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 RetrieveCloudPcLaunchDetailRequestBuilder + */ + public function withUrl(string $rawUrl): RetrieveCloudPcLaunchDetailRequestBuilder { + return new RetrieveCloudPcLaunchDetailRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f760e7de810 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration.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/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.php new file mode 100644 index 00000000000..a09a03aeca0 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ReportRequestBuilder 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}/deviceManagement/virtualEndpoint/report{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property report for deviceManagement + * @param ReportRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ReportRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Cloud PC-related reports. Read-only. + * @param ReportRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ReportRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CloudPcReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property report in deviceManagement + * @param CloudPcReport $body The request body + * @param ReportRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(CloudPcReport $body, ?ReportRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CloudPcReport::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property report for deviceManagement + * @param ReportRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ReportRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Cloud PC-related reports. Read-only. + * @param ReportRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ReportRequestBuilderGetRequestConfiguration $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 report in deviceManagement + * @param CloudPcReport $body The request body + * @param ReportRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(CloudPcReport $body, ?ReportRequestBuilderPatchRequestConfiguration $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 ReportRequestBuilder + */ + public function withUrl(string $rawUrl): ReportRequestBuilder { + return new ReportRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderDeleteRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..cd7a1b902d9 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderDeleteRequestConfiguration.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/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9ec2eb329ec --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderGetQueryParameters.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 ReportRequestBuilderGetQueryParameters 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/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..37202e01e32 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ReportRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ReportRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ReportRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ReportRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ReportRequestBuilderGetQueryParameters { + return new ReportRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderPatchRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..6499b04a77b --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/ReportRequestBuilderPatchRequestConfiguration.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/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.php new file mode 100644 index 00000000000..6814440c828 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.php @@ -0,0 +1,297 @@ +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 RetrieveCloudPcRecommendationReportsPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RetrieveCloudPcRecommendationReportsPostRequestBody { + return new RetrieveCloudPcRecommendationReportsPostRequestBody(); + } + + /** + * 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 [ + 'filter' => fn(ParseNode $n) => $o->setFilter($n->getStringValue()), + 'groupBy' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setGroupBy($val); + }, + 'orderBy' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setOrderBy($val); + }, + 'reportType' => fn(ParseNode $n) => $o->setReportType($n->getEnumValue(CloudPcRecommendationReportType::class)), + 'search' => fn(ParseNode $n) => $o->setSearch($n->getStringValue()), + 'select' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSelect($val); + }, + 'skip' => fn(ParseNode $n) => $o->setSkip($n->getIntegerValue()), + 'top' => fn(ParseNode $n) => $o->setTop($n->getIntegerValue()), + ]; + } + + /** + * Gets the filter property value. The filter property + * @return string|null + */ + public function getFilter(): ?string { + $val = $this->getBackingStore()->get('filter'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'filter'"); + } + + /** + * Gets the groupBy property value. The groupBy property + * @return array|null + */ + public function getGroupBy(): ?array { + $val = $this->getBackingStore()->get('groupBy'); + 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 'groupBy'"); + } + + /** + * Gets the orderBy property value. The orderBy property + * @return array|null + */ + public function getOrderBy(): ?array { + $val = $this->getBackingStore()->get('orderBy'); + 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 'orderBy'"); + } + + /** + * Gets the reportType property value. The reportType property + * @return CloudPcRecommendationReportType|null + */ + public function getReportType(): ?CloudPcRecommendationReportType { + $val = $this->getBackingStore()->get('reportType'); + if (is_null($val) || $val instanceof CloudPcRecommendationReportType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reportType'"); + } + + /** + * Gets the search property value. The search property + * @return string|null + */ + public function getSearch(): ?string { + $val = $this->getBackingStore()->get('search'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'search'"); + } + + /** + * Gets the select property value. The select property + * @return array|null + */ + public function getSelect(): ?array { + $val = $this->getBackingStore()->get('select'); + 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 'select'"); + } + + /** + * Gets the skip property value. The skip property + * @return int|null + */ + public function getSkip(): ?int { + $val = $this->getBackingStore()->get('skip'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'skip'"); + } + + /** + * Gets the top property value. The top property + * @return int|null + */ + public function getTop(): ?int { + $val = $this->getBackingStore()->get('top'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'top'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('filter', $this->getFilter()); + $writer->writeCollectionOfPrimitiveValues('groupBy', $this->getGroupBy()); + $writer->writeCollectionOfPrimitiveValues('orderBy', $this->getOrderBy()); + $writer->writeEnumValue('reportType', $this->getReportType()); + $writer->writeStringValue('search', $this->getSearch()); + $writer->writeCollectionOfPrimitiveValues('select', $this->getSelect()); + $writer->writeIntegerValue('skip', $this->getSkip()); + $writer->writeIntegerValue('top', $this->getTop()); + $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 filter property value. The filter property + * @param string|null $value Value to set for the filter property. + */ + public function setFilter(?string $value): void { + $this->getBackingStore()->set('filter', $value); + } + + /** + * Sets the groupBy property value. The groupBy property + * @param array|null $value Value to set for the groupBy property. + */ + public function setGroupBy(?array $value): void { + $this->getBackingStore()->set('groupBy', $value); + } + + /** + * Sets the orderBy property value. The orderBy property + * @param array|null $value Value to set for the orderBy property. + */ + public function setOrderBy(?array $value): void { + $this->getBackingStore()->set('orderBy', $value); + } + + /** + * Sets the reportType property value. The reportType property + * @param CloudPcRecommendationReportType|null $value Value to set for the reportType property. + */ + public function setReportType(?CloudPcRecommendationReportType $value): void { + $this->getBackingStore()->set('reportType', $value); + } + + /** + * Sets the search property value. The search property + * @param string|null $value Value to set for the search property. + */ + public function setSearch(?string $value): void { + $this->getBackingStore()->set('search', $value); + } + + /** + * Sets the select property value. The select property + * @param array|null $value Value to set for the select property. + */ + public function setSelect(?array $value): void { + $this->getBackingStore()->set('select', $value); + } + + /** + * Sets the skip property value. The skip property + * @param int|null $value Value to set for the skip property. + */ + public function setSkip(?int $value): void { + $this->getBackingStore()->set('skip', $value); + } + + /** + * Sets the top property value. The top property + * @param int|null $value Value to set for the top property. + */ + public function setTop(?int $value): void { + $this->getBackingStore()->set('top', $value); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.php new file mode 100644 index 00000000000..89ba3cba3ce --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.php @@ -0,0 +1,80 @@ +|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}/deviceManagement/virtualEndpoint/report/retrieveCloudPcRecommendationReports'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized. + * @param RetrieveCloudPcRecommendationReportsPostRequestBody $body The request body + * @param RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration|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/cloudpcreport-retrievecloudpcrecommendationreports?view=graph-rest-1.0 Find more info here + */ + public function post(RetrieveCloudPcRecommendationReportsPostRequestBody $body, ?RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * Retrieve Cloud PC recommendation reports for usage optimization and cost savings. The usage category report categorizes a Cloud PC as Undersized, Oversized, Rightsized, or Underutilized, and also provides the recommended SKU when the Cloud PC isn't Rightsized. + * @param RetrieveCloudPcRecommendationReportsPostRequestBody $body The request body + * @param RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RetrieveCloudPcRecommendationReportsPostRequestBody $body, ?RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration $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/octet-stream, 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 RetrieveCloudPcRecommendationReportsRequestBuilder + */ + public function withUrl(string $rawUrl): RetrieveCloudPcRecommendationReportsRequestBuilder { + return new RetrieveCloudPcRecommendationReportsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..29fe5e5d6bc --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Report/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration.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/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.php index bbd89c5a4ae..9fa0cf79935 100644 --- a/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.php +++ b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\GalleryImages\GalleryImagesRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\OnPremisesConnections\OnPremisesConnectionsRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\ProvisioningPolicies\ProvisioningPoliciesRequestBuilder; +use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\Report\ReportRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\UserSettings\UserSettingsRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\VirtualEndpoint; @@ -65,6 +66,13 @@ public function provisioningPolicies(): ProvisioningPoliciesRequestBuilder { return new ProvisioningPoliciesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the report property of the microsoft.graph.virtualEndpoint entity. + */ + public function report(): ReportRequestBuilder { + return new ReportRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity. */ diff --git a/src/Generated/Models/ActionItem.php b/src/Generated/Models/ActionItem.php new file mode 100644 index 00000000000..a304d2034b6 --- /dev/null +++ b/src/Generated/Models/ActionItem.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 ActionItem + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ActionItem { + return new ActionItem(); + } + + /** + * 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 [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'ownerDisplayName' => fn(ParseNode $n) => $o->setOwnerDisplayName($n->getStringValue()), + 'text' => fn(ParseNode $n) => $o->setText($n->getStringValue()), + 'title' => fn(ParseNode $n) => $o->setTitle($n->getStringValue()), + ]; + } + + /** + * 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 ownerDisplayName property value. The ownerDisplayName property + * @return string|null + */ + public function getOwnerDisplayName(): ?string { + $val = $this->getBackingStore()->get('ownerDisplayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'ownerDisplayName'"); + } + + /** + * Gets the text property value. The text property + * @return string|null + */ + public function getText(): ?string { + $val = $this->getBackingStore()->get('text'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); + } + + /** + * Gets the title property value. The title property + * @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 { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('ownerDisplayName', $this->getOwnerDisplayName()); + $writer->writeStringValue('text', $this->getText()); + $writer->writeStringValue('title', $this->getTitle()); + $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 @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 ownerDisplayName property value. The ownerDisplayName property + * @param string|null $value Value to set for the ownerDisplayName property. + */ + public function setOwnerDisplayName(?string $value): void { + $this->getBackingStore()->set('ownerDisplayName', $value); + } + + /** + * Sets the text property value. The text property + * @param string|null $value Value to set for the text property. + */ + public function setText(?string $value): void { + $this->getBackingStore()->set('text', $value); + } + + /** + * Sets the title property value. The title property + * @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/AdhocCall.php b/src/Generated/Models/AdhocCall.php new file mode 100644 index 00000000000..e93c4134991 --- /dev/null +++ b/src/Generated/Models/AdhocCall.php @@ -0,0 +1,94 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'recordings' => fn(ParseNode $n) => $o->setRecordings($n->getCollectionOfObjectValues([CallRecording::class, 'createFromDiscriminatorValue'])), + 'transcripts' => fn(ParseNode $n) => $o->setTranscripts($n->getCollectionOfObjectValues([CallTranscript::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the recordings property value. The recordings of a call. Read-only. + * @return array|null + */ + public function getRecordings(): ?array { + $val = $this->getBackingStore()->get('recordings'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallRecording::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recordings'"); + } + + /** + * Gets the transcripts property value. The transcripts of a call. Read-only. + * @return array|null + */ + public function getTranscripts(): ?array { + $val = $this->getBackingStore()->get('transcripts'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallTranscript::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'transcripts'"); + } + + /** + * 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('recordings', $this->getRecordings()); + $writer->writeCollectionOfObjectValues('transcripts', $this->getTranscripts()); + } + + /** + * Sets the recordings property value. The recordings of a call. Read-only. + * @param array|null $value Value to set for the recordings property. + */ + public function setRecordings(?array $value): void { + $this->getBackingStore()->set('recordings', $value); + } + + /** + * Sets the transcripts property value. The transcripts of a call. Read-only. + * @param array|null $value Value to set for the transcripts property. + */ + public function setTranscripts(?array $value): void { + $this->getBackingStore()->set('transcripts', $value); + } + +} diff --git a/src/Generated/Models/AdhocCallCollectionResponse.php b/src/Generated/Models/AdhocCallCollectionResponse.php new file mode 100644 index 00000000000..08d43daeb19 --- /dev/null +++ b/src/Generated/Models/AdhocCallCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([AdhocCall::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, AdhocCall::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/Admin.php b/src/Generated/Models/Admin.php index d5c2086d904..0d19f8d2566 100644 --- a/src/Generated/Models/Admin.php +++ b/src/Generated/Models/Admin.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models; +use Microsoft\Graph\Generated\Models\TeamsAdministration\TeamsAdminRoot; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -81,6 +82,7 @@ public function getFieldDeserializers(): array { 'reportSettings' => fn(ParseNode $n) => $o->setReportSettings($n->getObjectValue([AdminReportSettings::class, 'createFromDiscriminatorValue'])), 'serviceAnnouncement' => fn(ParseNode $n) => $o->setServiceAnnouncement($n->getObjectValue([ServiceAnnouncement::class, 'createFromDiscriminatorValue'])), 'sharepoint' => fn(ParseNode $n) => $o->setSharepoint($n->getObjectValue([Sharepoint::class, 'createFromDiscriminatorValue'])), + 'teams' => fn(ParseNode $n) => $o->setTeams($n->getObjectValue([TeamsAdminRoot::class, 'createFromDiscriminatorValue'])), ]; } @@ -156,6 +158,18 @@ public function getSharepoint(): ?Sharepoint { throw new \UnexpectedValueException("Invalid type found in backing store for 'sharepoint'"); } + /** + * Gets the teams property value. Represents a collection of user configurations. + * @return TeamsAdminRoot|null + */ + public function getTeams(): ?TeamsAdminRoot { + $val = $this->getBackingStore()->get('teams'); + if (is_null($val) || $val instanceof TeamsAdminRoot) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'teams'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -168,6 +182,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('reportSettings', $this->getReportSettings()); $writer->writeObjectValue('serviceAnnouncement', $this->getServiceAnnouncement()); $writer->writeObjectValue('sharepoint', $this->getSharepoint()); + $writer->writeObjectValue('teams', $this->getTeams()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -243,4 +258,12 @@ public function setSharepoint(?Sharepoint $value): void { $this->getBackingStore()->set('sharepoint', $value); } + /** + * Sets the teams property value. Represents a collection of user configurations. + * @param TeamsAdminRoot|null $value Value to set for the teams property. + */ + public function setTeams(?TeamsAdminRoot $value): void { + $this->getBackingStore()->set('teams', $value); + } + } diff --git a/src/Generated/Models/AiOnlineMeeting.php b/src/Generated/Models/AiOnlineMeeting.php new file mode 100644 index 00000000000..82b06f8f099 --- /dev/null +++ b/src/Generated/Models/AiOnlineMeeting.php @@ -0,0 +1,70 @@ +|null + */ + public function getAiInsights(): ?array { + $val = $this->getBackingStore()->get('aiInsights'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallAiInsight::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'aiInsights'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'aiInsights' => fn(ParseNode $n) => $o->setAiInsights($n->getCollectionOfObjectValues([CallAiInsight::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * 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('aiInsights', $this->getAiInsights()); + } + + /** + * Sets the aiInsights property value. The aiInsights property + * @param array|null $value Value to set for the aiInsights property. + */ + public function setAiInsights(?array $value): void { + $this->getBackingStore()->set('aiInsights', $value); + } + +} diff --git a/src/Generated/Models/AiUser.php b/src/Generated/Models/AiUser.php index c65078c7323..e2c3895a1b9 100644 --- a/src/Generated/Models/AiUser.php +++ b/src/Generated/Models/AiUser.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 AiUser extends Entity implements Parsable { @@ -32,6 +33,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'interactionHistory' => fn(ParseNode $n) => $o->setInteractionHistory($n->getObjectValue([AiInteractionHistory::class, 'createFromDiscriminatorValue'])), + 'onlineMeetings' => fn(ParseNode $n) => $o->setOnlineMeetings($n->getCollectionOfObjectValues([AiOnlineMeeting::class, 'createFromDiscriminatorValue'])), ]); } @@ -47,6 +49,20 @@ public function getInteractionHistory(): ?AiInteractionHistory { throw new \UnexpectedValueException("Invalid type found in backing store for 'interactionHistory'"); } + /** + * Gets the onlineMeetings property value. The onlineMeetings property + * @return array|null + */ + public function getOnlineMeetings(): ?array { + $val = $this->getBackingStore()->get('onlineMeetings'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AiOnlineMeeting::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'onlineMeetings'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -54,6 +70,7 @@ public function getInteractionHistory(): ?AiInteractionHistory { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('interactionHistory', $this->getInteractionHistory()); + $writer->writeCollectionOfObjectValues('onlineMeetings', $this->getOnlineMeetings()); } /** @@ -64,4 +81,12 @@ public function setInteractionHistory(?AiInteractionHistory $value): void { $this->getBackingStore()->set('interactionHistory', $value); } + /** + * Sets the onlineMeetings property value. The onlineMeetings property + * @param array|null $value Value to set for the onlineMeetings property. + */ + public function setOnlineMeetings(?array $value): void { + $this->getBackingStore()->set('onlineMeetings', $value); + } + } diff --git a/src/Generated/Models/AllowedTargetScope.php b/src/Generated/Models/AllowedTargetScope.php index b7a067508eb..2419092e956 100644 --- a/src/Generated/Models/AllowedTargetScope.php +++ b/src/Generated/Models/AllowedTargetScope.php @@ -14,5 +14,6 @@ class AllowedTargetScope extends Enum { public const ALL_DIRECTORY_SERVICE_PRINCIPALS = "allDirectoryServicePrincipals"; public const ALL_CONFIGURED_CONNECTED_ORGANIZATION_USERS = "allConfiguredConnectedOrganizationUsers"; public const ALL_EXTERNAL_USERS = "allExternalUsers"; + public const ALL_DIRECTORY_AGENT_IDENTITIES = "allDirectoryAgentIdentities"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/Building.php b/src/Generated/Models/Building.php index 8e7cd7347f2..94da5d251f8 100644 --- a/src/Generated/Models/Building.php +++ b/src/Generated/Models/Building.php @@ -35,6 +35,7 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'map' => fn(ParseNode $n) => $o->setMap($n->getObjectValue([BuildingMap::class, 'createFromDiscriminatorValue'])), 'resourceLinks' => fn(ParseNode $n) => $o->setResourceLinks($n->getCollectionOfObjectValues([ResourceLink::class, 'createFromDiscriminatorValue'])), + 'wifiState' => fn(ParseNode $n) => $o->setWifiState($n->getEnumValue(PlaceFeatureEnablement::class)), ]); } @@ -64,6 +65,18 @@ public function getResourceLinks(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'resourceLinks'"); } + /** + * Gets the wifiState property value. The wifiState property + * @return PlaceFeatureEnablement|null + */ + public function getWifiState(): ?PlaceFeatureEnablement { + $val = $this->getBackingStore()->get('wifiState'); + if (is_null($val) || $val instanceof PlaceFeatureEnablement) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'wifiState'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -72,6 +85,7 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('map', $this->getMap()); $writer->writeCollectionOfObjectValues('resourceLinks', $this->getResourceLinks()); + $writer->writeEnumValue('wifiState', $this->getWifiState()); } /** @@ -90,4 +104,12 @@ public function setResourceLinks(?array $value): void { $this->getBackingStore()->set('resourceLinks', $value); } + /** + * Sets the wifiState property value. The wifiState property + * @param PlaceFeatureEnablement|null $value Value to set for the wifiState property. + */ + public function setWifiState(?PlaceFeatureEnablement $value): void { + $this->getBackingStore()->set('wifiState', $value); + } + } diff --git a/src/Generated/Models/CallAiInsight.php b/src/Generated/Models/CallAiInsight.php new file mode 100644 index 00000000000..c048a56112b --- /dev/null +++ b/src/Generated/Models/CallAiInsight.php @@ -0,0 +1,205 @@ +|null + */ + public function getActionItems(): ?array { + $val = $this->getBackingStore()->get('actionItems'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ActionItem::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'actionItems'"); + } + + /** + * Gets the callId property value. The callId property + * @return string|null + */ + public function getCallId(): ?string { + $val = $this->getBackingStore()->get('callId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'callId'"); + } + + /** + * Gets the contentCorrelationId property value. The contentCorrelationId property + * @return string|null + */ + public function getContentCorrelationId(): ?string { + $val = $this->getBackingStore()->get('contentCorrelationId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentCorrelationId'"); + } + + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the endDateTime property value. The endDateTime property + * @return DateTime|null + */ + public function getEndDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('endDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'endDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'actionItems' => fn(ParseNode $n) => $o->setActionItems($n->getCollectionOfObjectValues([ActionItem::class, 'createFromDiscriminatorValue'])), + 'callId' => fn(ParseNode $n) => $o->setCallId($n->getStringValue()), + 'contentCorrelationId' => fn(ParseNode $n) => $o->setContentCorrelationId($n->getStringValue()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getDateTimeValue()), + 'meetingNotes' => fn(ParseNode $n) => $o->setMeetingNotes($n->getCollectionOfObjectValues([MeetingNote::class, 'createFromDiscriminatorValue'])), + 'viewpoint' => fn(ParseNode $n) => $o->setViewpoint($n->getObjectValue([CallAiInsightViewPoint::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the meetingNotes property value. The meetingNotes property + * @return array|null + */ + public function getMeetingNotes(): ?array { + $val = $this->getBackingStore()->get('meetingNotes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MeetingNote::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'meetingNotes'"); + } + + /** + * Gets the viewpoint property value. The viewpoint property + * @return CallAiInsightViewPoint|null + */ + public function getViewpoint(): ?CallAiInsightViewPoint { + $val = $this->getBackingStore()->get('viewpoint'); + if (is_null($val) || $val instanceof CallAiInsightViewPoint) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'viewpoint'"); + } + + /** + * 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('actionItems', $this->getActionItems()); + $writer->writeStringValue('callId', $this->getCallId()); + $writer->writeStringValue('contentCorrelationId', $this->getContentCorrelationId()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeDateTimeValue('endDateTime', $this->getEndDateTime()); + $writer->writeCollectionOfObjectValues('meetingNotes', $this->getMeetingNotes()); + $writer->writeObjectValue('viewpoint', $this->getViewpoint()); + } + + /** + * Sets the actionItems property value. The actionItems property + * @param array|null $value Value to set for the actionItems property. + */ + public function setActionItems(?array $value): void { + $this->getBackingStore()->set('actionItems', $value); + } + + /** + * Sets the callId property value. The callId property + * @param string|null $value Value to set for the callId property. + */ + public function setCallId(?string $value): void { + $this->getBackingStore()->set('callId', $value); + } + + /** + * Sets the contentCorrelationId property value. The contentCorrelationId property + * @param string|null $value Value to set for the contentCorrelationId property. + */ + public function setContentCorrelationId(?string $value): void { + $this->getBackingStore()->set('contentCorrelationId', $value); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the endDateTime property value. The endDateTime property + * @param DateTime|null $value Value to set for the endDateTime property. + */ + public function setEndDateTime(?DateTime $value): void { + $this->getBackingStore()->set('endDateTime', $value); + } + + /** + * Sets the meetingNotes property value. The meetingNotes property + * @param array|null $value Value to set for the meetingNotes property. + */ + public function setMeetingNotes(?array $value): void { + $this->getBackingStore()->set('meetingNotes', $value); + } + + /** + * Sets the viewpoint property value. The viewpoint property + * @param CallAiInsightViewPoint|null $value Value to set for the viewpoint property. + */ + public function setViewpoint(?CallAiInsightViewPoint $value): void { + $this->getBackingStore()->set('viewpoint', $value); + } + +} diff --git a/src/Generated/Models/CallAiInsightViewPoint.php b/src/Generated/Models/CallAiInsightViewPoint.php new file mode 100644 index 00000000000..89c77c0bc0f --- /dev/null +++ b/src/Generated/Models/CallAiInsightViewPoint.php @@ -0,0 +1,139 @@ +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 CallAiInsightViewPoint + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CallAiInsightViewPoint { + return new CallAiInsightViewPoint(); + } + + /** + * 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 [ + 'mentionEvents' => fn(ParseNode $n) => $o->setMentionEvents($n->getCollectionOfObjectValues([MentionEvent::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the mentionEvents property value. The mentionEvents property + * @return array|null + */ + public function getMentionEvents(): ?array { + $val = $this->getBackingStore()->get('mentionEvents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MentionEvent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'mentionEvents'"); + } + + /** + * 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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('mentionEvents', $this->getMentionEvents()); + $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; + } + + /** + * Sets the mentionEvents property value. The mentionEvents property + * @param array|null $value Value to set for the mentionEvents property. + */ + public function setMentionEvents(?array $value): void { + $this->getBackingStore()->set('mentionEvents', $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); + } + +} diff --git a/src/Generated/Models/CloudCommunications.php b/src/Generated/Models/CloudCommunications.php index 3f20790f4ab..c50d8cdfa79 100644 --- a/src/Generated/Models/CloudCommunications.php +++ b/src/Generated/Models/CloudCommunications.php @@ -52,6 +52,20 @@ public function getAdditionalData(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); } + /** + * Gets the adhocCalls property value. The adhocCalls property + * @return array|null + */ + public function getAdhocCalls(): ?array { + $val = $this->getBackingStore()->get('adhocCalls'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AdhocCall::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'adhocCalls'"); + } + /** * Gets the BackingStore property value. Stores model information. * @return BackingStore @@ -95,6 +109,7 @@ public function getCalls(): ?array { public function getFieldDeserializers(): array { $o = $this; return [ + 'adhocCalls' => fn(ParseNode $n) => $o->setAdhocCalls($n->getCollectionOfObjectValues([AdhocCall::class, 'createFromDiscriminatorValue'])), 'callRecords' => fn(ParseNode $n) => $o->setCallRecords($n->getCollectionOfObjectValues([CallRecord::class, 'createFromDiscriminatorValue'])), 'calls' => fn(ParseNode $n) => $o->setCalls($n->getCollectionOfObjectValues([Call::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), @@ -163,6 +178,7 @@ public function getPresences(): ?array { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('adhocCalls', $this->getAdhocCalls()); $writer->writeCollectionOfObjectValues('callRecords', $this->getCallRecords()); $writer->writeCollectionOfObjectValues('calls', $this->getCalls()); $writer->writeStringValue('@odata.type', $this->getOdataType()); @@ -180,6 +196,14 @@ public function setAdditionalData(?array $value): void { $this->getBackingStore()->set('additionalData', $value); } + /** + * Sets the adhocCalls property value. The adhocCalls property + * @param array|null $value Value to set for the adhocCalls property. + */ + public function setAdhocCalls(?array $value): void { + $this->getBackingStore()->set('adhocCalls', $value); + } + /** * Sets the BackingStore property value. Stores model information. * @param BackingStore $value Value to set for the BackingStore property. diff --git a/src/Generated/Models/CloudPcLaunchDetail.php b/src/Generated/Models/CloudPcLaunchDetail.php new file mode 100644 index 00000000000..39ca298cc9c --- /dev/null +++ b/src/Generated/Models/CloudPcLaunchDetail.php @@ -0,0 +1,202 @@ +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 CloudPcLaunchDetail + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CloudPcLaunchDetail { + return new CloudPcLaunchDetail(); + } + + /** + * 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 cloudPcId property value. The unique identifier of the Cloud PC. + * @return string|null + */ + public function getCloudPcId(): ?string { + $val = $this->getBackingStore()->get('cloudPcId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudPcId'"); + } + + /** + * Gets the cloudPcLaunchUrl property value. The connect URL of the Cloud PC. + * @return string|null + */ + public function getCloudPcLaunchUrl(): ?string { + $val = $this->getBackingStore()->get('cloudPcLaunchUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudPcLaunchUrl'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'cloudPcId' => fn(ParseNode $n) => $o->setCloudPcId($n->getStringValue()), + 'cloudPcLaunchUrl' => fn(ParseNode $n) => $o->setCloudPcLaunchUrl($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'windows365SwitchCompatibilityFailureReasonType' => fn(ParseNode $n) => $o->setWindows365SwitchCompatibilityFailureReasonType($n->getEnumValue(Windows365SwitchCompatibilityFailureReasonType::class)), + 'windows365SwitchCompatible' => fn(ParseNode $n) => $o->setWindows365SwitchCompatible($n->getBooleanValue()), + ]; + } + + /** + * 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 windows365SwitchCompatibilityFailureReasonType property value. Indicates the reason the Cloud PC isn't compatible with Windows 365 Switch. Possible values are: osVersionNotSupported, hardwareNotSupported, unknownFutureValue. osVersionNotSupported indicates that the user needs to update their Cloud PC operating system version. hardwareNotSupported indicates that the Cloud PC needs more CPUs or RAM to support the functionality. + * @return Windows365SwitchCompatibilityFailureReasonType|null + */ + public function getWindows365SwitchCompatibilityFailureReasonType(): ?Windows365SwitchCompatibilityFailureReasonType { + $val = $this->getBackingStore()->get('windows365SwitchCompatibilityFailureReasonType'); + if (is_null($val) || $val instanceof Windows365SwitchCompatibilityFailureReasonType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'windows365SwitchCompatibilityFailureReasonType'"); + } + + /** + * Gets the windows365SwitchCompatible property value. Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false. + * @return bool|null + */ + public function getWindows365SwitchCompatible(): ?bool { + $val = $this->getBackingStore()->get('windows365SwitchCompatible'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'windows365SwitchCompatible'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('cloudPcId', $this->getCloudPcId()); + $writer->writeStringValue('cloudPcLaunchUrl', $this->getCloudPcLaunchUrl()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeEnumValue('windows365SwitchCompatibilityFailureReasonType', $this->getWindows365SwitchCompatibilityFailureReasonType()); + $writer->writeBooleanValue('windows365SwitchCompatible', $this->getWindows365SwitchCompatible()); + $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 cloudPcId property value. The unique identifier of the Cloud PC. + * @param string|null $value Value to set for the cloudPcId property. + */ + public function setCloudPcId(?string $value): void { + $this->getBackingStore()->set('cloudPcId', $value); + } + + /** + * Sets the cloudPcLaunchUrl property value. The connect URL of the Cloud PC. + * @param string|null $value Value to set for the cloudPcLaunchUrl property. + */ + public function setCloudPcLaunchUrl(?string $value): void { + $this->getBackingStore()->set('cloudPcLaunchUrl', $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 windows365SwitchCompatibilityFailureReasonType property value. Indicates the reason the Cloud PC isn't compatible with Windows 365 Switch. Possible values are: osVersionNotSupported, hardwareNotSupported, unknownFutureValue. osVersionNotSupported indicates that the user needs to update their Cloud PC operating system version. hardwareNotSupported indicates that the Cloud PC needs more CPUs or RAM to support the functionality. + * @param Windows365SwitchCompatibilityFailureReasonType|null $value Value to set for the windows365SwitchCompatibilityFailureReasonType property. + */ + public function setWindows365SwitchCompatibilityFailureReasonType(?Windows365SwitchCompatibilityFailureReasonType $value): void { + $this->getBackingStore()->set('windows365SwitchCompatibilityFailureReasonType', $value); + } + + /** + * Sets the windows365SwitchCompatible property value. Indicates whether the Cloud PC supports switch functionality. If the value is true, it supports switch functionality; otherwise, false. + * @param bool|null $value Value to set for the windows365SwitchCompatible property. + */ + public function setWindows365SwitchCompatible(?bool $value): void { + $this->getBackingStore()->set('windows365SwitchCompatible', $value); + } + +} diff --git a/src/Generated/Models/CloudPcOperatingSystem.php b/src/Generated/Models/CloudPcOperatingSystem.php new file mode 100644 index 00000000000..c4c19f9107e --- /dev/null +++ b/src/Generated/Models/CloudPcOperatingSystem.php @@ -0,0 +1,11 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * 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); + } + +} diff --git a/src/Generated/Models/CloudPcUserAccountType.php b/src/Generated/Models/CloudPcUserAccountType.php new file mode 100644 index 00000000000..2761d22bc88 --- /dev/null +++ b/src/Generated/Models/CloudPcUserAccountType.php @@ -0,0 +1,11 @@ + fn(ParseNode $n) => $o->setDisplayDeviceName($n->getStringValue()), + 'heightAdjustableState' => fn(ParseNode $n) => $o->setHeightAdjustableState($n->getEnumValue(PlaceFeatureEnablement::class)), 'mailboxDetails' => fn(ParseNode $n) => $o->setMailboxDetails($n->getObjectValue([MailboxDetails::class, 'createFromDiscriminatorValue'])), 'mode' => fn(ParseNode $n) => $o->setMode($n->getObjectValue([PlaceMode::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the heightAdjustableState property value. The heightAdjustableState property + * @return PlaceFeatureEnablement|null + */ + public function getHeightAdjustableState(): ?PlaceFeatureEnablement { + $val = $this->getBackingStore()->get('heightAdjustableState'); + if (is_null($val) || $val instanceof PlaceFeatureEnablement) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'heightAdjustableState'"); + } + /** * Gets the mailboxDetails property value. The mailbox object id and email address that are associated with the desk. * @return MailboxDetails|null @@ -63,7 +76,7 @@ public function getMailboxDetails(): ?MailboxDetails { } /** - * Gets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms Pro management portal. + * Gets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable. * @return PlaceMode|null */ public function getMode(): ?PlaceMode { @@ -81,6 +94,7 @@ public function getMode(): ?PlaceMode { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('displayDeviceName', $this->getDisplayDeviceName()); + $writer->writeEnumValue('heightAdjustableState', $this->getHeightAdjustableState()); $writer->writeObjectValue('mailboxDetails', $this->getMailboxDetails()); $writer->writeObjectValue('mode', $this->getMode()); } @@ -93,6 +107,14 @@ public function setDisplayDeviceName(?string $value): void { $this->getBackingStore()->set('displayDeviceName', $value); } + /** + * Sets the heightAdjustableState property value. The heightAdjustableState property + * @param PlaceFeatureEnablement|null $value Value to set for the heightAdjustableState property. + */ + public function setHeightAdjustableState(?PlaceFeatureEnablement $value): void { + $this->getBackingStore()->set('heightAdjustableState', $value); + } + /** * Sets the mailboxDetails property value. The mailbox object id and email address that are associated with the desk. * @param MailboxDetails|null $value Value to set for the mailboxDetails property. @@ -102,7 +124,7 @@ public function setMailboxDetails(?MailboxDetails $value): void { } /** - * Sets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms Pro management portal. + * Sets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable. * @param PlaceMode|null $value Value to set for the mode property. */ public function setMode(?PlaceMode $value): void { diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index ff2d4df9d35..5a1fee4fe3f 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -60,6 +60,7 @@ use Microsoft\Graph\Generated\Models\Security\DispositionReviewStage; use Microsoft\Graph\Generated\Models\Security\EdiscoveryAddToReviewSetOperation; use Microsoft\Graph\Generated\Models\Security\EdiscoveryCase; +use Microsoft\Graph\Generated\Models\Security\EdiscoveryCaseMember; use Microsoft\Graph\Generated\Models\Security\EdiscoveryCaseSettings; use Microsoft\Graph\Generated\Models\Security\EdiscoveryCustodian; use Microsoft\Graph\Generated\Models\Security\EdiscoveryEstimateOperation; @@ -124,6 +125,8 @@ use Microsoft\Graph\Generated\Models\Security\WhoisBaseRecord; use Microsoft\Graph\Generated\Models\Security\WhoisHistoryRecord; use Microsoft\Graph\Generated\Models\Security\WhoisRecord; +use Microsoft\Graph\Generated\Models\TeamsAdministration\TeamsAdminRoot; +use Microsoft\Graph\Generated\Models\TeamsAdministration\TeamsUserConfiguration; use Microsoft\Graph\Generated\Models\TermStore\Group; use Microsoft\Graph\Generated\Models\TermStore\Relation; use Microsoft\Graph\Generated\Models\TermStore\Set; @@ -192,6 +195,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.activityBasedTimeoutPolicy': return new ActivityBasedTimeoutPolicy(); case '#microsoft.graph.activityHistoryItem': return new ActivityHistoryItem(); case '#microsoft.graph.addLargeGalleryViewOperation': return new AddLargeGalleryViewOperation(); + case '#microsoft.graph.adhocCall': return new AdhocCall(); case '#microsoft.graph.adminConsentRequestPolicy': return new AdminConsentRequestPolicy(); case '#microsoft.graph.administrativeUnit': return new AdministrativeUnit(); case '#microsoft.graph.adminMicrosoft365Apps': return new AdminMicrosoft365Apps(); @@ -204,6 +208,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.agreementFileVersion': return new AgreementFileVersion(); case '#microsoft.graph.aiInteraction': return new AiInteraction(); case '#microsoft.graph.aiInteractionHistory': return new AiInteractionHistory(); + case '#microsoft.graph.aiOnlineMeeting': return new AiOnlineMeeting(); case '#microsoft.graph.aiUser': return new AiUser(); case '#microsoft.graph.akamaiWebApplicationFirewallProvider': return new AkamaiWebApplicationFirewallProvider(); case '#microsoft.graph.alert': return new Alert(); @@ -292,6 +297,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.calendarPermission': return new CalendarPermission(); case '#microsoft.graph.calendarSharingMessage': return new CalendarSharingMessage(); case '#microsoft.graph.call': return new Call(); + case '#microsoft.graph.callAiInsight': return new CallAiInsight(); case '#microsoft.graph.callEvent': return new CallEvent(); case '#microsoft.graph.callRecording': return new CallRecording(); case '#microsoft.graph.callRecords.callRecord': return new CallRecord(); @@ -324,6 +330,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.cloudPcOnPremisesConnection': return new CloudPcOnPremisesConnection(); case '#microsoft.graph.cloudPcProvisioningPolicy': return new CloudPcProvisioningPolicy(); case '#microsoft.graph.cloudPcProvisioningPolicyAssignment': return new CloudPcProvisioningPolicyAssignment(); + case '#microsoft.graph.cloudPcReport': return new CloudPcReport(); case '#microsoft.graph.cloudPcUserSetting': return new CloudPcUserSetting(); case '#microsoft.graph.cloudPcUserSettingAssignment': return new CloudPcUserSettingAssignment(); case '#microsoft.graph.columnDefinition': return new ColumnDefinition(); @@ -510,6 +517,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.fileAttachment': return new FileAttachment(); case '#microsoft.graph.fileStorage': return new FileStorage(); case '#microsoft.graph.fileStorageContainer': return new FileStorageContainer(); + case '#microsoft.graph.fileStorageContainerType': return new FileStorageContainerType(); + case '#microsoft.graph.fileStorageContainerTypeRegistration': return new FileStorageContainerTypeRegistration(); case '#microsoft.graph.filterOperatorSchema': return new FilterOperatorSchema(); case '#microsoft.graph.fixtureMap': return new FixtureMap(); case '#microsoft.graph.floor': return new Floor(); @@ -860,6 +869,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.security.dispositionReviewStage': return new DispositionReviewStage(); case '#microsoft.graph.security.ediscoveryAddToReviewSetOperation': return new EdiscoveryAddToReviewSetOperation(); case '#microsoft.graph.security.ediscoveryCase': return new EdiscoveryCase(); + case '#microsoft.graph.security.ediscoveryCaseMember': return new EdiscoveryCaseMember(); case '#microsoft.graph.security.ediscoveryCaseSettings': return new EdiscoveryCaseSettings(); case '#microsoft.graph.security.ediscoveryCustodian': return new EdiscoveryCustodian(); case '#microsoft.graph.security.ediscoveryEstimateOperation': return new EdiscoveryEstimateOperation(); @@ -999,6 +1009,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.taskFileAttachment': return new TaskFileAttachment(); case '#microsoft.graph.team': return new Team(); case '#microsoft.graph.teamInfo': return new TeamInfo(); + case '#microsoft.graph.teamsAdministration.teamsAdminRoot': return new TeamsAdminRoot(); + case '#microsoft.graph.teamsAdministration.teamsUserConfiguration': return new TeamsUserConfiguration(); case '#microsoft.graph.teamsApp': return new TeamsApp(); case '#microsoft.graph.teamsAppDefinition': return new TeamsAppDefinition(); case '#microsoft.graph.teamsAppInstallation': return new TeamsAppInstallation(); @@ -1213,7 +1225,10 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.workbookWorksheet': return new WorkbookWorksheet(); case '#microsoft.graph.workbookWorksheetProtection': return new WorkbookWorksheetProtection(); case '#microsoft.graph.workforceIntegration': return new WorkforceIntegration(); + case '#microsoft.graph.workHoursAndLocationsSetting': return new WorkHoursAndLocationsSetting(); case '#microsoft.graph.workingTimeSchedule': return new WorkingTimeSchedule(); + case '#microsoft.graph.workPlanOccurrence': return new WorkPlanOccurrence(); + case '#microsoft.graph.workPlanRecurrence': return new WorkPlanRecurrence(); case '#microsoft.graph.workspace': return new Workspace(); case '#microsoft.graph.x509CertificateAuthenticationMethodConfiguration': return new X509CertificateAuthenticationMethodConfiguration(); case '#microsoft.graph.x509CertificateCombinationConfiguration': return new X509CertificateCombinationConfiguration(); diff --git a/src/Generated/Models/FileStorage.php b/src/Generated/Models/FileStorage.php index 92edb982a1b..29b2b847712 100644 --- a/src/Generated/Models/FileStorage.php +++ b/src/Generated/Models/FileStorage.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): FileS } /** - * Gets the containers property value. The containers property + * Gets the containers property value. The collection of active fileStorageContainer resources. * @return array|null */ public function getContainers(): ?array { @@ -40,7 +40,35 @@ public function getContainers(): ?array { } /** - * Gets the deletedContainers property value. The deletedContainers property + * Gets the containerTypeRegistrations property value. The collection of fileStorageContainerTypeRegistration resources. + * @return array|null + */ + public function getContainerTypeRegistrations(): ?array { + $val = $this->getBackingStore()->get('containerTypeRegistrations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, FileStorageContainerTypeRegistration::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'containerTypeRegistrations'"); + } + + /** + * Gets the containerTypes property value. The collection of fileStorageContainerType resources. + * @return array|null + */ + public function getContainerTypes(): ?array { + $val = $this->getBackingStore()->get('containerTypes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, FileStorageContainerType::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'containerTypes'"); + } + + /** + * Gets the deletedContainers property value. The collection of deleted fileStorageContainer resources. * @return array|null */ public function getDeletedContainers(): ?array { @@ -61,6 +89,8 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'containers' => fn(ParseNode $n) => $o->setContainers($n->getCollectionOfObjectValues([FileStorageContainer::class, 'createFromDiscriminatorValue'])), + 'containerTypeRegistrations' => fn(ParseNode $n) => $o->setContainerTypeRegistrations($n->getCollectionOfObjectValues([FileStorageContainerTypeRegistration::class, 'createFromDiscriminatorValue'])), + 'containerTypes' => fn(ParseNode $n) => $o->setContainerTypes($n->getCollectionOfObjectValues([FileStorageContainerType::class, 'createFromDiscriminatorValue'])), 'deletedContainers' => fn(ParseNode $n) => $o->setDeletedContainers($n->getCollectionOfObjectValues([FileStorageContainer::class, 'createFromDiscriminatorValue'])), ]); } @@ -72,11 +102,13 @@ public function getFieldDeserializers(): array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeCollectionOfObjectValues('containers', $this->getContainers()); + $writer->writeCollectionOfObjectValues('containerTypeRegistrations', $this->getContainerTypeRegistrations()); + $writer->writeCollectionOfObjectValues('containerTypes', $this->getContainerTypes()); $writer->writeCollectionOfObjectValues('deletedContainers', $this->getDeletedContainers()); } /** - * Sets the containers property value. The containers property + * Sets the containers property value. The collection of active fileStorageContainer resources. * @param array|null $value Value to set for the containers property. */ public function setContainers(?array $value): void { @@ -84,7 +116,23 @@ public function setContainers(?array $value): void { } /** - * Sets the deletedContainers property value. The deletedContainers property + * Sets the containerTypeRegistrations property value. The collection of fileStorageContainerTypeRegistration resources. + * @param array|null $value Value to set for the containerTypeRegistrations property. + */ + public function setContainerTypeRegistrations(?array $value): void { + $this->getBackingStore()->set('containerTypeRegistrations', $value); + } + + /** + * Sets the containerTypes property value. The collection of fileStorageContainerType resources. + * @param array|null $value Value to set for the containerTypes property. + */ + public function setContainerTypes(?array $value): void { + $this->getBackingStore()->set('containerTypes', $value); + } + + /** + * Sets the deletedContainers property value. The collection of deleted fileStorageContainer resources. * @param array|null $value Value to set for the deletedContainers property. */ public function setDeletedContainers(?array $value): void { diff --git a/src/Generated/Models/FileStorageContainer.php b/src/Generated/Models/FileStorageContainer.php index 3f9c8ec7103..569c43b54d2 100644 --- a/src/Generated/Models/FileStorageContainer.php +++ b/src/Generated/Models/FileStorageContainer.php @@ -26,6 +26,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): FileS return new FileStorageContainer(); } + /** + * Gets the assignedSensitivityLabel property value. Sensitivity label assigned to the fileStorageContainer. Read-write. + * @return AssignedLabel|null + */ + public function getAssignedSensitivityLabel(): ?AssignedLabel { + $val = $this->getBackingStore()->get('assignedSensitivityLabel'); + if (is_null($val) || $val instanceof AssignedLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignedSensitivityLabel'"); + } + /** * Gets the columns property value. The columns property * @return array|null @@ -119,6 +131,7 @@ public function getDrive(): ?Drive { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'assignedSensitivityLabel' => fn(ParseNode $n) => $o->setAssignedSensitivityLabel($n->getObjectValue([AssignedLabel::class, 'createFromDiscriminatorValue'])), 'columns' => fn(ParseNode $n) => $o->setColumns($n->getCollectionOfObjectValues([ColumnDefinition::class, 'createFromDiscriminatorValue'])), 'containerTypeId' => fn(ParseNode $n) => $o->setContainerTypeId($n->getStringValue()), 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), @@ -230,6 +243,7 @@ public function getViewpoint(): ?FileStorageContainerViewpoint { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('assignedSensitivityLabel', $this->getAssignedSensitivityLabel()); $writer->writeCollectionOfObjectValues('columns', $this->getColumns()); $writer->writeStringValue('containerTypeId', $this->getContainerTypeId()); $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); @@ -246,6 +260,14 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('viewpoint', $this->getViewpoint()); } + /** + * Sets the assignedSensitivityLabel property value. Sensitivity label assigned to the fileStorageContainer. Read-write. + * @param AssignedLabel|null $value Value to set for the assignedSensitivityLabel property. + */ + public function setAssignedSensitivityLabel(?AssignedLabel $value): void { + $this->getBackingStore()->set('assignedSensitivityLabel', $value); + } + /** * Sets the columns property value. The columns property * @param array|null $value Value to set for the columns property. diff --git a/src/Generated/Models/FileStorageContainerBillingClassification.php b/src/Generated/Models/FileStorageContainerBillingClassification.php new file mode 100644 index 00000000000..3c199831619 --- /dev/null +++ b/src/Generated/Models/FileStorageContainerBillingClassification.php @@ -0,0 +1,12 @@ +getBackingStore()->get('billingClassification'); + if (is_null($val) || $val instanceof FileStorageContainerBillingClassification) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'billingClassification'"); + } + + /** + * Gets the billingStatus property value. The billingStatus property + * @return FileStorageContainerBillingStatus|null + */ + public function getBillingStatus(): ?FileStorageContainerBillingStatus { + $val = $this->getBackingStore()->get('billingStatus'); + if (is_null($val) || $val instanceof FileStorageContainerBillingStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'billingStatus'"); + } + + /** + * Gets the createdDateTime property value. The creation date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the etag property value. Used in update scenarios for optimistic concurrency control. Read-only. + * @return string|null + */ + public function getEtag(): ?string { + $val = $this->getBackingStore()->get('etag'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'etag'"); + } + + /** + * Gets the expirationDateTime property value. The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @return DateTime|null + */ + public function getExpirationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expirationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expirationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'billingClassification' => fn(ParseNode $n) => $o->setBillingClassification($n->getEnumValue(FileStorageContainerBillingClassification::class)), + 'billingStatus' => fn(ParseNode $n) => $o->setBillingStatus($n->getEnumValue(FileStorageContainerBillingStatus::class)), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'etag' => fn(ParseNode $n) => $o->setEtag($n->getStringValue()), + 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + 'owningAppId' => fn(ParseNode $n) => $o->setOwningAppId($n->getStringValue()), + 'settings' => fn(ParseNode $n) => $o->setSettings($n->getObjectValue([FileStorageContainerTypeSettings::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the name property value. The name of the fileStorageContainerType. + * @return string|null + */ + public function getName(): ?string { + $val = $this->getBackingStore()->get('name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + } + + /** + * Gets the owningAppId property value. ID of the application that owns the fileStorageContainerType. + * @return string|null + */ + public function getOwningAppId(): ?string { + $val = $this->getBackingStore()->get('owningAppId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'owningAppId'"); + } + + /** + * Gets the settings property value. The settings property + * @return FileStorageContainerTypeSettings|null + */ + public function getSettings(): ?FileStorageContainerTypeSettings { + $val = $this->getBackingStore()->get('settings'); + if (is_null($val) || $val instanceof FileStorageContainerTypeSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'settings'"); + } + + /** + * 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->writeEnumValue('billingClassification', $this->getBillingClassification()); + $writer->writeEnumValue('billingStatus', $this->getBillingStatus()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeStringValue('etag', $this->getEtag()); + $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('owningAppId', $this->getOwningAppId()); + $writer->writeObjectValue('settings', $this->getSettings()); + } + + /** + * Sets the billingClassification property value. The billingClassification property + * @param FileStorageContainerBillingClassification|null $value Value to set for the billingClassification property. + */ + public function setBillingClassification(?FileStorageContainerBillingClassification $value): void { + $this->getBackingStore()->set('billingClassification', $value); + } + + /** + * Sets the billingStatus property value. The billingStatus property + * @param FileStorageContainerBillingStatus|null $value Value to set for the billingStatus property. + */ + public function setBillingStatus(?FileStorageContainerBillingStatus $value): void { + $this->getBackingStore()->set('billingStatus', $value); + } + + /** + * Sets the createdDateTime property value. The creation date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the etag property value. Used in update scenarios for optimistic concurrency control. Read-only. + * @param string|null $value Value to set for the etag property. + */ + public function setEtag(?string $value): void { + $this->getBackingStore()->set('etag', $value); + } + + /** + * Sets the expirationDateTime property value. The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @param DateTime|null $value Value to set for the expirationDateTime property. + */ + public function setExpirationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expirationDateTime', $value); + } + + /** + * Sets the name property value. The name of the fileStorageContainerType. + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the owningAppId property value. ID of the application that owns the fileStorageContainerType. + * @param string|null $value Value to set for the owningAppId property. + */ + public function setOwningAppId(?string $value): void { + $this->getBackingStore()->set('owningAppId', $value); + } + + /** + * Sets the settings property value. The settings property + * @param FileStorageContainerTypeSettings|null $value Value to set for the settings property. + */ + public function setSettings(?FileStorageContainerTypeSettings $value): void { + $this->getBackingStore()->set('settings', $value); + } + +} diff --git a/src/Generated/Models/FileStorageContainerTypeAppPermission.php b/src/Generated/Models/FileStorageContainerTypeAppPermission.php new file mode 100644 index 00000000000..c62930b66e4 --- /dev/null +++ b/src/Generated/Models/FileStorageContainerTypeAppPermission.php @@ -0,0 +1,24 @@ +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 FileStorageContainerTypeAppPermissionGrant + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): FileStorageContainerTypeAppPermissionGrant { + return new FileStorageContainerTypeAppPermissionGrant(); + } + + /** + * 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 appId property value. Application ID to which to set permissions. + * @return string|null + */ + public function getAppId(): ?string { + $val = $this->getBackingStore()->get('appId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'appId'"); + } + + /** + * Gets the applicationPermissions property value. Allowed permissions when you use delegated tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. + * @return array|null + */ + public function getApplicationPermissions(): ?array { + $val = $this->getBackingStore()->get('applicationPermissions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, FileStorageContainerTypeAppPermission::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applicationPermissions'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the delegatedPermissions property value. Allowed permissions when you use application tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. + * @return array|null + */ + public function getDelegatedPermissions(): ?array { + $val = $this->getBackingStore()->get('delegatedPermissions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, FileStorageContainerTypeAppPermission::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedPermissions'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'appId' => fn(ParseNode $n) => $o->setAppId($n->getStringValue()), + 'applicationPermissions' => fn(ParseNode $n) => $o->setApplicationPermissions($n->getCollectionOfEnumValues(FileStorageContainerTypeAppPermission::class)), + 'delegatedPermissions' => fn(ParseNode $n) => $o->setDelegatedPermissions($n->getCollectionOfEnumValues(FileStorageContainerTypeAppPermission::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * 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'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('appId', $this->getAppId()); + $writer->writeCollectionOfEnumValues('applicationPermissions', $this->getApplicationPermissions()); + $writer->writeCollectionOfEnumValues('delegatedPermissions', $this->getDelegatedPermissions()); + $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 appId property value. Application ID to which to set permissions. + * @param string|null $value Value to set for the appId property. + */ + public function setAppId(?string $value): void { + $this->getBackingStore()->set('appId', $value); + } + + /** + * Sets the applicationPermissions property value. Allowed permissions when you use delegated tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. + * @param array|null $value Value to set for the applicationPermissions property. + */ + public function setApplicationPermissions(?array $value): void { + $this->getBackingStore()->set('applicationPermissions', $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 delegatedPermissions property value. Allowed permissions when you use application tokens. The possible values are: none, readContent, writeContent, manageContent, create, delete, read, write, enumeratePermissions, addPermissions, updatePermissions, deletePermissions, deleteOwnPermission, managePermissions, full, unknownFutureValue. + * @param array|null $value Value to set for the delegatedPermissions property. + */ + public function setDelegatedPermissions(?array $value): void { + $this->getBackingStore()->set('delegatedPermissions', $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); + } + +} diff --git a/src/Generated/Models/FileStorageContainerTypeAppPermissionGrantCollectionResponse.php b/src/Generated/Models/FileStorageContainerTypeAppPermissionGrantCollectionResponse.php new file mode 100644 index 00000000000..a824cb007a1 --- /dev/null +++ b/src/Generated/Models/FileStorageContainerTypeAppPermissionGrantCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([FileStorageContainerTypeAppPermissionGrant::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, FileStorageContainerTypeAppPermissionGrant::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/FileStorageContainerTypeCollectionResponse.php b/src/Generated/Models/FileStorageContainerTypeCollectionResponse.php new file mode 100644 index 00000000000..bc2ac7e619e --- /dev/null +++ b/src/Generated/Models/FileStorageContainerTypeCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([FileStorageContainerType::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, FileStorageContainerType::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/FileStorageContainerTypeRegistration.php b/src/Generated/Models/FileStorageContainerTypeRegistration.php new file mode 100644 index 00000000000..5f7b50ae1d2 --- /dev/null +++ b/src/Generated/Models/FileStorageContainerTypeRegistration.php @@ -0,0 +1,247 @@ +|null + */ + public function getApplicationPermissionGrants(): ?array { + $val = $this->getBackingStore()->get('applicationPermissionGrants'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, FileStorageContainerTypeAppPermissionGrant::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applicationPermissionGrants'"); + } + + /** + * Gets the billingClassification property value. The billingClassification property + * @return FileStorageContainerBillingClassification|null + */ + public function getBillingClassification(): ?FileStorageContainerBillingClassification { + $val = $this->getBackingStore()->get('billingClassification'); + if (is_null($val) || $val instanceof FileStorageContainerBillingClassification) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'billingClassification'"); + } + + /** + * Gets the billingStatus property value. The billingStatus property + * @return FileStorageContainerBillingStatus|null + */ + public function getBillingStatus(): ?FileStorageContainerBillingStatus { + $val = $this->getBackingStore()->get('billingStatus'); + if (is_null($val) || $val instanceof FileStorageContainerBillingStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'billingStatus'"); + } + + /** + * Gets the etag property value. Used in update scenarios for optimistic concurrency control. Read-only. + * @return string|null + */ + public function getEtag(): ?string { + $val = $this->getBackingStore()->get('etag'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'etag'"); + } + + /** + * Gets the expirationDateTime property value. The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @return DateTime|null + */ + public function getExpirationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expirationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expirationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'applicationPermissionGrants' => fn(ParseNode $n) => $o->setApplicationPermissionGrants($n->getCollectionOfObjectValues([FileStorageContainerTypeAppPermissionGrant::class, 'createFromDiscriminatorValue'])), + 'billingClassification' => fn(ParseNode $n) => $o->setBillingClassification($n->getEnumValue(FileStorageContainerBillingClassification::class)), + 'billingStatus' => fn(ParseNode $n) => $o->setBillingStatus($n->getEnumValue(FileStorageContainerBillingStatus::class)), + 'etag' => fn(ParseNode $n) => $o->setEtag($n->getStringValue()), + 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + 'owningAppId' => fn(ParseNode $n) => $o->setOwningAppId($n->getStringValue()), + 'registeredDateTime' => fn(ParseNode $n) => $o->setRegisteredDateTime($n->getDateTimeValue()), + 'settings' => fn(ParseNode $n) => $o->setSettings($n->getObjectValue([FileStorageContainerTypeRegistrationSettings::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the name property value. The name of the fileStorageContainerTypeRegistration. Read-only. + * @return string|null + */ + public function getName(): ?string { + $val = $this->getBackingStore()->get('name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'name'"); + } + + /** + * Gets the owningAppId property value. ID of the application that owns the fileStorageContainerType. Read-only. + * @return string|null + */ + public function getOwningAppId(): ?string { + $val = $this->getBackingStore()->get('owningAppId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'owningAppId'"); + } + + /** + * Gets the registeredDateTime property value. The registration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @return DateTime|null + */ + public function getRegisteredDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('registeredDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'registeredDateTime'"); + } + + /** + * Gets the settings property value. The settings property + * @return FileStorageContainerTypeRegistrationSettings|null + */ + public function getSettings(): ?FileStorageContainerTypeRegistrationSettings { + $val = $this->getBackingStore()->get('settings'); + if (is_null($val) || $val instanceof FileStorageContainerTypeRegistrationSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'settings'"); + } + + /** + * 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('applicationPermissionGrants', $this->getApplicationPermissionGrants()); + $writer->writeEnumValue('billingClassification', $this->getBillingClassification()); + $writer->writeEnumValue('billingStatus', $this->getBillingStatus()); + $writer->writeStringValue('etag', $this->getEtag()); + $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('owningAppId', $this->getOwningAppId()); + $writer->writeDateTimeValue('registeredDateTime', $this->getRegisteredDateTime()); + $writer->writeObjectValue('settings', $this->getSettings()); + } + + /** + * Sets the applicationPermissionGrants property value. Access privileges of applications on containers. + * @param array|null $value Value to set for the applicationPermissionGrants property. + */ + public function setApplicationPermissionGrants(?array $value): void { + $this->getBackingStore()->set('applicationPermissionGrants', $value); + } + + /** + * Sets the billingClassification property value. The billingClassification property + * @param FileStorageContainerBillingClassification|null $value Value to set for the billingClassification property. + */ + public function setBillingClassification(?FileStorageContainerBillingClassification $value): void { + $this->getBackingStore()->set('billingClassification', $value); + } + + /** + * Sets the billingStatus property value. The billingStatus property + * @param FileStorageContainerBillingStatus|null $value Value to set for the billingStatus property. + */ + public function setBillingStatus(?FileStorageContainerBillingStatus $value): void { + $this->getBackingStore()->set('billingStatus', $value); + } + + /** + * Sets the etag property value. Used in update scenarios for optimistic concurrency control. Read-only. + * @param string|null $value Value to set for the etag property. + */ + public function setEtag(?string $value): void { + $this->getBackingStore()->set('etag', $value); + } + + /** + * Sets the expirationDateTime property value. The expiration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @param DateTime|null $value Value to set for the expirationDateTime property. + */ + public function setExpirationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expirationDateTime', $value); + } + + /** + * Sets the name property value. The name of the fileStorageContainerTypeRegistration. Read-only. + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the owningAppId property value. ID of the application that owns the fileStorageContainerType. Read-only. + * @param string|null $value Value to set for the owningAppId property. + */ + public function setOwningAppId(?string $value): void { + $this->getBackingStore()->set('owningAppId', $value); + } + + /** + * Sets the registeredDateTime property value. The registration date. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + * @param DateTime|null $value Value to set for the registeredDateTime property. + */ + public function setRegisteredDateTime(?DateTime $value): void { + $this->getBackingStore()->set('registeredDateTime', $value); + } + + /** + * Sets the settings property value. The settings property + * @param FileStorageContainerTypeRegistrationSettings|null $value Value to set for the settings property. + */ + public function setSettings(?FileStorageContainerTypeRegistrationSettings $value): void { + $this->getBackingStore()->set('settings', $value); + } + +} diff --git a/src/Generated/Models/FileStorageContainerTypeRegistrationCollectionResponse.php b/src/Generated/Models/FileStorageContainerTypeRegistrationCollectionResponse.php new file mode 100644 index 00000000000..494a2f88d92 --- /dev/null +++ b/src/Generated/Models/FileStorageContainerTypeRegistrationCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([FileStorageContainerTypeRegistration::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, FileStorageContainerTypeRegistration::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/FileStorageContainerTypeRegistrationSettings.php b/src/Generated/Models/FileStorageContainerTypeRegistrationSettings.php new file mode 100644 index 00000000000..fdb8ca4696a --- /dev/null +++ b/src/Generated/Models/FileStorageContainerTypeRegistrationSettings.php @@ -0,0 +1,290 @@ +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 FileStorageContainerTypeRegistrationSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): FileStorageContainerTypeRegistrationSettings { + return new FileStorageContainerTypeRegistrationSettings(); + } + + /** + * 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 [ + 'isDiscoverabilityEnabled' => fn(ParseNode $n) => $o->setIsDiscoverabilityEnabled($n->getBooleanValue()), + 'isItemVersioningEnabled' => fn(ParseNode $n) => $o->setIsItemVersioningEnabled($n->getBooleanValue()), + 'isSearchEnabled' => fn(ParseNode $n) => $o->setIsSearchEnabled($n->getBooleanValue()), + 'isSharingRestricted' => fn(ParseNode $n) => $o->setIsSharingRestricted($n->getBooleanValue()), + 'itemMajorVersionLimit' => fn(ParseNode $n) => $o->setItemMajorVersionLimit($n->getIntegerValue()), + 'maxStoragePerContainerInBytes' => fn(ParseNode $n) => $o->setMaxStoragePerContainerInBytes($n->getIntegerValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'sharingCapability' => fn(ParseNode $n) => $o->setSharingCapability($n->getEnumValue(SharingCapabilities::class)), + 'urlTemplate' => fn(ParseNode $n) => $o->setUrlTemplate($n->getStringValue()), + ]; + } + + /** + * Gets the isDiscoverabilityEnabled property value. Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. + * @return bool|null + */ + public function getIsDiscoverabilityEnabled(): ?bool { + $val = $this->getBackingStore()->get('isDiscoverabilityEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isDiscoverabilityEnabled'"); + } + + /** + * Gets the isItemVersioningEnabled property value. Indicates whether item versioning is enabled. + * @return bool|null + */ + public function getIsItemVersioningEnabled(): ?bool { + $val = $this->getBackingStore()->get('isItemVersioningEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isItemVersioningEnabled'"); + } + + /** + * Gets the isSearchEnabled property value. Indicates whether search is enabled. + * @return bool|null + */ + public function getIsSearchEnabled(): ?bool { + $val = $this->getBackingStore()->get('isSearchEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isSearchEnabled'"); + } + + /** + * Gets the isSharingRestricted property value. Only the manager and owner can share files in the container if restricted sharing is enabled. + * @return bool|null + */ + public function getIsSharingRestricted(): ?bool { + $val = $this->getBackingStore()->get('isSharingRestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isSharingRestricted'"); + } + + /** + * Gets the itemMajorVersionLimit property value. Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). + * @return int|null + */ + public function getItemMajorVersionLimit(): ?int { + $val = $this->getBackingStore()->get('itemMajorVersionLimit'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'itemMajorVersionLimit'"); + } + + /** + * Gets the maxStoragePerContainerInBytes property value. Controls maximum storage in bytes. + * @return int|null + */ + public function getMaxStoragePerContainerInBytes(): ?int { + $val = $this->getBackingStore()->get('maxStoragePerContainerInBytes'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'maxStoragePerContainerInBytes'"); + } + + /** + * 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 sharingCapability property value. Sharing capabilities permitted for containers. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. Can always be updated. + * @return SharingCapabilities|null + */ + public function getSharingCapability(): ?SharingCapabilities { + $val = $this->getBackingStore()->get('sharingCapability'); + if (is_null($val) || $val instanceof SharingCapabilities) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sharingCapability'"); + } + + /** + * Gets the urlTemplate property value. Pattern used to redirect files. + * @return string|null + */ + public function getUrlTemplate(): ?string { + $val = $this->getBackingStore()->get('urlTemplate'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'urlTemplate'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isDiscoverabilityEnabled', $this->getIsDiscoverabilityEnabled()); + $writer->writeBooleanValue('isItemVersioningEnabled', $this->getIsItemVersioningEnabled()); + $writer->writeBooleanValue('isSearchEnabled', $this->getIsSearchEnabled()); + $writer->writeBooleanValue('isSharingRestricted', $this->getIsSharingRestricted()); + $writer->writeIntegerValue('itemMajorVersionLimit', $this->getItemMajorVersionLimit()); + $writer->writeIntegerValue('maxStoragePerContainerInBytes', $this->getMaxStoragePerContainerInBytes()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeEnumValue('sharingCapability', $this->getSharingCapability()); + $writer->writeStringValue('urlTemplate', $this->getUrlTemplate()); + $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 isDiscoverabilityEnabled property value. Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. + * @param bool|null $value Value to set for the isDiscoverabilityEnabled property. + */ + public function setIsDiscoverabilityEnabled(?bool $value): void { + $this->getBackingStore()->set('isDiscoverabilityEnabled', $value); + } + + /** + * Sets the isItemVersioningEnabled property value. Indicates whether item versioning is enabled. + * @param bool|null $value Value to set for the isItemVersioningEnabled property. + */ + public function setIsItemVersioningEnabled(?bool $value): void { + $this->getBackingStore()->set('isItemVersioningEnabled', $value); + } + + /** + * Sets the isSearchEnabled property value. Indicates whether search is enabled. + * @param bool|null $value Value to set for the isSearchEnabled property. + */ + public function setIsSearchEnabled(?bool $value): void { + $this->getBackingStore()->set('isSearchEnabled', $value); + } + + /** + * Sets the isSharingRestricted property value. Only the manager and owner can share files in the container if restricted sharing is enabled. + * @param bool|null $value Value to set for the isSharingRestricted property. + */ + public function setIsSharingRestricted(?bool $value): void { + $this->getBackingStore()->set('isSharingRestricted', $value); + } + + /** + * Sets the itemMajorVersionLimit property value. Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). + * @param int|null $value Value to set for the itemMajorVersionLimit property. + */ + public function setItemMajorVersionLimit(?int $value): void { + $this->getBackingStore()->set('itemMajorVersionLimit', $value); + } + + /** + * Sets the maxStoragePerContainerInBytes property value. Controls maximum storage in bytes. + * @param int|null $value Value to set for the maxStoragePerContainerInBytes property. + */ + public function setMaxStoragePerContainerInBytes(?int $value): void { + $this->getBackingStore()->set('maxStoragePerContainerInBytes', $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 sharingCapability property value. Sharing capabilities permitted for containers. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. Can always be updated. + * @param SharingCapabilities|null $value Value to set for the sharingCapability property. + */ + public function setSharingCapability(?SharingCapabilities $value): void { + $this->getBackingStore()->set('sharingCapability', $value); + } + + /** + * Sets the urlTemplate property value. Pattern used to redirect files. + * @param string|null $value Value to set for the urlTemplate property. + */ + public function setUrlTemplate(?string $value): void { + $this->getBackingStore()->set('urlTemplate', $value); + } + +} diff --git a/src/Generated/Models/FileStorageContainerTypeSettings.php b/src/Generated/Models/FileStorageContainerTypeSettings.php new file mode 100644 index 00000000000..1e84f8f1a34 --- /dev/null +++ b/src/Generated/Models/FileStorageContainerTypeSettings.php @@ -0,0 +1,312 @@ +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 FileStorageContainerTypeSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): FileStorageContainerTypeSettings { + return new FileStorageContainerTypeSettings(); + } + + /** + * 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 consumingTenantOverridables property value. A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue. + * @return FileStorageContainerTypeSettingsOverride|null + */ + public function getConsumingTenantOverridables(): ?FileStorageContainerTypeSettingsOverride { + $val = $this->getBackingStore()->get('consumingTenantOverridables'); + if (is_null($val) || $val instanceof FileStorageContainerTypeSettingsOverride) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'consumingTenantOverridables'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'consumingTenantOverridables' => fn(ParseNode $n) => $o->setConsumingTenantOverridables($n->getEnumValue(FileStorageContainerTypeSettingsOverride::class)), + 'isDiscoverabilityEnabled' => fn(ParseNode $n) => $o->setIsDiscoverabilityEnabled($n->getBooleanValue()), + 'isItemVersioningEnabled' => fn(ParseNode $n) => $o->setIsItemVersioningEnabled($n->getBooleanValue()), + 'isSearchEnabled' => fn(ParseNode $n) => $o->setIsSearchEnabled($n->getBooleanValue()), + 'isSharingRestricted' => fn(ParseNode $n) => $o->setIsSharingRestricted($n->getBooleanValue()), + 'itemMajorVersionLimit' => fn(ParseNode $n) => $o->setItemMajorVersionLimit($n->getIntegerValue()), + 'maxStoragePerContainerInBytes' => fn(ParseNode $n) => $o->setMaxStoragePerContainerInBytes($n->getIntegerValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'sharingCapability' => fn(ParseNode $n) => $o->setSharingCapability($n->getEnumValue(SharingCapabilities::class)), + 'urlTemplate' => fn(ParseNode $n) => $o->setUrlTemplate($n->getStringValue()), + ]; + } + + /** + * Gets the isDiscoverabilityEnabled property value. Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. + * @return bool|null + */ + public function getIsDiscoverabilityEnabled(): ?bool { + $val = $this->getBackingStore()->get('isDiscoverabilityEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isDiscoverabilityEnabled'"); + } + + /** + * Gets the isItemVersioningEnabled property value. Indicates whether item versioning is enabled. + * @return bool|null + */ + public function getIsItemVersioningEnabled(): ?bool { + $val = $this->getBackingStore()->get('isItemVersioningEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isItemVersioningEnabled'"); + } + + /** + * Gets the isSearchEnabled property value. Indicates whether search is enabled. + * @return bool|null + */ + public function getIsSearchEnabled(): ?bool { + $val = $this->getBackingStore()->get('isSearchEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isSearchEnabled'"); + } + + /** + * Gets the isSharingRestricted property value. Only the manager and owner can share files in the container if restricted sharing is enabled. + * @return bool|null + */ + public function getIsSharingRestricted(): ?bool { + $val = $this->getBackingStore()->get('isSharingRestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isSharingRestricted'"); + } + + /** + * Gets the itemMajorVersionLimit property value. Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). + * @return int|null + */ + public function getItemMajorVersionLimit(): ?int { + $val = $this->getBackingStore()->get('itemMajorVersionLimit'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'itemMajorVersionLimit'"); + } + + /** + * Gets the maxStoragePerContainerInBytes property value. Controls maximum storage in bytes. + * @return int|null + */ + public function getMaxStoragePerContainerInBytes(): ?int { + $val = $this->getBackingStore()->get('maxStoragePerContainerInBytes'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'maxStoragePerContainerInBytes'"); + } + + /** + * 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 sharingCapability property value. Sharing capabilities permitted for containers. This value can always be overridden during registration if needed. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. + * @return SharingCapabilities|null + */ + public function getSharingCapability(): ?SharingCapabilities { + $val = $this->getBackingStore()->get('sharingCapability'); + if (is_null($val) || $val instanceof SharingCapabilities) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sharingCapability'"); + } + + /** + * Gets the urlTemplate property value. Pattern used to redirect files. + * @return string|null + */ + public function getUrlTemplate(): ?string { + $val = $this->getBackingStore()->get('urlTemplate'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'urlTemplate'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('consumingTenantOverridables', $this->getConsumingTenantOverridables()); + $writer->writeBooleanValue('isDiscoverabilityEnabled', $this->getIsDiscoverabilityEnabled()); + $writer->writeBooleanValue('isItemVersioningEnabled', $this->getIsItemVersioningEnabled()); + $writer->writeBooleanValue('isSearchEnabled', $this->getIsSearchEnabled()); + $writer->writeBooleanValue('isSharingRestricted', $this->getIsSharingRestricted()); + $writer->writeIntegerValue('itemMajorVersionLimit', $this->getItemMajorVersionLimit()); + $writer->writeIntegerValue('maxStoragePerContainerInBytes', $this->getMaxStoragePerContainerInBytes()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeEnumValue('sharingCapability', $this->getSharingCapability()); + $writer->writeStringValue('urlTemplate', $this->getUrlTemplate()); + $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 consumingTenantOverridables property value. A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue. + * @param FileStorageContainerTypeSettingsOverride|null $value Value to set for the consumingTenantOverridables property. + */ + public function setConsumingTenantOverridables(?FileStorageContainerTypeSettingsOverride $value): void { + $this->getBackingStore()->set('consumingTenantOverridables', $value); + } + + /** + * Sets the isDiscoverabilityEnabled property value. Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. + * @param bool|null $value Value to set for the isDiscoverabilityEnabled property. + */ + public function setIsDiscoverabilityEnabled(?bool $value): void { + $this->getBackingStore()->set('isDiscoverabilityEnabled', $value); + } + + /** + * Sets the isItemVersioningEnabled property value. Indicates whether item versioning is enabled. + * @param bool|null $value Value to set for the isItemVersioningEnabled property. + */ + public function setIsItemVersioningEnabled(?bool $value): void { + $this->getBackingStore()->set('isItemVersioningEnabled', $value); + } + + /** + * Sets the isSearchEnabled property value. Indicates whether search is enabled. + * @param bool|null $value Value to set for the isSearchEnabled property. + */ + public function setIsSearchEnabled(?bool $value): void { + $this->getBackingStore()->set('isSearchEnabled', $value); + } + + /** + * Sets the isSharingRestricted property value. Only the manager and owner can share files in the container if restricted sharing is enabled. + * @param bool|null $value Value to set for the isSharingRestricted property. + */ + public function setIsSharingRestricted(?bool $value): void { + $this->getBackingStore()->set('isSharingRestricted', $value); + } + + /** + * Sets the itemMajorVersionLimit property value. Maximum number of versions. Versioning must be enabled ('isItemVersioningEnabled'=true). + * @param int|null $value Value to set for the itemMajorVersionLimit property. + */ + public function setItemMajorVersionLimit(?int $value): void { + $this->getBackingStore()->set('itemMajorVersionLimit', $value); + } + + /** + * Sets the maxStoragePerContainerInBytes property value. Controls maximum storage in bytes. + * @param int|null $value Value to set for the maxStoragePerContainerInBytes property. + */ + public function setMaxStoragePerContainerInBytes(?int $value): void { + $this->getBackingStore()->set('maxStoragePerContainerInBytes', $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 sharingCapability property value. Sharing capabilities permitted for containers. This value can always be overridden during registration if needed. The possible values are: disabled, externalUserSharingOnly, externalUserAndGuestSharing, existingExternalUserSharingOnly, unknownFutureValue. + * @param SharingCapabilities|null $value Value to set for the sharingCapability property. + */ + public function setSharingCapability(?SharingCapabilities $value): void { + $this->getBackingStore()->set('sharingCapability', $value); + } + + /** + * Sets the urlTemplate property value. Pattern used to redirect files. + * @param string|null $value Value to set for the urlTemplate property. + */ + public function setUrlTemplate(?string $value): void { + $this->getBackingStore()->set('urlTemplate', $value); + } + +} diff --git a/src/Generated/Models/FileStorageContainerTypeSettingsOverride.php b/src/Generated/Models/FileStorageContainerTypeSettingsOverride.php new file mode 100644 index 00000000000..139da300bb8 --- /dev/null +++ b/src/Generated/Models/FileStorageContainerTypeSettingsOverride.php @@ -0,0 +1,15 @@ +getBackingStore()->get('deleted'); + if (is_null($val) || $val instanceof Deleted) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deleted'"); + } + /** * Gets the documentSetVersions property value. Version information for a document set version created by a user. * @return array|null @@ -85,6 +97,7 @@ public function getFieldDeserializers(): array { return array_merge(parent::getFieldDeserializers(), [ 'analytics' => fn(ParseNode $n) => $o->setAnalytics($n->getObjectValue([ItemAnalytics::class, 'createFromDiscriminatorValue'])), 'contentType' => fn(ParseNode $n) => $o->setContentType($n->getObjectValue([ContentTypeInfo::class, 'createFromDiscriminatorValue'])), + 'deleted' => fn(ParseNode $n) => $o->setDeleted($n->getObjectValue([Deleted::class, 'createFromDiscriminatorValue'])), 'documentSetVersions' => fn(ParseNode $n) => $o->setDocumentSetVersions($n->getCollectionOfObjectValues([DocumentSetVersion::class, 'createFromDiscriminatorValue'])), 'driveItem' => fn(ParseNode $n) => $o->setDriveItem($n->getObjectValue([DriveItem::class, 'createFromDiscriminatorValue'])), 'fields' => fn(ParseNode $n) => $o->setFields($n->getObjectValue([FieldValueSet::class, 'createFromDiscriminatorValue'])), @@ -139,6 +152,7 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('analytics', $this->getAnalytics()); $writer->writeObjectValue('contentType', $this->getContentType()); + $writer->writeObjectValue('deleted', $this->getDeleted()); $writer->writeCollectionOfObjectValues('documentSetVersions', $this->getDocumentSetVersions()); $writer->writeObjectValue('driveItem', $this->getDriveItem()); $writer->writeObjectValue('fields', $this->getFields()); @@ -162,6 +176,14 @@ public function setContentType(?ContentTypeInfo $value): void { $this->getBackingStore()->set('contentType', $value); } + /** + * Sets the deleted property value. If present in the result of a delta enumeration, indicates that the item was deleted. Read-only. + * @param Deleted|null $value Value to set for the deleted property. + */ + public function setDeleted(?Deleted $value): void { + $this->getBackingStore()->set('deleted', $value); + } + /** * Sets the documentSetVersions property value. Version information for a document set version created by a user. * @param array|null $value Value to set for the documentSetVersions property. diff --git a/src/Generated/Models/MaxWorkLocationDetails.php b/src/Generated/Models/MaxWorkLocationDetails.php new file mode 100644 index 00000000000..fc1cad3c565 --- /dev/null +++ b/src/Generated/Models/MaxWorkLocationDetails.php @@ -0,0 +1,13 @@ +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 MeetingNote + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MeetingNote { + return new MeetingNote(); + } + + /** + * 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 [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'subpoints' => fn(ParseNode $n) => $o->setSubpoints($n->getCollectionOfObjectValues([MeetingNoteSubpoint::class, 'createFromDiscriminatorValue'])), + 'text' => fn(ParseNode $n) => $o->setText($n->getStringValue()), + 'title' => fn(ParseNode $n) => $o->setTitle($n->getStringValue()), + ]; + } + + /** + * 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 subpoints property value. The subpoints property + * @return array|null + */ + public function getSubpoints(): ?array { + $val = $this->getBackingStore()->get('subpoints'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, MeetingNoteSubpoint::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subpoints'"); + } + + /** + * Gets the text property value. The text property + * @return string|null + */ + public function getText(): ?string { + $val = $this->getBackingStore()->get('text'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); + } + + /** + * Gets the title property value. The title property + * @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 { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('subpoints', $this->getSubpoints()); + $writer->writeStringValue('text', $this->getText()); + $writer->writeStringValue('title', $this->getTitle()); + $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 @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 subpoints property value. The subpoints property + * @param array|null $value Value to set for the subpoints property. + */ + public function setSubpoints(?array $value): void { + $this->getBackingStore()->set('subpoints', $value); + } + + /** + * Sets the text property value. The text property + * @param string|null $value Value to set for the text property. + */ + public function setText(?string $value): void { + $this->getBackingStore()->set('text', $value); + } + + /** + * Sets the title property value. The title property + * @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/MeetingNoteSubpoint.php b/src/Generated/Models/MeetingNoteSubpoint.php new file mode 100644 index 00000000000..7bf022d3770 --- /dev/null +++ b/src/Generated/Models/MeetingNoteSubpoint.php @@ -0,0 +1,158 @@ +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 MeetingNoteSubpoint + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MeetingNoteSubpoint { + return new MeetingNoteSubpoint(); + } + + /** + * 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 [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'text' => fn(ParseNode $n) => $o->setText($n->getStringValue()), + 'title' => fn(ParseNode $n) => $o->setTitle($n->getStringValue()), + ]; + } + + /** + * 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 text property value. The text property + * @return string|null + */ + public function getText(): ?string { + $val = $this->getBackingStore()->get('text'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'text'"); + } + + /** + * Gets the title property value. The title property + * @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 { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('text', $this->getText()); + $writer->writeStringValue('title', $this->getTitle()); + $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 @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 text property value. The text property + * @param string|null $value Value to set for the text property. + */ + public function setText(?string $value): void { + $this->getBackingStore()->set('text', $value); + } + + /** + * Sets the title property value. The title property + * @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/MentionEvent.php b/src/Generated/Models/MentionEvent.php new file mode 100644 index 00000000000..d09d82bcf02 --- /dev/null +++ b/src/Generated/Models/MentionEvent.php @@ -0,0 +1,181 @@ +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 MentionEvent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): MentionEvent { + return new MentionEvent(); + } + + /** + * 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 eventDateTime property value. The eventDateTime property + * @return DateTime|null + */ + public function getEventDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('eventDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'eventDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'eventDateTime' => fn(ParseNode $n) => $o->setEventDateTime($n->getDateTimeValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'speaker' => fn(ParseNode $n) => $o->setSpeaker($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), + 'transcriptUtterance' => fn(ParseNode $n) => $o->setTranscriptUtterance($n->getStringValue()), + ]; + } + + /** + * 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 speaker property value. The speaker property + * @return IdentitySet|null + */ + public function getSpeaker(): ?IdentitySet { + $val = $this->getBackingStore()->get('speaker'); + if (is_null($val) || $val instanceof IdentitySet) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'speaker'"); + } + + /** + * Gets the transcriptUtterance property value. The transcriptUtterance property + * @return string|null + */ + public function getTranscriptUtterance(): ?string { + $val = $this->getBackingStore()->get('transcriptUtterance'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'transcriptUtterance'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('eventDateTime', $this->getEventDateTime()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('speaker', $this->getSpeaker()); + $writer->writeStringValue('transcriptUtterance', $this->getTranscriptUtterance()); + $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 eventDateTime property value. The eventDateTime property + * @param DateTime|null $value Value to set for the eventDateTime property. + */ + public function setEventDateTime(?DateTime $value): void { + $this->getBackingStore()->set('eventDateTime', $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 speaker property value. The speaker property + * @param IdentitySet|null $value Value to set for the speaker property. + */ + public function setSpeaker(?IdentitySet $value): void { + $this->getBackingStore()->set('speaker', $value); + } + + /** + * Sets the transcriptUtterance property value. The transcriptUtterance property + * @param string|null $value Value to set for the transcriptUtterance property. + */ + public function setTranscriptUtterance(?string $value): void { + $this->getBackingStore()->set('transcriptUtterance', $value); + } + +} diff --git a/src/Generated/Models/OnlineMeetingBase.php b/src/Generated/Models/OnlineMeetingBase.php index 6f99e3e09c9..6c6767f7985 100644 --- a/src/Generated/Models/OnlineMeetingBase.php +++ b/src/Generated/Models/OnlineMeetingBase.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models; +use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -251,6 +252,18 @@ public function getChatRestrictions(): ?ChatRestrictions { throw new \UnexpectedValueException("Invalid type found in backing store for 'chatRestrictions'"); } + /** + * Gets the expiryDateTime property value. Indicates the date and time when the meeting resource expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getExpiryDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expiryDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expiryDateTime'"); + } + /** * The deserialization information for the current model * @return array @@ -276,13 +289,17 @@ public function getFieldDeserializers(): array { 'audioConferencing' => fn(ParseNode $n) => $o->setAudioConferencing($n->getObjectValue([AudioConferencing::class, 'createFromDiscriminatorValue'])), 'chatInfo' => fn(ParseNode $n) => $o->setChatInfo($n->getObjectValue([ChatInfo::class, 'createFromDiscriminatorValue'])), 'chatRestrictions' => fn(ParseNode $n) => $o->setChatRestrictions($n->getObjectValue([ChatRestrictions::class, 'createFromDiscriminatorValue'])), + 'expiryDateTime' => fn(ParseNode $n) => $o->setExpiryDateTime($n->getDateTimeValue()), 'isEndToEndEncryptionEnabled' => fn(ParseNode $n) => $o->setIsEndToEndEncryptionEnabled($n->getBooleanValue()), 'isEntryExitAnnounced' => fn(ParseNode $n) => $o->setIsEntryExitAnnounced($n->getBooleanValue()), 'joinInformation' => fn(ParseNode $n) => $o->setJoinInformation($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'joinMeetingIdSettings' => fn(ParseNode $n) => $o->setJoinMeetingIdSettings($n->getObjectValue([JoinMeetingIdSettings::class, 'createFromDiscriminatorValue'])), 'joinWebUrl' => fn(ParseNode $n) => $o->setJoinWebUrl($n->getStringValue()), 'lobbyBypassSettings' => fn(ParseNode $n) => $o->setLobbyBypassSettings($n->getObjectValue([LobbyBypassSettings::class, 'createFromDiscriminatorValue'])), + 'meetingOptionsWebUrl' => fn(ParseNode $n) => $o->setMeetingOptionsWebUrl($n->getStringValue()), + 'meetingSpokenLanguageTag' => fn(ParseNode $n) => $o->setMeetingSpokenLanguageTag($n->getStringValue()), 'recordAutomatically' => fn(ParseNode $n) => $o->setRecordAutomatically($n->getBooleanValue()), + 'sensitivityLabelAssignment' => fn(ParseNode $n) => $o->setSensitivityLabelAssignment($n->getObjectValue([OnlineMeetingSensitivityLabelAssignment::class, 'createFromDiscriminatorValue'])), 'shareMeetingChatHistoryDefault' => fn(ParseNode $n) => $o->setShareMeetingChatHistoryDefault($n->getEnumValue(MeetingChatHistoryDefaultMode::class)), 'subject' => fn(ParseNode $n) => $o->setSubject($n->getStringValue()), 'videoTeleconferenceId' => fn(ParseNode $n) => $o->setVideoTeleconferenceId($n->getStringValue()), @@ -362,6 +379,30 @@ public function getLobbyBypassSettings(): ?LobbyBypassSettings { throw new \UnexpectedValueException("Invalid type found in backing store for 'lobbyBypassSettings'"); } + /** + * Gets the meetingOptionsWebUrl property value. Provides the URL to the Teams meeting options page for the specified meeting. This link allows only the organizer to configure meeting settings. + * @return string|null + */ + public function getMeetingOptionsWebUrl(): ?string { + $val = $this->getBackingStore()->get('meetingOptionsWebUrl'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'meetingOptionsWebUrl'"); + } + + /** + * Gets the meetingSpokenLanguageTag property value. Specifies the spoken language used during the meeting for recording and transcription purposes. + * @return string|null + */ + public function getMeetingSpokenLanguageTag(): ?string { + $val = $this->getBackingStore()->get('meetingSpokenLanguageTag'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'meetingSpokenLanguageTag'"); + } + /** * Gets the recordAutomatically property value. Indicates whether to record the meeting automatically. * @return bool|null @@ -374,6 +415,18 @@ public function getRecordAutomatically(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'recordAutomatically'"); } + /** + * Gets the sensitivityLabelAssignment property value. Specifies the sensitivity label applied to the Teams meeting. + * @return OnlineMeetingSensitivityLabelAssignment|null + */ + public function getSensitivityLabelAssignment(): ?OnlineMeetingSensitivityLabelAssignment { + $val = $this->getBackingStore()->get('sensitivityLabelAssignment'); + if (is_null($val) || $val instanceof OnlineMeetingSensitivityLabelAssignment) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sensitivityLabelAssignment'"); + } + /** * Gets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. The possible values are: all, none, unknownFutureValue. * @return MeetingChatHistoryDefaultMode|null @@ -446,13 +499,17 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('audioConferencing', $this->getAudioConferencing()); $writer->writeObjectValue('chatInfo', $this->getChatInfo()); $writer->writeObjectValue('chatRestrictions', $this->getChatRestrictions()); + $writer->writeDateTimeValue('expiryDateTime', $this->getExpiryDateTime()); $writer->writeBooleanValue('isEndToEndEncryptionEnabled', $this->getIsEndToEndEncryptionEnabled()); $writer->writeBooleanValue('isEntryExitAnnounced', $this->getIsEntryExitAnnounced()); $writer->writeObjectValue('joinInformation', $this->getJoinInformation()); $writer->writeObjectValue('joinMeetingIdSettings', $this->getJoinMeetingIdSettings()); $writer->writeStringValue('joinWebUrl', $this->getJoinWebUrl()); $writer->writeObjectValue('lobbyBypassSettings', $this->getLobbyBypassSettings()); + $writer->writeStringValue('meetingOptionsWebUrl', $this->getMeetingOptionsWebUrl()); + $writer->writeStringValue('meetingSpokenLanguageTag', $this->getMeetingSpokenLanguageTag()); $writer->writeBooleanValue('recordAutomatically', $this->getRecordAutomatically()); + $writer->writeObjectValue('sensitivityLabelAssignment', $this->getSensitivityLabelAssignment()); $writer->writeEnumValue('shareMeetingChatHistoryDefault', $this->getShareMeetingChatHistoryDefault()); $writer->writeStringValue('subject', $this->getSubject()); $writer->writeStringValue('videoTeleconferenceId', $this->getVideoTeleconferenceId()); @@ -603,6 +660,14 @@ public function setChatRestrictions(?ChatRestrictions $value): void { $this->getBackingStore()->set('chatRestrictions', $value); } + /** + * Sets the expiryDateTime property value. Indicates the date and time when the meeting resource expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the expiryDateTime property. + */ + public function setExpiryDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expiryDateTime', $value); + } + /** * Sets the isEndToEndEncryptionEnabled property value. Indicates whether end-to-end encryption (E2EE) is enabled for the online meeting. * @param bool|null $value Value to set for the isEndToEndEncryptionEnabled property. @@ -651,6 +716,22 @@ public function setLobbyBypassSettings(?LobbyBypassSettings $value): void { $this->getBackingStore()->set('lobbyBypassSettings', $value); } + /** + * Sets the meetingOptionsWebUrl property value. Provides the URL to the Teams meeting options page for the specified meeting. This link allows only the organizer to configure meeting settings. + * @param string|null $value Value to set for the meetingOptionsWebUrl property. + */ + public function setMeetingOptionsWebUrl(?string $value): void { + $this->getBackingStore()->set('meetingOptionsWebUrl', $value); + } + + /** + * Sets the meetingSpokenLanguageTag property value. Specifies the spoken language used during the meeting for recording and transcription purposes. + * @param string|null $value Value to set for the meetingSpokenLanguageTag property. + */ + public function setMeetingSpokenLanguageTag(?string $value): void { + $this->getBackingStore()->set('meetingSpokenLanguageTag', $value); + } + /** * Sets the recordAutomatically property value. Indicates whether to record the meeting automatically. * @param bool|null $value Value to set for the recordAutomatically property. @@ -659,6 +740,14 @@ public function setRecordAutomatically(?bool $value): void { $this->getBackingStore()->set('recordAutomatically', $value); } + /** + * Sets the sensitivityLabelAssignment property value. Specifies the sensitivity label applied to the Teams meeting. + * @param OnlineMeetingSensitivityLabelAssignment|null $value Value to set for the sensitivityLabelAssignment property. + */ + public function setSensitivityLabelAssignment(?OnlineMeetingSensitivityLabelAssignment $value): void { + $this->getBackingStore()->set('sensitivityLabelAssignment', $value); + } + /** * Sets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. The possible values are: all, none, unknownFutureValue. * @param MeetingChatHistoryDefaultMode|null $value Value to set for the shareMeetingChatHistoryDefault property. diff --git a/src/Generated/Models/OnlineMeetingSensitivityLabelAssignment.php b/src/Generated/Models/OnlineMeetingSensitivityLabelAssignment.php new file mode 100644 index 00000000000..2134b9faa00 --- /dev/null +++ b/src/Generated/Models/OnlineMeetingSensitivityLabelAssignment.php @@ -0,0 +1,136 @@ +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 OnlineMeetingSensitivityLabelAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OnlineMeetingSensitivityLabelAssignment { + return new OnlineMeetingSensitivityLabelAssignment(); + } + + /** + * 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 [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'sensitivityLabelId' => fn(ParseNode $n) => $o->setSensitivityLabelId($n->getStringValue()), + ]; + } + + /** + * 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 sensitivityLabelId property value. The ID of the sensitivity label that is applied to the Teams meeting. + * @return string|null + */ + public function getSensitivityLabelId(): ?string { + $val = $this->getBackingStore()->get('sensitivityLabelId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sensitivityLabelId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('sensitivityLabelId', $this->getSensitivityLabelId()); + $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 @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 sensitivityLabelId property value. The ID of the sensitivity label that is applied to the Teams meeting. + * @param string|null $value Value to set for the sensitivityLabelId property. + */ + public function setSensitivityLabelId(?string $value): void { + $this->getBackingStore()->set('sensitivityLabelId', $value); + } + +} diff --git a/src/Generated/Models/PlaceFeatureEnablement.php b/src/Generated/Models/PlaceFeatureEnablement.php new file mode 100644 index 00000000000..162c12b024b --- /dev/null +++ b/src/Generated/Models/PlaceFeatureEnablement.php @@ -0,0 +1,12 @@ + fn(ParseNode $n) => $o->setOutOfOfficeSettings($n->getObjectValue([OutOfOfficeSettings::class, 'createFromDiscriminatorValue'])), 'sequenceNumber' => fn(ParseNode $n) => $o->setSequenceNumber($n->getStringValue()), 'statusMessage' => fn(ParseNode $n) => $o->setStatusMessage($n->getObjectValue([PresenceStatusMessage::class, 'createFromDiscriminatorValue'])), + 'workLocation' => fn(ParseNode $n) => $o->setWorkLocation($n->getObjectValue([UserWorkLocation::class, 'createFromDiscriminatorValue'])), ]); } @@ -99,6 +100,18 @@ public function getStatusMessage(): ?PresenceStatusMessage { throw new \UnexpectedValueException("Invalid type found in backing store for 'statusMessage'"); } + /** + * Gets the workLocation property value. Represents the user’s aggregated work location state. + * @return UserWorkLocation|null + */ + public function getWorkLocation(): ?UserWorkLocation { + $val = $this->getBackingStore()->get('workLocation'); + if (is_null($val) || $val instanceof UserWorkLocation) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocation'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -109,6 +122,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('availability', $this->getAvailability()); $writer->writeObjectValue('outOfOfficeSettings', $this->getOutOfOfficeSettings()); $writer->writeObjectValue('statusMessage', $this->getStatusMessage()); + $writer->writeObjectValue('workLocation', $this->getWorkLocation()); } /** @@ -151,4 +165,12 @@ public function setStatusMessage(?PresenceStatusMessage $value): void { $this->getBackingStore()->set('statusMessage', $value); } + /** + * Sets the workLocation property value. Represents the user’s aggregated work location state. + * @param UserWorkLocation|null $value Value to set for the workLocation property. + */ + public function setWorkLocation(?UserWorkLocation $value): void { + $this->getBackingStore()->set('workLocation', $value); + } + } diff --git a/src/Generated/Models/RestorePointSearchResult.php b/src/Generated/Models/RestorePointSearchResult.php index b1e8346b46a..b3d5bce58f7 100644 --- a/src/Generated/Models/RestorePointSearchResult.php +++ b/src/Generated/Models/RestorePointSearchResult.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the artifactHitCount property value. Total number of artifacts restored. + * Gets the artifactHitCount property value. Total number of mailbox items that can be restored for a granular restore session. * @return int|null */ public function getArtifactHitCount(): ?int { @@ -124,7 +124,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the artifactHitCount property value. Total number of artifacts restored. + * Sets the artifactHitCount property value. Total number of mailbox items that can be restored for a granular restore session. * @param int|null $value Value to set for the artifactHitCount property. */ public function setArtifactHitCount(?int $value): void { diff --git a/src/Generated/Models/Room.php b/src/Generated/Models/Room.php index 3d8a75e0bec..84f84f235d1 100644 --- a/src/Generated/Models/Room.php +++ b/src/Generated/Models/Room.php @@ -113,6 +113,8 @@ public function getFieldDeserializers(): array { 'floorLabel' => fn(ParseNode $n) => $o->setFloorLabel($n->getStringValue()), 'floorNumber' => fn(ParseNode $n) => $o->setFloorNumber($n->getIntegerValue()), 'nickname' => fn(ParseNode $n) => $o->setNickname($n->getStringValue()), + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'teamsEnabledState' => fn(ParseNode $n) => $o->setTeamsEnabledState($n->getEnumValue(PlaceFeatureEnablement::class)), 'videoDeviceName' => fn(ParseNode $n) => $o->setVideoDeviceName($n->getStringValue()), ]); } @@ -153,6 +155,30 @@ public function getNickname(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'nickname'"); } + /** + * Gets the placeId property value. An alternative immutable unique identifier of the room. Read-only. + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the teamsEnabledState property value. The teamsEnabledState property + * @return PlaceFeatureEnablement|null + */ + public function getTeamsEnabledState(): ?PlaceFeatureEnablement { + $val = $this->getBackingStore()->get('teamsEnabledState'); + if (is_null($val) || $val instanceof PlaceFeatureEnablement) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'teamsEnabledState'"); + } + /** * Gets the videoDeviceName property value. Specifies the name of the video device in the room. * @return string|null @@ -180,6 +206,8 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('floorLabel', $this->getFloorLabel()); $writer->writeIntegerValue('floorNumber', $this->getFloorNumber()); $writer->writeStringValue('nickname', $this->getNickname()); + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeEnumValue('teamsEnabledState', $this->getTeamsEnabledState()); $writer->writeStringValue('videoDeviceName', $this->getVideoDeviceName()); } @@ -255,6 +283,22 @@ public function setNickname(?string $value): void { $this->getBackingStore()->set('nickname', $value); } + /** + * Sets the placeId property value. An alternative immutable unique identifier of the room. Read-only. + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the teamsEnabledState property value. The teamsEnabledState property + * @param PlaceFeatureEnablement|null $value Value to set for the teamsEnabledState property. + */ + public function setTeamsEnabledState(?PlaceFeatureEnablement $value): void { + $this->getBackingStore()->set('teamsEnabledState', $value); + } + /** * Sets the videoDeviceName property value. Specifies the name of the video device in the room. * @param string|null $value Value to set for the videoDeviceName property. diff --git a/src/Generated/Models/Security/ActiveDirectoryDomainEvidence.php b/src/Generated/Models/Security/ActiveDirectoryDomainEvidence.php new file mode 100644 index 00000000000..8a97d8d59d0 --- /dev/null +++ b/src/Generated/Models/Security/ActiveDirectoryDomainEvidence.php @@ -0,0 +1,93 @@ +setOdataType('#microsoft.graph.security.activeDirectoryDomainEvidence'); + } + + /** + * 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 ActiveDirectoryDomainEvidence + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ActiveDirectoryDomainEvidence { + return new ActiveDirectoryDomainEvidence(); + } + + /** + * Gets the activeDirectoryDomainName property value. The activeDirectoryDomainName property + * @return string|null + */ + public function getActiveDirectoryDomainName(): ?string { + $val = $this->getBackingStore()->get('activeDirectoryDomainName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activeDirectoryDomainName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'activeDirectoryDomainName' => fn(ParseNode $n) => $o->setActiveDirectoryDomainName($n->getStringValue()), + 'trustedDomains' => fn(ParseNode $n) => $o->setTrustedDomains($n->getCollectionOfObjectValues([ActiveDirectoryDomainEvidence::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the trustedDomains property value. The trustedDomains property + * @return array|null + */ + public function getTrustedDomains(): ?array { + $val = $this->getBackingStore()->get('trustedDomains'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ActiveDirectoryDomainEvidence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'trustedDomains'"); + } + + /** + * 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('activeDirectoryDomainName', $this->getActiveDirectoryDomainName()); + $writer->writeCollectionOfObjectValues('trustedDomains', $this->getTrustedDomains()); + } + + /** + * Sets the activeDirectoryDomainName property value. The activeDirectoryDomainName property + * @param string|null $value Value to set for the activeDirectoryDomainName property. + */ + public function setActiveDirectoryDomainName(?string $value): void { + $this->getBackingStore()->set('activeDirectoryDomainName', $value); + } + + /** + * Sets the trustedDomains property value. The trustedDomains property + * @param array|null $value Value to set for the trustedDomains property. + */ + public function setTrustedDomains(?array $value): void { + $this->getBackingStore()->set('trustedDomains', $value); + } + +} diff --git a/src/Generated/Models/Security/AlertEvidence.php b/src/Generated/Models/Security/AlertEvidence.php index 69b99c07c52..f3cab269e64 100644 --- a/src/Generated/Models/Security/AlertEvidence.php +++ b/src/Generated/Models/Security/AlertEvidence.php @@ -37,6 +37,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Alert if ($mappingValueNode !== null) { $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { + case '#microsoft.graph.security.activeDirectoryDomainEvidence': return new ActiveDirectoryDomainEvidence(); case '#microsoft.graph.security.aiAgentEvidence': return new AiAgentEvidence(); case '#microsoft.graph.security.amazonResourceEvidence': return new AmazonResourceEvidence(); case '#microsoft.graph.security.analyzedMessageEvidence': return new AnalyzedMessageEvidence(); diff --git a/src/Generated/Models/Security/DeviceEvidence.php b/src/Generated/Models/Security/DeviceEvidence.php index d4fd0b3449a..d85b1373d0e 100644 --- a/src/Generated/Models/Security/DeviceEvidence.php +++ b/src/Generated/Models/Security/DeviceEvidence.php @@ -40,7 +40,7 @@ public function getAzureAdDeviceId(): ?string { } /** - * Gets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. + * Gets the defenderAvStatus property value. State of the Defender anti-malware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. * @return DefenderAvStatus|null */ public function getDefenderAvStatus(): ?DefenderAvStatus { @@ -107,6 +107,7 @@ public function getFieldDeserializers(): array { 'osPlatform' => fn(ParseNode $n) => $o->setOsPlatform($n->getStringValue()), 'rbacGroupId' => fn(ParseNode $n) => $o->setRbacGroupId($n->getIntegerValue()), 'rbacGroupName' => fn(ParseNode $n) => $o->setRbacGroupName($n->getStringValue()), + 'resourceAccessEvents' => fn(ParseNode $n) => $o->setResourceAccessEvents($n->getCollectionOfObjectValues([ResourceAccessEvent::class, 'createFromDiscriminatorValue'])), 'riskScore' => fn(ParseNode $n) => $o->setRiskScore($n->getEnumValue(DeviceRiskScore::class)), 'version' => fn(ParseNode $n) => $o->setVersion($n->getStringValue()), 'vmMetadata' => fn(ParseNode $n) => $o->setVmMetadata($n->getObjectValue([VmMetadata::class, 'createFromDiscriminatorValue'])), @@ -285,6 +286,20 @@ public function getRbacGroupName(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'rbacGroupName'"); } + /** + * Gets the resourceAccessEvents property value. Information on resource access attempts made by the user account. + * @return array|null + */ + public function getResourceAccessEvents(): ?array { + $val = $this->getBackingStore()->get('resourceAccessEvents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ResourceAccessEvent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'resourceAccessEvents'"); + } + /** * Gets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue. * @return DeviceRiskScore|null @@ -345,6 +360,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('osPlatform', $this->getOsPlatform()); $writer->writeIntegerValue('rbacGroupId', $this->getRbacGroupId()); $writer->writeStringValue('rbacGroupName', $this->getRbacGroupName()); + $writer->writeCollectionOfObjectValues('resourceAccessEvents', $this->getResourceAccessEvents()); $writer->writeEnumValue('riskScore', $this->getRiskScore()); $writer->writeStringValue('version', $this->getVersion()); $writer->writeObjectValue('vmMetadata', $this->getVmMetadata()); @@ -359,7 +375,7 @@ public function setAzureAdDeviceId(?string $value): void { } /** - * Sets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. + * Sets the defenderAvStatus property value. State of the Defender anti-malware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. * @param DefenderAvStatus|null $value Value to set for the defenderAvStatus property. */ public function setDefenderAvStatus(?DefenderAvStatus $value): void { @@ -494,6 +510,14 @@ public function setRbacGroupName(?string $value): void { $this->getBackingStore()->set('rbacGroupName', $value); } + /** + * Sets the resourceAccessEvents property value. Information on resource access attempts made by the user account. + * @param array|null $value Value to set for the resourceAccessEvents property. + */ + public function setResourceAccessEvents(?array $value): void { + $this->getBackingStore()->set('resourceAccessEvents', $value); + } + /** * Sets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue. * @param DeviceRiskScore|null $value Value to set for the riskScore property. diff --git a/src/Generated/Models/Security/EdiscoveryCase.php b/src/Generated/Models/Security/EdiscoveryCase.php index 2d9363b921a..48c2d5df5fb 100644 --- a/src/Generated/Models/Security/EdiscoveryCase.php +++ b/src/Generated/Models/Security/EdiscoveryCase.php @@ -28,6 +28,20 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Edisc return new EdiscoveryCase(); } + /** + * Gets the caseMembers property value. Represents members of an eDiscovery case. + * @return array|null + */ + public function getCaseMembers(): ?array { + $val = $this->getBackingStore()->get('caseMembers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, EdiscoveryCaseMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'caseMembers'"); + } + /** * Gets the closedBy property value. The user who closed the case. * @return IdentitySet|null @@ -85,6 +99,7 @@ public function getExternalId(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'caseMembers' => fn(ParseNode $n) => $o->setCaseMembers($n->getCollectionOfObjectValues([EdiscoveryCaseMember::class, 'createFromDiscriminatorValue'])), 'closedBy' => fn(ParseNode $n) => $o->setClosedBy($n->getObjectValue([IdentitySet::class, 'createFromDiscriminatorValue'])), 'closedDateTime' => fn(ParseNode $n) => $o->setClosedDateTime($n->getDateTimeValue()), 'custodians' => fn(ParseNode $n) => $o->setCustodians($n->getCollectionOfObjectValues([EdiscoveryCustodian::class, 'createFromDiscriminatorValue'])), @@ -186,6 +201,7 @@ public function getTags(): ?array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeCollectionOfObjectValues('caseMembers', $this->getCaseMembers()); $writer->writeObjectValue('closedBy', $this->getClosedBy()); $writer->writeDateTimeValue('closedDateTime', $this->getClosedDateTime()); $writer->writeCollectionOfObjectValues('custodians', $this->getCustodians()); @@ -198,6 +214,14 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('tags', $this->getTags()); } + /** + * Sets the caseMembers property value. Represents members of an eDiscovery case. + * @param array|null $value Value to set for the caseMembers property. + */ + public function setCaseMembers(?array $value): void { + $this->getBackingStore()->set('caseMembers', $value); + } + /** * Sets the closedBy property value. The user who closed the case. * @param IdentitySet|null $value Value to set for the closedBy property. diff --git a/src/Generated/Models/Security/EdiscoveryCaseMember.php b/src/Generated/Models/Security/EdiscoveryCaseMember.php new file mode 100644 index 00000000000..4992afa4a52 --- /dev/null +++ b/src/Generated/Models/Security/EdiscoveryCaseMember.php @@ -0,0 +1,112 @@ +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()), + 'recipientType' => fn(ParseNode $n) => $o->setRecipientType($n->getEnumValue(RecipientType::class)), + 'smtpAddress' => fn(ParseNode $n) => $o->setSmtpAddress($n->getStringValue()), + ]); + } + + /** + * Gets the recipientType property value. Specifies the recipient type of the eDiscovery case member. The possible values are: user, roleGroup, unknownFutureValue. + * @return RecipientType|null + */ + public function getRecipientType(): ?RecipientType { + $val = $this->getBackingStore()->get('recipientType'); + if (is_null($val) || $val instanceof RecipientType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recipientType'"); + } + + /** + * Gets the smtpAddress property value. The smtp address of the eDiscovery case member. Allowed only for case members of type user. + * @return string|null + */ + public function getSmtpAddress(): ?string { + $val = $this->getBackingStore()->get('smtpAddress'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'smtpAddress'"); + } + + /** + * 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->writeEnumValue('recipientType', $this->getRecipientType()); + $writer->writeStringValue('smtpAddress', $this->getSmtpAddress()); + } + + /** + * Sets the displayName property value. The display name of the eDiscovery case member. Allowed only for case members of type roleGroup. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the recipientType property value. Specifies the recipient type of the eDiscovery case member. The possible values are: user, roleGroup, unknownFutureValue. + * @param RecipientType|null $value Value to set for the recipientType property. + */ + public function setRecipientType(?RecipientType $value): void { + $this->getBackingStore()->set('recipientType', $value); + } + + /** + * Sets the smtpAddress property value. The smtp address of the eDiscovery case member. Allowed only for case members of type user. + * @param string|null $value Value to set for the smtpAddress property. + */ + public function setSmtpAddress(?string $value): void { + $this->getBackingStore()->set('smtpAddress', $value); + } + +} diff --git a/src/Generated/Models/Security/EdiscoveryCaseMemberCollectionResponse.php b/src/Generated/Models/Security/EdiscoveryCaseMemberCollectionResponse.php new file mode 100644 index 00000000000..70627ef96c3 --- /dev/null +++ b/src/Generated/Models/Security/EdiscoveryCaseMemberCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([EdiscoveryCaseMember::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, EdiscoveryCaseMember::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/Security/MailboxConfigurationEvidence.php b/src/Generated/Models/Security/MailboxConfigurationEvidence.php index 8736e76bde5..a007419c32c 100644 --- a/src/Generated/Models/Security/MailboxConfigurationEvidence.php +++ b/src/Generated/Models/Security/MailboxConfigurationEvidence.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Mailb } /** - * Gets the configurationId property value. The configurationId property + * Gets the configurationId property value. The unique identifier of the mailbox configuration. * @return string|null */ public function getConfigurationId(): ?string { @@ -38,7 +38,7 @@ public function getConfigurationId(): ?string { } /** - * Gets the configurationType property value. The configurationType property + * Gets the configurationType property value. The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. * @return MailboxConfigurationType|null */ public function getConfigurationType(): ?MailboxConfigurationType { @@ -50,7 +50,7 @@ public function getConfigurationType(): ?MailboxConfigurationType { } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the mailbox. * @return string|null */ public function getDisplayName(): ?string { @@ -62,7 +62,7 @@ public function getDisplayName(): ?string { } /** - * Gets the externalDirectoryObjectId property value. The externalDirectoryObjectId property + * Gets the externalDirectoryObjectId property value. The external directory object identifier of the mailbox. * @return string|null */ public function getExternalDirectoryObjectId(): ?string { @@ -90,7 +90,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the mailboxPrimaryAddress property value. The mailboxPrimaryAddress property + * Gets the mailboxPrimaryAddress property value. The primary email address of the mailbox. * @return string|null */ public function getMailboxPrimaryAddress(): ?string { @@ -102,7 +102,7 @@ public function getMailboxPrimaryAddress(): ?string { } /** - * Gets the upn property value. The upn property + * Gets the upn property value. The user principal name (UPN) of the mailbox. * @return string|null */ public function getUpn(): ?string { @@ -128,7 +128,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the configurationId property value. The configurationId property + * Sets the configurationId property value. The unique identifier of the mailbox configuration. * @param string|null $value Value to set for the configurationId property. */ public function setConfigurationId(?string $value): void { @@ -136,7 +136,7 @@ public function setConfigurationId(?string $value): void { } /** - * Sets the configurationType property value. The configurationType property + * Sets the configurationType property value. The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. * @param MailboxConfigurationType|null $value Value to set for the configurationType property. */ public function setConfigurationType(?MailboxConfigurationType $value): void { @@ -144,7 +144,7 @@ public function setConfigurationType(?MailboxConfigurationType $value): void { } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. The display name of the mailbox. * @param string|null $value Value to set for the displayName property. */ public function setDisplayName(?string $value): void { @@ -152,7 +152,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the externalDirectoryObjectId property value. The externalDirectoryObjectId property + * Sets the externalDirectoryObjectId property value. The external directory object identifier of the mailbox. * @param string|null $value Value to set for the externalDirectoryObjectId property. */ public function setExternalDirectoryObjectId(?string $value): void { @@ -160,7 +160,7 @@ public function setExternalDirectoryObjectId(?string $value): void { } /** - * Sets the mailboxPrimaryAddress property value. The mailboxPrimaryAddress property + * Sets the mailboxPrimaryAddress property value. The primary email address of the mailbox. * @param string|null $value Value to set for the mailboxPrimaryAddress property. */ public function setMailboxPrimaryAddress(?string $value): void { @@ -168,7 +168,7 @@ public function setMailboxPrimaryAddress(?string $value): void { } /** - * Sets the upn property value. The upn property + * Sets the upn property value. The user principal name (UPN) of the mailbox. * @param string|null $value Value to set for the upn property. */ public function setUpn(?string $value): void { diff --git a/src/Generated/Models/Security/RecipientType.php b/src/Generated/Models/Security/RecipientType.php new file mode 100644 index 00000000000..d35d41f701f --- /dev/null +++ b/src/Generated/Models/Security/RecipientType.php @@ -0,0 +1,11 @@ + fn(ParseNode $n) => $o->setAutoTooltip($n->getStringValue()), 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'hasProtection' => fn(ParseNode $n) => $o->setHasProtection($n->getBooleanValue()), 'isDefault' => fn(ParseNode $n) => $o->setIsDefault($n->getBooleanValue()), 'isEndpointProtectionEnabled' => fn(ParseNode $n) => $o->setIsEndpointProtectionEnabled($n->getBooleanValue()), 'isScopedToUser' => fn(ParseNode $n) => $o->setIsScopedToUser($n->getBooleanValue()), @@ -96,6 +97,18 @@ public function getFieldDeserializers(): array { ]); } + /** + * Gets the hasProtection property value. The hasProtection property + * @return bool|null + */ + public function getHasProtection(): ?bool { + $val = $this->getBackingStore()->get('hasProtection'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'hasProtection'"); + } + /** * Gets the isDefault property value. The isDefault property * @return bool|null @@ -216,6 +229,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('autoTooltip', $this->getAutoTooltip()); $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeBooleanValue('hasProtection', $this->getHasProtection()); $writer->writeBooleanValue('isDefault', $this->getIsDefault()); $writer->writeBooleanValue('isEndpointProtectionEnabled', $this->getIsEndpointProtectionEnabled()); $writer->writeBooleanValue('isScopedToUser', $this->getIsScopedToUser()); @@ -259,6 +273,14 @@ public function setDisplayName(?string $value): void { $this->getBackingStore()->set('displayName', $value); } + /** + * Sets the hasProtection property value. The hasProtection property + * @param bool|null $value Value to set for the hasProtection property. + */ + public function setHasProtection(?bool $value): void { + $this->getBackingStore()->set('hasProtection', $value); + } + /** * Sets the isDefault property value. The isDefault property * @param bool|null $value Value to set for the isDefault property. diff --git a/src/Generated/Models/SubjectSet.php b/src/Generated/Models/SubjectSet.php index 46b2bc16963..a06ab8be949 100644 --- a/src/Generated/Models/SubjectSet.php +++ b/src/Generated/Models/SubjectSet.php @@ -47,6 +47,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Subje case '#microsoft.graph.requestorManager': return new RequestorManager(); case '#microsoft.graph.singleServicePrincipal': return new SingleServicePrincipal(); case '#microsoft.graph.singleUser': return new SingleUser(); + case '#microsoft.graph.targetAgentIdentitySponsorsOrOwners': return new TargetAgentIdentitySponsorsOrOwners(); case '#microsoft.graph.targetApplicationOwners': return new TargetApplicationOwners(); case '#microsoft.graph.targetManager': return new TargetManager(); case '#microsoft.graph.targetUserSponsors': return new TargetUserSponsors(); diff --git a/src/Generated/Models/TargetAgentIdentitySponsorsOrOwners.php b/src/Generated/Models/TargetAgentIdentitySponsorsOrOwners.php new file mode 100644 index 00000000000..62d3a296cbc --- /dev/null +++ b/src/Generated/Models/TargetAgentIdentitySponsorsOrOwners.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.targetAgentIdentitySponsorsOrOwners'); + } + + /** + * 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 TargetAgentIdentitySponsorsOrOwners + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TargetAgentIdentitySponsorsOrOwners { + return new TargetAgentIdentitySponsorsOrOwners(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * 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); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/AccountType.php b/src/Generated/Models/TeamsAdministration/AccountType.php new file mode 100644 index 00000000000..d6436ca14bb --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/AccountType.php @@ -0,0 +1,15 @@ +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 AssignedTelephoneNumber + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AssignedTelephoneNumber { + return new AssignedTelephoneNumber(); + } + + /** + * 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 assignmentCategory property value. The assignmentCategory property + * @return AssignmentCategory|null + */ + public function getAssignmentCategory(): ?AssignmentCategory { + $val = $this->getBackingStore()->get('assignmentCategory'); + if (is_null($val) || $val instanceof AssignmentCategory) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignmentCategory'"); + } + + /** + * 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 [ + 'assignmentCategory' => fn(ParseNode $n) => $o->setAssignmentCategory($n->getEnumValue(AssignmentCategory::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'telephoneNumber' => fn(ParseNode $n) => $o->setTelephoneNumber($n->getStringValue()), + ]; + } + + /** + * 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 telephoneNumber property value. The assigned phone number. + * @return string|null + */ + public function getTelephoneNumber(): ?string { + $val = $this->getBackingStore()->get('telephoneNumber'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'telephoneNumber'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('assignmentCategory', $this->getAssignmentCategory()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('telephoneNumber', $this->getTelephoneNumber()); + $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 assignmentCategory property value. The assignmentCategory property + * @param AssignmentCategory|null $value Value to set for the assignmentCategory property. + */ + public function setAssignmentCategory(?AssignmentCategory $value): void { + $this->getBackingStore()->set('assignmentCategory', $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 @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 telephoneNumber property value. The assigned phone number. + * @param string|null $value Value to set for the telephoneNumber property. + */ + public function setTelephoneNumber(?string $value): void { + $this->getBackingStore()->set('telephoneNumber', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/AssignmentCategory.php b/src/Generated/Models/TeamsAdministration/AssignmentCategory.php new file mode 100644 index 00000000000..44b028692a4 --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/AssignmentCategory.php @@ -0,0 +1,12 @@ +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 EffectivePolicyAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EffectivePolicyAssignment { + return new EffectivePolicyAssignment(); + } + + /** + * 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 [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'policyAssignment' => fn(ParseNode $n) => $o->setPolicyAssignment($n->getObjectValue([PolicyAssignment::class, 'createFromDiscriminatorValue'])), + 'policyType' => fn(ParseNode $n) => $o->setPolicyType($n->getStringValue()), + ]; + } + + /** + * 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 policyAssignment property value. The policyAssignment property + * @return PolicyAssignment|null + */ + public function getPolicyAssignment(): ?PolicyAssignment { + $val = $this->getBackingStore()->get('policyAssignment'); + if (is_null($val) || $val instanceof PolicyAssignment) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyAssignment'"); + } + + /** + * Gets the policyType property value. The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy. + * @return string|null + */ + public function getPolicyType(): ?string { + $val = $this->getBackingStore()->get('policyType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('policyAssignment', $this->getPolicyAssignment()); + $writer->writeStringValue('policyType', $this->getPolicyType()); + $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 @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 policyAssignment property value. The policyAssignment property + * @param PolicyAssignment|null $value Value to set for the policyAssignment property. + */ + public function setPolicyAssignment(?PolicyAssignment $value): void { + $this->getBackingStore()->set('policyAssignment', $value); + } + + /** + * Sets the policyType property value. The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy. + * @param string|null $value Value to set for the policyType property. + */ + public function setPolicyType(?string $value): void { + $this->getBackingStore()->set('policyType', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/PolicyAssignment.php b/src/Generated/Models/TeamsAdministration/PolicyAssignment.php new file mode 100644 index 00000000000..c880ab9c51f --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/PolicyAssignment.php @@ -0,0 +1,202 @@ +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 PolicyAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyAssignment { + return new PolicyAssignment(); + } + + /** + * 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 assignmentType property value. The assignmentType property + * @return AssignmentType|null + */ + public function getAssignmentType(): ?AssignmentType { + $val = $this->getBackingStore()->get('assignmentType'); + if (is_null($val) || $val instanceof AssignmentType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignmentType'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the displayName property value. Represents the name of the policy. + * @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 [ + 'assignmentType' => fn(ParseNode $n) => $o->setAssignmentType($n->getEnumValue(AssignmentType::class)), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'groupId' => fn(ParseNode $n) => $o->setGroupId($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'policyId' => fn(ParseNode $n) => $o->setPolicyId($n->getStringValue()), + ]; + } + + /** + * Gets the groupId property value. Represents the group identifier. + * @return string|null + */ + public function getGroupId(): ?string { + $val = $this->getBackingStore()->get('groupId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'groupId'"); + } + + /** + * 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 policyId property value. Represents the unique identifier for the policy. + * @return string|null + */ + public function getPolicyId(): ?string { + $val = $this->getBackingStore()->get('policyId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('assignmentType', $this->getAssignmentType()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('groupId', $this->getGroupId()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('policyId', $this->getPolicyId()); + $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 assignmentType property value. The assignmentType property + * @param AssignmentType|null $value Value to set for the assignmentType property. + */ + public function setAssignmentType(?AssignmentType $value): void { + $this->getBackingStore()->set('assignmentType', $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. Represents the name of the policy. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the groupId property value. Represents the group identifier. + * @param string|null $value Value to set for the groupId property. + */ + public function setGroupId(?string $value): void { + $this->getBackingStore()->set('groupId', $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 policyId property value. Represents the unique identifier for the policy. + * @param string|null $value Value to set for the policyId property. + */ + public function setPolicyId(?string $value): void { + $this->getBackingStore()->set('policyId', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php b/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php new file mode 100644 index 00000000000..55f216b654e --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'userConfigurations' => fn(ParseNode $n) => $o->setUserConfigurations($n->getCollectionOfObjectValues([TeamsUserConfiguration::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams. + * @return array|null + */ + public function getUserConfigurations(): ?array { + $val = $this->getBackingStore()->get('userConfigurations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TeamsUserConfiguration::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userConfigurations'"); + } + + /** + * 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('userConfigurations', $this->getUserConfigurations()); + } + + /** + * Sets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams. + * @param array|null $value Value to set for the userConfigurations property. + */ + public function setUserConfigurations(?array $value): void { + $this->getBackingStore()->set('userConfigurations', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php b/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php new file mode 100644 index 00000000000..ca39f451737 --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php @@ -0,0 +1,282 @@ +getBackingStore()->get('accountType'); + if (is_null($val) || $val instanceof AccountType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'accountType'"); + } + + /** + * Gets the createdDateTime property value. The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the effectivePolicyAssignments property value. Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details. + * @return array|null + */ + public function getEffectivePolicyAssignments(): ?array { + $val = $this->getBackingStore()->get('effectivePolicyAssignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, EffectivePolicyAssignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'effectivePolicyAssignments'"); + } + + /** + * Gets the featureTypes property value. The Teams features enabled for a given user based on licensing or service plan. + * @return array|null + */ + public function getFeatureTypes(): ?array { + $val = $this->getBackingStore()->get('featureTypes'); + 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 'featureTypes'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'accountType' => fn(ParseNode $n) => $o->setAccountType($n->getEnumValue(AccountType::class)), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'effectivePolicyAssignments' => fn(ParseNode $n) => $o->setEffectivePolicyAssignments($n->getCollectionOfObjectValues([EffectivePolicyAssignment::class, 'createFromDiscriminatorValue'])), + 'featureTypes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setFeatureTypes($val); + }, + 'isEnterpriseVoiceEnabled' => fn(ParseNode $n) => $o->setIsEnterpriseVoiceEnabled($n->getBooleanValue()), + 'modifiedDateTime' => fn(ParseNode $n) => $o->setModifiedDateTime($n->getDateTimeValue()), + 'telephoneNumbers' => fn(ParseNode $n) => $o->setTelephoneNumbers($n->getCollectionOfObjectValues([AssignedTelephoneNumber::class, 'createFromDiscriminatorValue'])), + 'tenantId' => fn(ParseNode $n) => $o->setTenantId($n->getStringValue()), + 'user' => fn(ParseNode $n) => $o->setUser($n->getObjectValue([User::class, 'createFromDiscriminatorValue'])), + 'userPrincipalName' => fn(ParseNode $n) => $o->setUserPrincipalName($n->getStringValue()), + ]); + } + + /** + * Gets the isEnterpriseVoiceEnabled property value. Indicates whether voice capability is enabled. + * @return bool|null + */ + public function getIsEnterpriseVoiceEnabled(): ?bool { + $val = $this->getBackingStore()->get('isEnterpriseVoiceEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEnterpriseVoiceEnabled'"); + } + + /** + * Gets the modifiedDateTime property value. The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('modifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'modifiedDateTime'"); + } + + /** + * Gets the telephoneNumbers property value. Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate. + * @return array|null + */ + public function getTelephoneNumbers(): ?array { + $val = $this->getBackingStore()->get('telephoneNumbers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AssignedTelephoneNumber::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'telephoneNumbers'"); + } + + /** + * Gets the tenantId property value. The unique identifier of the tenant in Entra to which this user is assigned. + * @return string|null + */ + public function getTenantId(): ?string { + $val = $this->getBackingStore()->get('tenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tenantId'"); + } + + /** + * Gets the user property value. Represents an Entra user account. + * @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 userPrincipalName property value. The sign-in address 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 + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('accountType', $this->getAccountType()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeCollectionOfObjectValues('effectivePolicyAssignments', $this->getEffectivePolicyAssignments()); + $writer->writeCollectionOfPrimitiveValues('featureTypes', $this->getFeatureTypes()); + $writer->writeBooleanValue('isEnterpriseVoiceEnabled', $this->getIsEnterpriseVoiceEnabled()); + $writer->writeDateTimeValue('modifiedDateTime', $this->getModifiedDateTime()); + $writer->writeCollectionOfObjectValues('telephoneNumbers', $this->getTelephoneNumbers()); + $writer->writeStringValue('tenantId', $this->getTenantId()); + $writer->writeObjectValue('user', $this->getUser()); + $writer->writeStringValue('userPrincipalName', $this->getUserPrincipalName()); + } + + /** + * Sets the accountType property value. The accountType property + * @param AccountType|null $value Value to set for the accountType property. + */ + public function setAccountType(?AccountType $value): void { + $this->getBackingStore()->set('accountType', $value); + } + + /** + * Sets the createdDateTime property value. The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the effectivePolicyAssignments property value. Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details. + * @param array|null $value Value to set for the effectivePolicyAssignments property. + */ + public function setEffectivePolicyAssignments(?array $value): void { + $this->getBackingStore()->set('effectivePolicyAssignments', $value); + } + + /** + * Sets the featureTypes property value. The Teams features enabled for a given user based on licensing or service plan. + * @param array|null $value Value to set for the featureTypes property. + */ + public function setFeatureTypes(?array $value): void { + $this->getBackingStore()->set('featureTypes', $value); + } + + /** + * Sets the isEnterpriseVoiceEnabled property value. Indicates whether voice capability is enabled. + * @param bool|null $value Value to set for the isEnterpriseVoiceEnabled property. + */ + public function setIsEnterpriseVoiceEnabled(?bool $value): void { + $this->getBackingStore()->set('isEnterpriseVoiceEnabled', $value); + } + + /** + * Sets the modifiedDateTime property value. The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the modifiedDateTime property. + */ + public function setModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('modifiedDateTime', $value); + } + + /** + * Sets the telephoneNumbers property value. Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate. + * @param array|null $value Value to set for the telephoneNumbers property. + */ + public function setTelephoneNumbers(?array $value): void { + $this->getBackingStore()->set('telephoneNumbers', $value); + } + + /** + * Sets the tenantId property value. The unique identifier of the tenant in Entra to which this user is assigned. + * @param string|null $value Value to set for the tenantId property. + */ + public function setTenantId(?string $value): void { + $this->getBackingStore()->set('tenantId', $value); + } + + /** + * Sets the user property value. Represents an Entra user account. + * @param User|null $value Value to set for the user property. + */ + public function setUser(?User $value): void { + $this->getBackingStore()->set('user', $value); + } + + /** + * Sets the userPrincipalName property value. The sign-in address 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/TeamsAdministration/TeamsUserConfigurationCollectionResponse.php b/src/Generated/Models/TeamsAdministration/TeamsUserConfigurationCollectionResponse.php new file mode 100644 index 00000000000..b139fc3f690 --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/TeamsUserConfigurationCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([TeamsUserConfiguration::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, TeamsUserConfiguration::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/TimeOffDetails.php b/src/Generated/Models/TimeOffDetails.php new file mode 100644 index 00000000000..f84f917e6c1 --- /dev/null +++ b/src/Generated/Models/TimeOffDetails.php @@ -0,0 +1,158 @@ +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 TimeOffDetails + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TimeOffDetails { + return new TimeOffDetails(); + } + + /** + * 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 [ + 'isAllDay' => fn(ParseNode $n) => $o->setIsAllDay($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'subject' => fn(ParseNode $n) => $o->setSubject($n->getStringValue()), + ]; + } + + /** + * Gets the isAllDay property value. Indicates whether the time-off entry spans the entire day. + * @return bool|null + */ + public function getIsAllDay(): ?bool { + $val = $this->getBackingStore()->get('isAllDay'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAllDay'"); + } + + /** + * 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 subject property value. The subject or reason for the time-off entry. + * @return string|null + */ + public function getSubject(): ?string { + $val = $this->getBackingStore()->get('subject'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'subject'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBooleanValue('isAllDay', $this->getIsAllDay()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('subject', $this->getSubject()); + $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 isAllDay property value. Indicates whether the time-off entry spans the entire day. + * @param bool|null $value Value to set for the isAllDay property. + */ + public function setIsAllDay(?bool $value): void { + $this->getBackingStore()->set('isAllDay', $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 subject property value. The subject or reason for the time-off entry. + * @param string|null $value Value to set for the subject property. + */ + public function setSubject(?string $value): void { + $this->getBackingStore()->set('subject', $value); + } + +} diff --git a/src/Generated/Models/UnavailablePlaceMode.php b/src/Generated/Models/UnavailablePlaceMode.php new file mode 100644 index 00000000000..292431e3dc4 --- /dev/null +++ b/src/Generated/Models/UnavailablePlaceMode.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.unavailablePlaceMode'); + } + + /** + * 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 UnavailablePlaceMode + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UnavailablePlaceMode { + return new UnavailablePlaceMode(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'reason' => fn(ParseNode $n) => $o->setReason($n->getStringValue()), + ]); + } + + /** + * Gets the reason property value. The reason a place is marked unavailable. + * @return string|null + */ + public function getReason(): ?string { + $val = $this->getBackingStore()->get('reason'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reason'"); + } + + /** + * 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('reason', $this->getReason()); + } + + /** + * Sets the reason property value. The reason a place is marked unavailable. + * @param string|null $value Value to set for the reason property. + */ + public function setReason(?string $value): void { + $this->getBackingStore()->set('reason', $value); + } + +} diff --git a/src/Generated/Models/User.php b/src/Generated/Models/User.php index 703770b69f6..9cfb0f07289 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -68,6 +68,20 @@ public function getActivities(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'activities'"); } + /** + * Gets the adhocCalls property value. Ad hoc calls associated with the user. Read-only. Nullable. + * @return array|null + */ + public function getAdhocCalls(): ?array { + $val = $this->getBackingStore()->get('adhocCalls'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AdhocCall::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'adhocCalls'"); + } + /** * Gets the ageGroup property value. Sets the age group of the user. Allowed values: null, Minor, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. Supports $filter (eq, ne, not, and in). * @return string|null @@ -666,6 +680,7 @@ public function getFieldDeserializers(): array { 'aboutMe' => fn(ParseNode $n) => $o->setAboutMe($n->getStringValue()), 'accountEnabled' => fn(ParseNode $n) => $o->setAccountEnabled($n->getBooleanValue()), 'activities' => fn(ParseNode $n) => $o->setActivities($n->getCollectionOfObjectValues([UserActivity::class, 'createFromDiscriminatorValue'])), + 'adhocCalls' => fn(ParseNode $n) => $o->setAdhocCalls($n->getCollectionOfObjectValues([AdhocCall::class, 'createFromDiscriminatorValue'])), 'ageGroup' => fn(ParseNode $n) => $o->setAgeGroup($n->getStringValue()), 'agreementAcceptances' => fn(ParseNode $n) => $o->setAgreementAcceptances($n->getCollectionOfObjectValues([AgreementAcceptance::class, 'createFromDiscriminatorValue'])), 'appRoleAssignments' => fn(ParseNode $n) => $o->setAppRoleAssignments($n->getCollectionOfObjectValues([AppRoleAssignment::class, 'createFromDiscriminatorValue'])), @@ -772,6 +787,7 @@ public function getFieldDeserializers(): array { 'onPremisesProvisioningErrors' => fn(ParseNode $n) => $o->setOnPremisesProvisioningErrors($n->getCollectionOfObjectValues([OnPremisesProvisioningError::class, 'createFromDiscriminatorValue'])), 'onPremisesSamAccountName' => fn(ParseNode $n) => $o->setOnPremisesSamAccountName($n->getStringValue()), 'onPremisesSecurityIdentifier' => fn(ParseNode $n) => $o->setOnPremisesSecurityIdentifier($n->getStringValue()), + 'onPremisesSyncBehavior' => fn(ParseNode $n) => $o->setOnPremisesSyncBehavior($n->getObjectValue([OnPremisesSyncBehavior::class, 'createFromDiscriminatorValue'])), 'onPremisesSyncEnabled' => fn(ParseNode $n) => $o->setOnPremisesSyncEnabled($n->getBooleanValue()), 'onPremisesUserPrincipalName' => fn(ParseNode $n) => $o->setOnPremisesUserPrincipalName($n->getStringValue()), 'otherMails' => function (ParseNode $n) { @@ -1358,6 +1374,18 @@ public function getOnPremisesSecurityIdentifier(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'onPremisesSecurityIdentifier'"); } + /** + * Gets the onPremisesSyncBehavior property value. The onPremisesSyncBehavior property + * @return OnPremisesSyncBehavior|null + */ + public function getOnPremisesSyncBehavior(): ?OnPremisesSyncBehavior { + $val = $this->getBackingStore()->get('onPremisesSyncBehavior'); + if (is_null($val) || $val instanceof OnPremisesSyncBehavior) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'onPremisesSyncBehavior'"); + } + /** * Gets the onPremisesSyncEnabled property value. true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Microsoft Entra ID. Read-only. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). * @return bool|null @@ -1917,6 +1945,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('aboutMe', $this->getAboutMe()); $writer->writeBooleanValue('accountEnabled', $this->getAccountEnabled()); $writer->writeCollectionOfObjectValues('activities', $this->getActivities()); + $writer->writeCollectionOfObjectValues('adhocCalls', $this->getAdhocCalls()); $writer->writeStringValue('ageGroup', $this->getAgeGroup()); $writer->writeCollectionOfObjectValues('agreementAcceptances', $this->getAgreementAcceptances()); $writer->writeCollectionOfObjectValues('appRoleAssignments', $this->getAppRoleAssignments()); @@ -2002,6 +2031,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('onPremisesProvisioningErrors', $this->getOnPremisesProvisioningErrors()); $writer->writeStringValue('onPremisesSamAccountName', $this->getOnPremisesSamAccountName()); $writer->writeStringValue('onPremisesSecurityIdentifier', $this->getOnPremisesSecurityIdentifier()); + $writer->writeObjectValue('onPremisesSyncBehavior', $this->getOnPremisesSyncBehavior()); $writer->writeBooleanValue('onPremisesSyncEnabled', $this->getOnPremisesSyncEnabled()); $writer->writeStringValue('onPremisesUserPrincipalName', $this->getOnPremisesUserPrincipalName()); $writer->writeCollectionOfPrimitiveValues('otherMails', $this->getOtherMails()); @@ -2071,6 +2101,14 @@ public function setActivities(?array $value): void { $this->getBackingStore()->set('activities', $value); } + /** + * Sets the adhocCalls property value. Ad hoc calls associated with the user. Read-only. Nullable. + * @param array|null $value Value to set for the adhocCalls property. + */ + public function setAdhocCalls(?array $value): void { + $this->getBackingStore()->set('adhocCalls', $value); + } + /** * Sets the ageGroup property value. Sets the age group of the user. Allowed values: null, Minor, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. Supports $filter (eq, ne, not, and in). * @param string|null $value Value to set for the ageGroup property. @@ -2751,6 +2789,14 @@ public function setOnPremisesSecurityIdentifier(?string $value): void { $this->getBackingStore()->set('onPremisesSecurityIdentifier', $value); } + /** + * Sets the onPremisesSyncBehavior property value. The onPremisesSyncBehavior property + * @param OnPremisesSyncBehavior|null $value Value to set for the onPremisesSyncBehavior property. + */ + public function setOnPremisesSyncBehavior(?OnPremisesSyncBehavior $value): void { + $this->getBackingStore()->set('onPremisesSyncBehavior', $value); + } + /** * Sets the onPremisesSyncEnabled property value. true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Microsoft Entra ID. Read-only. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). * @param bool|null $value Value to set for the onPremisesSyncEnabled property. diff --git a/src/Generated/Models/UserSettings.php b/src/Generated/Models/UserSettings.php index 51b1e025d78..87175c4b3da 100644 --- a/src/Generated/Models/UserSettings.php +++ b/src/Generated/Models/UserSettings.php @@ -62,6 +62,7 @@ public function getFieldDeserializers(): array { 'shiftPreferences' => fn(ParseNode $n) => $o->setShiftPreferences($n->getObjectValue([ShiftPreferences::class, 'createFromDiscriminatorValue'])), 'storage' => fn(ParseNode $n) => $o->setStorage($n->getObjectValue([UserStorage::class, 'createFromDiscriminatorValue'])), 'windows' => fn(ParseNode $n) => $o->setWindows($n->getCollectionOfObjectValues([WindowsSetting::class, 'createFromDiscriminatorValue'])), + 'workHoursAndLocations' => fn(ParseNode $n) => $o->setWorkHoursAndLocations($n->getObjectValue([WorkHoursAndLocationsSetting::class, 'createFromDiscriminatorValue'])), ]); } @@ -102,7 +103,7 @@ public function getStorage(): ?UserStorage { } /** - * Gets the windows property value. The windows property + * Gets the windows property value. The Windows settings of the user stored in the cloud. * @return array|null */ public function getWindows(): ?array { @@ -115,6 +116,18 @@ public function getWindows(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'windows'"); } + /** + * Gets the workHoursAndLocations property value. The user's settings for work hours and location preferences for scheduling and availability management. + * @return WorkHoursAndLocationsSetting|null + */ + public function getWorkHoursAndLocations(): ?WorkHoursAndLocationsSetting { + $val = $this->getBackingStore()->get('workHoursAndLocations'); + if (is_null($val) || $val instanceof WorkHoursAndLocationsSetting) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workHoursAndLocations'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -127,6 +140,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('shiftPreferences', $this->getShiftPreferences()); $writer->writeObjectValue('storage', $this->getStorage()); $writer->writeCollectionOfObjectValues('windows', $this->getWindows()); + $writer->writeObjectValue('workHoursAndLocations', $this->getWorkHoursAndLocations()); } /** @@ -170,11 +184,19 @@ public function setStorage(?UserStorage $value): void { } /** - * Sets the windows property value. The windows property + * Sets the windows property value. The Windows settings of the user stored in the cloud. * @param array|null $value Value to set for the windows property. */ public function setWindows(?array $value): void { $this->getBackingStore()->set('windows', $value); } + /** + * Sets the workHoursAndLocations property value. The user's settings for work hours and location preferences for scheduling and availability management. + * @param WorkHoursAndLocationsSetting|null $value Value to set for the workHoursAndLocations property. + */ + public function setWorkHoursAndLocations(?WorkHoursAndLocationsSetting $value): void { + $this->getBackingStore()->set('workHoursAndLocations', $value); + } + } diff --git a/src/Generated/Models/UserWorkLocation.php b/src/Generated/Models/UserWorkLocation.php new file mode 100644 index 00000000000..a2f5524a64c --- /dev/null +++ b/src/Generated/Models/UserWorkLocation.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 UserWorkLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserWorkLocation { + return new UserWorkLocation(); + } + + /** + * 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 [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'source' => fn(ParseNode $n) => $o->setSource($n->getEnumValue(WorkLocationSource::class)), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]; + } + + /** + * 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 placeId property value. Identifier of the place, if applicable. + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the source property value. The source property + * @return WorkLocationSource|null + */ + public function getSource(): ?WorkLocationSource { + $val = $this->getBackingStore()->get('source'); + if (is_null($val) || $val instanceof WorkLocationSource) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'source'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeEnumValue('source', $this->getSource()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + $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 @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 placeId property value. Identifier of the place, if applicable. + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the source property value. The source property + * @param WorkLocationSource|null $value Value to set for the source property. + */ + public function setSource(?WorkLocationSource $value): void { + $this->getBackingStore()->set('source', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Models/VirtualEndpoint.php b/src/Generated/Models/VirtualEndpoint.php index 0ba73639923..8c3bf190fcb 100644 --- a/src/Generated/Models/VirtualEndpoint.php +++ b/src/Generated/Models/VirtualEndpoint.php @@ -80,6 +80,7 @@ public function getFieldDeserializers(): array { 'galleryImages' => fn(ParseNode $n) => $o->setGalleryImages($n->getCollectionOfObjectValues([CloudPcGalleryImage::class, 'createFromDiscriminatorValue'])), 'onPremisesConnections' => fn(ParseNode $n) => $o->setOnPremisesConnections($n->getCollectionOfObjectValues([CloudPcOnPremisesConnection::class, 'createFromDiscriminatorValue'])), 'provisioningPolicies' => fn(ParseNode $n) => $o->setProvisioningPolicies($n->getCollectionOfObjectValues([CloudPcProvisioningPolicy::class, 'createFromDiscriminatorValue'])), + 'report' => fn(ParseNode $n) => $o->setReport($n->getObjectValue([CloudPcReport::class, 'createFromDiscriminatorValue'])), 'userSettings' => fn(ParseNode $n) => $o->setUserSettings($n->getCollectionOfObjectValues([CloudPcUserSetting::class, 'createFromDiscriminatorValue'])), ]); } @@ -126,6 +127,18 @@ public function getProvisioningPolicies(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'provisioningPolicies'"); } + /** + * Gets the report property value. Cloud PC-related reports. Read-only. + * @return CloudPcReport|null + */ + public function getReport(): ?CloudPcReport { + $val = $this->getBackingStore()->get('report'); + if (is_null($val) || $val instanceof CloudPcReport) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'report'"); + } + /** * Gets the userSettings property value. A collection of Cloud PC user settings. * @return array|null @@ -152,6 +165,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('galleryImages', $this->getGalleryImages()); $writer->writeCollectionOfObjectValues('onPremisesConnections', $this->getOnPremisesConnections()); $writer->writeCollectionOfObjectValues('provisioningPolicies', $this->getProvisioningPolicies()); + $writer->writeObjectValue('report', $this->getReport()); $writer->writeCollectionOfObjectValues('userSettings', $this->getUserSettings()); } @@ -203,6 +217,14 @@ public function setProvisioningPolicies(?array $value): void { $this->getBackingStore()->set('provisioningPolicies', $value); } + /** + * Sets the report property value. Cloud PC-related reports. Read-only. + * @param CloudPcReport|null $value Value to set for the report property. + */ + public function setReport(?CloudPcReport $value): void { + $this->getBackingStore()->set('report', $value); + } + /** * Sets the userSettings property value. A collection of Cloud PC user settings. * @param array|null $value Value to set for the userSettings property. diff --git a/src/Generated/Models/Windows365SwitchCompatibilityFailureReasonType.php b/src/Generated/Models/Windows365SwitchCompatibilityFailureReasonType.php new file mode 100644 index 00000000000..a28a37319be --- /dev/null +++ b/src/Generated/Models/Windows365SwitchCompatibilityFailureReasonType.php @@ -0,0 +1,11 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'maxSharedWorkLocationDetails' => fn(ParseNode $n) => $o->setMaxSharedWorkLocationDetails($n->getEnumValue(MaxWorkLocationDetails::class)), + 'occurrences' => fn(ParseNode $n) => $o->setOccurrences($n->getCollectionOfObjectValues([WorkPlanOccurrence::class, 'createFromDiscriminatorValue'])), + 'recurrences' => fn(ParseNode $n) => $o->setRecurrences($n->getCollectionOfObjectValues([WorkPlanRecurrence::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property + * @return MaxWorkLocationDetails|null + */ + public function getMaxSharedWorkLocationDetails(): ?MaxWorkLocationDetails { + $val = $this->getBackingStore()->get('maxSharedWorkLocationDetails'); + if (is_null($val) || $val instanceof MaxWorkLocationDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'maxSharedWorkLocationDetails'"); + } + + /** + * Gets the occurrences property value. Collection of work plan occurrences. + * @return array|null + */ + public function getOccurrences(): ?array { + $val = $this->getBackingStore()->get('occurrences'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WorkPlanOccurrence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'occurrences'"); + } + + /** + * Gets the recurrences property value. Collection of recurring work plans defined by the user. + * @return array|null + */ + public function getRecurrences(): ?array { + $val = $this->getBackingStore()->get('recurrences'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, WorkPlanRecurrence::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recurrences'"); + } + + /** + * 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->writeEnumValue('maxSharedWorkLocationDetails', $this->getMaxSharedWorkLocationDetails()); + $writer->writeCollectionOfObjectValues('occurrences', $this->getOccurrences()); + $writer->writeCollectionOfObjectValues('recurrences', $this->getRecurrences()); + } + + /** + * Sets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property + * @param MaxWorkLocationDetails|null $value Value to set for the maxSharedWorkLocationDetails property. + */ + public function setMaxSharedWorkLocationDetails(?MaxWorkLocationDetails $value): void { + $this->getBackingStore()->set('maxSharedWorkLocationDetails', $value); + } + + /** + * Sets the occurrences property value. Collection of work plan occurrences. + * @param array|null $value Value to set for the occurrences property. + */ + public function setOccurrences(?array $value): void { + $this->getBackingStore()->set('occurrences', $value); + } + + /** + * Sets the recurrences property value. Collection of recurring work plans defined by the user. + * @param array|null $value Value to set for the recurrences property. + */ + public function setRecurrences(?array $value): void { + $this->getBackingStore()->set('recurrences', $value); + } + +} diff --git a/src/Generated/Models/WorkLocationSource.php b/src/Generated/Models/WorkLocationSource.php new file mode 100644 index 00000000000..4f31fa48e77 --- /dev/null +++ b/src/Generated/Models/WorkLocationSource.php @@ -0,0 +1,13 @@ +getBackingStore()->get('end'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'end'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'end' => fn(ParseNode $n) => $o->setEnd($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'recurrenceId' => fn(ParseNode $n) => $o->setRecurrenceId($n->getStringValue()), + 'start' => fn(ParseNode $n) => $o->setStart($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'timeOffDetails' => fn(ParseNode $n) => $o->setTimeOffDetails($n->getObjectValue([TimeOffDetails::class, 'createFromDiscriminatorValue'])), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]); + } + + /** + * Gets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the recurrenceId property value. The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. + * @return string|null + */ + public function getRecurrenceId(): ?string { + $val = $this->getBackingStore()->get('recurrenceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recurrenceId'"); + } + + /** + * Gets the start property value. The start property + * @return DateTimeTimeZone|null + */ + public function getStart(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('start'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'start'"); + } + + /** + * Gets the timeOffDetails property value. The details about the time off. Only applicable when workLocationType is set to timeOff. + * @return TimeOffDetails|null + */ + public function getTimeOffDetails(): ?TimeOffDetails { + $val = $this->getBackingStore()->get('timeOffDetails'); + if (is_null($val) || $val instanceof TimeOffDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'timeOffDetails'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * 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('end', $this->getEnd()); + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeStringValue('recurrenceId', $this->getRecurrenceId()); + $writer->writeObjectValue('start', $this->getStart()); + $writer->writeObjectValue('timeOffDetails', $this->getTimeOffDetails()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + } + + /** + * Sets the end property value. The end property + * @param DateTimeTimeZone|null $value Value to set for the end property. + */ + public function setEnd(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('end', $value); + } + + /** + * Sets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the recurrenceId property value. The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. + * @param string|null $value Value to set for the recurrenceId property. + */ + public function setRecurrenceId(?string $value): void { + $this->getBackingStore()->set('recurrenceId', $value); + } + + /** + * Sets the start property value. The start property + * @param DateTimeTimeZone|null $value Value to set for the start property. + */ + public function setStart(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('start', $value); + } + + /** + * Sets the timeOffDetails property value. The details about the time off. Only applicable when workLocationType is set to timeOff. + * @param TimeOffDetails|null $value Value to set for the timeOffDetails property. + */ + public function setTimeOffDetails(?TimeOffDetails $value): void { + $this->getBackingStore()->set('timeOffDetails', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Models/WorkPlanOccurrenceCollectionResponse.php b/src/Generated/Models/WorkPlanOccurrenceCollectionResponse.php new file mode 100644 index 00000000000..df81d45ad38 --- /dev/null +++ b/src/Generated/Models/WorkPlanOccurrenceCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WorkPlanOccurrence::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, WorkPlanOccurrence::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/WorkPlanRecurrence.php b/src/Generated/Models/WorkPlanRecurrence.php new file mode 100644 index 00000000000..858e63897b4 --- /dev/null +++ b/src/Generated/Models/WorkPlanRecurrence.php @@ -0,0 +1,155 @@ +getBackingStore()->get('end'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'end'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'end' => fn(ParseNode $n) => $o->setEnd($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'recurrence' => fn(ParseNode $n) => $o->setRecurrence($n->getObjectValue([PatternedRecurrence::class, 'createFromDiscriminatorValue'])), + 'start' => fn(ParseNode $n) => $o->setStart($n->getObjectValue([DateTimeTimeZone::class, 'createFromDiscriminatorValue'])), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]); + } + + /** + * Gets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the recurrence property value. The recurrence property + * @return PatternedRecurrence|null + */ + public function getRecurrence(): ?PatternedRecurrence { + $val = $this->getBackingStore()->get('recurrence'); + if (is_null($val) || $val instanceof PatternedRecurrence) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recurrence'"); + } + + /** + * Gets the start property value. The start property + * @return DateTimeTimeZone|null + */ + public function getStart(): ?DateTimeTimeZone { + $val = $this->getBackingStore()->get('start'); + if (is_null($val) || $val instanceof DateTimeTimeZone) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'start'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * 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('end', $this->getEnd()); + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeObjectValue('recurrence', $this->getRecurrence()); + $writer->writeObjectValue('start', $this->getStart()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + } + + /** + * Sets the end property value. The end property + * @param DateTimeTimeZone|null $value Value to set for the end property. + */ + public function setEnd(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('end', $value); + } + + /** + * Sets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the recurrence property value. The recurrence property + * @param PatternedRecurrence|null $value Value to set for the recurrence property. + */ + public function setRecurrence(?PatternedRecurrence $value): void { + $this->getBackingStore()->set('recurrence', $value); + } + + /** + * Sets the start property value. The start property + * @param DateTimeTimeZone|null $value Value to set for the start property. + */ + public function setStart(?DateTimeTimeZone $value): void { + $this->getBackingStore()->set('start', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Models/WorkPlanRecurrenceCollectionResponse.php b/src/Generated/Models/WorkPlanRecurrenceCollectionResponse.php new file mode 100644 index 00000000000..2deb537549a --- /dev/null +++ b/src/Generated/Models/WorkPlanRecurrenceCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WorkPlanRecurrence::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, WorkPlanRecurrence::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/Workspace.php b/src/Generated/Models/Workspace.php index f5e6811bb9b..edb81bfe293 100644 --- a/src/Generated/Models/Workspace.php +++ b/src/Generated/Models/Workspace.php @@ -73,11 +73,12 @@ public function getFieldDeserializers(): array { 'emailAddress' => fn(ParseNode $n) => $o->setEmailAddress($n->getStringValue()), 'mode' => fn(ParseNode $n) => $o->setMode($n->getObjectValue([PlaceMode::class, 'createFromDiscriminatorValue'])), 'nickname' => fn(ParseNode $n) => $o->setNickname($n->getStringValue()), + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), ]); } /** - * Gets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal. + * Gets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. * @return PlaceMode|null */ public function getMode(): ?PlaceMode { @@ -100,6 +101,18 @@ public function getNickname(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'nickname'"); } + /** + * Gets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -111,6 +124,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('emailAddress', $this->getEmailAddress()); $writer->writeObjectValue('mode', $this->getMode()); $writer->writeStringValue('nickname', $this->getNickname()); + $writer->writeStringValue('placeId', $this->getPlaceId()); } /** @@ -138,7 +152,7 @@ public function setEmailAddress(?string $value): void { } /** - * Sets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal. + * Sets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. * @param PlaceMode|null $value Value to set for the mode property. */ public function setMode(?PlaceMode $value): void { @@ -153,4 +167,12 @@ public function setNickname(?string $value): void { $this->getBackingStore()->set('nickname', $value); } + /** + * Sets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + } diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilder.php new file mode 100644 index 00000000000..87db2acbb9b --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. + * @param string $ediscoveryCaseMemberId The unique identifier of ediscoveryCaseMember + * @return EdiscoveryCaseMemberItemRequestBuilder + */ + public function byEdiscoveryCaseMemberId(string $ediscoveryCaseMemberId): EdiscoveryCaseMemberItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['ediscoveryCaseMember%2Did'] = $ediscoveryCaseMemberId; + return new EdiscoveryCaseMemberItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new CaseMembersRequestBuilder 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}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers{?%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 ediscoveryCaseMember objects for an ediscoveryCase. + * @param CaseMembersRequestBuilderGetRequestConfiguration|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/security-ediscoverycasemember-list?view=graph-rest-1.0 Find more info here + */ + public function get(?CaseMembersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EdiscoveryCaseMemberCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Add an ediscoveryCaseMember to an ediscoveryCase. The ediscoveryCaseMember can be one of two types: a user or a role group. + * @param EdiscoveryCaseMember $body The request body + * @param CaseMembersRequestBuilderPostRequestConfiguration|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/security-ediscoverycasemember-post?view=graph-rest-1.0 Find more info here + */ + public function post(EdiscoveryCaseMember $body, ?CaseMembersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EdiscoveryCaseMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of ediscoveryCaseMember objects for an ediscoveryCase. + * @param CaseMembersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CaseMembersRequestBuilderGetRequestConfiguration $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; + } + + /** + * Add an ediscoveryCaseMember to an ediscoveryCase. The ediscoveryCaseMember can be one of two types: a user or a role group. + * @param EdiscoveryCaseMember $body The request body + * @param CaseMembersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EdiscoveryCaseMember $body, ?CaseMembersRequestBuilderPostRequestConfiguration $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 CaseMembersRequestBuilder + */ + public function withUrl(string $rawUrl): CaseMembersRequestBuilder { + return new CaseMembersRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d13e4d1c153 --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderGetQueryParameters.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 CaseMembersRequestBuilderGetQueryParameters 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/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a8864dd0db2 --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CaseMembersRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CaseMembersRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CaseMembersRequestBuilderGetQueryParameters. + * @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 CaseMembersRequestBuilderGetQueryParameters + */ + 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): CaseMembersRequestBuilderGetQueryParameters { + return new CaseMembersRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..d479432c13d --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/CaseMembersRequestBuilderPostRequestConfiguration.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/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..f25187466dc --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/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}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers/$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/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4639e1a59b8 --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..dd8138615de --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/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/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilder.php new file mode 100644 index 00000000000..db99bedbaa8 --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilder.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}/security/cases/ediscoveryCases/{ediscoveryCase%2Did}/caseMembers/{ediscoveryCaseMember%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove an ediscoveryCaseMember from an ediscoveryCase. + * @param EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration|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/security-ediscoverycasemember-delete?view=graph-rest-1.0 Find more info here + */ + public function delete(?EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents members of an eDiscovery case. + * @param EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EdiscoveryCaseMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property caseMembers in security + * @param EdiscoveryCaseMember $body The request body + * @param EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(EdiscoveryCaseMember $body, ?EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EdiscoveryCaseMember::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove an ediscoveryCaseMember from an ediscoveryCase. + * @param EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Represents members of an eDiscovery case. + * @param EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration $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 caseMembers in security + * @param EdiscoveryCaseMember $body The request body + * @param EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(EdiscoveryCaseMember $body, ?EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration $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 EdiscoveryCaseMemberItemRequestBuilder + */ + public function withUrl(string $rawUrl): EdiscoveryCaseMemberItemRequestBuilder { + return new EdiscoveryCaseMemberItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..09952540c5b --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration.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/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..752cc68bb7f --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters.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 EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters 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/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..994e4138063 --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters { + return new EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..c413d36b3a6 --- /dev/null +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/CaseMembers/Item/EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration.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/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php b/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php index e6d5c6e7666..533f2600134 100644 --- a/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php +++ b/src/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\Security\EdiscoveryCase; +use Microsoft\Graph\Generated\Security\Cases\EdiscoveryCases\Item\CaseMembers\CaseMembersRequestBuilder; use Microsoft\Graph\Generated\Security\Cases\EdiscoveryCases\Item\Custodians\CustodiansRequestBuilder; use Microsoft\Graph\Generated\Security\Cases\EdiscoveryCases\Item\MicrosoftGraphSecurityClose\MicrosoftGraphSecurityCloseRequestBuilder; use Microsoft\Graph\Generated\Security\Cases\EdiscoveryCases\Item\MicrosoftGraphSecurityReopen\MicrosoftGraphSecurityReopenRequestBuilder; @@ -25,6 +26,13 @@ */ class EdiscoveryCaseItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the caseMembers property of the microsoft.graph.security.ediscoveryCase entity. + */ + public function caseMembers(): CaseMembersRequestBuilder { + return new CaseMembersRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the custodians property of the microsoft.graph.security.ediscoveryCase entity. */ diff --git a/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php b/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php index 0277344903b..98f6ca170d4 100644 --- a/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php +++ b/src/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.php @@ -60,7 +60,7 @@ public function get(?SecureScoreControlProfileItemRequestBuilderGetRequestConfig } /** - * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. + * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as tenantNote. * @param SecureScoreControlProfile $body The request body * @param SecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -115,7 +115,7 @@ public function toGetRequestInformation(?SecureScoreControlProfileItemRequestBui } /** - * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. + * Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as tenantNote. * @param SecureScoreControlProfile $body The request body * @param SecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Solutions/BackupRestore/ServiceApps/Item/ServiceAppItemRequestBuilder.php b/src/Generated/Solutions/BackupRestore/ServiceApps/Item/ServiceAppItemRequestBuilder.php index 3039c8be48c..a13aa6a5b71 100644 --- a/src/Generated/Solutions/BackupRestore/ServiceApps/Item/ServiceAppItemRequestBuilder.php +++ b/src/Generated/Solutions/BackupRestore/ServiceApps/Item/ServiceAppItemRequestBuilder.php @@ -47,7 +47,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a serviceApp. + * Delete a serviceApp. When this API is called via Microsoft Graph PowerShell, it returns a 403 Forbidden response code. * @param ServiceAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -92,7 +92,7 @@ public function patch(ServiceApp $body, ?ServiceAppItemRequestBuilderPatchReques } /** - * Delete a serviceApp. + * Delete a serviceApp. When this API is called via Microsoft Graph PowerShell, it returns a 403 Forbidden response code. * @param ServiceAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilder.php new file mode 100644 index 00000000000..22ddf354327 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. + * @param string $fileStorageContainerTypeRegistrationId The unique identifier of fileStorageContainerTypeRegistration + * @return FileStorageContainerTypeRegistrationItemRequestBuilder + */ + public function byFileStorageContainerTypeRegistrationId(string $fileStorageContainerTypeRegistrationId): FileStorageContainerTypeRegistrationItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['fileStorageContainerTypeRegistration%2Did'] = $fileStorageContainerTypeRegistrationId; + return new FileStorageContainerTypeRegistrationItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ContainerTypeRegistrationsRequestBuilder 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}/storage/fileStorage/containerTypeRegistrations{?%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 fileStorageContainerTypeRegistration objects and their properties. + * @param ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration|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/filestorage-list-containertyperegistrations?view=graph-rest-1.0 Find more info here + */ + public function get(?ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeRegistrationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to containerTypeRegistrations for storage + * @param FileStorageContainerTypeRegistration $body The request body + * @param ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(FileStorageContainerTypeRegistration $body, ?ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the fileStorageContainerTypeRegistration objects and their properties. + * @param ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration $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 containerTypeRegistrations for storage + * @param FileStorageContainerTypeRegistration $body The request body + * @param ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(FileStorageContainerTypeRegistration $body, ?ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration $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 ContainerTypeRegistrationsRequestBuilder + */ + public function withUrl(string $rawUrl): ContainerTypeRegistrationsRequestBuilder { + return new ContainerTypeRegistrationsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..15b4c9dc5af --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderGetQueryParameters.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 ContainerTypeRegistrationsRequestBuilderGetQueryParameters 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/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..058c07bca8c --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ContainerTypeRegistrationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ContainerTypeRegistrationsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ContainerTypeRegistrationsRequestBuilderGetQueryParameters. + * @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 ContainerTypeRegistrationsRequestBuilderGetQueryParameters + */ + 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): ContainerTypeRegistrationsRequestBuilderGetQueryParameters { + return new ContainerTypeRegistrationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5cdfa8fd796 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration.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/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..6da2b04a7b6 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/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}/storage/fileStorage/containerTypeRegistrations/$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/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b17df7cf9b6 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2e8112c1fc9 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilder.php new file mode 100644 index 00000000000..4ebc1def63c --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the applicationPermissionGrants property of the microsoft.graph.fileStorageContainerTypeRegistration entity. + * @param string $fileStorageContainerTypeAppPermissionGrantAppId The unique identifier of fileStorageContainerTypeAppPermissionGrant + * @return FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder + */ + public function byFileStorageContainerTypeAppPermissionGrantAppId(string $fileStorageContainerTypeAppPermissionGrantAppId): FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['fileStorageContainerTypeAppPermissionGrant%2DappId'] = $fileStorageContainerTypeAppPermissionGrantAppId; + return new FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ApplicationPermissionGrantsRequestBuilder 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}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * List all app permission grants in a fileStorageContainerTypeRegistration. + * @param ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration|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/filestoragecontainertyperegistration-list-applicationpermissiongrants?view=graph-rest-1.0 Find more info here + */ + public function get(?ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeAppPermissionGrantCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to applicationPermissionGrants for storage + * @param FileStorageContainerTypeAppPermissionGrant $body The request body + * @param ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(FileStorageContainerTypeAppPermissionGrant $body, ?ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeAppPermissionGrant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * List all app permission grants in a fileStorageContainerTypeRegistration. + * @param ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration $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 applicationPermissionGrants for storage + * @param FileStorageContainerTypeAppPermissionGrant $body The request body + * @param ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(FileStorageContainerTypeAppPermissionGrant $body, ?ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration $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 ApplicationPermissionGrantsRequestBuilder + */ + public function withUrl(string $rawUrl): ApplicationPermissionGrantsRequestBuilder { + return new ApplicationPermissionGrantsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6e240fefa3d --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderGetQueryParameters.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 ApplicationPermissionGrantsRequestBuilderGetQueryParameters 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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..03629fd0a50 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ApplicationPermissionGrantsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ApplicationPermissionGrantsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ApplicationPermissionGrantsRequestBuilderGetQueryParameters. + * @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 ApplicationPermissionGrantsRequestBuilderGetQueryParameters + */ + 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): ApplicationPermissionGrantsRequestBuilderGetQueryParameters { + return new ApplicationPermissionGrantsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..151c6353d07 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration.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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..c8af19923e9 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/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}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants/$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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e3b7c8c718c --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6efc084219b --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.php new file mode 100644 index 00000000000..f3ae526d8d7 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder.php @@ -0,0 +1,147 @@ +|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}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}/applicationPermissionGrants/{fileStorageContainerTypeAppPermissionGrant%2DappId}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. + * @param FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration|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/filestoragecontainertyperegistration-delete-applicationpermissiongrants?view=graph-rest-1.0 Find more info here + */ + public function delete(?FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read a specific app permission grant in a fileStorageContainerTypeRegistration. + * @param FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration|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/filestoragecontainertypeapppermissiongrant-get?view=graph-rest-1.0 Find more info here + */ + public function get(?FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeAppPermissionGrant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a fileStorageContainerTypeAppPermissionGrant object. + * @param FileStorageContainerTypeAppPermissionGrant $body The request body + * @param FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration|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/filestoragecontainertypeapppermissiongrant-update?view=graph-rest-1.0 Find more info here + */ + public function patch(FileStorageContainerTypeAppPermissionGrant $body, ?FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeAppPermissionGrant::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a fileStorageContainerTypeAppPermissionGrant object in a fileStorageContainerTypeRegistration. + * @param FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Read a specific app permission grant in a fileStorageContainerTypeRegistration. + * @param FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration $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 fileStorageContainerTypeAppPermissionGrant object. + * @param FileStorageContainerTypeAppPermissionGrant $body The request body + * @param FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(FileStorageContainerTypeAppPermissionGrant $body, ?FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration $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 FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder + */ + public function withUrl(string $rawUrl): FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder { + return new FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..1fe5f3a6012 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration.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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..bfadfea8d1f --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters.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 FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2ad0f9d75ba --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters { + return new FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..90dbe377717 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/ApplicationPermissionGrants/Item/FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration.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/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilder.php new file mode 100644 index 00000000000..f3521d14246 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilder.php @@ -0,0 +1,155 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new FileStorageContainerTypeRegistrationItemRequestBuilder 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}/storage/fileStorage/containerTypeRegistrations/{fileStorageContainerTypeRegistration%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a fileStorageContainerTypeRegistration object. A registration can only be deleted if it has neither containers nor deleted containers + * @param FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration|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/filestorage-delete-containertyperegistrations?view=graph-rest-1.0 Find more info here + */ + public function delete(?FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration $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 fileStorageContainerTypeRegistration object. + * @param FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration|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/filestoragecontainertyperegistration-get?view=graph-rest-1.0 Find more info here + */ + public function get(?FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create or replace a fileStorageContainerTypeRegistration object. This method registers a fileStorageContainerType in the tenant. For standard containers, billing must be valid for the registration to complete successfully. Settings can't be modified during registration. + * @param FileStorageContainerTypeRegistration $body The request body + * @param FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration|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/filestorage-post-containertyperegistrations?view=graph-rest-1.0 Find more info here + */ + public function patch(FileStorageContainerTypeRegistration $body, ?FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeRegistration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a fileStorageContainerTypeRegistration object. A registration can only be deleted if it has neither containers nor deleted containers + * @param FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Read the properties and relationships of a fileStorageContainerTypeRegistration object. + * @param FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration $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 or replace a fileStorageContainerTypeRegistration object. This method registers a fileStorageContainerType in the tenant. For standard containers, billing must be valid for the registration to complete successfully. Settings can't be modified during registration. + * @param FileStorageContainerTypeRegistration $body The request body + * @param FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(FileStorageContainerTypeRegistration $body, ?FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration $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 FileStorageContainerTypeRegistrationItemRequestBuilder + */ + public function withUrl(string $rawUrl): FileStorageContainerTypeRegistrationItemRequestBuilder { + return new FileStorageContainerTypeRegistrationItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..59a9b5d32b5 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration.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/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8c80052d67e --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters.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 FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f24084ea562 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters { + return new FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..8b4ccb16b57 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypeRegistrations/Item/FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration.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/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilder.php new file mode 100644 index 00000000000..2586e3e434e --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. + * @param string $fileStorageContainerTypeId The unique identifier of fileStorageContainerType + * @return FileStorageContainerTypeItemRequestBuilder + */ + public function byFileStorageContainerTypeId(string $fileStorageContainerTypeId): FileStorageContainerTypeItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['fileStorageContainerType%2Did'] = $fileStorageContainerTypeId; + return new FileStorageContainerTypeItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ContainerTypesRequestBuilder 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}/storage/fileStorage/containerTypes{?%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 fileStorageContainerType objects and their properties for the current tenant. + * @param ContainerTypesRequestBuilderGetRequestConfiguration|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/filestorage-list-containertypes?view=graph-rest-1.0 Find more info here + */ + public function get(?ContainerTypesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerTypeCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new fileStorageContainerType in the owning tenant. The number of container types in a tenant is limited. + * @param FileStorageContainerType $body The request body + * @param ContainerTypesRequestBuilderPostRequestConfiguration|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/filestorage-post-containertypes?view=graph-rest-1.0 Find more info here + */ + public function post(FileStorageContainerType $body, ?ContainerTypesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerType::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a list of the fileStorageContainerType objects and their properties for the current tenant. + * @param ContainerTypesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContainerTypesRequestBuilderGetRequestConfiguration $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 a new fileStorageContainerType in the owning tenant. The number of container types in a tenant is limited. + * @param FileStorageContainerType $body The request body + * @param ContainerTypesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(FileStorageContainerType $body, ?ContainerTypesRequestBuilderPostRequestConfiguration $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 ContainerTypesRequestBuilder + */ + public function withUrl(string $rawUrl): ContainerTypesRequestBuilder { + return new ContainerTypesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..61243de7878 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderGetQueryParameters.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 ContainerTypesRequestBuilderGetQueryParameters 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/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1fa3c4b8e32 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ContainerTypesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ContainerTypesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ContainerTypesRequestBuilderGetQueryParameters. + * @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 ContainerTypesRequestBuilderGetQueryParameters + */ + 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): ContainerTypesRequestBuilderGetQueryParameters { + return new ContainerTypesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..6b3ab2234b7 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/ContainerTypesRequestBuilderPostRequestConfiguration.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/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..835e76f9565 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/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}/storage/fileStorage/containerTypes/$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/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b937cb8a7b1 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypes/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..27117f33366 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/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/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.php b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.php new file mode 100644 index 00000000000..b6e6d493169 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilder.php @@ -0,0 +1,147 @@ +|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}/storage/fileStorage/containerTypes/{fileStorageContainerType%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a fileStorageContainerType object from the tenant. A fileStorageContainerType can only be deleted if no registrations are associated with it in any tenant. + * @param FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration|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/filestorage-delete-containertypes?view=graph-rest-1.0 Find more info here + */ + public function delete(?FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get a fileStorageContainerType using its ID. + * @param FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration|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/filestoragecontainertype-get?view=graph-rest-1.0 Find more info here + */ + public function get(?FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerType::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a fileStorageContainerType object. The properties updated are reflected in each registered fileStorageContainerTypeRegistration in a maximum of 24 hours. Settings overridden in a tenant aren't updated. ETag is used for optimistic concurrency control. It must match the value from Create, Get or the previous Update. + * @param FileStorageContainerType $body The request body + * @param FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration|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/filestoragecontainertype-update?view=graph-rest-1.0 Find more info here + */ + public function patch(FileStorageContainerType $body, ?FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [FileStorageContainerType::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a fileStorageContainerType object from the tenant. A fileStorageContainerType can only be deleted if no registrations are associated with it in any tenant. + * @param FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get a fileStorageContainerType using its ID. + * @param FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration $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 fileStorageContainerType object. The properties updated are reflected in each registered fileStorageContainerTypeRegistration in a maximum of 24 hours. Settings overridden in a tenant aren't updated. ETag is used for optimistic concurrency control. It must match the value from Create, Get or the previous Update. + * @param FileStorageContainerType $body The request body + * @param FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(FileStorageContainerType $body, ?FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration $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 FileStorageContainerTypeItemRequestBuilder + */ + public function withUrl(string $rawUrl): FileStorageContainerTypeItemRequestBuilder { + return new FileStorageContainerTypeItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..9a7e73f10b5 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration.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/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3540ace071d --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderGetQueryParameters.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 FileStorageContainerTypeItemRequestBuilderGetQueryParameters 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/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..514f490da80 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param FileStorageContainerTypeItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?FileStorageContainerTypeItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new FileStorageContainerTypeItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return FileStorageContainerTypeItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): FileStorageContainerTypeItemRequestBuilderGetQueryParameters { + return new FileStorageContainerTypeItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..e1708c43972 --- /dev/null +++ b/src/Generated/Storage/FileStorage/ContainerTypes/Item/FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration.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/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.php index c294bb31eaa..75f5cb0423c 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.php @@ -133,7 +133,7 @@ public function delete(?FileStorageContainerItemRequestBuilderDeleteRequestConfi } /** - * Get containers from storage + * The collection of active fileStorageContainer resources. * @param FileStorageContainerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -180,7 +180,7 @@ public function toDeleteRequestInformation(?FileStorageContainerItemRequestBuild } /** - * Get containers from storage + * The collection of active fileStorageContainer resources. * @param FileStorageContainerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilderGetQueryParameters.php index 806da93a44f..546bc0d2dfb 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get containers from storage + * The collection of active fileStorageContainer resources. */ class FileStorageContainerItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.php b/src/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.php index 7d83e56b8b0..cb7e4f43065 100644 --- a/src/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get deletedContainers from storage + * The collection of deleted fileStorageContainer resources. * @param DeletedContainersRequestBuilderGetRequestConfiguration|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(FileStorageContainer $body, ?DeletedContainersRequestBuilde } /** - * Get deletedContainers from storage + * The collection of deleted fileStorageContainer resources. * @param DeletedContainersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilderGetQueryParameters.php index b149eaa5d68..c705835de41 100644 --- a/src/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/FileStorage/DeletedContainers/DeletedContainersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get deletedContainers from storage + * The collection of deleted fileStorageContainer resources. */ class DeletedContainersRequestBuilderGetQueryParameters { diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.php index 69492db8332..c58130aaafa 100644 --- a/src/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.php @@ -133,7 +133,7 @@ public function delete(?FileStorageContainerItemRequestBuilderDeleteRequestConfi } /** - * Get deletedContainers from storage + * The collection of deleted fileStorageContainer resources. * @param FileStorageContainerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -180,7 +180,7 @@ public function toDeleteRequestInformation(?FileStorageContainerItemRequestBuild } /** - * Get deletedContainers from storage + * The collection of deleted fileStorageContainer resources. * @param FileStorageContainerItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilderGetQueryParameters.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilderGetQueryParameters.php index 74fbe62a8db..fc722f4d270 100644 --- a/src/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get deletedContainers from storage + * The collection of deleted fileStorageContainer resources. */ class FileStorageContainerItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Storage/FileStorage/FileStorageRequestBuilder.php b/src/Generated/Storage/FileStorage/FileStorageRequestBuilder.php index 1e60441ec24..f62ecb296be 100644 --- a/src/Generated/Storage/FileStorage/FileStorageRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/FileStorageRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Generated\Models\FileStorage; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Storage\FileStorage\Containers\ContainersRequestBuilder; +use Microsoft\Graph\Generated\Storage\FileStorage\ContainerTypeRegistrations\ContainerTypeRegistrationsRequestBuilder; +use Microsoft\Graph\Generated\Storage\FileStorage\ContainerTypes\ContainerTypesRequestBuilder; use Microsoft\Graph\Generated\Storage\FileStorage\DeletedContainers\DeletedContainersRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -25,6 +27,20 @@ public function containers(): ContainersRequestBuilder { return new ContainersRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the containerTypeRegistrations property of the microsoft.graph.fileStorage entity. + */ + public function containerTypeRegistrations(): ContainerTypeRegistrationsRequestBuilder { + return new ContainerTypeRegistrationsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the containerTypes property of the microsoft.graph.fileStorage entity. + */ + public function containerTypes(): ContainerTypesRequestBuilder { + return new ContainerTypesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the deletedContainers property of the microsoft.graph.fileStorage entity. */ diff --git a/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.php new file mode 100644 index 00000000000..656094743d4 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + * @param string $adhocCallId The unique identifier of adhocCall + * @return AdhocCallItemRequestBuilder + */ + public function byAdhocCallId(string $adhocCallId): AdhocCallItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['adhocCall%2Did'] = $adhocCallId; + return new AdhocCallItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new AdhocCallsRequestBuilder 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}/adhocCalls{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Ad hoc calls associated with the user. Read-only. Nullable. + * @param AdhocCallsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AdhocCallsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdhocCallCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to adhocCalls for users + * @param AdhocCall $body The request body + * @param AdhocCallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(AdhocCall $body, ?AdhocCallsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdhocCall::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Ad hoc calls associated with the user. Read-only. Nullable. + * @param AdhocCallsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AdhocCallsRequestBuilderGetRequestConfiguration $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 adhocCalls for users + * @param AdhocCall $body The request body + * @param AdhocCallsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(AdhocCall $body, ?AdhocCallsRequestBuilderPostRequestConfiguration $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 AdhocCallsRequestBuilder + */ + public function withUrl(string $rawUrl): AdhocCallsRequestBuilder { + return new AdhocCallsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..afec9dd2116 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilderGetQueryParameters.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 AdhocCallsRequestBuilderGetQueryParameters 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/AdhocCalls/AdhocCallsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3cce1b06e7d --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AdhocCallsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AdhocCallsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AdhocCallsRequestBuilderGetQueryParameters. + * @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 AdhocCallsRequestBuilderGetQueryParameters + */ + 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): AdhocCallsRequestBuilderGetQueryParameters { + return new AdhocCallsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0f2aec4c178 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/AdhocCallsRequestBuilderPostRequestConfiguration.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/AdhocCalls/Count/CountRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..aeaeb5fb7e6 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/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}/adhocCalls/$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/AdhocCalls/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f71d849b2d1 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..18e721848f1 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/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/AdhocCalls/Item/AdhocCallItemRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilder.php new file mode 100644 index 00000000000..b2b5841482f --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilder.php @@ -0,0 +1,160 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the transcripts property of the microsoft.graph.adhocCall entity. + */ + public function transcripts(): TranscriptsRequestBuilder { + return new TranscriptsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new AdhocCallItemRequestBuilder 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}/adhocCalls/{adhocCall%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property adhocCalls for users + * @param AdhocCallItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?AdhocCallItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Ad hoc calls associated with the user. Read-only. Nullable. + * @param AdhocCallItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?AdhocCallItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdhocCall::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property adhocCalls in users + * @param AdhocCall $body The request body + * @param AdhocCallItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(AdhocCall $body, ?AdhocCallItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [AdhocCall::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property adhocCalls for users + * @param AdhocCallItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?AdhocCallItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Ad hoc calls associated with the user. Read-only. Nullable. + * @param AdhocCallItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?AdhocCallItemRequestBuilderGetRequestConfiguration $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 adhocCalls in users + * @param AdhocCall $body The request body + * @param AdhocCallItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(AdhocCall $body, ?AdhocCallItemRequestBuilderPatchRequestConfiguration $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 AdhocCallItemRequestBuilder + */ + public function withUrl(string $rawUrl): AdhocCallItemRequestBuilder { + return new AdhocCallItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c7db5982dff --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderDeleteRequestConfiguration.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/AdhocCalls/Item/AdhocCallItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4ae53f8d252 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderGetQueryParameters.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 AdhocCallItemRequestBuilderGetQueryParameters 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/AdhocCalls/Item/AdhocCallItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0a120f6d9a4 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param AdhocCallItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?AdhocCallItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new AdhocCallItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return AdhocCallItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): AdhocCallItemRequestBuilderGetQueryParameters { + return new AdhocCallItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..d8533867691 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/AdhocCallItemRequestBuilderPatchRequestConfiguration.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/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..62f7709c86d --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/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}/adhocCalls/{adhocCall%2Did}/recordings/$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/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..29644c8db4e --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3cb8437cf7c --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/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/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaGetResponse.php new file mode 100644 index 00000000000..3ad92d46da8 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/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([CallRecording::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, CallRecording::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/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.php new file mode 100644 index 00000000000..4c0b0910f17 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilder.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}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function delta + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + 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); + } + + /** + * Invoke function delta + * @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/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9a02df45c9b --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/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/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Delta/DeltaRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3b146ed50fa --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/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/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.php new file mode 100644 index 00000000000..e3f5672aaf7 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilder.php @@ -0,0 +1,153 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CallRecordingItemRequestBuilder 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}/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property recordings for users + * @param CallRecordingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CallRecordingItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param CallRecordingItemRequestBuilderGetRequestConfiguration|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/callrecording-get?view=graph-rest-1.0 Find more info here + */ + public function get(?CallRecordingItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property recordings in users + * @param CallRecording $body The request body + * @param CallRecordingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(CallRecording $body, ?CallRecordingItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property recordings for users + * @param CallRecordingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CallRecordingItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CallRecordingItemRequestBuilderGetRequestConfiguration $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 recordings in users + * @param CallRecording $body The request body + * @param CallRecordingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(CallRecording $body, ?CallRecordingItemRequestBuilderPatchRequestConfiguration $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 CallRecordingItemRequestBuilder + */ + public function withUrl(string $rawUrl): CallRecordingItemRequestBuilder { + return new CallRecordingItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..fd0340dd60f --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderDeleteRequestConfiguration.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/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..58c88fd75fd --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.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 CallRecordingItemRequestBuilderGetQueryParameters 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/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3fa471ab0c7 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CallRecordingItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CallRecordingItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CallRecordingItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CallRecordingItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CallRecordingItemRequestBuilderGetQueryParameters { + return new CallRecordingItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..f89d8fadae4 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/CallRecordingItemRequestBuilderPatchRequestConfiguration.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/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.php new file mode 100644 index 00000000000..bf2643a5252 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilder.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}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/recordings/{callRecording%2Did}/content'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The content of the recording. Read-only. + * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param ContentRequestBuilderGetRequestConfiguration|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/callrecording-get?view=graph-rest-1.0 Find more info here + */ + public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * The content of the recording. Read-only. + * @param StreamInterface $body Binary request body + * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The content of the recording. Read-only. + * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + return $requestInfo; + } + + /** + * The content of the recording. Read-only. + * @param StreamInterface $body Binary request body + * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setStreamContent($body, "application/octet-stream"); + 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 ContentRequestBuilder + */ + public function withUrl(string $rawUrl): ContentRequestBuilder { + return new ContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..949377532fd --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.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/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..38a36b7a4b3 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderGetRequestConfiguration.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/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..9ce08d88605 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/Item/Content/ContentRequestBuilderPutRequestConfiguration.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/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.php new file mode 100644 index 00000000000..5db918523de --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilder.php @@ -0,0 +1,141 @@ +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 recordings property of the microsoft.graph.adhocCall entity. + * @param string $callRecordingId The unique identifier of callRecording + * @return CallRecordingItemRequestBuilder + */ + public function byCallRecordingId(string $callRecordingId): CallRecordingItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['callRecording%2Did'] = $callRecordingId; + return new CallRecordingItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RecordingsRequestBuilder 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}/adhocCalls/{adhocCall%2Did}/recordings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RecordingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecordingCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to recordings for users + * @param CallRecording $body The request body + * @param RecordingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CallRecording $body, ?RecordingsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallRecording::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a callRecording object associated with a scheduled online meeting and an ad hoc call. This API supports the retrieval of call recordings from all meeting types except live events. For a recording, this API returns the metadata of the single recording associated with the online meeting or an ad hoc call. For the content of a recording, this API returns the stream of bytes associated with the recording. + * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RecordingsRequestBuilderGetRequestConfiguration $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 recordings for users + * @param CallRecording $body The request body + * @param RecordingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CallRecording $body, ?RecordingsRequestBuilderPostRequestConfiguration $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 RecordingsRequestBuilder + */ + public function withUrl(string $rawUrl): RecordingsRequestBuilder { + return new RecordingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..483f8fda196 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.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 RecordingsRequestBuilderGetQueryParameters 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/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8006d86e0eb --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RecordingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RecordingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RecordingsRequestBuilderGetQueryParameters. + * @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 RecordingsRequestBuilderGetQueryParameters + */ + 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): RecordingsRequestBuilderGetQueryParameters { + return new RecordingsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..f20673b2ed8 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Recordings/RecordingsRequestBuilderPostRequestConfiguration.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/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..d889b91cda0 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/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}/adhocCalls/{adhocCall%2Did}/transcripts/$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/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3f566a98f70 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9f685dfa09a --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/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/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaGetResponse.php new file mode 100644 index 00000000000..89b30cf103e --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/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([CallTranscript::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, CallTranscript::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/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.php new file mode 100644 index 00000000000..e9763018f20 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilder.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}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function delta + * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + 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); + } + + /** + * Invoke function delta + * @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/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6b1e0aa2017 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/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/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Delta/DeltaRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e6f5bdaacb0 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/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/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php new file mode 100644 index 00000000000..b804c7edcf7 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php @@ -0,0 +1,161 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the media for the user entity. + */ + public function metadataContent(): MetadataContentRequestBuilder { + return new MetadataContentRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CallTranscriptItemRequestBuilder 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}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property transcripts for users + * @param CallTranscriptItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CallTranscriptItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|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/calltranscript-get?view=graph-rest-1.0 Find more info here + */ + public function get(?CallTranscriptItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscript::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property transcripts in users + * @param CallTranscript $body The request body + * @param CallTranscriptItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(CallTranscript $body, ?CallTranscriptItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscript::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property transcripts for users + * @param CallTranscriptItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CallTranscriptItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CallTranscriptItemRequestBuilderGetRequestConfiguration $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 transcripts in users + * @param CallTranscript $body The request body + * @param CallTranscriptItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(CallTranscript $body, ?CallTranscriptItemRequestBuilderPatchRequestConfiguration $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 CallTranscriptItemRequestBuilder + */ + public function withUrl(string $rawUrl): CallTranscriptItemRequestBuilder { + return new CallTranscriptItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..234d36c2ed8 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderDeleteRequestConfiguration.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/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..187535c59e6 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.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 CallTranscriptItemRequestBuilderGetQueryParameters 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/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b9ad84d3043 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CallTranscriptItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CallTranscriptItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CallTranscriptItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CallTranscriptItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CallTranscriptItemRequestBuilderGetQueryParameters { + return new CallTranscriptItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..d0d379d6acc --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/CallTranscriptItemRequestBuilderPatchRequestConfiguration.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/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.php new file mode 100644 index 00000000000..db76d839235 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilder.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}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/content'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The content of the transcript. Read-only. + * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * @param ContentRequestBuilderGetRequestConfiguration|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/calltranscript-get?view=graph-rest-1.0 Find more info here + */ + public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * The content of the transcript. Read-only. + * @param StreamInterface $body Binary request body + * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscript::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The content of the transcript. Read-only. + * @param ContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + return $requestInfo; + } + + /** + * The content of the transcript. Read-only. + * @param StreamInterface $body Binary request body + * @param ContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(StreamInterface $body, ?ContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setStreamContent($body, "application/octet-stream"); + 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 ContentRequestBuilder + */ + public function withUrl(string $rawUrl): ContentRequestBuilder { + return new ContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c678acbc47c --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderDeleteRequestConfiguration.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/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2551922e54a --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderGetRequestConfiguration.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/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..ced6e23b283 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/Content/ContentRequestBuilderPutRequestConfiguration.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/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php new file mode 100644 index 00000000000..be8d28248bd --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.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}/users/{user%2Did}/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param MetadataContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?MetadataContentRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param MetadataContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MetadataContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param StreamInterface $body Binary request body + * @param MetadataContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(StreamInterface $body, ?MetadataContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param MetadataContentRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?MetadataContentRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param MetadataContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MetadataContentRequestBuilderGetRequestConfiguration $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); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/octet-stream, application/json"); + return $requestInfo; + } + + /** + * The time-aligned metadata of the utterances in the transcript. Read-only. + * @param StreamInterface $body Binary request body + * @param MetadataContentRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(StreamInterface $body, ?MetadataContentRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setStreamContent($body, "application/octet-stream"); + 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 MetadataContentRequestBuilder + */ + public function withUrl(string $rawUrl): MetadataContentRequestBuilder { + return new MetadataContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..74e24fc75fd --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderDeleteRequestConfiguration.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/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..507331b4dbd --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderGetRequestConfiguration.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/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..e4516d58549 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilderPutRequestConfiguration.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/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.php new file mode 100644 index 00000000000..8cc0f84dacf --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilder.php @@ -0,0 +1,141 @@ +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 transcripts property of the microsoft.graph.adhocCall entity. + * @param string $callTranscriptId The unique identifier of callTranscript + * @return CallTranscriptItemRequestBuilder + */ + public function byCallTranscriptId(string $callTranscriptId): CallTranscriptItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['callTranscript%2Did'] = $callTranscriptId; + return new CallTranscriptItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new TranscriptsRequestBuilder 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}/adhocCalls/{adhocCall%2Did}/transcripts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TranscriptsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscriptCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to transcripts for users + * @param CallTranscript $body The request body + * @param TranscriptsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CallTranscript $body, ?TranscriptsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallTranscript::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Retrieving the transcript returns the metadata of the single transcript associated with an online meeting or an ad hoc call. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TranscriptsRequestBuilderGetRequestConfiguration $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 transcripts for users + * @param CallTranscript $body The request body + * @param TranscriptsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CallTranscript $body, ?TranscriptsRequestBuilderPostRequestConfiguration $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 TranscriptsRequestBuilder + */ + public function withUrl(string $rawUrl): TranscriptsRequestBuilder { + return new TranscriptsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..00381141639 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.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 TranscriptsRequestBuilderGetQueryParameters 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/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..41fed342881 --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TranscriptsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TranscriptsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TranscriptsRequestBuilderGetQueryParameters. + * @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 TranscriptsRequestBuilderGetQueryParameters + */ + 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): TranscriptsRequestBuilderGetQueryParameters { + return new TranscriptsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..c507288518c --- /dev/null +++ b/src/Generated/Users/Item/AdhocCalls/Item/Transcripts/TranscriptsRequestBuilderPostRequestConfiguration.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/CloudPCs/Item/CloudPCItemRequestBuilder.php b/src/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.php index 11c48715efa..ce2c12cbdab 100644 --- a/src/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.php +++ b/src/Generated/Users/Item/CloudPCs/Item/CloudPCItemRequestBuilder.php @@ -9,8 +9,10 @@ use Microsoft\Graph\Generated\Users\Item\CloudPCs\Item\EndGracePeriod\EndGracePeriodRequestBuilder; use Microsoft\Graph\Generated\Users\Item\CloudPCs\Item\Reboot\RebootRequestBuilder; use Microsoft\Graph\Generated\Users\Item\CloudPCs\Item\Rename\RenameRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\CloudPCs\Item\Reprovision\ReprovisionRequestBuilder; use Microsoft\Graph\Generated\Users\Item\CloudPCs\Item\Resize\ResizeRequestBuilder; use Microsoft\Graph\Generated\Users\Item\CloudPCs\Item\Restore\RestoreRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\CloudPCs\Item\RetrieveCloudPcLaunchDetail\RetrieveCloudPcLaunchDetailRequestBuilder; use Microsoft\Graph\Generated\Users\Item\CloudPCs\Item\Troubleshoot\TroubleshootRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -43,6 +45,13 @@ public function rename(): RenameRequestBuilder { return new RenameRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the reprovision method. + */ + public function reprovision(): ReprovisionRequestBuilder { + return new ReprovisionRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the resize method. */ @@ -57,6 +66,13 @@ public function restore(): RestoreRequestBuilder { return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the retrieveCloudPcLaunchDetail method. + */ + public function retrieveCloudPcLaunchDetail(): RetrieveCloudPcLaunchDetailRequestBuilder { + return new RetrieveCloudPcLaunchDetailRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the troubleshoot method. */ diff --git a/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.php b/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.php new file mode 100644 index 00000000000..0e6bc16bb49 --- /dev/null +++ b/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionPostRequestBody.php @@ -0,0 +1,138 @@ +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 ReprovisionPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ReprovisionPostRequestBody { + return new ReprovisionPostRequestBody(); + } + + /** + * 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 [ + 'osVersion' => fn(ParseNode $n) => $o->setOsVersion($n->getEnumValue(CloudPcOperatingSystem::class)), + 'userAccountType' => fn(ParseNode $n) => $o->setUserAccountType($n->getEnumValue(CloudPcUserAccountType::class)), + ]; + } + + /** + * Gets the osVersion property value. The osVersion property + * @return CloudPcOperatingSystem|null + */ + public function getOsVersion(): ?CloudPcOperatingSystem { + $val = $this->getBackingStore()->get('osVersion'); + if (is_null($val) || $val instanceof CloudPcOperatingSystem) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'osVersion'"); + } + + /** + * Gets the userAccountType property value. The userAccountType property + * @return CloudPcUserAccountType|null + */ + public function getUserAccountType(): ?CloudPcUserAccountType { + $val = $this->getBackingStore()->get('userAccountType'); + if (is_null($val) || $val instanceof CloudPcUserAccountType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userAccountType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('osVersion', $this->getOsVersion()); + $writer->writeEnumValue('userAccountType', $this->getUserAccountType()); + $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 osVersion property value. The osVersion property + * @param CloudPcOperatingSystem|null $value Value to set for the osVersion property. + */ + public function setOsVersion(?CloudPcOperatingSystem $value): void { + $this->getBackingStore()->set('osVersion', $value); + } + + /** + * Sets the userAccountType property value. The userAccountType property + * @param CloudPcUserAccountType|null $value Value to set for the userAccountType property. + */ + public function setUserAccountType(?CloudPcUserAccountType $value): void { + $this->getBackingStore()->set('userAccountType', $value); + } + +} diff --git a/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.php b/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.php new file mode 100644 index 00000000000..daa5baa60a3 --- /dev/null +++ b/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilder.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}/cloudPCs/{cloudPC%2Did}/reprovision'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Reprovision a specific Cloud PC. + * @param ReprovisionPostRequestBody $body The request body + * @param ReprovisionRequestBuilderPostRequestConfiguration|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/cloudpc-reprovision?view=graph-rest-1.0 Find more info here + */ + public function post(ReprovisionPostRequestBody $body, ?ReprovisionRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Reprovision a specific Cloud PC. + * @param ReprovisionPostRequestBody $body The request body + * @param ReprovisionRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ReprovisionPostRequestBody $body, ?ReprovisionRequestBuilderPostRequestConfiguration $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 ReprovisionRequestBuilder + */ + public function withUrl(string $rawUrl): ReprovisionRequestBuilder { + return new ReprovisionRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..b37c538e252 --- /dev/null +++ b/src/Generated/Users/Item/CloudPCs/Item/Reprovision/ReprovisionRequestBuilderPostRequestConfiguration.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/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.php b/src/Generated/Users/Item/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.php new file mode 100644 index 00000000000..a4a944f1f40 --- /dev/null +++ b/src/Generated/Users/Item/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilder.php @@ -0,0 +1,75 @@ +|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}/cloudPCs/{cloudPC%2Did}/retrieveCloudPcLaunchDetail()'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + * @param RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration|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/cloudpc-retrievecloudpclaunchdetail?view=graph-rest-1.0 Find more info here + */ + public function get(?RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CloudPcLaunchDetail::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get the cloudPcLaunchDetail for a specific cloudPC that belongs to the current signed-in user. + * @param RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration $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); + $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 RetrieveCloudPcLaunchDetailRequestBuilder + */ + public function withUrl(string $rawUrl): RetrieveCloudPcLaunchDetailRequestBuilder { + return new RetrieveCloudPcLaunchDetailRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ac437cdafc9 --- /dev/null +++ b/src/Generated/Users/Item/CloudPCs/Item/RetrieveCloudPcLaunchDetail/RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration.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/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php index b009ee55d79..65fabb134df 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 0cf2481ea29..4489079b35b 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php index a4ee268a792..492964da5bf 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index 0f27c226cf2..7f25331d8ad 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php index 185eed81458..426869647fa 100644 --- a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -45,7 +45,7 @@ public function get(?DeltaRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. * @param DeltaRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php index ad11df20567..113b6f84b1d 100644 --- a/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Delta/DeltaRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. + * Get a set of messages added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). It allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. */ class DeltaRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.php b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.php new file mode 100644 index 00000000000..a3b07d27e9e --- /dev/null +++ b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilder.php @@ -0,0 +1,144 @@ +|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}/onPremisesSyncBehavior{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property onPremisesSyncBehavior for users + * @param OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get onPremisesSyncBehavior from users + * @param OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [OnPremisesSyncBehavior::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property onPremisesSyncBehavior in users + * @param OnPremisesSyncBehavior $body The request body + * @param OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(OnPremisesSyncBehavior $body, ?OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [OnPremisesSyncBehavior::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property onPremisesSyncBehavior for users + * @param OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get onPremisesSyncBehavior from users + * @param OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration $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 onPremisesSyncBehavior in users + * @param OnPremisesSyncBehavior $body The request body + * @param OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(OnPremisesSyncBehavior $body, ?OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration $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 OnPremisesSyncBehaviorRequestBuilder + */ + public function withUrl(string $rawUrl): OnPremisesSyncBehaviorRequestBuilder { + return new OnPremisesSyncBehaviorRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..e0986e15f97 --- /dev/null +++ b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration.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/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f91e77299ff --- /dev/null +++ b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderGetQueryParameters.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 OnPremisesSyncBehaviorRequestBuilderGetQueryParameters 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/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6a7ba3cb2b1 --- /dev/null +++ b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param OnPremisesSyncBehaviorRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?OnPremisesSyncBehaviorRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new OnPremisesSyncBehaviorRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return OnPremisesSyncBehaviorRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): OnPremisesSyncBehaviorRequestBuilderGetQueryParameters { + return new OnPremisesSyncBehaviorRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..6e6381209d5 --- /dev/null +++ b/src/Generated/Users/Item/OnPremisesSyncBehavior/OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration.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/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.php b/src/Generated/Users/Item/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.php new file mode 100644 index 00000000000..50566fcf19d --- /dev/null +++ b/src/Generated/Users/Item/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilder.php @@ -0,0 +1,74 @@ +|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}/presence/clearAutomaticLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + * @param ClearAutomaticLocationRequestBuilderPostRequestConfiguration|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-clearautomaticlocation?view=graph-rest-1.0 Find more info here + */ + public function post(?ClearAutomaticLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers. + * @param ClearAutomaticLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?ClearAutomaticLocationRequestBuilderPostRequestConfiguration $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"); + 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 ClearAutomaticLocationRequestBuilder + */ + public function withUrl(string $rawUrl): ClearAutomaticLocationRequestBuilder { + return new ClearAutomaticLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..35a04487878 --- /dev/null +++ b/src/Generated/Users/Item/Presence/ClearAutomaticLocation/ClearAutomaticLocationRequestBuilderPostRequestConfiguration.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/Presence/ClearLocation/ClearLocationRequestBuilder.php b/src/Generated/Users/Item/Presence/ClearLocation/ClearLocationRequestBuilder.php new file mode 100644 index 00000000000..f9374b7cbca --- /dev/null +++ b/src/Generated/Users/Item/Presence/ClearLocation/ClearLocationRequestBuilder.php @@ -0,0 +1,74 @@ +|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}/presence/clearLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Clear the work location signals for a user, including both the manual and automatic layers for the current date. + * @param ClearLocationRequestBuilderPostRequestConfiguration|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-clearlocation?view=graph-rest-1.0 Find more info here + */ + public function post(?ClearLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Clear the work location signals for a user, including both the manual and automatic layers for the current date. + * @param ClearLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(?ClearLocationRequestBuilderPostRequestConfiguration $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"); + 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 ClearLocationRequestBuilder + */ + public function withUrl(string $rawUrl): ClearLocationRequestBuilder { + return new ClearLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Presence/ClearLocation/ClearLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Presence/ClearLocation/ClearLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..2d775498cf3 --- /dev/null +++ b/src/Generated/Users/Item/Presence/ClearLocation/ClearLocationRequestBuilderPostRequestConfiguration.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/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index d964ee26acc..c0cb4dc0a4e 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -6,8 +6,12 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\Presence; +use Microsoft\Graph\Generated\Users\Item\Presence\ClearAutomaticLocation\ClearAutomaticLocationRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Presence\ClearLocation\ClearLocationRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Presence\ClearPresence\ClearPresenceRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Presence\ClearUserPreferredPresence\ClearUserPreferredPresenceRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Presence\SetAutomaticLocation\SetAutomaticLocationRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Presence\SetManualLocation\SetManualLocationRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Presence\SetPresence\SetPresenceRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Presence\SetStatusMessage\SetStatusMessageRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Presence\SetUserPreferredPresence\SetUserPreferredPresenceRequestBuilder; @@ -21,6 +25,20 @@ */ class PresenceRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the clearAutomaticLocation method. + */ + public function clearAutomaticLocation(): ClearAutomaticLocationRequestBuilder { + return new ClearAutomaticLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the clearLocation method. + */ + public function clearLocation(): ClearLocationRequestBuilder { + return new ClearLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the clearPresence method. */ @@ -35,6 +53,20 @@ public function clearUserPreferredPresence(): ClearUserPreferredPresenceRequestB return new ClearUserPreferredPresenceRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the setAutomaticLocation method. + */ + public function setAutomaticLocation(): SetAutomaticLocationRequestBuilder { + return new SetAutomaticLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the setManualLocation method. + */ + public function setManualLocation(): SetManualLocationRequestBuilder { + return new SetManualLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the setPresence method. */ diff --git a/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.php b/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.php new file mode 100644 index 00000000000..cf521701161 --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationPostRequestBody.php @@ -0,0 +1,137 @@ +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 SetAutomaticLocationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SetAutomaticLocationPostRequestBody { + return new SetAutomaticLocationPostRequestBody(); + } + + /** + * 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 [ + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]; + } + + /** + * Gets the placeId property value. The placeId property + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + $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 placeId property value. The placeId property + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php b/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.php new file mode 100644 index 00000000000..64d80719069 --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilder.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}/presence/setAutomaticLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + * @param SetAutomaticLocationPostRequestBody $body The request body + * @param SetAutomaticLocationRequestBuilderPostRequestConfiguration|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-setautomaticlocation?view=graph-rest-1.0 Find more info here + */ + public function post(SetAutomaticLocationPostRequestBody $body, ?SetAutomaticLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. + * @param SetAutomaticLocationPostRequestBody $body The request body + * @param SetAutomaticLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SetAutomaticLocationPostRequestBody $body, ?SetAutomaticLocationRequestBuilderPostRequestConfiguration $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 SetAutomaticLocationRequestBuilder + */ + public function withUrl(string $rawUrl): SetAutomaticLocationRequestBuilder { + return new SetAutomaticLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..36732d70d9c --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetAutomaticLocation/SetAutomaticLocationRequestBuilderPostRequestConfiguration.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/Presence/SetManualLocation/SetManualLocationPostRequestBody.php b/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationPostRequestBody.php new file mode 100644 index 00000000000..4c15884435b --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationPostRequestBody.php @@ -0,0 +1,137 @@ +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 SetManualLocationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SetManualLocationPostRequestBody { + return new SetManualLocationPostRequestBody(); + } + + /** + * 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 [ + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]; + } + + /** + * Gets the placeId property value. The placeId property + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + $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 placeId property value. The placeId property + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.php b/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.php new file mode 100644 index 00000000000..9fd387df89a --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilder.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}/presence/setManualLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + * @param SetManualLocationPostRequestBody $body The request body + * @param SetManualLocationRequestBuilderPostRequestConfiguration|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-setmanuallocation?view=graph-rest-1.0 Find more info here + */ + public function post(SetManualLocationPostRequestBody $body, ?SetManualLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. + * @param SetManualLocationPostRequestBody $body The request body + * @param SetManualLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SetManualLocationPostRequestBody $body, ?SetManualLocationRequestBuilderPostRequestConfiguration $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 SetManualLocationRequestBuilder + */ + public function withUrl(string $rawUrl): SetManualLocationRequestBuilder { + return new SetManualLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5a2064f46d7 --- /dev/null +++ b/src/Generated/Users/Item/Presence/SetManualLocation/SetManualLocationRequestBuilderPostRequestConfiguration.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/Settings/SettingsRequestBuilder.php b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php index 972377da7b4..cb478e30ce7 100644 --- a/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/SettingsRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Users\Item\Settings\ShiftPreferences\ShiftPreferencesRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Settings\Storage\StorageRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Settings\Windows\WindowsRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Settings\WorkHoursAndLocations\WorkHoursAndLocationsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -48,6 +49,13 @@ public function windows(): WindowsRequestBuilder { return new WindowsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. + */ + public function workHoursAndLocations(): WorkHoursAndLocationsRequestBuilder { + return new WorkHoursAndLocationsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SettingsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. diff --git a/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.php b/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.php index 4f7dd15c514..fb9d2fa8767 100644 --- a/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?WindowsSettingItemRequestBuilderDeleteRequestConfigurati } /** - * Get windows from users + * The Windows settings of the user stored in the cloud. * @param WindowsSettingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?WindowsSettingItemRequestBuilderDele } /** - * Get windows from users + * The Windows settings of the user stored in the cloud. * @param WindowsSettingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilderGetQueryParameters.php index 6f9a6de5644..e5052761982 100644 --- a/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get windows from users + * The Windows settings of the user stored in the cloud. */ class WindowsSettingItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Settings/Windows/WindowsRequestBuilder.php b/src/Generated/Users/Item/Settings/Windows/WindowsRequestBuilder.php index 6665fc57477..ab2af2c4705 100644 --- a/src/Generated/Users/Item/Settings/Windows/WindowsRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/Windows/WindowsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get windows from users + * The Windows settings of the user stored in the cloud. * @param WindowsRequestBuilderGetRequestConfiguration|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(WindowsSetting $body, ?WindowsRequestBuilderPostRequestConf } /** - * Get windows from users + * The Windows settings of the user stored in the cloud. * @param WindowsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Settings/Windows/WindowsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/Windows/WindowsRequestBuilderGetQueryParameters.php index f85f5e97ca4..414917e8d3e 100644 --- a/src/Generated/Users/Item/Settings/Windows/WindowsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Settings/Windows/WindowsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get windows from users + * The Windows settings of the user stored in the cloud. */ class WindowsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..ac36c323ba0 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/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}/settings/workHoursAndLocations/occurrences/$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/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..4a86fc1980e --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..31b1204c1d0 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/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/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.php new file mode 100644 index 00000000000..66810516faa --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilder.php @@ -0,0 +1,144 @@ +|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}/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property occurrences for users + * @param WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Collection of work plan occurrences. + * @param WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanOccurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property occurrences in users + * @param WorkPlanOccurrence $body The request body + * @param WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(WorkPlanOccurrence $body, ?WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanOccurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property occurrences for users + * @param WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Collection of work plan occurrences. + * @param WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration $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 occurrences in users + * @param WorkPlanOccurrence $body The request body + * @param WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(WorkPlanOccurrence $body, ?WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + 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 WorkPlanOccurrenceItemRequestBuilder + */ + public function withUrl(string $rawUrl): WorkPlanOccurrenceItemRequestBuilder { + return new WorkPlanOccurrenceItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..087776aa7ad --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration.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/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b05f247379e --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetQueryParameters.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 WorkPlanOccurrenceItemRequestBuilderGetQueryParameters 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/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..25033687c0b --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WorkPlanOccurrenceItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WorkPlanOccurrenceItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new WorkPlanOccurrenceItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return WorkPlanOccurrenceItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkPlanOccurrenceItemRequestBuilderGetQueryParameters { + return new WorkPlanOccurrenceItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..d8aa4501c12 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/Item/WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration.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/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.php new file mode 100644 index 00000000000..4a3244c6b17 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the setCurrentLocation method. + */ + public function setCurrentLocation(): SetCurrentLocationRequestBuilder { + return new SetCurrentLocationRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + * @param string $workPlanOccurrenceId The unique identifier of workPlanOccurrence + * @return WorkPlanOccurrenceItemRequestBuilder + */ + public function byWorkPlanOccurrenceId(string $workPlanOccurrenceId): WorkPlanOccurrenceItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['workPlanOccurrence%2Did'] = $workPlanOccurrenceId; + return new WorkPlanOccurrenceItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new OccurrencesRequestBuilder 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}/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Collection of work plan occurrences. + * @param OccurrencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?OccurrencesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanOccurrenceCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to occurrences for users + * @param WorkPlanOccurrence $body The request body + * @param OccurrencesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(WorkPlanOccurrence $body, ?OccurrencesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanOccurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Collection of work plan occurrences. + * @param OccurrencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?OccurrencesRequestBuilderGetRequestConfiguration $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 occurrences for users + * @param WorkPlanOccurrence $body The request body + * @param OccurrencesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(WorkPlanOccurrence $body, ?OccurrencesRequestBuilderPostRequestConfiguration $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 OccurrencesRequestBuilder + */ + public function withUrl(string $rawUrl): OccurrencesRequestBuilder { + return new OccurrencesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ca3756602e0 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetQueryParameters.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 OccurrencesRequestBuilderGetQueryParameters 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/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a08512c4ae1 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param OccurrencesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?OccurrencesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new OccurrencesRequestBuilderGetQueryParameters. + * @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 OccurrencesRequestBuilderGetQueryParameters + */ + 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): OccurrencesRequestBuilderGetQueryParameters { + return new OccurrencesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0617254a7e9 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/OccurrencesRequestBuilderPostRequestConfiguration.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/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.php new file mode 100644 index 00000000000..6fd81349a3a --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationPostRequestBody.php @@ -0,0 +1,160 @@ +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 SetCurrentLocationPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): SetCurrentLocationPostRequestBody { + return new SetCurrentLocationPostRequestBody(); + } + + /** + * 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 [ + 'placeId' => fn(ParseNode $n) => $o->setPlaceId($n->getStringValue()), + 'updateScope' => fn(ParseNode $n) => $o->setUpdateScope($n->getEnumValue(WorkLocationUpdateScope::class)), + 'workLocationType' => fn(ParseNode $n) => $o->setWorkLocationType($n->getEnumValue(WorkLocationType::class)), + ]; + } + + /** + * Gets the placeId property value. The placeId property + * @return string|null + */ + public function getPlaceId(): ?string { + $val = $this->getBackingStore()->get('placeId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'placeId'"); + } + + /** + * Gets the updateScope property value. The updateScope property + * @return WorkLocationUpdateScope|null + */ + public function getUpdateScope(): ?WorkLocationUpdateScope { + $val = $this->getBackingStore()->get('updateScope'); + if (is_null($val) || $val instanceof WorkLocationUpdateScope) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'updateScope'"); + } + + /** + * Gets the workLocationType property value. The workLocationType property + * @return WorkLocationType|null + */ + public function getWorkLocationType(): ?WorkLocationType { + $val = $this->getBackingStore()->get('workLocationType'); + if (is_null($val) || $val instanceof WorkLocationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'workLocationType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('placeId', $this->getPlaceId()); + $writer->writeEnumValue('updateScope', $this->getUpdateScope()); + $writer->writeEnumValue('workLocationType', $this->getWorkLocationType()); + $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 placeId property value. The placeId property + * @param string|null $value Value to set for the placeId property. + */ + public function setPlaceId(?string $value): void { + $this->getBackingStore()->set('placeId', $value); + } + + /** + * Sets the updateScope property value. The updateScope property + * @param WorkLocationUpdateScope|null $value Value to set for the updateScope property. + */ + public function setUpdateScope(?WorkLocationUpdateScope $value): void { + $this->getBackingStore()->set('updateScope', $value); + } + + /** + * Sets the workLocationType property value. The workLocationType property + * @param WorkLocationType|null $value Value to set for the workLocationType property. + */ + public function setWorkLocationType(?WorkLocationType $value): void { + $this->getBackingStore()->set('workLocationType', $value); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.php new file mode 100644 index 00000000000..2aed230a335 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilder.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}/settings/workHoursAndLocations/occurrences/setCurrentLocation'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + * @param SetCurrentLocationPostRequestBody $body The request body + * @param SetCurrentLocationRequestBuilderPostRequestConfiguration|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/workplanoccurrence-setcurrentlocation?view=graph-rest-1.0 Find more info here + */ + public function post(SetCurrentLocationPostRequestBody $body, ?SetCurrentLocationRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + * @param SetCurrentLocationPostRequestBody $body The request body + * @param SetCurrentLocationRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SetCurrentLocationPostRequestBody $body, ?SetCurrentLocationRequestBuilderPostRequestConfiguration $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 SetCurrentLocationRequestBuilder + */ + public function withUrl(string $rawUrl): SetCurrentLocationRequestBuilder { + return new SetCurrentLocationRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..29ebfb4773d --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Occurrences/SetCurrentLocation/SetCurrentLocationRequestBuilderPostRequestConfiguration.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/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.php new file mode 100644 index 00000000000..70e9ed5fcc5 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([WorkPlanOccurrence::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, WorkPlanOccurrence::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/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.php new file mode 100644 index 00000000000..090f7f81708 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.php @@ -0,0 +1,82 @@ +|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 $endDateTime Usage: endDateTime='{endDateTime}' + * @param string|null $startDateTime Usage: startDateTime='{startDateTime}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $endDateTime = null, ?string $startDateTime = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime=\'{startDateTime}\',endDateTime=\'{endDateTime}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['endDateTime'] = $endDateTime; + $urlTplParams['startDateTime'] = $startDateTime; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * @param OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|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/workhoursandlocationssetting-occurrencesview?view=graph-rest-1.0 Find more info here + */ + public function get(?OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * @param OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function withUrl(string $rawUrl): OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder { + return new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..81b4727966f --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters 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/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f4e5071a654 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/OccurrencesViewWithStartDateTimeWithEndDateTime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters. + * @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 OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + */ + 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): OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + return new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..3c391255d15 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/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}/settings/workHoursAndLocations/recurrences/$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/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d4acf3f18f6 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3971bd57bd0 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/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/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.php new file mode 100644 index 00000000000..958670f9bf6 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilder.php @@ -0,0 +1,144 @@ +|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}/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property recurrences for users + * @param WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Collection of recurring work plans defined by the user. + * @param WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanRecurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property recurrences in users + * @param WorkPlanRecurrence $body The request body + * @param WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function put(WorkPlanRecurrence $body, ?WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanRecurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property recurrences for users + * @param WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration $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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Collection of recurring work plans defined by the user. + * @param WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration $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 recurrences in users + * @param WorkPlanRecurrence $body The request body + * @param WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPutRequestInformation(WorkPlanRecurrence $body, ?WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PUT; + 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 WorkPlanRecurrenceItemRequestBuilder + */ + public function withUrl(string $rawUrl): WorkPlanRecurrenceItemRequestBuilder { + return new WorkPlanRecurrenceItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c6bbf3e73a0 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration.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/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..69944a6ecb7 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetQueryParameters.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 WorkPlanRecurrenceItemRequestBuilderGetQueryParameters 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/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2fc6294275b --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WorkPlanRecurrenceItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WorkPlanRecurrenceItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new WorkPlanRecurrenceItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return WorkPlanRecurrenceItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkPlanRecurrenceItemRequestBuilderGetQueryParameters { + return new WorkPlanRecurrenceItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration.php new file mode 100644 index 00000000000..c40d7d8f460 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/Item/WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration.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/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.php new file mode 100644 index 00000000000..c46c471333a --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + * @param string $workPlanRecurrenceId The unique identifier of workPlanRecurrence + * @return WorkPlanRecurrenceItemRequestBuilder + */ + public function byWorkPlanRecurrenceId(string $workPlanRecurrenceId): WorkPlanRecurrenceItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['workPlanRecurrence%2Did'] = $workPlanRecurrenceId; + return new WorkPlanRecurrenceItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new RecurrencesRequestBuilder 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}/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Collection of recurring work plans defined by the user. + * @param RecurrencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RecurrencesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanRecurrenceCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to recurrences for users + * @param WorkPlanRecurrence $body The request body + * @param RecurrencesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(WorkPlanRecurrence $body, ?RecurrencesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkPlanRecurrence::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Collection of recurring work plans defined by the user. + * @param RecurrencesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RecurrencesRequestBuilderGetRequestConfiguration $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 recurrences for users + * @param WorkPlanRecurrence $body The request body + * @param RecurrencesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(WorkPlanRecurrence $body, ?RecurrencesRequestBuilderPostRequestConfiguration $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 RecurrencesRequestBuilder + */ + public function withUrl(string $rawUrl): RecurrencesRequestBuilder { + return new RecurrencesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0a972998791 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetQueryParameters.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 RecurrencesRequestBuilderGetQueryParameters 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/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ba1fb3bfba9 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RecurrencesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RecurrencesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RecurrencesRequestBuilderGetQueryParameters. + * @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 RecurrencesRequestBuilderGetQueryParameters + */ + 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): RecurrencesRequestBuilderGetQueryParameters { + return new RecurrencesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1a5904bd231 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/Recurrences/RecurrencesRequestBuilderPostRequestConfiguration.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/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.php new file mode 100644 index 00000000000..28b1b4ad075 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilder.php @@ -0,0 +1,139 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. + */ + public function recurrences(): RecurrencesRequestBuilder { + return new RecurrencesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new WorkHoursAndLocationsRequestBuilder 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}/settings/workHoursAndLocations{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The user's settings for work hours and location preferences for scheduling and availability management. + * @param WorkHoursAndLocationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?WorkHoursAndLocationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkHoursAndLocationsSetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Provides operations to call the occurrencesView method. + * @param string $endDateTime Usage: endDateTime='{endDateTime}' + * @param string $startDateTime Usage: startDateTime='{startDateTime}' + * @return OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function occurrencesViewWithStartDateTimeWithEndDateTime(string $endDateTime, string $startDateTime): OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder { + return new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter, $endDateTime, $startDateTime); + } + + /** + * Update the navigation property workHoursAndLocations in users + * @param WorkHoursAndLocationsSetting $body The request body + * @param WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(WorkHoursAndLocationsSetting $body, ?WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [WorkHoursAndLocationsSetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The user's settings for work hours and location preferences for scheduling and availability management. + * @param WorkHoursAndLocationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?WorkHoursAndLocationsRequestBuilderGetRequestConfiguration $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 workHoursAndLocations in users + * @param WorkHoursAndLocationsSetting $body The request body + * @param WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(WorkHoursAndLocationsSetting $body, ?WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration $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 WorkHoursAndLocationsRequestBuilder + */ + public function withUrl(string $rawUrl): WorkHoursAndLocationsRequestBuilder { + return new WorkHoursAndLocationsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..7fa870698d6 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetQueryParameters.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 WorkHoursAndLocationsRequestBuilderGetQueryParameters 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/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ded925778c7 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param WorkHoursAndLocationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?WorkHoursAndLocationsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new WorkHoursAndLocationsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return WorkHoursAndLocationsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): WorkHoursAndLocationsRequestBuilderGetQueryParameters { + return new WorkHoursAndLocationsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..9cee60154e4 --- /dev/null +++ b/src/Generated/Users/Item/Settings/WorkHoursAndLocations/WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration.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/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index a10e86c5ece..9f3ff855738 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\User; use Microsoft\Graph\Generated\Users\Item\Activities\ActivitiesRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\AdhocCalls\AdhocCallsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\AgreementAcceptances\AgreementAcceptancesRequestBuilder; use Microsoft\Graph\Generated\Users\Item\AppRoleAssignments\AppRoleAssignmentsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\AssignLicense\AssignLicenseRequestBuilder; @@ -57,6 +58,7 @@ use Microsoft\Graph\Generated\Users\Item\Oauth2PermissionGrants\Oauth2PermissionGrantsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Onenote\OnenoteRequestBuilder; use Microsoft\Graph\Generated\Users\Item\OnlineMeetings\OnlineMeetingsRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\OnPremisesSyncBehavior\OnPremisesSyncBehaviorRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Outlook\OutlookRequestBuilder; use Microsoft\Graph\Generated\Users\Item\OwnedDevices\OwnedDevicesRequestBuilder; use Microsoft\Graph\Generated\Users\Item\OwnedObjects\OwnedObjectsRequestBuilder; @@ -101,6 +103,13 @@ public function activities(): ActivitiesRequestBuilder { return new ActivitiesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the adhocCalls property of the microsoft.graph.user entity. + */ + public function adhocCalls(): AdhocCallsRequestBuilder { + return new AdhocCallsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity. */ @@ -444,6 +453,13 @@ public function onlineMeetings(): OnlineMeetingsRequestBuilder { return new OnlineMeetingsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.user entity. + */ + public function onPremisesSyncBehavior(): OnPremisesSyncBehaviorRequestBuilder { + return new OnPremisesSyncBehaviorRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the outlook property of the microsoft.graph.user entity. */ diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index a898277ca7a..53160d8dc5e 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -10,6 +10,7 @@ Microsoft\Graph\Generated.admin.AdminRequestBuilder::|public|reportSettings:Repo Microsoft\Graph\Generated.admin.AdminRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.admin.AdminRequestBuilder::|public|serviceAnnouncement:ServiceAnnouncementRequestBuilder Microsoft\Graph\Generated.admin.AdminRequestBuilder::|public|sharepoint:SharepointRequestBuilder +Microsoft\Graph\Generated.admin.AdminRequestBuilder::|public|teams:TeamsRequestBuilder Microsoft\Graph\Generated.admin.AdminRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AdminRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.admin.AdminRequestBuilder::|public|ToPatchRequestInformation(body:Admin; requestConfiguration?:AdminRequestBuilderPatchRequestConfiguration):RequestInformation Microsoft\Graph\Generated.admin.AdminRequestBuilder::|public|urlTemplate:string @@ -1147,6 +1148,169 @@ Microsoft\Graph\Generated.admin.sharepoint.sharepointRequestBuilderGetRequestCon Microsoft\Graph\Generated.admin.sharepoint.sharepointRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SharepointRequestBuilderGetQueryParameters Microsoft\Graph\Generated.admin.sharepoint.sharepointRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.admin.sharepoint.sharepointRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|Delete(requestConfiguration?:TeamsRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|Get(requestConfiguration?:TeamsRequestBuilderGetRequestConfiguration):TeamsAdminRoot +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|Patch(body:TeamsAdminRoot; requestConfiguration?:TeamsRequestBuilderPatchRequestConfiguration):TeamsAdminRoot +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TeamsRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TeamsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|ToPatchRequestInformation(body:TeamsAdminRoot; requestConfiguration?:TeamsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|userConfigurations:UserConfigurationsRequestBuilder +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|WithUrl(rawUrl:string):TeamsRequestBuilder +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TeamsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderGetRequestConfiguration::|public|queryParameters:TeamsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TeamsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.teamsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|Delete(requestConfiguration?:TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|Get(requestConfiguration?:TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration):TeamsUserConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|Patch(body:TeamsUserConfiguration; requestConfiguration?:TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration):TeamsUserConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:TeamsUserConfiguration; requestConfiguration?:TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|user:UserRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):TeamsUserConfigurationItemRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TeamsUserConfigurationItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:TeamsUserConfigurationItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TeamsUserConfigurationItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|Get(requestConfiguration?:MailboxSettingsRequestBuilderGetRequestConfiguration):MailboxSettings +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|Patch(body:MailboxSettings; requestConfiguration?:MailboxSettingsRequestBuilderPatchRequestConfiguration):MailboxSettings +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MailboxSettingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:MailboxSettings; requestConfiguration?:MailboxSettingsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):MailboxSettingsRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MailboxSettingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:MailboxSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):MailboxSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|Get(requestConfiguration?:ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):ServiceProvisioningErrorCollectionResponse +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):ServiceProvisioningErrorsRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.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\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ServiceProvisioningErrorsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:ServiceProvisioningErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.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\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|Get(requestConfiguration?:UserRequestBuilderGetRequestConfiguration):User +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|mailboxSettings:MailboxSettingsRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|serviceProvisioningErrors:ServiceProvisioningErrorsRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UserRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|WithUrl(rawUrl:string):UserRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UserRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetRequestConfiguration::|public|queryParameters:UserRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):UserRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|ByTeamsUserConfigurationId(teamsUserConfigurationId:string):TeamsUserConfigurationItemRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|Get(requestConfiguration?:UserConfigurationsRequestBuilderGetRequestConfiguration):TeamsUserConfigurationCollectionResponse +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|Post(body:TeamsUserConfiguration; requestConfiguration?:UserConfigurationsRequestBuilderPostRequestConfiguration):TeamsUserConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UserConfigurationsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:TeamsUserConfiguration; requestConfiguration?:UserConfigurationsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):UserConfigurationsRequestBuilder +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UserConfigurationsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetRequestConfiguration::|public|queryParameters:UserConfigurationsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):UserConfigurationsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.agreementAcceptances.AgreementAcceptancesRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.agreementAcceptances.AgreementAcceptancesRequestBuilder::|public|ByAgreementAcceptanceId(agreementAcceptanceId:string):AgreementAcceptanceItemRequestBuilder Microsoft\Graph\Generated.agreementAcceptances.AgreementAcceptancesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -5742,6 +5906,318 @@ Microsoft\Graph\Generated.chats.item.unhideForUser.UnhideForUserRequestBuilder:: Microsoft\Graph\Generated.chats.item.unhideForUser.UnhideForUserRequestBuilder::|public|WithUrl(rawUrl:string):UnhideForUserRequestBuilder Microsoft\Graph\Generated.chats.item.unhideForUser.unhideForUserRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.chats.item.unhideForUser.unhideForUserRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|ByAdhocCallId(adhocCallId:string):AdhocCallItemRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|Get(requestConfiguration?:AdhocCallsRequestBuilderGetRequestConfiguration):AdhocCallCollectionResponse +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|Post(body:AdhocCall; requestConfiguration?:AdhocCallsRequestBuilderPostRequestConfiguration):AdhocCall +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AdhocCallsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|ToPostRequestInformation(body:AdhocCall; requestConfiguration?:AdhocCallsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.AdhocCallsRequestBuilder::|public|WithUrl(rawUrl:string):AdhocCallsRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AdhocCallsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetRequestConfiguration::|public|queryParameters:AdhocCallsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):AdhocCallsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.adhocCallsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|Delete(requestConfiguration?:AdhocCallItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|Get(requestConfiguration?:AdhocCallItemRequestBuilderGetRequestConfiguration):AdhocCall +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|Patch(body:AdhocCall; requestConfiguration?:AdhocCallItemRequestBuilderPatchRequestConfiguration):AdhocCall +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|recordings:RecordingsRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:AdhocCallItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AdhocCallItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|ToPatchRequestInformation(body:AdhocCall; requestConfiguration?:AdhocCallItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|transcripts:TranscriptsRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilder::|public|WithUrl(rawUrl:string):AdhocCallItemRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AdhocCallItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderGetRequestConfiguration::|public|queryParameters:AdhocCallItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AdhocCallItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.AdhocCallItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaGetResponse-->BaseDeltaFunctionResponse +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaGetResponse::|public|constructor():void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaGetResponse::|public|getValue():array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeltaGetResponse +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.DeltaRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|Get(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):DeltaGetResponse +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|WithUrl(rawUrl:string):DeltaRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DeltaRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetRequestConfiguration::|public|queryParameters:DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|content:ContentRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|Delete(requestConfiguration?:CallRecordingItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|Get(requestConfiguration?:CallRecordingItemRequestBuilderGetRequestConfiguration):CallRecording +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|Patch(body:CallRecording; requestConfiguration?:CallRecordingItemRequestBuilderPatchRequestConfiguration):CallRecording +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CallRecordingItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CallRecordingItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:CallRecording; requestConfiguration?:CallRecordingItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):CallRecordingItemRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CallRecordingItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetRequestConfiguration::|public|queryParameters:CallRecordingItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CallRecordingItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|Delete(requestConfiguration?:ContentRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|Get(requestConfiguration?:ContentRequestBuilderGetRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|Put(body:StreamInterface; requestConfiguration?:ContentRequestBuilderPutRequestConfiguration):CallRecording +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ContentRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContentRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|ToPutRequestInformation(body:StreamInterface; requestConfiguration?:ContentRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|WithUrl(rawUrl:string):ContentRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.contentRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.contentRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.contentRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.contentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.contentRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.item.content.contentRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|ByCallRecordingId(callRecordingId:string):CallRecordingItemRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|delta:DeltaRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|Get(requestConfiguration?:RecordingsRequestBuilderGetRequestConfiguration):CallRecordingCollectionResponse +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|Post(body:CallRecording; requestConfiguration?:RecordingsRequestBuilderPostRequestConfiguration):CallRecording +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RecordingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|ToPostRequestInformation(body:CallRecording; requestConfiguration?:RecordingsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|WithUrl(rawUrl:string):RecordingsRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RecordingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetRequestConfiguration::|public|queryParameters:RecordingsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RecordingsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.recordings.recordingsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaGetResponse-->BaseDeltaFunctionResponse +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|constructor():void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|getValue():array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeltaGetResponse +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.DeltaRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|Get(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):DeltaGetResponse +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|WithUrl(rawUrl:string):DeltaRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DeltaRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetRequestConfiguration::|public|queryParameters:DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|content:ContentRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|Delete(requestConfiguration?:CallTranscriptItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|Get(requestConfiguration?:CallTranscriptItemRequestBuilderGetRequestConfiguration):CallTranscript +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|metadataContent:MetadataContentRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|Patch(body:CallTranscript; requestConfiguration?:CallTranscriptItemRequestBuilderPatchRequestConfiguration):CallTranscript +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CallTranscriptItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CallTranscriptItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:CallTranscript; requestConfiguration?:CallTranscriptItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):CallTranscriptItemRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CallTranscriptItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetRequestConfiguration::|public|queryParameters:CallTranscriptItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CallTranscriptItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|Delete(requestConfiguration?:ContentRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|Get(requestConfiguration?:ContentRequestBuilderGetRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|Put(body:StreamInterface; requestConfiguration?:ContentRequestBuilderPutRequestConfiguration):CallTranscript +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ContentRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContentRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|ToPutRequestInformation(body:StreamInterface; requestConfiguration?:ContentRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|WithUrl(rawUrl:string):ContentRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.contentRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.contentRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.contentRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.contentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.contentRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.content.contentRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|Delete(requestConfiguration?:MetadataContentRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|Get(requestConfiguration?:MetadataContentRequestBuilderGetRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|Put(body:StreamInterface; requestConfiguration?:MetadataContentRequestBuilderPutRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:MetadataContentRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MetadataContentRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|ToPutRequestInformation(body:StreamInterface; requestConfiguration?:MetadataContentRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|WithUrl(rawUrl:string):MetadataContentRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|ByCallTranscriptId(callTranscriptId:string):CallTranscriptItemRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|delta:DeltaRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|Get(requestConfiguration?:TranscriptsRequestBuilderGetRequestConfiguration):CallTranscriptCollectionResponse +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|Post(body:CallTranscript; requestConfiguration?:TranscriptsRequestBuilderPostRequestConfiguration):CallTranscript +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TranscriptsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|ToPostRequestInformation(body:CallTranscript; requestConfiguration?:TranscriptsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|WithUrl(rawUrl:string):TranscriptsRequestBuilder +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TranscriptsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetRequestConfiguration::|public|queryParameters:TranscriptsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):TranscriptsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.adhocCalls.item.transcripts.transcriptsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.communications.callRecords.CallRecordsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.communications.callRecords.CallRecordsRequestBuilder::|public|ByCallRecordId(callRecordId:string):CallRecordItemRequestBuilder Microsoft\Graph\Generated.communications.callRecords.CallRecordsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -6882,6 +7358,7 @@ Microsoft\Graph\Generated.communications.calls.logTeleconferenceDeviceQuality.Lo Microsoft\Graph\Generated.communications.calls.logTeleconferenceDeviceQuality.logTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.communications.calls.logTeleconferenceDeviceQuality.logTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.communications.CommunicationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.CommunicationsRequestBuilder::|public|adhocCalls:AdhocCallsRequestBuilder Microsoft\Graph\Generated.communications.CommunicationsRequestBuilder::|public|callRecords:CallRecordsRequestBuilder Microsoft\Graph\Generated.communications.CommunicationsRequestBuilder::|public|calls:CallsRequestBuilder Microsoft\Graph\Generated.communications.CommunicationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -8321,6 +8798,26 @@ Microsoft\Graph\Generated.communications.presences.count.CountRequestBuilderGetR Microsoft\Graph\Generated.communications.presences.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.communications.presences.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Generated.communications.presences.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|Post(requestConfiguration?:ClearAutomaticLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:ClearAutomaticLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):ClearAutomaticLocationRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.clearAutomaticLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.presences.item.clearAutomaticLocation.clearAutomaticLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.presences.item.clearLocation.ClearLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.clearLocation.ClearLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.presences.item.clearLocation.ClearLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.presences.item.clearLocation.ClearLocationRequestBuilder::|public|Post(requestConfiguration?:ClearLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.communications.presences.item.clearLocation.ClearLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.presences.item.clearLocation.ClearLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:ClearLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.presences.item.clearLocation.ClearLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.presences.item.clearLocation.ClearLocationRequestBuilder::|public|WithUrl(rawUrl:string):ClearLocationRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.clearLocation.clearLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.presences.item.clearLocation.clearLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.communications.presences.item.clearPresence.clearPresencePostRequestBody::|public|constructor():void Microsoft\Graph\Generated.communications.presences.item.clearPresence.clearPresencePostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Generated.communications.presences.item.clearPresence.clearPresencePostRequestBody::|public|getBackingStore():BackingStore @@ -8353,6 +8850,8 @@ Microsoft\Graph\Generated.communications.presences.item.clearUserPreferredPresen Microsoft\Graph\Generated.communications.presences.item.clearUserPreferredPresence.clearUserPreferredPresenceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.communications.presences.item.clearUserPreferredPresence.clearUserPreferredPresenceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|clearAutomaticLocation:ClearAutomaticLocationRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|clearLocation:ClearLocationRequestBuilder Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|clearPresence:ClearPresenceRequestBuilder Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|clearUserPreferredPresence:ClearUserPreferredPresenceRequestBuilder Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -8361,6 +8860,8 @@ Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuild Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|Patch(body:Presence; requestConfiguration?:PresenceItemRequestBuilderPatchRequestConfiguration):Presence Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|setAutomaticLocation:SetAutomaticLocationRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|setManualLocation:SetManualLocationRequestBuilder Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|setPresence:SetPresenceRequestBuilder Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|setStatusMessage:SetStatusMessageRequestBuilder Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilder::|public|setUserPreferredPresence:SetUserPreferredPresenceRequestBuilder @@ -8380,6 +8881,52 @@ Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuild Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PresenceItemRequestBuilderGetQueryParameters Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.communications.presences.item.PresenceItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|getPlaceId():string +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SetAutomaticLocationPostRequestBody +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.SetAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|Post(body:SetAutomaticLocationPostRequestBody; requestConfiguration?:SetAutomaticLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(body:SetAutomaticLocationPostRequestBody; requestConfiguration?:SetAutomaticLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):SetAutomaticLocationRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.presences.item.setAutomaticLocation.setAutomaticLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|getPlaceId():string +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SetManualLocationPostRequestBody +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.SetManualLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.SetManualLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.SetManualLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.SetManualLocationRequestBuilder::|public|Post(body:SetManualLocationPostRequestBody; requestConfiguration?:SetManualLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.SetManualLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.SetManualLocationRequestBuilder::|public|ToPostRequestInformation(body:SetManualLocationPostRequestBody; requestConfiguration?:SetManualLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.SetManualLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.SetManualLocationRequestBuilder::|public|WithUrl(rawUrl:string):SetManualLocationRequestBuilder +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.communications.presences.item.setManualLocation.setManualLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.communications.presences.item.setPresence.setPresencePostRequestBody::|public|constructor():void Microsoft\Graph\Generated.communications.presences.item.setPresence.setPresencePostRequestBody::|public|getActivity():string Microsoft\Graph\Generated.communications.presences.item.setPresence.setPresencePostRequestBody::|public|getAdditionalData():array @@ -25267,9 +25814,11 @@ Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPC Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|reboot:RebootRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|rename:RenameRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|reprovision:ReprovisionRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|resize:ResizeRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|restore:RestoreRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|retrieveCloudPcLaunchDetail:RetrieveCloudPcLaunchDetailRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CloudPCItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CloudPCItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.CloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:CloudPC; requestConfiguration?:CloudPCItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -25328,6 +25877,29 @@ Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.rename. Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.rename.RenameRequestBuilder::|public|WithUrl(rawUrl:string):RenameRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.rename.renameRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.rename.renameRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|getOsVersion():CloudPcOperatingSystem +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|getUserAccountType():CloudPcUserAccountType +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|setOsVersion(value?:CloudPcOperatingSystem):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|setUserAccountType(value?:CloudPcUserAccountType):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ReprovisionPostRequestBody +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.ReprovisionRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|Post(body:ReprovisionPostRequestBody; requestConfiguration?:ReprovisionRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|ToPostRequestInformation(body:ReprovisionPostRequestBody; requestConfiguration?:ReprovisionRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|WithUrl(rawUrl:string):ReprovisionRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.reprovision.reprovisionRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.resize.resizePostRequestBody::|public|constructor():void Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.resize.resizePostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.resize.resizePostRequestBody::|public|getBackingStore():BackingStore @@ -25370,6 +25942,16 @@ Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.restore Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.restore.restoreRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|Get(requestConfiguration?:RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration):CloudPcLaunchDetail +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|WithUrl(rawUrl:string):RetrieveCloudPcLaunchDetailRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.retrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.troubleshoot.TroubleshootRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.troubleshoot.TroubleshootRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.cloudPCs.item.troubleshoot.TroubleshootRequestBuilder::|public|pathParameters:array @@ -25893,6 +26475,65 @@ Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.provisioningPolicies. Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.provisioningPolicies.provisioningPoliciesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ProvisioningPoliciesRequestBuilderGetQueryParameters Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.provisioningPolicies.provisioningPoliciesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.provisioningPolicies.provisioningPoliciesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|Delete(requestConfiguration?:ReportRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|Get(requestConfiguration?:ReportRequestBuilderGetRequestConfiguration):CloudPcReport +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|Patch(body:CloudPcReport; requestConfiguration?:ReportRequestBuilderPatchRequestConfiguration):CloudPcReport +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|retrieveCloudPcRecommendationReports:RetrieveCloudPcRecommendationReportsRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ReportRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ReportRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|ToPatchRequestInformation(body:CloudPcReport; requestConfiguration?:ReportRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.ReportRequestBuilder::|public|WithUrl(rawUrl:string):ReportRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ReportRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderGetRequestConfiguration::|public|queryParameters:ReportRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ReportRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.reportRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getFilter():string +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getGroupBy():array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getOrderBy():array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getReportType():CloudPcRecommendationReportType +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getSearch():string +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getSelect():array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getSkip():int +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getTop():int +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setFilter(value?:string):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setGroupBy(value?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setOrderBy(value?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setReportType(value?:CloudPcRecommendationReportType):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setSearch(value?:string):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setSelect(value?:array):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setSkip(value?:int):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setTop(value?:int):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RetrieveCloudPcRecommendationReportsPostRequestBody +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|Post(body:RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|ToPostRequestInformation(body:RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|WithUrl(rawUrl:string):RetrieveCloudPcRecommendationReportsRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.report.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.userSettings.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.userSettings.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.userSettings.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -26058,6 +26699,7 @@ Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.VirtualEndpointReques Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.VirtualEndpointRequestBuilder::|public|Patch(body:VirtualEndpoint; requestConfiguration?:VirtualEndpointRequestBuilderPatchRequestConfiguration):VirtualEndpoint Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.VirtualEndpointRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.VirtualEndpointRequestBuilder::|public|provisioningPolicies:ProvisioningPoliciesRequestBuilder +Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.VirtualEndpointRequestBuilder::|public|report:ReportRequestBuilder Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.VirtualEndpointRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.VirtualEndpointRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:VirtualEndpointRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.deviceManagement.virtualEndpoint.VirtualEndpointRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:VirtualEndpointRequestBuilderGetRequestConfiguration):RequestInformation @@ -113532,6 +114174,23 @@ Microsoft\Graph\Generated.models.accountTargetContentType::0001-includeAll Microsoft\Graph\Generated.models.accountTargetContentType::0002-addressBook Microsoft\Graph\Generated.models.accountTargetContentType::0003-unknownFutureValue Microsoft\Graph\Generated.models.accountTargetContent~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.actionItem::|public|constructor():void +Microsoft\Graph\Generated.models.actionItem::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.actionItem::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.actionItem::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.actionItem::|public|getOdataType():string +Microsoft\Graph\Generated.models.actionItem::|public|getOwnerDisplayName():string +Microsoft\Graph\Generated.models.actionItem::|public|getText():string +Microsoft\Graph\Generated.models.actionItem::|public|getTitle():string +Microsoft\Graph\Generated.models.actionItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.actionItem::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.actionItem::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.actionItem::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.actionItem::|public|setOwnerDisplayName(value?:string):void +Microsoft\Graph\Generated.models.actionItem::|public|setText(value?:string):void +Microsoft\Graph\Generated.models.actionItem::|public|setTitle(value?:string):void +Microsoft\Graph\Generated.models.actionItem::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActionItem +Microsoft\Graph\Generated.models.actionItem~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.actionResultPart::|public|constructor():void Microsoft\Graph\Generated.models.actionResultPart::|public|getAdditionalData():array Microsoft\Graph\Generated.models.actionResultPart::|public|getBackingStore():BackingStore @@ -113656,6 +114315,23 @@ Microsoft\Graph\Generated.models.addressBookAccountTargetContent::|public|OdataT Microsoft\Graph\Generated.models.addressBookAccountTargetContent::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.addressBookAccountTargetContent::|public|setAccountTargetEmails(value?:array):void Microsoft\Graph\Generated.models.addressBookAccountTargetContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AddressBookAccountTargetContent +Microsoft\Graph\Generated.models.adhocCall-->Entity +Microsoft\Graph\Generated.models.adhocCall::|public|constructor():void +Microsoft\Graph\Generated.models.adhocCall::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.adhocCall::|public|getRecordings():array +Microsoft\Graph\Generated.models.adhocCall::|public|getTranscripts():array +Microsoft\Graph\Generated.models.adhocCall::|public|OdataType:string +Microsoft\Graph\Generated.models.adhocCall::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.adhocCall::|public|setRecordings(value?:array):void +Microsoft\Graph\Generated.models.adhocCall::|public|setTranscripts(value?:array):void +Microsoft\Graph\Generated.models.adhocCall::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AdhocCall +Microsoft\Graph\Generated.models.adhocCallCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.adhocCallCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.adhocCallCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.adhocCallCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.adhocCallCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.adhocCallCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.adhocCallCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AdhocCallCollectionResponse Microsoft\Graph\Generated.models.admin::|public|constructor():void Microsoft\Graph\Generated.models.admin::|public|getAdditionalData():array Microsoft\Graph\Generated.models.admin::|public|getBackingStore():BackingStore @@ -113667,6 +114343,7 @@ Microsoft\Graph\Generated.models.admin::|public|getPeople():PeopleAdminSettings Microsoft\Graph\Generated.models.admin::|public|getReportSettings():AdminReportSettings Microsoft\Graph\Generated.models.admin::|public|getServiceAnnouncement():ServiceAnnouncement Microsoft\Graph\Generated.models.admin::|public|getSharepoint():Sharepoint +Microsoft\Graph\Generated.models.admin::|public|getTeams():TeamsAdminRoot Microsoft\Graph\Generated.models.admin::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.admin::|public|setAdditionalData(value?:array):void Microsoft\Graph\Generated.models.admin::|public|setBackingStore(value:BackingStore):void @@ -113677,6 +114354,7 @@ Microsoft\Graph\Generated.models.admin::|public|setPeople(value?:PeopleAdminSett Microsoft\Graph\Generated.models.admin::|public|setReportSettings(value?:AdminReportSettings):void Microsoft\Graph\Generated.models.admin::|public|setServiceAnnouncement(value?:ServiceAnnouncement):void Microsoft\Graph\Generated.models.admin::|public|setSharepoint(value?:Sharepoint):void +Microsoft\Graph\Generated.models.admin::|public|setTeams(value?:TeamsAdminRoot):void Microsoft\Graph\Generated.models.admin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Admin Microsoft\Graph\Generated.models.adminConsentRequestPolicy-->Entity Microsoft\Graph\Generated.models.adminConsentRequestPolicy::|public|constructor():void @@ -114049,6 +114727,14 @@ Microsoft\Graph\Generated.models.aiInteractionPlugin~~>AdditionalDataHolder; Bac Microsoft\Graph\Generated.models.aiInteractionType::0000-userPrompt Microsoft\Graph\Generated.models.aiInteractionType::0001-aiResponse Microsoft\Graph\Generated.models.aiInteractionType::0002-unknownFutureValue +Microsoft\Graph\Generated.models.aiOnlineMeeting-->Entity +Microsoft\Graph\Generated.models.aiOnlineMeeting::|public|constructor():void +Microsoft\Graph\Generated.models.aiOnlineMeeting::|public|getAiInsights():array +Microsoft\Graph\Generated.models.aiOnlineMeeting::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.aiOnlineMeeting::|public|OdataType:string +Microsoft\Graph\Generated.models.aiOnlineMeeting::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.aiOnlineMeeting::|public|setAiInsights(value?:array):void +Microsoft\Graph\Generated.models.aiOnlineMeeting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiOnlineMeeting Microsoft\Graph\Generated.models.airPrintSettings::|public|constructor():void Microsoft\Graph\Generated.models.airPrintSettings::|public|getAdditionalData():array Microsoft\Graph\Generated.models.airPrintSettings::|public|getBackingStore():BackingStore @@ -114066,9 +114752,11 @@ Microsoft\Graph\Generated.models.aiUser-->Entity Microsoft\Graph\Generated.models.aiUser::|public|constructor():void Microsoft\Graph\Generated.models.aiUser::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.aiUser::|public|getInteractionHistory():AiInteractionHistory +Microsoft\Graph\Generated.models.aiUser::|public|getOnlineMeetings():array Microsoft\Graph\Generated.models.aiUser::|public|OdataType:string Microsoft\Graph\Generated.models.aiUser::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.aiUser::|public|setInteractionHistory(value?:AiInteractionHistory):void +Microsoft\Graph\Generated.models.aiUser::|public|setOnlineMeetings(value?:array):void Microsoft\Graph\Generated.models.aiUser::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiUser Microsoft\Graph\Generated.models.akamaiAttackGroupActionModel::|public|constructor():void Microsoft\Graph\Generated.models.akamaiAttackGroupActionModel::|public|getAction():string @@ -114353,7 +115041,8 @@ Microsoft\Graph\Generated.models.allowedTargetScope::0005-allDirectoryUsers Microsoft\Graph\Generated.models.allowedTargetScope::0006-allDirectoryServicePrincipals Microsoft\Graph\Generated.models.allowedTargetScope::0007-allConfiguredConnectedOrganizationUsers Microsoft\Graph\Generated.models.allowedTargetScope::0008-allExternalUsers -Microsoft\Graph\Generated.models.allowedTargetScope::0009-unknownFutureValue +Microsoft\Graph\Generated.models.allowedTargetScope::0009-allDirectoryAgentIdentities +Microsoft\Graph\Generated.models.allowedTargetScope::0010-unknownFutureValue Microsoft\Graph\Generated.models.allowedValue-->Entity Microsoft\Graph\Generated.models.allowedValue::|public|constructor():void Microsoft\Graph\Generated.models.allowedValue::|public|GetFieldDeserializers():array @@ -118329,10 +119018,12 @@ Microsoft\Graph\Generated.models.building::|public|constructor():void Microsoft\Graph\Generated.models.building::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.building::|public|getMap():BuildingMap Microsoft\Graph\Generated.models.building::|public|getResourceLinks():array +Microsoft\Graph\Generated.models.building::|public|getWifiState():PlaceFeatureEnablement Microsoft\Graph\Generated.models.building::|public|OdataType:string Microsoft\Graph\Generated.models.building::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.building::|public|setMap(value?:BuildingMap):void Microsoft\Graph\Generated.models.building::|public|setResourceLinks(value?:array):void +Microsoft\Graph\Generated.models.building::|public|setWifiState(value?:PlaceFeatureEnablement):void Microsoft\Graph\Generated.models.building::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Building Microsoft\Graph\Generated.models.buildingCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.buildingCollectionResponse::|public|constructor():void @@ -118603,6 +119294,39 @@ Microsoft\Graph\Generated.models.call::|public|setTenantId(value?:string):void Microsoft\Graph\Generated.models.call::|public|setToneInfo(value?:ToneInfo):void Microsoft\Graph\Generated.models.call::|public|setTranscription(value?:CallTranscriptionInfo):void Microsoft\Graph\Generated.models.call::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Call +Microsoft\Graph\Generated.models.callAiInsight-->Entity +Microsoft\Graph\Generated.models.callAiInsight::|public|constructor():void +Microsoft\Graph\Generated.models.callAiInsight::|public|getActionItems():array +Microsoft\Graph\Generated.models.callAiInsight::|public|getCallId():string +Microsoft\Graph\Generated.models.callAiInsight::|public|getContentCorrelationId():string +Microsoft\Graph\Generated.models.callAiInsight::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.callAiInsight::|public|getEndDateTime():DateTime +Microsoft\Graph\Generated.models.callAiInsight::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callAiInsight::|public|getMeetingNotes():array +Microsoft\Graph\Generated.models.callAiInsight::|public|getViewpoint():CallAiInsightViewPoint +Microsoft\Graph\Generated.models.callAiInsight::|public|OdataType:string +Microsoft\Graph\Generated.models.callAiInsight::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callAiInsight::|public|setActionItems(value?:array):void +Microsoft\Graph\Generated.models.callAiInsight::|public|setCallId(value?:string):void +Microsoft\Graph\Generated.models.callAiInsight::|public|setContentCorrelationId(value?:string):void +Microsoft\Graph\Generated.models.callAiInsight::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.callAiInsight::|public|setEndDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.callAiInsight::|public|setMeetingNotes(value?:array):void +Microsoft\Graph\Generated.models.callAiInsight::|public|setViewpoint(value?:CallAiInsightViewPoint):void +Microsoft\Graph\Generated.models.callAiInsight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CallAiInsight +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|constructor():void +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|getMentionEvents():array +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|getOdataType():string +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|setMentionEvents(value?:array):void +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.callAiInsightViewPoint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CallAiInsightViewPoint +Microsoft\Graph\Generated.models.callAiInsightViewPoint~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.callCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.callCollectionResponse::|public|constructor():void Microsoft\Graph\Generated.models.callCollectionResponse::|public|GetFieldDeserializers():array @@ -120518,6 +121242,7 @@ Microsoft\Graph\Generated.models.cloudClipboardRoot::|public|setItems(value?:arr Microsoft\Graph\Generated.models.cloudClipboardRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudClipboardRoot Microsoft\Graph\Generated.models.cloudCommunications::|public|constructor():void Microsoft\Graph\Generated.models.cloudCommunications::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.cloudCommunications::|public|getAdhocCalls():array Microsoft\Graph\Generated.models.cloudCommunications::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.cloudCommunications::|public|getCallRecords():array Microsoft\Graph\Generated.models.cloudCommunications::|public|getCalls():array @@ -120528,6 +121253,7 @@ Microsoft\Graph\Generated.models.cloudCommunications::|public|getOnlineMeetings( Microsoft\Graph\Generated.models.cloudCommunications::|public|getPresences():array Microsoft\Graph\Generated.models.cloudCommunications::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.cloudCommunications::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.cloudCommunications::|public|setAdhocCalls(value?:array):void Microsoft\Graph\Generated.models.cloudCommunications::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Generated.models.cloudCommunications::|public|setCallRecords(value?:array):void Microsoft\Graph\Generated.models.cloudCommunications::|public|setCalls(value?:array):void @@ -120853,6 +121579,25 @@ Microsoft\Graph\Generated.models.cloudPcGalleryImageStatus::0000-supported Microsoft\Graph\Generated.models.cloudPcGalleryImageStatus::0001-supportedWithWarning Microsoft\Graph\Generated.models.cloudPcGalleryImageStatus::0002-notSupported Microsoft\Graph\Generated.models.cloudPcGalleryImageStatus::0003-unknownFutureValue +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|constructor():void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|getCloudPcId():string +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|getCloudPcLaunchUrl():string +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|getOdataType():string +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|getWindows365SwitchCompatibilityFailureReasonType():Windows365SwitchCompatibilityFailureReasonType +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|getWindows365SwitchCompatible():bool +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|setCloudPcId(value?:string):void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|setCloudPcLaunchUrl(value?:string):void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|setWindows365SwitchCompatibilityFailureReasonType(value?:Windows365SwitchCompatibilityFailureReasonType):void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|public|setWindows365SwitchCompatible(value?:bool):void +Microsoft\Graph\Generated.models.cloudPcLaunchDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcLaunchDetail +Microsoft\Graph\Generated.models.cloudPcLaunchDetail~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.cloudPcManagementAssignmentTarget::|public|constructor():void Microsoft\Graph\Generated.models.cloudPcManagementAssignmentTarget::|public|getAdditionalData():array Microsoft\Graph\Generated.models.cloudPcManagementAssignmentTarget::|public|getBackingStore():BackingStore @@ -121041,6 +121786,9 @@ Microsoft\Graph\Generated.models.cloudPcOnPremisesConnectionStatusDetail~~>Addit Microsoft\Graph\Generated.models.cloudPcOnPremisesConnectionType::0000-hybridAzureADJoin Microsoft\Graph\Generated.models.cloudPcOnPremisesConnectionType::0001-azureADJoin Microsoft\Graph\Generated.models.cloudPcOnPremisesConnectionType::0002-unknownFutureValue +Microsoft\Graph\Generated.models.cloudPcOperatingSystem::0000-windows10 +Microsoft\Graph\Generated.models.cloudPcOperatingSystem::0001-windows11 +Microsoft\Graph\Generated.models.cloudPcOperatingSystem::0002-unknownFutureValue Microsoft\Graph\Generated.models.cloudPcProvisioningPolicy-->Entity Microsoft\Graph\Generated.models.cloudPcProvisioningPolicy::|public|constructor():void Microsoft\Graph\Generated.models.cloudPcProvisioningPolicy::|public|getAlternateResourceUrl():string @@ -121124,6 +121872,8 @@ Microsoft\Graph\Generated.models.cloudPcProvisioningPolicyImageType::0002-unknow Microsoft\Graph\Generated.models.cloudPcProvisioningType::0000-dedicated Microsoft\Graph\Generated.models.cloudPcProvisioningType::0001-shared Microsoft\Graph\Generated.models.cloudPcProvisioningType::0002-unknownFutureValue +Microsoft\Graph\Generated.models.cloudPcRecommendationReportType::0000-cloudPcUsageCategoryReport +Microsoft\Graph\Generated.models.cloudPcRecommendationReportType::0001-unknownFutureValue Microsoft\Graph\Generated.models.cloudPcRegionGroup::0000-default Microsoft\Graph\Generated.models.cloudPcRegionGroup::0001-australia Microsoft\Graph\Generated.models.cloudPcRegionGroup::0002-canada @@ -121145,6 +121895,12 @@ Microsoft\Graph\Generated.models.cloudPcRegionGroup::0017-norway Microsoft\Graph\Generated.models.cloudPcRegionGroup::0018-switzerland Microsoft\Graph\Generated.models.cloudPcRegionGroup::0019-southKorea Microsoft\Graph\Generated.models.cloudPcRegionGroup::0020-unknownFutureValue +Microsoft\Graph\Generated.models.cloudPcReport-->Entity +Microsoft\Graph\Generated.models.cloudPcReport::|public|constructor():void +Microsoft\Graph\Generated.models.cloudPcReport::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.cloudPcReport::|public|OdataType:string +Microsoft\Graph\Generated.models.cloudPcReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.cloudPcReport::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcReport Microsoft\Graph\Generated.models.cloudPcRestorePointFrequencyType::0000-default Microsoft\Graph\Generated.models.cloudPcRestorePointFrequencyType::0001-fourHours Microsoft\Graph\Generated.models.cloudPcRestorePointFrequencyType::0002-sixHours @@ -121186,6 +121942,9 @@ Microsoft\Graph\Generated.models.cloudPcSourceDeviceImage::|public|setSubscripti Microsoft\Graph\Generated.models.cloudPcSourceDeviceImage::|public|setSubscriptionId(value?:string):void Microsoft\Graph\Generated.models.cloudPcSourceDeviceImage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcSourceDeviceImage Microsoft\Graph\Generated.models.cloudPcSourceDeviceImage~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.cloudPcUserAccountType::0000-standardUser +Microsoft\Graph\Generated.models.cloudPcUserAccountType::0001-administrator +Microsoft\Graph\Generated.models.cloudPcUserAccountType::0002-unknownFutureValue Microsoft\Graph\Generated.models.cloudPcUserRoleScopeTagInfo::|public|constructor():void Microsoft\Graph\Generated.models.cloudPcUserRoleScopeTagInfo::|public|getAdditionalData():array Microsoft\Graph\Generated.models.cloudPcUserRoleScopeTagInfo::|public|getBackingStore():BackingStore @@ -123737,11 +124496,13 @@ Microsoft\Graph\Generated.models.desk-->Place Microsoft\Graph\Generated.models.desk::|public|constructor():void Microsoft\Graph\Generated.models.desk::|public|getDisplayDeviceName():string Microsoft\Graph\Generated.models.desk::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.desk::|public|getHeightAdjustableState():PlaceFeatureEnablement Microsoft\Graph\Generated.models.desk::|public|getMailboxDetails():MailboxDetails Microsoft\Graph\Generated.models.desk::|public|getMode():PlaceMode Microsoft\Graph\Generated.models.desk::|public|OdataType:string Microsoft\Graph\Generated.models.desk::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.desk::|public|setDisplayDeviceName(value?:string):void +Microsoft\Graph\Generated.models.desk::|public|setHeightAdjustableState(value?:PlaceFeatureEnablement):void Microsoft\Graph\Generated.models.desk::|public|setMailboxDetails(value?:MailboxDetails):void Microsoft\Graph\Generated.models.desk::|public|setMode(value?:PlaceMode):void Microsoft\Graph\Generated.models.desk::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Desk @@ -129265,15 +130026,20 @@ Microsoft\Graph\Generated.models.fileSecurityState~~>AdditionalDataHolder; Backe Microsoft\Graph\Generated.models.fileStorage-->Entity Microsoft\Graph\Generated.models.fileStorage::|public|constructor():void Microsoft\Graph\Generated.models.fileStorage::|public|getContainers():array +Microsoft\Graph\Generated.models.fileStorage::|public|getContainerTypeRegistrations():array +Microsoft\Graph\Generated.models.fileStorage::|public|getContainerTypes():array Microsoft\Graph\Generated.models.fileStorage::|public|getDeletedContainers():array Microsoft\Graph\Generated.models.fileStorage::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.fileStorage::|public|OdataType:string Microsoft\Graph\Generated.models.fileStorage::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.fileStorage::|public|setContainers(value?:array):void +Microsoft\Graph\Generated.models.fileStorage::|public|setContainerTypeRegistrations(value?:array):void +Microsoft\Graph\Generated.models.fileStorage::|public|setContainerTypes(value?:array):void Microsoft\Graph\Generated.models.fileStorage::|public|setDeletedContainers(value?:array):void Microsoft\Graph\Generated.models.fileStorage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorage Microsoft\Graph\Generated.models.fileStorageContainer-->Entity Microsoft\Graph\Generated.models.fileStorageContainer::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainer::|public|getAssignedSensitivityLabel():AssignedLabel Microsoft\Graph\Generated.models.fileStorageContainer::|public|getColumns():array Microsoft\Graph\Generated.models.fileStorageContainer::|public|getContainerTypeId():string Microsoft\Graph\Generated.models.fileStorageContainer::|public|getCreatedDateTime():DateTime @@ -129291,6 +130057,7 @@ Microsoft\Graph\Generated.models.fileStorageContainer::|public|getStatus():FileS Microsoft\Graph\Generated.models.fileStorageContainer::|public|getViewpoint():FileStorageContainerViewpoint Microsoft\Graph\Generated.models.fileStorageContainer::|public|OdataType:string Microsoft\Graph\Generated.models.fileStorageContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainer::|public|setAssignedSensitivityLabel(value?:AssignedLabel):void Microsoft\Graph\Generated.models.fileStorageContainer::|public|setColumns(value?:array):void Microsoft\Graph\Generated.models.fileStorageContainer::|public|setContainerTypeId(value?:string):void Microsoft\Graph\Generated.models.fileStorageContainer::|public|setCreatedDateTime(value?:DateTime):void @@ -129306,6 +130073,13 @@ Microsoft\Graph\Generated.models.fileStorageContainer::|public|setSettings(value Microsoft\Graph\Generated.models.fileStorageContainer::|public|setStatus(value?:FileStorageContainerStatus):void Microsoft\Graph\Generated.models.fileStorageContainer::|public|setViewpoint(value?:FileStorageContainerViewpoint):void Microsoft\Graph\Generated.models.fileStorageContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainer +Microsoft\Graph\Generated.models.fileStorageContainerBillingClassification::0000-standard +Microsoft\Graph\Generated.models.fileStorageContainerBillingClassification::0001-trial +Microsoft\Graph\Generated.models.fileStorageContainerBillingClassification::0002-directToCustomer +Microsoft\Graph\Generated.models.fileStorageContainerBillingClassification::0003-unknownFutureValue +Microsoft\Graph\Generated.models.fileStorageContainerBillingStatus::0000-invalid +Microsoft\Graph\Generated.models.fileStorageContainerBillingStatus::0001-valid +Microsoft\Graph\Generated.models.fileStorageContainerBillingStatus::0002-unknownFutureValue Microsoft\Graph\Generated.models.fileStorageContainerCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.fileStorageContainerCollectionResponse::|public|constructor():void Microsoft\Graph\Generated.models.fileStorageContainerCollectionResponse::|public|GetFieldDeserializers():array @@ -129339,6 +130113,169 @@ Microsoft\Graph\Generated.models.fileStorageContainerSettings~~>AdditionalDataHo Microsoft\Graph\Generated.models.fileStorageContainerStatus::0000-inactive Microsoft\Graph\Generated.models.fileStorageContainerStatus::0001-active Microsoft\Graph\Generated.models.fileStorageContainerStatus::0002-unknownFutureValue +Microsoft\Graph\Generated.models.fileStorageContainerType-->Entity +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|getBillingClassification():FileStorageContainerBillingClassification +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|getBillingStatus():FileStorageContainerBillingStatus +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|getEtag():string +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|getExpirationDateTime():DateTime +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|getName():string +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|getOwningAppId():string +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|getSettings():FileStorageContainerTypeSettings +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|OdataType:string +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|setBillingClassification(value?:FileStorageContainerBillingClassification):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|setBillingStatus(value?:FileStorageContainerBillingStatus):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|setEtag(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|setExpirationDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|setOwningAppId(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|public|setSettings(value?:FileStorageContainerTypeSettings):void +Microsoft\Graph\Generated.models.fileStorageContainerType::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerType +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0000-none +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0001-readContent +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0002-writeContent +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0003-manageContent +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0004-create +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0005-delete +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0006-read +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0007-write +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0008-enumeratePermissions +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0009-addPermissions +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0010-updatePermissions +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0011-deletePermissions +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0012-deleteOwnPermission +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0013-managePermissions +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0014-full +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermission::0015-unknownFutureValue +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|getAppId():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|getApplicationPermissions():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|getDelegatedPermissions():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|getOdataType():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|setAppId(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|setApplicationPermissions(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|setDelegatedPermissions(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerTypeAppPermissionGrant +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrantCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerTypeAppPermissionGrantCollectionResponse +Microsoft\Graph\Generated.models.fileStorageContainerTypeAppPermissionGrant~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.fileStorageContainerTypeCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.fileStorageContainerTypeCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainerTypeCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerTypeCollectionResponse +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration-->Entity +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getApplicationPermissionGrants():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getBillingClassification():FileStorageContainerBillingClassification +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getBillingStatus():FileStorageContainerBillingStatus +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getEtag():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getExpirationDateTime():DateTime +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getName():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getOwningAppId():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getRegisteredDateTime():DateTime +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|getSettings():FileStorageContainerTypeRegistrationSettings +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|OdataType:string +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setApplicationPermissionGrants(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setBillingClassification(value?:FileStorageContainerBillingClassification):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setBillingStatus(value?:FileStorageContainerBillingStatus):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setEtag(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setExpirationDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setOwningAppId(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setRegisteredDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|public|setSettings(value?:FileStorageContainerTypeRegistrationSettings):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerTypeRegistration +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerTypeRegistrationCollectionResponse +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getIsDiscoverabilityEnabled():bool +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getIsItemVersioningEnabled():bool +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getIsSearchEnabled():bool +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getIsSharingRestricted():bool +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getItemMajorVersionLimit():int +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getMaxStoragePerContainerInBytes():int +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getOdataType():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getSharingCapability():SharingCapabilities +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|getUrlTemplate():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setIsDiscoverabilityEnabled(value?:bool):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setIsItemVersioningEnabled(value?:bool):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setIsSearchEnabled(value?:bool):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setIsSharingRestricted(value?:bool):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setItemMajorVersionLimit(value?:int):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setMaxStoragePerContainerInBytes(value?:int):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setSharingCapability(value?:SharingCapabilities):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|public|setUrlTemplate(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerTypeRegistrationSettings +Microsoft\Graph\Generated.models.fileStorageContainerTypeRegistrationSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|constructor():void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getConsumingTenantOverridables():FileStorageContainerTypeSettingsOverride +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getIsDiscoverabilityEnabled():bool +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getIsItemVersioningEnabled():bool +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getIsSearchEnabled():bool +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getIsSharingRestricted():bool +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getItemMajorVersionLimit():int +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getMaxStoragePerContainerInBytes():int +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getOdataType():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getSharingCapability():SharingCapabilities +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|getUrlTemplate():string +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setConsumingTenantOverridables(value?:FileStorageContainerTypeSettingsOverride):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setIsDiscoverabilityEnabled(value?:bool):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setIsItemVersioningEnabled(value?:bool):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setIsSearchEnabled(value?:bool):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setIsSharingRestricted(value?:bool):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setItemMajorVersionLimit(value?:int):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setMaxStoragePerContainerInBytes(value?:int):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setSharingCapability(value?:SharingCapabilities):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|public|setUrlTemplate(value?:string):void +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):FileStorageContainerTypeSettings +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettingsOverride::0000-urlTemplate +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettingsOverride::0001-isDiscoverabilityEnabled +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettingsOverride::0002-isSearchEnabled +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettingsOverride::0003-isItemVersioningEnabled +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettingsOverride::0004-itemMajorVersionLimit +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettingsOverride::0005-maxStoragePerContainerInBytes +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettingsOverride::0006-unknownFutureValue +Microsoft\Graph\Generated.models.fileStorageContainerTypeSettings~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.fileStorageContainerViewpoint::|public|constructor():void Microsoft\Graph\Generated.models.fileStorageContainerViewpoint::|public|getAdditionalData():array Microsoft\Graph\Generated.models.fileStorageContainerViewpoint::|public|getBackingStore():BackingStore @@ -133159,6 +134096,7 @@ Microsoft\Graph\Generated.models.listItem-->BaseItem Microsoft\Graph\Generated.models.listItem::|public|constructor():void Microsoft\Graph\Generated.models.listItem::|public|getAnalytics():ItemAnalytics Microsoft\Graph\Generated.models.listItem::|public|getContentType():ContentTypeInfo +Microsoft\Graph\Generated.models.listItem::|public|getDeleted():Deleted Microsoft\Graph\Generated.models.listItem::|public|getDocumentSetVersions():array Microsoft\Graph\Generated.models.listItem::|public|getDriveItem():DriveItem Microsoft\Graph\Generated.models.listItem::|public|GetFieldDeserializers():array @@ -133169,6 +134107,7 @@ Microsoft\Graph\Generated.models.listItem::|public|OdataType:string Microsoft\Graph\Generated.models.listItem::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.listItem::|public|setAnalytics(value?:ItemAnalytics):void Microsoft\Graph\Generated.models.listItem::|public|setContentType(value?:ContentTypeInfo):void +Microsoft\Graph\Generated.models.listItem::|public|setDeleted(value?:Deleted):void Microsoft\Graph\Generated.models.listItem::|public|setDocumentSetVersions(value?:array):void Microsoft\Graph\Generated.models.listItem::|public|setDriveItem(value?:DriveItem):void Microsoft\Graph\Generated.models.listItem::|public|setFields(value?:FieldValueSet):void @@ -134820,6 +135759,11 @@ Microsoft\Graph\Generated.models.managementState::0009-wipeCanceled Microsoft\Graph\Generated.models.managementState::0010-retireCanceled Microsoft\Graph\Generated.models.managementState::0011-discovered Microsoft\Graph\Generated.models.managementState::0012-unknownFutureValue +Microsoft\Graph\Generated.models.maxWorkLocationDetails::0000-unknown +Microsoft\Graph\Generated.models.maxWorkLocationDetails::0001-none +Microsoft\Graph\Generated.models.maxWorkLocationDetails::0002-approximate +Microsoft\Graph\Generated.models.maxWorkLocationDetails::0003-specific +Microsoft\Graph\Generated.models.maxWorkLocationDetails::0004-unknownFutureValue Microsoft\Graph\Generated.models.mdmAppConfigKeyType::0000-stringType Microsoft\Graph\Generated.models.mdmAppConfigKeyType::0001-integerType Microsoft\Graph\Generated.models.mdmAppConfigKeyType::0002-realType @@ -135115,6 +136059,38 @@ Microsoft\Graph\Generated.models.meetingMessageType::0002-meetingCancelled Microsoft\Graph\Generated.models.meetingMessageType::0003-meetingAccepted Microsoft\Graph\Generated.models.meetingMessageType::0004-meetingTenativelyAccepted Microsoft\Graph\Generated.models.meetingMessageType::0005-meetingDeclined +Microsoft\Graph\Generated.models.meetingNote::|public|constructor():void +Microsoft\Graph\Generated.models.meetingNote::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.meetingNote::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.meetingNote::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.meetingNote::|public|getOdataType():string +Microsoft\Graph\Generated.models.meetingNote::|public|getSubpoints():array +Microsoft\Graph\Generated.models.meetingNote::|public|getText():string +Microsoft\Graph\Generated.models.meetingNote::|public|getTitle():string +Microsoft\Graph\Generated.models.meetingNote::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.meetingNote::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.meetingNote::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.meetingNote::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.meetingNote::|public|setSubpoints(value?:array):void +Microsoft\Graph\Generated.models.meetingNote::|public|setText(value?:string):void +Microsoft\Graph\Generated.models.meetingNote::|public|setTitle(value?:string):void +Microsoft\Graph\Generated.models.meetingNote::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MeetingNote +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|constructor():void +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|getOdataType():string +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|getText():string +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|getTitle():string +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|setText(value?:string):void +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|public|setTitle(value?:string):void +Microsoft\Graph\Generated.models.meetingNoteSubpoint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MeetingNoteSubpoint +Microsoft\Graph\Generated.models.meetingNoteSubpoint~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.meetingNote~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.meetingParticipantInfo::|public|constructor():void Microsoft\Graph\Generated.models.meetingParticipantInfo::|public|getAdditionalData():array Microsoft\Graph\Generated.models.meetingParticipantInfo::|public|getBackingStore():BackingStore @@ -135268,6 +136244,23 @@ Microsoft\Graph\Generated.models.membersLeftEventMessageDetail::|public|Serializ Microsoft\Graph\Generated.models.membersLeftEventMessageDetail::|public|setInitiator(value?:IdentitySet):void Microsoft\Graph\Generated.models.membersLeftEventMessageDetail::|public|setMembers(value?:array):void Microsoft\Graph\Generated.models.membersLeftEventMessageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MembersLeftEventMessageDetail +Microsoft\Graph\Generated.models.mentionEvent::|public|constructor():void +Microsoft\Graph\Generated.models.mentionEvent::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.mentionEvent::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.mentionEvent::|public|getEventDateTime():DateTime +Microsoft\Graph\Generated.models.mentionEvent::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.mentionEvent::|public|getOdataType():string +Microsoft\Graph\Generated.models.mentionEvent::|public|getSpeaker():IdentitySet +Microsoft\Graph\Generated.models.mentionEvent::|public|getTranscriptUtterance():string +Microsoft\Graph\Generated.models.mentionEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.mentionEvent::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.mentionEvent::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.mentionEvent::|public|setEventDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.mentionEvent::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.mentionEvent::|public|setSpeaker(value?:IdentitySet):void +Microsoft\Graph\Generated.models.mentionEvent::|public|setTranscriptUtterance(value?:string):void +Microsoft\Graph\Generated.models.mentionEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MentionEvent +Microsoft\Graph\Generated.models.mentionEvent~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.message-->OutlookItem Microsoft\Graph\Generated.models.message::|public|constructor():void Microsoft\Graph\Generated.models.message::|public|getAttachments():array @@ -137262,6 +138255,7 @@ Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAttendanceReports Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getAudioConferencing():AudioConferencing Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getChatInfo():ChatInfo Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getChatRestrictions():ChatRestrictions +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getExpiryDateTime():DateTime Microsoft\Graph\Generated.models.onlineMeetingBase::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getIsEndToEndEncryptionEnabled():bool Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getIsEntryExitAnnounced():bool @@ -137269,7 +138263,10 @@ Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getJoinInformation() Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getJoinMeetingIdSettings():JoinMeetingIdSettings Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getJoinWebUrl():string Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getLobbyBypassSettings():LobbyBypassSettings +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getMeetingOptionsWebUrl():string +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getMeetingSpokenLanguageTag():string Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getRecordAutomatically():bool +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getSensitivityLabelAssignment():OnlineMeetingSensitivityLabelAssignment Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getShareMeetingChatHistoryDefault():MeetingChatHistoryDefaultMode Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getSubject():string Microsoft\Graph\Generated.models.onlineMeetingBase::|public|getVideoTeleconferenceId():string @@ -137294,13 +138291,17 @@ Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAttendanceReports Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setAudioConferencing(value?:AudioConferencing):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setChatInfo(value?:ChatInfo):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setChatRestrictions(value?:ChatRestrictions):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setExpiryDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setIsEndToEndEncryptionEnabled(value?:bool):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setIsEntryExitAnnounced(value?:bool):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setJoinInformation(value?:ItemBody):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setJoinMeetingIdSettings(value?:JoinMeetingIdSettings):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setJoinWebUrl(value?:string):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setLobbyBypassSettings(value?:LobbyBypassSettings):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setMeetingOptionsWebUrl(value?:string):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setMeetingSpokenLanguageTag(value?:string):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setRecordAutomatically(value?:bool):void +Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setSensitivityLabelAssignment(value?:OnlineMeetingSensitivityLabelAssignment):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setShareMeetingChatHistoryDefault(value?:MeetingChatHistoryDefaultMode):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setSubject(value?:string):void Microsoft\Graph\Generated.models.onlineMeetingBase::|public|setVideoTeleconferenceId(value?:string):void @@ -137390,6 +138391,19 @@ Microsoft\Graph\Generated.models.onlineMeetingRole::0001-presenter Microsoft\Graph\Generated.models.onlineMeetingRole::0002-unknownFutureValue Microsoft\Graph\Generated.models.onlineMeetingRole::0003-producer Microsoft\Graph\Generated.models.onlineMeetingRole::0004-coorganizer +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|constructor():void +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|getOdataType():string +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|getSensitivityLabelId():string +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|public|setSensitivityLabelId(value?:string):void +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OnlineMeetingSensitivityLabelAssignment +Microsoft\Graph\Generated.models.onlineMeetingSensitivityLabelAssignment~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.onlineMeetingVideoDisabledReason::0000-watermarkProtection Microsoft\Graph\Generated.models.onlineMeetingVideoDisabledReason::0001-unknownFutureValue Microsoft\Graph\Generated.models.onOtpSendCustomExtension-->CustomAuthenticationExtension @@ -139206,6 +140220,10 @@ Microsoft\Graph\Generated.models.place::|public|setParentId(value?:string):void Microsoft\Graph\Generated.models.place::|public|setPhone(value?:string):void Microsoft\Graph\Generated.models.place::|public|setTags(value?:array):void Microsoft\Graph\Generated.models.place::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Place +Microsoft\Graph\Generated.models.placeFeatureEnablement::0000-unknown +Microsoft\Graph\Generated.models.placeFeatureEnablement::0001-enabled +Microsoft\Graph\Generated.models.placeFeatureEnablement::0002-disabled +Microsoft\Graph\Generated.models.placeFeatureEnablement::0003-unknownFutureValue Microsoft\Graph\Generated.models.placeMode::|public|constructor():void Microsoft\Graph\Generated.models.placeMode::|public|getAdditionalData():array Microsoft\Graph\Generated.models.placeMode::|public|getBackingStore():BackingStore @@ -139826,6 +140844,7 @@ Microsoft\Graph\Generated.models.presence::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.presence::|public|getOutOfOfficeSettings():OutOfOfficeSettings Microsoft\Graph\Generated.models.presence::|public|getSequenceNumber():string Microsoft\Graph\Generated.models.presence::|public|getStatusMessage():PresenceStatusMessage +Microsoft\Graph\Generated.models.presence::|public|getWorkLocation():UserWorkLocation Microsoft\Graph\Generated.models.presence::|public|OdataType:string Microsoft\Graph\Generated.models.presence::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.presence::|public|setActivity(value?:string):void @@ -139833,6 +140852,7 @@ Microsoft\Graph\Generated.models.presence::|public|setAvailability(value?:string Microsoft\Graph\Generated.models.presence::|public|setOutOfOfficeSettings(value?:OutOfOfficeSettings):void Microsoft\Graph\Generated.models.presence::|public|setSequenceNumber(value?:string):void Microsoft\Graph\Generated.models.presence::|public|setStatusMessage(value?:PresenceStatusMessage):void +Microsoft\Graph\Generated.models.presence::|public|setWorkLocation(value?:UserWorkLocation):void Microsoft\Graph\Generated.models.presence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Presence Microsoft\Graph\Generated.models.presenceCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.presenceCollectionResponse::|public|constructor():void @@ -144363,6 +145383,8 @@ Microsoft\Graph\Generated.models.room::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.room::|public|getFloorLabel():string Microsoft\Graph\Generated.models.room::|public|getFloorNumber():int Microsoft\Graph\Generated.models.room::|public|getNickname():string +Microsoft\Graph\Generated.models.room::|public|getPlaceId():string +Microsoft\Graph\Generated.models.room::|public|getTeamsEnabledState():PlaceFeatureEnablement Microsoft\Graph\Generated.models.room::|public|getVideoDeviceName():string Microsoft\Graph\Generated.models.room::|public|OdataType:string Microsoft\Graph\Generated.models.room::|public|Serialize(writer:ISerializationWriter):void @@ -144375,6 +145397,8 @@ Microsoft\Graph\Generated.models.room::|public|setEmailAddress(value?:string):vo Microsoft\Graph\Generated.models.room::|public|setFloorLabel(value?:string):void Microsoft\Graph\Generated.models.room::|public|setFloorNumber(value?:int):void Microsoft\Graph\Generated.models.room::|public|setNickname(value?:string):void +Microsoft\Graph\Generated.models.room::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.models.room::|public|setTeamsEnabledState(value?:PlaceFeatureEnablement):void Microsoft\Graph\Generated.models.room::|public|setVideoDeviceName(value?:string):void Microsoft\Graph\Generated.models.room::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Room Microsoft\Graph\Generated.models.roomCollectionResponse-->BaseCollectionPaginationCountResponse @@ -145424,6 +146448,16 @@ Microsoft\Graph\Generated.models.security.actionAfterRetentionPeriod::0001-delet Microsoft\Graph\Generated.models.security.actionAfterRetentionPeriod::0002-startDispositionReview Microsoft\Graph\Generated.models.security.actionAfterRetentionPeriod::0003-relabel Microsoft\Graph\Generated.models.security.actionAfterRetentionPeriod::0004-unknownFutureValue +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence-->AlertEvidence +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|public|constructor():void +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|public|getActiveDirectoryDomainName():string +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|public|getTrustedDomains():array +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|public|OdataType:string +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|public|setActiveDirectoryDomainName(value?:string):void +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|public|setTrustedDomains(value?:array):void +Microsoft\Graph\Generated.models.security.activeDirectoryDomainEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActiveDirectoryDomainEvidence Microsoft\Graph\Generated.models.security.additionalDataOptions::0000-allVersions Microsoft\Graph\Generated.models.security.additionalDataOptions::0001-linkedFiles Microsoft\Graph\Generated.models.security.additionalDataOptions::0002-unknownFutureValue @@ -146207,6 +147241,7 @@ Microsoft\Graph\Generated.models.security.deviceEvidence::|public|getOsBuild():i Microsoft\Graph\Generated.models.security.deviceEvidence::|public|getOsPlatform():string Microsoft\Graph\Generated.models.security.deviceEvidence::|public|getRbacGroupId():int Microsoft\Graph\Generated.models.security.deviceEvidence::|public|getRbacGroupName():string +Microsoft\Graph\Generated.models.security.deviceEvidence::|public|getResourceAccessEvents():array Microsoft\Graph\Generated.models.security.deviceEvidence::|public|getRiskScore():DeviceRiskScore Microsoft\Graph\Generated.models.security.deviceEvidence::|public|getVersion():string Microsoft\Graph\Generated.models.security.deviceEvidence::|public|getVmMetadata():VmMetadata @@ -146230,6 +147265,7 @@ Microsoft\Graph\Generated.models.security.deviceEvidence::|public|setOsBuild(val Microsoft\Graph\Generated.models.security.deviceEvidence::|public|setOsPlatform(value?:string):void Microsoft\Graph\Generated.models.security.deviceEvidence::|public|setRbacGroupId(value?:int):void Microsoft\Graph\Generated.models.security.deviceEvidence::|public|setRbacGroupName(value?:string):void +Microsoft\Graph\Generated.models.security.deviceEvidence::|public|setResourceAccessEvents(value?:array):void Microsoft\Graph\Generated.models.security.deviceEvidence::|public|setRiskScore(value?:DeviceRiskScore):void Microsoft\Graph\Generated.models.security.deviceEvidence::|public|setVersion(value?:string):void Microsoft\Graph\Generated.models.security.deviceEvidence::|public|setVmMetadata(value?:VmMetadata):void @@ -146318,6 +147354,7 @@ Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|pu Microsoft\Graph\Generated.models.security.ediscoveryAddToReviewSetOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EdiscoveryAddToReviewSetOperation Microsoft\Graph\Generated.models.security.ediscoveryCase-->EscapedCase Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|constructor():void +Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|getCaseMembers():array Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|getClosedBy():IdentitySet Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|getClosedDateTime():DateTime Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|getCustodians():array @@ -146331,6 +147368,7 @@ Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|getSettings(): Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|getTags():array Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|OdataType:string Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|setCaseMembers(value?:array):void Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|setClosedBy(value?:IdentitySet):void Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|setClosedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.security.ediscoveryCase::|public|setCustodians(value?:array):void @@ -146349,6 +147387,25 @@ Microsoft\Graph\Generated.models.security.ediscoveryCaseCollectionResponse::|pub Microsoft\Graph\Generated.models.security.ediscoveryCaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.security.ediscoveryCaseCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.security.ediscoveryCaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EdiscoveryCaseCollectionResponse +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember-->Entity +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|constructor():void +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|getDisplayName():string +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|getRecipientType():RecipientType +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|getSmtpAddress():string +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|OdataType:string +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|setRecipientType(value?:RecipientType):void +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|public|setSmtpAddress(value?:string):void +Microsoft\Graph\Generated.models.security.ediscoveryCaseMember::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EdiscoveryCaseMember +Microsoft\Graph\Generated.models.security.ediscoveryCaseMemberCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.security.ediscoveryCaseMemberCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.security.ediscoveryCaseMemberCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.ediscoveryCaseMemberCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.security.ediscoveryCaseMemberCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.ediscoveryCaseMemberCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.security.ediscoveryCaseMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EdiscoveryCaseMemberCollectionResponse Microsoft\Graph\Generated.models.security.ediscoveryCaseSettings-->Entity Microsoft\Graph\Generated.models.security.ediscoveryCaseSettings::|public|constructor():void Microsoft\Graph\Generated.models.security.ediscoveryCaseSettings::|public|getCaseType():CaseType @@ -148145,6 +149202,9 @@ Microsoft\Graph\Generated.models.security.purgeType::0002-permanentlyDelete Microsoft\Graph\Generated.models.security.queryType::0000-files Microsoft\Graph\Generated.models.security.queryType::0001-messages Microsoft\Graph\Generated.models.security.queryType::0002-unknownFutureValue +Microsoft\Graph\Generated.models.security.recipientType::0000-user +Microsoft\Graph\Generated.models.security.recipientType::0001-roleGroup +Microsoft\Graph\Generated.models.security.recipientType::0002-unknownFutureValue Microsoft\Graph\Generated.models.security.redundancyDetectionSettings::|public|constructor():void Microsoft\Graph\Generated.models.security.redundancyDetectionSettings::|public|getAdditionalData():array Microsoft\Graph\Generated.models.security.redundancyDetectionSettings::|public|getBackingStore():BackingStore @@ -149386,6 +150446,7 @@ Microsoft\Graph\Generated.models.sensitivityLabel::|public|getAutoTooltip():stri Microsoft\Graph\Generated.models.sensitivityLabel::|public|getDescription():string Microsoft\Graph\Generated.models.sensitivityLabel::|public|getDisplayName():string Microsoft\Graph\Generated.models.sensitivityLabel::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.sensitivityLabel::|public|getHasProtection():bool Microsoft\Graph\Generated.models.sensitivityLabel::|public|getIsDefault():bool Microsoft\Graph\Generated.models.sensitivityLabel::|public|getIsEndpointProtectionEnabled():bool Microsoft\Graph\Generated.models.sensitivityLabel::|public|getIsScopedToUser():bool @@ -149401,6 +150462,7 @@ Microsoft\Graph\Generated.models.sensitivityLabel::|public|setActionSource(value Microsoft\Graph\Generated.models.sensitivityLabel::|public|setAutoTooltip(value?:string):void Microsoft\Graph\Generated.models.sensitivityLabel::|public|setDescription(value?:string):void Microsoft\Graph\Generated.models.sensitivityLabel::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.sensitivityLabel::|public|setHasProtection(value?:bool):void Microsoft\Graph\Generated.models.sensitivityLabel::|public|setIsDefault(value?:bool):void Microsoft\Graph\Generated.models.sensitivityLabel::|public|setIsEndpointProtectionEnabled(value?:bool):void Microsoft\Graph\Generated.models.sensitivityLabel::|public|setIsScopedToUser(value?:bool):void @@ -152605,6 +153667,12 @@ Microsoft\Graph\Generated.models.tabUpdatedEventMessageDetail::|public|Serialize Microsoft\Graph\Generated.models.tabUpdatedEventMessageDetail::|public|setInitiator(value?:IdentitySet):void Microsoft\Graph\Generated.models.tabUpdatedEventMessageDetail::|public|setTabId(value?:string):void Microsoft\Graph\Generated.models.tabUpdatedEventMessageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TabUpdatedEventMessageDetail +Microsoft\Graph\Generated.models.targetAgentIdentitySponsorsOrOwners-->SubjectSet +Microsoft\Graph\Generated.models.targetAgentIdentitySponsorsOrOwners::|public|constructor():void +Microsoft\Graph\Generated.models.targetAgentIdentitySponsorsOrOwners::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.targetAgentIdentitySponsorsOrOwners::|public|OdataType:string +Microsoft\Graph\Generated.models.targetAgentIdentitySponsorsOrOwners::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.targetAgentIdentitySponsorsOrOwners::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TargetAgentIdentitySponsorsOrOwners Microsoft\Graph\Generated.models.targetApplicationOwners-->SubjectSet Microsoft\Graph\Generated.models.targetApplicationOwners::|public|constructor():void Microsoft\Graph\Generated.models.targetApplicationOwners::|public|GetFieldDeserializers():array @@ -152970,6 +154038,110 @@ Microsoft\Graph\Generated.models.teamRenamedEventMessageDetail::|public|setIniti Microsoft\Graph\Generated.models.teamRenamedEventMessageDetail::|public|setTeamDisplayName(value?:string):void Microsoft\Graph\Generated.models.teamRenamedEventMessageDetail::|public|setTeamId(value?:string):void Microsoft\Graph\Generated.models.teamRenamedEventMessageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamRenamedEventMessageDetail +Microsoft\Graph\Generated.models.teamsAdministration.accountType::0000-user +Microsoft\Graph\Generated.models.teamsAdministration.accountType::0001-resourceAccount +Microsoft\Graph\Generated.models.teamsAdministration.accountType::0002-guest +Microsoft\Graph\Generated.models.teamsAdministration.accountType::0003-sfbOnPremUser +Microsoft\Graph\Generated.models.teamsAdministration.accountType::0004-unknown +Microsoft\Graph\Generated.models.teamsAdministration.accountType::0005-unknownFutureValue +Microsoft\Graph\Generated.models.teamsAdministration.accountType::0006-ineligibleUser +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getAssignmentCategory():AssignmentCategory +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getOdataType():string +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getTelephoneNumber():string +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setAssignmentCategory(value?:AssignmentCategory):void +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setTelephoneNumber(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AssignedTelephoneNumber +Microsoft\Graph\Generated.models.teamsAdministration.assignedTelephoneNumber~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.teamsAdministration.assignmentCategory::0000-primary +Microsoft\Graph\Generated.models.teamsAdministration.assignmentCategory::0001-private +Microsoft\Graph\Generated.models.teamsAdministration.assignmentCategory::0002-alternate +Microsoft\Graph\Generated.models.teamsAdministration.assignmentCategory::0003-unknownFutureValue +Microsoft\Graph\Generated.models.teamsAdministration.assignmentType::0000-direct +Microsoft\Graph\Generated.models.teamsAdministration.assignmentType::0001-group +Microsoft\Graph\Generated.models.teamsAdministration.assignmentType::0002-unknownFutureValue +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getOdataType():string +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getPolicyAssignment():PolicyAssignment +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getPolicyType():string +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setPolicyAssignment(value?:PolicyAssignment):void +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setPolicyType(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EffectivePolicyAssignment +Microsoft\Graph\Generated.models.teamsAdministration.effectivePolicyAssignment~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|getAssignmentType():AssignmentType +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|getDisplayName():string +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|getGroupId():string +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|getOdataType():string +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|getPolicyId():string +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|setAssignmentType(value?:AssignmentType):void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|setGroupId(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|setPolicyId(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyAssignment +Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot-->Entity +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|getUserConfigurations():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|OdataType:string +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|setUserConfigurations(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsAdminRoot +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration-->Entity +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getAccountType():AccountType +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getEffectivePolicyAssignments():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getFeatureTypes():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getIsEnterpriseVoiceEnabled():bool +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getModifiedDateTime():DateTime +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getTelephoneNumbers():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getTenantId():string +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getUser():User +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getUserPrincipalName():string +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|OdataType:string +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setAccountType(value?:AccountType):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setEffectivePolicyAssignments(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setFeatureTypes(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setIsEnterpriseVoiceEnabled(value?:bool):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setTelephoneNumbers(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setTenantId(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setUser(value?:User):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setUserPrincipalName(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsUserConfiguration +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsUserConfigurationCollectionResponse Microsoft\Graph\Generated.models.teamsApp-->Entity Microsoft\Graph\Generated.models.teamsApp::|public|constructor():void Microsoft\Graph\Generated.models.teamsApp::|public|getAppDefinitions():array @@ -154302,6 +155474,21 @@ Microsoft\Graph\Generated.models.timeOffCollectionResponse::|public|getValue():a Microsoft\Graph\Generated.models.timeOffCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.timeOffCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.timeOffCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeOffCollectionResponse +Microsoft\Graph\Generated.models.timeOffDetails::|public|constructor():void +Microsoft\Graph\Generated.models.timeOffDetails::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.timeOffDetails::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.timeOffDetails::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.timeOffDetails::|public|getIsAllDay():bool +Microsoft\Graph\Generated.models.timeOffDetails::|public|getOdataType():string +Microsoft\Graph\Generated.models.timeOffDetails::|public|getSubject():string +Microsoft\Graph\Generated.models.timeOffDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.timeOffDetails::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.timeOffDetails::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.timeOffDetails::|public|setIsAllDay(value?:bool):void +Microsoft\Graph\Generated.models.timeOffDetails::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.timeOffDetails::|public|setSubject(value?:string):void +Microsoft\Graph\Generated.models.timeOffDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TimeOffDetails +Microsoft\Graph\Generated.models.timeOffDetails~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.timeOffItem-->ScheduleEntity Microsoft\Graph\Generated.models.timeOffItem::|public|constructor():void Microsoft\Graph\Generated.models.timeOffItem::|public|GetFieldDeserializers():array @@ -154815,6 +156002,14 @@ Microsoft\Graph\Generated.models.trendingCollectionResponse::|public|getValue(): Microsoft\Graph\Generated.models.trendingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.trendingCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.trendingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TrendingCollectionResponse +Microsoft\Graph\Generated.models.unavailablePlaceMode-->PlaceMode +Microsoft\Graph\Generated.models.unavailablePlaceMode::|public|constructor():void +Microsoft\Graph\Generated.models.unavailablePlaceMode::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.unavailablePlaceMode::|public|getReason():string +Microsoft\Graph\Generated.models.unavailablePlaceMode::|public|OdataType:string +Microsoft\Graph\Generated.models.unavailablePlaceMode::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.unavailablePlaceMode::|public|setReason(value?:string):void +Microsoft\Graph\Generated.models.unavailablePlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UnavailablePlaceMode Microsoft\Graph\Generated.models.unifiedApprovalStage::|public|constructor():void Microsoft\Graph\Generated.models.unifiedApprovalStage::|public|getAdditionalData():array Microsoft\Graph\Generated.models.unifiedApprovalStage::|public|getApprovalStageTimeOutInDays():int @@ -155572,6 +156767,7 @@ Microsoft\Graph\Generated.models.user::|public|constructor():void Microsoft\Graph\Generated.models.user::|public|getAboutMe():string Microsoft\Graph\Generated.models.user::|public|getAccountEnabled():bool Microsoft\Graph\Generated.models.user::|public|getActivities():array +Microsoft\Graph\Generated.models.user::|public|getAdhocCalls():array Microsoft\Graph\Generated.models.user::|public|getAgeGroup():string Microsoft\Graph\Generated.models.user::|public|getAgreementAcceptances():array Microsoft\Graph\Generated.models.user::|public|getAppRoleAssignments():array @@ -155658,6 +156854,7 @@ Microsoft\Graph\Generated.models.user::|public|getOnPremisesLastSyncDateTime():D Microsoft\Graph\Generated.models.user::|public|getOnPremisesProvisioningErrors():array Microsoft\Graph\Generated.models.user::|public|getOnPremisesSamAccountName():string Microsoft\Graph\Generated.models.user::|public|getOnPremisesSecurityIdentifier():string +Microsoft\Graph\Generated.models.user::|public|getOnPremisesSyncBehavior():OnPremisesSyncBehavior Microsoft\Graph\Generated.models.user::|public|getOnPremisesSyncEnabled():bool Microsoft\Graph\Generated.models.user::|public|getOnPremisesUserPrincipalName():string Microsoft\Graph\Generated.models.user::|public|getOtherMails():array @@ -155706,6 +156903,7 @@ Microsoft\Graph\Generated.models.user::|public|Serialize(writer:ISerializationWr Microsoft\Graph\Generated.models.user::|public|setAboutMe(value?:string):void Microsoft\Graph\Generated.models.user::|public|setAccountEnabled(value?:bool):void Microsoft\Graph\Generated.models.user::|public|setActivities(value?:array):void +Microsoft\Graph\Generated.models.user::|public|setAdhocCalls(value?:array):void Microsoft\Graph\Generated.models.user::|public|setAgeGroup(value?:string):void Microsoft\Graph\Generated.models.user::|public|setAgreementAcceptances(value?:array):void Microsoft\Graph\Generated.models.user::|public|setAppRoleAssignments(value?:array):void @@ -155791,6 +156989,7 @@ Microsoft\Graph\Generated.models.user::|public|setOnPremisesLastSyncDateTime(val Microsoft\Graph\Generated.models.user::|public|setOnPremisesProvisioningErrors(value?:array):void Microsoft\Graph\Generated.models.user::|public|setOnPremisesSamAccountName(value?:string):void Microsoft\Graph\Generated.models.user::|public|setOnPremisesSecurityIdentifier(value?:string):void +Microsoft\Graph\Generated.models.user::|public|setOnPremisesSyncBehavior(value?:OnPremisesSyncBehavior):void Microsoft\Graph\Generated.models.user::|public|setOnPremisesSyncEnabled(value?:bool):void Microsoft\Graph\Generated.models.user::|public|setOnPremisesUserPrincipalName(value?:string):void Microsoft\Graph\Generated.models.user::|public|setOtherMails(value?:array):void @@ -157137,6 +158336,7 @@ Microsoft\Graph\Generated.models.userSettings::|public|getItemInsights():UserIns Microsoft\Graph\Generated.models.userSettings::|public|getShiftPreferences():ShiftPreferences Microsoft\Graph\Generated.models.userSettings::|public|getStorage():UserStorage Microsoft\Graph\Generated.models.userSettings::|public|getWindows():array +Microsoft\Graph\Generated.models.userSettings::|public|getWorkHoursAndLocations():WorkHoursAndLocationsSetting Microsoft\Graph\Generated.models.userSettings::|public|OdataType:string Microsoft\Graph\Generated.models.userSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.userSettings::|public|setContributionToContentDiscoveryAsOrganizationDisabled(value?:bool):void @@ -157145,6 +158345,7 @@ Microsoft\Graph\Generated.models.userSettings::|public|setItemInsights(value?:Us Microsoft\Graph\Generated.models.userSettings::|public|setShiftPreferences(value?:ShiftPreferences):void Microsoft\Graph\Generated.models.userSettings::|public|setStorage(value?:UserStorage):void Microsoft\Graph\Generated.models.userSettings::|public|setWindows(value?:array):void +Microsoft\Graph\Generated.models.userSettings::|public|setWorkHoursAndLocations(value?:WorkHoursAndLocationsSetting):void Microsoft\Graph\Generated.models.userSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserSettings Microsoft\Graph\Generated.models.userSignIn-->SignInIdentity Microsoft\Graph\Generated.models.userSignIn::|public|constructor():void @@ -157315,6 +158516,23 @@ Microsoft\Graph\Generated.models.userTrainingStatusInfo~~>AdditionalDataHolder; Microsoft\Graph\Generated.models.userType::0000-member Microsoft\Graph\Generated.models.userType::0001-guest Microsoft\Graph\Generated.models.userType::0002-unknownFutureValue +Microsoft\Graph\Generated.models.userWorkLocation::|public|constructor():void +Microsoft\Graph\Generated.models.userWorkLocation::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.userWorkLocation::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.userWorkLocation::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.userWorkLocation::|public|getOdataType():string +Microsoft\Graph\Generated.models.userWorkLocation::|public|getPlaceId():string +Microsoft\Graph\Generated.models.userWorkLocation::|public|getSource():WorkLocationSource +Microsoft\Graph\Generated.models.userWorkLocation::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Generated.models.userWorkLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.userWorkLocation::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.userWorkLocation::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.userWorkLocation::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.userWorkLocation::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.models.userWorkLocation::|public|setSource(value?:WorkLocationSource):void +Microsoft\Graph\Generated.models.userWorkLocation::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Generated.models.userWorkLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserWorkLocation +Microsoft\Graph\Generated.models.userWorkLocation~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.verifiedDomain::|public|constructor():void Microsoft\Graph\Generated.models.verifiedDomain::|public|getAdditionalData():array Microsoft\Graph\Generated.models.verifiedDomain::|public|getBackingStore():BackingStore @@ -157407,6 +158625,7 @@ Microsoft\Graph\Generated.models.virtualEndpoint::|public|GetFieldDeserializers( Microsoft\Graph\Generated.models.virtualEndpoint::|public|getGalleryImages():array Microsoft\Graph\Generated.models.virtualEndpoint::|public|getOnPremisesConnections():array Microsoft\Graph\Generated.models.virtualEndpoint::|public|getProvisioningPolicies():array +Microsoft\Graph\Generated.models.virtualEndpoint::|public|getReport():CloudPcReport Microsoft\Graph\Generated.models.virtualEndpoint::|public|getUserSettings():array Microsoft\Graph\Generated.models.virtualEndpoint::|public|OdataType:string Microsoft\Graph\Generated.models.virtualEndpoint::|public|Serialize(writer:ISerializationWriter):void @@ -157416,6 +158635,7 @@ Microsoft\Graph\Generated.models.virtualEndpoint::|public|setDeviceImages(value? Microsoft\Graph\Generated.models.virtualEndpoint::|public|setGalleryImages(value?:array):void Microsoft\Graph\Generated.models.virtualEndpoint::|public|setOnPremisesConnections(value?:array):void Microsoft\Graph\Generated.models.virtualEndpoint::|public|setProvisioningPolicies(value?:array):void +Microsoft\Graph\Generated.models.virtualEndpoint::|public|setReport(value?:CloudPcReport):void Microsoft\Graph\Generated.models.virtualEndpoint::|public|setUserSettings(value?:array):void Microsoft\Graph\Generated.models.virtualEndpoint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):VirtualEndpoint Microsoft\Graph\Generated.models.virtualEvent-->Entity @@ -159107,6 +160327,9 @@ Microsoft\Graph\Generated.models.windows10TeamGeneralConfiguration::|public|setW Microsoft\Graph\Generated.models.windows10TeamGeneralConfiguration::|public|setWelcomeScreenBlockAutomaticWakeUp(value?:bool):void Microsoft\Graph\Generated.models.windows10TeamGeneralConfiguration::|public|setWelcomeScreenMeetingInformation(value?:WelcomeScreenMeetingInformation):void Microsoft\Graph\Generated.models.windows10TeamGeneralConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Windows10TeamGeneralConfiguration +Microsoft\Graph\Generated.models.windows365SwitchCompatibilityFailureReasonType::0000-osVersionNotSupported +Microsoft\Graph\Generated.models.windows365SwitchCompatibilityFailureReasonType::0001-hardwareNotSupported +Microsoft\Graph\Generated.models.windows365SwitchCompatibilityFailureReasonType::0002-unknownFutureValue Microsoft\Graph\Generated.models.windows81CompliancePolicy-->DeviceCompliancePolicy Microsoft\Graph\Generated.models.windows81CompliancePolicy::|public|constructor():void Microsoft\Graph\Generated.models.windows81CompliancePolicy::|public|GetFieldDeserializers():array @@ -161339,6 +162562,18 @@ Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0008-tim Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0009-timeOffReason Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0010-timeOff Microsoft\Graph\Generated.models.workforceIntegrationSupportedEntities::0011-timeOffRequest +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting-->Entity +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|constructor():void +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|getMaxSharedWorkLocationDetails():MaxWorkLocationDetails +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|getOccurrences():array +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|getRecurrences():array +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|OdataType:string +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|setMaxSharedWorkLocationDetails(value?:MaxWorkLocationDetails):void +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|setOccurrences(value?:array):void +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|public|setRecurrences(value?:array):void +Microsoft\Graph\Generated.models.workHoursAndLocationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkHoursAndLocationsSetting Microsoft\Graph\Generated.models.workingHours::|public|constructor():void Microsoft\Graph\Generated.models.workingHours::|public|getAdditionalData():array Microsoft\Graph\Generated.models.workingHours::|public|getBackingStore():BackingStore @@ -161364,6 +162599,67 @@ Microsoft\Graph\Generated.models.workingTimeSchedule::|public|GetFieldDeserializ Microsoft\Graph\Generated.models.workingTimeSchedule::|public|OdataType:string Microsoft\Graph\Generated.models.workingTimeSchedule::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.workingTimeSchedule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkingTimeSchedule +Microsoft\Graph\Generated.models.workLocationSource::0000-none +Microsoft\Graph\Generated.models.workLocationSource::0001-manual +Microsoft\Graph\Generated.models.workLocationSource::0002-scheduled +Microsoft\Graph\Generated.models.workLocationSource::0003-automatic +Microsoft\Graph\Generated.models.workLocationSource::0004-unknownFutureValue +Microsoft\Graph\Generated.models.workLocationType::0000-unspecified +Microsoft\Graph\Generated.models.workLocationType::0001-office +Microsoft\Graph\Generated.models.workLocationType::0002-remote +Microsoft\Graph\Generated.models.workLocationType::0003-timeOff +Microsoft\Graph\Generated.models.workLocationType::0004-unknownFutureValue +Microsoft\Graph\Generated.models.workLocationUpdateScope::0000-currentSegment +Microsoft\Graph\Generated.models.workLocationUpdateScope::0001-currentDay +Microsoft\Graph\Generated.models.workLocationUpdateScope::0002-unknownFutureValue +Microsoft\Graph\Generated.models.workPlanOccurrence-->Entity +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|constructor():void +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|getEnd():DateTimeTimeZone +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|getPlaceId():string +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|getRecurrenceId():string +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|getStart():DateTimeTimeZone +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|getTimeOffDetails():TimeOffDetails +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|OdataType:string +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|setEnd(value?:DateTimeTimeZone):void +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|setRecurrenceId(value?:string):void +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|setStart(value?:DateTimeTimeZone):void +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|setTimeOffDetails(value?:TimeOffDetails):void +Microsoft\Graph\Generated.models.workPlanOccurrence::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Generated.models.workPlanOccurrence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkPlanOccurrence +Microsoft\Graph\Generated.models.workPlanOccurrenceCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.workPlanOccurrenceCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.workPlanOccurrenceCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workPlanOccurrenceCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.workPlanOccurrenceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workPlanOccurrenceCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.workPlanOccurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkPlanOccurrenceCollectionResponse +Microsoft\Graph\Generated.models.workPlanRecurrence-->Entity +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|constructor():void +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|getEnd():DateTimeTimeZone +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|getPlaceId():string +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|getRecurrence():PatternedRecurrence +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|getStart():DateTimeTimeZone +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|OdataType:string +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|setEnd(value?:DateTimeTimeZone):void +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|setRecurrence(value?:PatternedRecurrence):void +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|setStart(value?:DateTimeTimeZone):void +Microsoft\Graph\Generated.models.workPlanRecurrence::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Generated.models.workPlanRecurrence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkPlanRecurrence +Microsoft\Graph\Generated.models.workPlanRecurrenceCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.workPlanRecurrenceCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.workPlanRecurrenceCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.workPlanRecurrenceCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.workPlanRecurrenceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.workPlanRecurrenceCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.workPlanRecurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WorkPlanRecurrenceCollectionResponse Microsoft\Graph\Generated.models.workspace-->Place Microsoft\Graph\Generated.models.workspace::|public|constructor():void Microsoft\Graph\Generated.models.workspace::|public|getCapacity():int @@ -161372,6 +162668,7 @@ Microsoft\Graph\Generated.models.workspace::|public|getEmailAddress():string Microsoft\Graph\Generated.models.workspace::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.workspace::|public|getMode():PlaceMode Microsoft\Graph\Generated.models.workspace::|public|getNickname():string +Microsoft\Graph\Generated.models.workspace::|public|getPlaceId():string Microsoft\Graph\Generated.models.workspace::|public|OdataType:string Microsoft\Graph\Generated.models.workspace::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.workspace::|public|setCapacity(value?:int):void @@ -161379,6 +162676,7 @@ Microsoft\Graph\Generated.models.workspace::|public|setDisplayDeviceName(value?: Microsoft\Graph\Generated.models.workspace::|public|setEmailAddress(value?:string):void Microsoft\Graph\Generated.models.workspace::|public|setMode(value?:PlaceMode):void Microsoft\Graph\Generated.models.workspace::|public|setNickname(value?:string):void +Microsoft\Graph\Generated.models.workspace::|public|setPlaceId(value?:string):void Microsoft\Graph\Generated.models.workspace::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Workspace Microsoft\Graph\Generated.models.workspaceCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.workspaceCollectionResponse::|public|constructor():void @@ -174249,6 +175547,71 @@ Microsoft\Graph\Generated.security.cases.ediscoveryCases.ediscoveryCasesRequestB Microsoft\Graph\Generated.security.cases.ediscoveryCases.ediscoveryCasesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):EdiscoveryCasesRequestBuilderGetQueryParameters Microsoft\Graph\Generated.security.cases.ediscoveryCases.ediscoveryCasesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.security.cases.ediscoveryCases.ediscoveryCasesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|ByEdiscoveryCaseMemberId(ediscoveryCaseMemberId:string):EdiscoveryCaseMemberItemRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|Get(requestConfiguration?:CaseMembersRequestBuilderGetRequestConfiguration):EdiscoveryCaseMemberCollectionResponse +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|Post(body:EdiscoveryCaseMember; requestConfiguration?:CaseMembersRequestBuilderPostRequestConfiguration):EdiscoveryCaseMember +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CaseMembersRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|ToPostRequestInformation(body:EdiscoveryCaseMember; requestConfiguration?:CaseMembersRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.CaseMembersRequestBuilder::|public|WithUrl(rawUrl:string):CaseMembersRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CaseMembersRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:CaseMembersRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):CaseMembersRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.caseMembersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|Delete(requestConfiguration?:EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|Get(requestConfiguration?:EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration):EdiscoveryCaseMember +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|Patch(body:EdiscoveryCaseMember; requestConfiguration?:EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration):EdiscoveryCaseMember +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:EdiscoveryCaseMember; requestConfiguration?:EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):EdiscoveryCaseMemberItemRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):EdiscoveryCaseMemberItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.caseMembers.item.EdiscoveryCaseMemberItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.custodians.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.custodians.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.custodians.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -174698,6 +176061,7 @@ Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.custodians.microso Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.custodians.microsoftGraphSecurityRemoveHold.removeHoldPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemoveHoldPostRequestBody Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.custodians.microsoftGraphSecurityRemoveHold.removeHoldPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.EdiscoveryCaseItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.EdiscoveryCaseItemRequestBuilder::|public|caseMembers:CaseMembersRequestBuilder Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.EdiscoveryCaseItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.EdiscoveryCaseItemRequestBuilder::|public|custodians:CustodiansRequestBuilder Microsoft\Graph\Generated.security.cases.ediscoveryCases.item.EdiscoveryCaseItemRequestBuilder::|public|Delete(requestConfiguration?:EdiscoveryCaseItemRequestBuilderDeleteRequestConfiguration):void @@ -204268,6 +205632,202 @@ Microsoft\Graph\Generated.storage.fileStorage.containers.item.unlock.UnlockReque Microsoft\Graph\Generated.storage.fileStorage.containers.item.unlock.UnlockRequestBuilder::|public|WithUrl(rawUrl:string):UnlockRequestBuilder Microsoft\Graph\Generated.storage.fileStorage.containers.item.unlock.unlockRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.storage.fileStorage.containers.item.unlock.unlockRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|ByFileStorageContainerTypeRegistrationId(fileStorageContainerTypeRegistrationId:string):FileStorageContainerTypeRegistrationItemRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|Get(requestConfiguration?:ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration):FileStorageContainerTypeRegistrationCollectionResponse +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|Post(body:FileStorageContainerTypeRegistration; requestConfiguration?:ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration):FileStorageContainerTypeRegistration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContainerTypeRegistrationsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|ToPostRequestInformation(body:FileStorageContainerTypeRegistration; requestConfiguration?:ContainerTypeRegistrationsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.ContainerTypeRegistrationsRequestBuilder::|public|WithUrl(rawUrl:string):ContainerTypeRegistrationsRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ContainerTypeRegistrationsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetRequestConfiguration::|public|queryParameters:ContainerTypeRegistrationsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ContainerTypeRegistrationsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.containerTypeRegistrationsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|ByFileStorageContainerTypeAppPermissionGrantAppId(fileStorageContainerTypeAppPermissionGrantAppId:string):FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|Get(requestConfiguration?:ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration):FileStorageContainerTypeAppPermissionGrantCollectionResponse +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|Post(body:FileStorageContainerTypeAppPermissionGrant; requestConfiguration?:ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration):FileStorageContainerTypeAppPermissionGrant +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ApplicationPermissionGrantsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|ToPostRequestInformation(body:FileStorageContainerTypeAppPermissionGrant; requestConfiguration?:ApplicationPermissionGrantsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.ApplicationPermissionGrantsRequestBuilder::|public|WithUrl(rawUrl:string):ApplicationPermissionGrantsRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ApplicationPermissionGrantsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetRequestConfiguration::|public|queryParameters:ApplicationPermissionGrantsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ApplicationPermissionGrantsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.applicationPermissionGrantsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|Delete(requestConfiguration?:FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|Get(requestConfiguration?:FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration):FileStorageContainerTypeAppPermissionGrant +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|Patch(body:FileStorageContainerTypeAppPermissionGrant; requestConfiguration?:FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration):FileStorageContainerTypeAppPermissionGrant +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|ToPatchRequestInformation(body:FileStorageContainerTypeAppPermissionGrant; requestConfiguration?:FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder::|public|WithUrl(rawUrl:string):FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration::|public|queryParameters:FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.applicationPermissionGrants.item.FileStorageContainerTypeAppPermissionGrantAppItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|applicationPermissionGrants:ApplicationPermissionGrantsRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|Delete(requestConfiguration?:FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|Get(requestConfiguration?:FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration):FileStorageContainerTypeRegistration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|Patch(body:FileStorageContainerTypeRegistration; requestConfiguration?:FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration):FileStorageContainerTypeRegistration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|ToPatchRequestInformation(body:FileStorageContainerTypeRegistration; requestConfiguration?:FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilder::|public|WithUrl(rawUrl:string):FileStorageContainerTypeRegistrationItemRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):FileStorageContainerTypeRegistrationItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypeRegistrations.item.FileStorageContainerTypeRegistrationItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|ByFileStorageContainerTypeId(fileStorageContainerTypeId:string):FileStorageContainerTypeItemRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|Get(requestConfiguration?:ContainerTypesRequestBuilderGetRequestConfiguration):FileStorageContainerTypeCollectionResponse +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|Post(body:FileStorageContainerType; requestConfiguration?:ContainerTypesRequestBuilderPostRequestConfiguration):FileStorageContainerType +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContainerTypesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|ToPostRequestInformation(body:FileStorageContainerType; requestConfiguration?:ContainerTypesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.ContainerTypesRequestBuilder::|public|WithUrl(rawUrl:string):ContainerTypesRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ContainerTypesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetRequestConfiguration::|public|queryParameters:ContainerTypesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ContainerTypesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.containerTypesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|Delete(requestConfiguration?:FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|Get(requestConfiguration?:FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration):FileStorageContainerType +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|Patch(body:FileStorageContainerType; requestConfiguration?:FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration):FileStorageContainerType +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|ToPatchRequestInformation(body:FileStorageContainerType; requestConfiguration?:FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilder::|public|WithUrl(rawUrl:string):FileStorageContainerTypeItemRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:FileStorageContainerTypeItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration::|public|queryParameters:FileStorageContainerTypeItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):FileStorageContainerTypeItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.storage.fileStorage.containerTypes.item.FileStorageContainerTypeItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.storage.fileStorage.deletedContainers.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -205126,6 +206686,8 @@ Microsoft\Graph\Generated.storage.fileStorage.deletedContainers.item.unlock.unlo Microsoft\Graph\Generated.storage.fileStorage.FileStorageRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.storage.fileStorage.FileStorageRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.storage.fileStorage.FileStorageRequestBuilder::|public|containers:ContainersRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.FileStorageRequestBuilder::|public|containerTypeRegistrations:ContainerTypeRegistrationsRequestBuilder +Microsoft\Graph\Generated.storage.fileStorage.FileStorageRequestBuilder::|public|containerTypes:ContainerTypesRequestBuilder Microsoft\Graph\Generated.storage.fileStorage.FileStorageRequestBuilder::|public|Delete(requestConfiguration?:FileStorageRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.storage.fileStorage.FileStorageRequestBuilder::|public|deletedContainers:DeletedContainersRequestBuilder Microsoft\Graph\Generated.storage.fileStorage.FileStorageRequestBuilder::|public|Get(requestConfiguration?:FileStorageRequestBuilderGetRequestConfiguration):FileStorage @@ -211956,6 +213518,318 @@ Microsoft\Graph\Generated.users.item.activities.recent.recentRequestBuilderGetRe Microsoft\Graph\Generated.users.item.activities.recent.recentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RecentRequestBuilderGetQueryParameters):void Microsoft\Graph\Generated.users.item.activities.recent.recentRequestBuilderGetRequestConfiguration::|public|queryParameters:RecentRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.activities.recent.recentRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RecentRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|ByAdhocCallId(adhocCallId:string):AdhocCallItemRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|Get(requestConfiguration?:AdhocCallsRequestBuilderGetRequestConfiguration):AdhocCallCollectionResponse +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|Post(body:AdhocCall; requestConfiguration?:AdhocCallsRequestBuilderPostRequestConfiguration):AdhocCall +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AdhocCallsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|ToPostRequestInformation(body:AdhocCall; requestConfiguration?:AdhocCallsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.AdhocCallsRequestBuilder::|public|WithUrl(rawUrl:string):AdhocCallsRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AdhocCallsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetRequestConfiguration::|public|queryParameters:AdhocCallsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):AdhocCallsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.adhocCallsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|Delete(requestConfiguration?:AdhocCallItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|Get(requestConfiguration?:AdhocCallItemRequestBuilderGetRequestConfiguration):AdhocCall +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|Patch(body:AdhocCall; requestConfiguration?:AdhocCallItemRequestBuilderPatchRequestConfiguration):AdhocCall +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|recordings:RecordingsRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:AdhocCallItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AdhocCallItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|ToPatchRequestInformation(body:AdhocCall; requestConfiguration?:AdhocCallItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|transcripts:TranscriptsRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilder::|public|WithUrl(rawUrl:string):AdhocCallItemRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:AdhocCallItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderGetRequestConfiguration::|public|queryParameters:AdhocCallItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):AdhocCallItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.AdhocCallItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaGetResponse-->BaseDeltaFunctionResponse +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaGetResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaGetResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeltaGetResponse +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.DeltaRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|Get(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):DeltaGetResponse +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.DeltaRequestBuilder::|public|WithUrl(rawUrl:string):DeltaRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DeltaRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetRequestConfiguration::|public|queryParameters:DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|content:ContentRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|Delete(requestConfiguration?:CallRecordingItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|Get(requestConfiguration?:CallRecordingItemRequestBuilderGetRequestConfiguration):CallRecording +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|Patch(body:CallRecording; requestConfiguration?:CallRecordingItemRequestBuilderPatchRequestConfiguration):CallRecording +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CallRecordingItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CallRecordingItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|ToPatchRequestInformation(body:CallRecording; requestConfiguration?:CallRecordingItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilder::|public|WithUrl(rawUrl:string):CallRecordingItemRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CallRecordingItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetRequestConfiguration::|public|queryParameters:CallRecordingItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CallRecordingItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.CallRecordingItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|Delete(requestConfiguration?:ContentRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|Get(requestConfiguration?:ContentRequestBuilderGetRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|Put(body:StreamInterface; requestConfiguration?:ContentRequestBuilderPutRequestConfiguration):CallRecording +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ContentRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContentRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|ToPutRequestInformation(body:StreamInterface; requestConfiguration?:ContentRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.ContentRequestBuilder::|public|WithUrl(rawUrl:string):ContentRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.contentRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.contentRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.contentRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.contentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.contentRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.item.content.contentRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|ByCallRecordingId(callRecordingId:string):CallRecordingItemRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|delta:DeltaRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|Get(requestConfiguration?:RecordingsRequestBuilderGetRequestConfiguration):CallRecordingCollectionResponse +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|Post(body:CallRecording; requestConfiguration?:RecordingsRequestBuilderPostRequestConfiguration):CallRecording +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RecordingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|ToPostRequestInformation(body:CallRecording; requestConfiguration?:RecordingsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.RecordingsRequestBuilder::|public|WithUrl(rawUrl:string):RecordingsRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RecordingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetRequestConfiguration::|public|queryParameters:RecordingsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RecordingsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.recordings.recordingsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaGetResponse-->BaseDeltaFunctionResponse +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeltaGetResponse +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.DeltaRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|Get(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):DeltaGetResponse +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DeltaRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.DeltaRequestBuilder::|public|WithUrl(rawUrl:string):DeltaRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DeltaRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetRequestConfiguration::|public|queryParameters:DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.delta.deltaRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DeltaRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|content:ContentRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|Delete(requestConfiguration?:CallTranscriptItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|Get(requestConfiguration?:CallTranscriptItemRequestBuilderGetRequestConfiguration):CallTranscript +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|metadataContent:MetadataContentRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|Patch(body:CallTranscript; requestConfiguration?:CallTranscriptItemRequestBuilderPatchRequestConfiguration):CallTranscript +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CallTranscriptItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CallTranscriptItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|ToPatchRequestInformation(body:CallTranscript; requestConfiguration?:CallTranscriptItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilder::|public|WithUrl(rawUrl:string):CallTranscriptItemRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CallTranscriptItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetRequestConfiguration::|public|queryParameters:CallTranscriptItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CallTranscriptItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.CallTranscriptItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|Delete(requestConfiguration?:ContentRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|Get(requestConfiguration?:ContentRequestBuilderGetRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|Put(body:StreamInterface; requestConfiguration?:ContentRequestBuilderPutRequestConfiguration):CallTranscript +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ContentRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContentRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|ToPutRequestInformation(body:StreamInterface; requestConfiguration?:ContentRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.ContentRequestBuilder::|public|WithUrl(rawUrl:string):ContentRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.contentRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.contentRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.contentRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.contentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.contentRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.content.contentRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|Delete(requestConfiguration?:MetadataContentRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|Get(requestConfiguration?:MetadataContentRequestBuilderGetRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|Put(body:StreamInterface; requestConfiguration?:MetadataContentRequestBuilderPutRequestConfiguration):StreamInterface +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:MetadataContentRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MetadataContentRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|ToPutRequestInformation(body:StreamInterface; requestConfiguration?:MetadataContentRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.MetadataContentRequestBuilder::|public|WithUrl(rawUrl:string):MetadataContentRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.item.metadataContent.metadataContentRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|ByCallTranscriptId(callTranscriptId:string):CallTranscriptItemRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|delta:DeltaRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|Get(requestConfiguration?:TranscriptsRequestBuilderGetRequestConfiguration):CallTranscriptCollectionResponse +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|Post(body:CallTranscript; requestConfiguration?:TranscriptsRequestBuilderPostRequestConfiguration):CallTranscript +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TranscriptsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|ToPostRequestInformation(body:CallTranscript; requestConfiguration?:TranscriptsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.TranscriptsRequestBuilder::|public|WithUrl(rawUrl:string):TranscriptsRequestBuilder +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TranscriptsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetRequestConfiguration::|public|queryParameters:TranscriptsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):TranscriptsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.adhocCalls.item.transcripts.transcriptsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.agreementAcceptances.AgreementAcceptancesRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.agreementAcceptances.AgreementAcceptancesRequestBuilder::|public|ByAgreementAcceptanceId(agreementAcceptanceId:string):AgreementAcceptanceItemRequestBuilder Microsoft\Graph\Generated.users.item.agreementAcceptances.AgreementAcceptancesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -216663,9 +218537,11 @@ Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|p Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|reboot:RebootRequestBuilder Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|rename:RenameRequestBuilder +Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|reprovision:ReprovisionRequestBuilder Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|resize:ResizeRequestBuilder Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|restore:RestoreRequestBuilder +Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|retrieveCloudPcLaunchDetail:RetrieveCloudPcLaunchDetailRequestBuilder Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CloudPCItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CloudPCItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.cloudPCs.item.CloudPCItemRequestBuilder::|public|ToPatchRequestInformation(body:CloudPC; requestConfiguration?:CloudPCItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -216724,6 +218600,29 @@ Microsoft\Graph\Generated.users.item.cloudPCs.item.rename.RenameRequestBuilder:: Microsoft\Graph\Generated.users.item.cloudPCs.item.rename.RenameRequestBuilder::|public|WithUrl(rawUrl:string):RenameRequestBuilder Microsoft\Graph\Generated.users.item.cloudPCs.item.rename.renameRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.cloudPCs.item.rename.renameRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|getOsVersion():CloudPcOperatingSystem +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|getUserAccountType():CloudPcUserAccountType +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|setOsVersion(value?:CloudPcOperatingSystem):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|public|setUserAccountType(value?:CloudPcUserAccountType):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ReprovisionPostRequestBody +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.ReprovisionRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|Post(body:ReprovisionPostRequestBody; requestConfiguration?:ReprovisionRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|ToPostRequestInformation(body:ReprovisionPostRequestBody; requestConfiguration?:ReprovisionRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.ReprovisionRequestBuilder::|public|WithUrl(rawUrl:string):ReprovisionRequestBuilder +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.cloudPCs.item.reprovision.reprovisionRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.cloudPCs.item.resize.resizePostRequestBody::|public|constructor():void Microsoft\Graph\Generated.users.item.cloudPCs.item.resize.resizePostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Generated.users.item.cloudPCs.item.resize.resizePostRequestBody::|public|getBackingStore():BackingStore @@ -216766,6 +218665,16 @@ Microsoft\Graph\Generated.users.item.cloudPCs.item.restore.RestoreRequestBuilder Microsoft\Graph\Generated.users.item.cloudPCs.item.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder Microsoft\Graph\Generated.users.item.cloudPCs.item.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.cloudPCs.item.restore.restoreRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|Get(requestConfiguration?:RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration):CloudPcLaunchDetail +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RetrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.RetrieveCloudPcLaunchDetailRequestBuilder::|public|WithUrl(rawUrl:string):RetrieveCloudPcLaunchDetailRequestBuilder +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.cloudPCs.item.retrieveCloudPcLaunchDetail.retrieveCloudPcLaunchDetailRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.cloudPCs.item.troubleshoot.TroubleshootRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.cloudPCs.item.troubleshoot.TroubleshootRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.cloudPCs.item.troubleshoot.TroubleshootRequestBuilder::|public|pathParameters:array @@ -229969,6 +231878,29 @@ Microsoft\Graph\Generated.users.item.onlineMeetings.onlineMeetingsRequestBuilder Microsoft\Graph\Generated.users.item.onlineMeetings.onlineMeetingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):OnlineMeetingsRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.onlineMeetings.onlineMeetingsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.onlineMeetings.onlineMeetingsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|Delete(requestConfiguration?:OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|Get(requestConfiguration?:OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration):OnPremisesSyncBehavior +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|Patch(body:OnPremisesSyncBehavior; requestConfiguration?:OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration):OnPremisesSyncBehavior +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:OnPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:OnPremisesSyncBehaviorRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|ToPatchRequestInformation(body:OnPremisesSyncBehavior; requestConfiguration?:OnPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.OnPremisesSyncBehaviorRequestBuilder::|public|WithUrl(rawUrl:string):OnPremisesSyncBehaviorRequestBuilder +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:OnPremisesSyncBehaviorRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|public|queryParameters:OnPremisesSyncBehaviorRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):OnPremisesSyncBehaviorRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.onPremisesSyncBehavior.onPremisesSyncBehaviorRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.outlook.masterCategories.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.outlook.masterCategories.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.outlook.masterCategories.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -231439,6 +233371,26 @@ Microsoft\Graph\Generated.users.item.planner.tasks.tasksRequestBuilderGetRequest Microsoft\Graph\Generated.users.item.planner.tasks.tasksRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):TasksRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.planner.tasks.tasksRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.planner.tasks.tasksRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|Post(requestConfiguration?:ClearAutomaticLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:ClearAutomaticLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.ClearAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):ClearAutomaticLocationRequestBuilder +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.clearAutomaticLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.presence.clearAutomaticLocation.clearAutomaticLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.presence.clearLocation.ClearLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.presence.clearLocation.ClearLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.presence.clearLocation.ClearLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.presence.clearLocation.ClearLocationRequestBuilder::|public|Post(requestConfiguration?:ClearLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.users.item.presence.clearLocation.ClearLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.presence.clearLocation.ClearLocationRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:ClearLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.presence.clearLocation.ClearLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.presence.clearLocation.ClearLocationRequestBuilder::|public|WithUrl(rawUrl:string):ClearLocationRequestBuilder +Microsoft\Graph\Generated.users.item.presence.clearLocation.clearLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.presence.clearLocation.clearLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.presence.clearPresence.clearPresencePostRequestBody::|public|constructor():void Microsoft\Graph\Generated.users.item.presence.clearPresence.clearPresencePostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Generated.users.item.presence.clearPresence.clearPresencePostRequestBody::|public|getBackingStore():BackingStore @@ -231471,6 +233423,8 @@ Microsoft\Graph\Generated.users.item.presence.clearUserPreferredPresence.ClearUs Microsoft\Graph\Generated.users.item.presence.clearUserPreferredPresence.clearUserPreferredPresenceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.presence.clearUserPreferredPresence.clearUserPreferredPresenceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|clearAutomaticLocation:ClearAutomaticLocationRequestBuilder +Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|clearLocation:ClearLocationRequestBuilder Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|clearPresence:ClearPresenceRequestBuilder Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|clearUserPreferredPresence:ClearUserPreferredPresenceRequestBuilder Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -231479,6 +233433,8 @@ Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|Ge Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|Patch(body:Presence; requestConfiguration?:PresenceRequestBuilderPatchRequestConfiguration):Presence Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|setAutomaticLocation:SetAutomaticLocationRequestBuilder +Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|setManualLocation:SetManualLocationRequestBuilder Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|setPresence:SetPresenceRequestBuilder Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|setStatusMessage:SetStatusMessageRequestBuilder Microsoft\Graph\Generated.users.item.presence.PresenceRequestBuilder::|public|setUserPreferredPresence:SetUserPreferredPresenceRequestBuilder @@ -231498,6 +233454,52 @@ Microsoft\Graph\Generated.users.item.presence.presenceRequestBuilderGetRequestCo Microsoft\Graph\Generated.users.item.presence.presenceRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PresenceRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.presence.presenceRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.presence.presenceRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|getPlaceId():string +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SetAutomaticLocationPostRequestBody +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.SetAutomaticLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|Post(body:SetAutomaticLocationPostRequestBody; requestConfiguration?:SetAutomaticLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|ToPostRequestInformation(body:SetAutomaticLocationPostRequestBody; requestConfiguration?:SetAutomaticLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.SetAutomaticLocationRequestBuilder::|public|WithUrl(rawUrl:string):SetAutomaticLocationRequestBuilder +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.presence.setAutomaticLocation.setAutomaticLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|getPlaceId():string +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SetManualLocationPostRequestBody +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.presence.setManualLocation.SetManualLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.presence.setManualLocation.SetManualLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.SetManualLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.presence.setManualLocation.SetManualLocationRequestBuilder::|public|Post(body:SetManualLocationPostRequestBody; requestConfiguration?:SetManualLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.users.item.presence.setManualLocation.SetManualLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.presence.setManualLocation.SetManualLocationRequestBuilder::|public|ToPostRequestInformation(body:SetManualLocationPostRequestBody; requestConfiguration?:SetManualLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.presence.setManualLocation.SetManualLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.presence.setManualLocation.SetManualLocationRequestBuilder::|public|WithUrl(rawUrl:string):SetManualLocationRequestBuilder +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.presence.setManualLocation.setManualLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.presence.setPresence.setPresencePostRequestBody::|public|constructor():void Microsoft\Graph\Generated.users.item.presence.setPresence.setPresencePostRequestBody::|public|getActivity():string Microsoft\Graph\Generated.users.item.presence.setPresence.setPresencePostRequestBody::|public|getAdditionalData():array @@ -232036,6 +234038,7 @@ Microsoft\Graph\Generated.users.item.settings.SettingsRequestBuilder::|public|To Microsoft\Graph\Generated.users.item.settings.SettingsRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Generated.users.item.settings.SettingsRequestBuilder::|public|windows:WindowsRequestBuilder Microsoft\Graph\Generated.users.item.settings.SettingsRequestBuilder::|public|WithUrl(rawUrl:string):SettingsRequestBuilder +Microsoft\Graph\Generated.users.item.settings.SettingsRequestBuilder::|public|workHoursAndLocations:WorkHoursAndLocationsRequestBuilder Microsoft\Graph\Generated.users.item.settings.settingsRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.settings.settingsRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.settings.settingsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void @@ -232314,6 +234317,212 @@ Microsoft\Graph\Generated.users.item.settings.windows.windowsRequestBuilderGetRe Microsoft\Graph\Generated.users.item.settings.windows.windowsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):WindowsRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.settings.windows.windowsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.settings.windows.windowsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|Delete(requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|Get(requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration):WorkPlanOccurrence +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|Put(body:WorkPlanOccurrence; requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration):WorkPlanOccurrence +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:WorkPlanOccurrence; requestConfiguration?:WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):WorkPlanOccurrenceItemRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:WorkPlanOccurrenceItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:WorkPlanOccurrenceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):WorkPlanOccurrenceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.item.WorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|ByWorkPlanOccurrenceId(workPlanOccurrenceId:string):WorkPlanOccurrenceItemRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|Get(requestConfiguration?:OccurrencesRequestBuilderGetRequestConfiguration):WorkPlanOccurrenceCollectionResponse +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|Post(body:WorkPlanOccurrence; requestConfiguration?:OccurrencesRequestBuilderPostRequestConfiguration):WorkPlanOccurrence +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|setCurrentLocation:SetCurrentLocationRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:OccurrencesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|ToPostRequestInformation(body:WorkPlanOccurrence; requestConfiguration?:OccurrencesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.OccurrencesRequestBuilder::|public|WithUrl(rawUrl:string):OccurrencesRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:OccurrencesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetRequestConfiguration::|public|queryParameters:OccurrencesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):OccurrencesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.occurrencesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getPlaceId():string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getUpdateScope():WorkLocationUpdateScope +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|getWorkLocationType():WorkLocationType +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setPlaceId(value?:string):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setUpdateScope(value?:WorkLocationUpdateScope):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|public|setWorkLocationType(value?:WorkLocationType):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SetCurrentLocationPostRequestBody +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|Post(body:SetCurrentLocationPostRequestBody; requestConfiguration?:SetCurrentLocationRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:SetCurrentLocationPostRequestBody; requestConfiguration?:SetCurrentLocationRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.SetCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):SetCurrentLocationRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrences.setCurrentLocation.setCurrentLocationRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; endDateTime?:string; startDateTime?:string):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(requestConfiguration?:OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.occurrencesViewWithStartDateTimeWithEndDateTime.occurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|Delete(requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|Get(requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration):WorkPlanRecurrence +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|Put(body:WorkPlanRecurrence; requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration):WorkPlanRecurrence +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:WorkPlanRecurrence; requestConfiguration?:WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):WorkPlanRecurrenceItemRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:WorkPlanRecurrenceItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:WorkPlanRecurrenceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):WorkPlanRecurrenceItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.item.WorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|ByWorkPlanRecurrenceId(workPlanRecurrenceId:string):WorkPlanRecurrenceItemRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|Get(requestConfiguration?:RecurrencesRequestBuilderGetRequestConfiguration):WorkPlanRecurrenceCollectionResponse +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|Post(body:WorkPlanRecurrence; requestConfiguration?:RecurrencesRequestBuilderPostRequestConfiguration):WorkPlanRecurrence +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RecurrencesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|ToPostRequestInformation(body:WorkPlanRecurrence; requestConfiguration?:RecurrencesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.RecurrencesRequestBuilder::|public|WithUrl(rawUrl:string):RecurrencesRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RecurrencesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetRequestConfiguration::|public|queryParameters:RecurrencesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):RecurrencesRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.recurrences.recurrencesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|Get(requestConfiguration?:WorkHoursAndLocationsRequestBuilderGetRequestConfiguration):WorkHoursAndLocationsSetting +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|occurrences:OccurrencesRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:string; startDateTime:string):OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|Patch(body:WorkHoursAndLocationsSetting; requestConfiguration?:WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration):WorkHoursAndLocationsSetting +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|recurrences:RecurrencesRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:WorkHoursAndLocationsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:WorkHoursAndLocationsSetting; requestConfiguration?:WorkHoursAndLocationsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.WorkHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):WorkHoursAndLocationsRequestBuilder +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:WorkHoursAndLocationsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|queryParameters:WorkHoursAndLocationsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):WorkHoursAndLocationsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.settings.workHoursAndLocations.workHoursAndLocationsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.solutions.SolutionsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.solutions.SolutionsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.solutions.SolutionsRequestBuilder::|public|Delete(requestConfiguration?:SolutionsRequestBuilderDeleteRequestConfiguration):void @@ -233599,6 +235808,7 @@ Microsoft\Graph\Generated.users.item.translateExchangeIds.translateExchangeIdsRe Microsoft\Graph\Generated.users.item.translateExchangeIds.translateExchangeIdsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.UserItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|activities:ActivitiesRequestBuilder +Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|adhocCalls:AdhocCallsRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|agreementAcceptances:AgreementAcceptancesRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|appRoleAssignments:AppRoleAssignmentsRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|assignLicense:AssignLicenseRequestBuilder @@ -233652,6 +235862,7 @@ Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|messages:Me Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|oauth2PermissionGrants:Oauth2PermissionGrantsRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|onenote:OnenoteRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|onlineMeetings:OnlineMeetingsRequestBuilder +Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|onPremisesSyncBehavior:OnPremisesSyncBehaviorRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|outlook:OutlookRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|ownedDevices:OwnedDevicesRequestBuilder Microsoft\Graph\Generated.users.item.UserItemRequestBuilder::|public|ownedObjects:OwnedObjectsRequestBuilder diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 19d9f43a1fa..939669940d0 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "C00D26F092ED047E2B673F4D4AECAB01A3187818C66466C54F2F67BB43DC7762A57476FC6DB2C95F213034E60A57374E84B2B6A01F223BF7D23A0BB155BCA47D", + "descriptionHash": "B772231A114EE0F151C5CAD415592E6EC30B995AF2CC2035B656C76E0001C925D96ED0F43B5BE31AF65452F62E25448AB3A19A7FBECB1096C50BCB71D40F0E49", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0",