diff --git a/src/Generated/Admin/People/PeopleRequestBuilder.php b/src/Generated/Admin/People/PeopleRequestBuilder.php index 9e309cbfb0a..7698c56e3d8 100644 --- a/src/Generated/Admin/People/PeopleRequestBuilder.php +++ b/src/Generated/Admin/People/PeopleRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Beta\Generated\Admin\People\ItemInsights\ItemInsightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\People\NamePronunciation\NamePronunciationRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\People\ProfileCardProperties\ProfileCardPropertiesRequestBuilder; +use Microsoft\Graph\Beta\Generated\Admin\People\ProfilePropertySettings\ProfilePropertySettingsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\People\Pronouns\PronounsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\PeopleAdminSettings; @@ -41,6 +42,13 @@ public function profileCardProperties(): ProfileCardPropertiesRequestBuilder { return new ProfileCardPropertiesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + */ + public function profilePropertySettings(): ProfilePropertySettingsRequestBuilder { + return new ProfilePropertySettingsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. */ diff --git a/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilder.php b/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..8a7ce24b403 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/people/profilePropertySettings/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9ef3b6af228 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..75fcf7b54d3 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.php b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.php new file mode 100644 index 00000000000..c0d03f26657 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.php @@ -0,0 +1,146 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/people/profilePropertySettings/{profilePropertySetting%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a profilePropertySetting object. + * @param ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration|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/profilepropertysetting-delete?view=graph-rest-beta Find more info here + */ + public function delete(?ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration $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 profilePropertySetting object. + * @param ProfilePropertySettingItemRequestBuilderGetRequestConfiguration|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/profilepropertysetting-get?view=graph-rest-beta Find more info here + */ + public function get(?ProfilePropertySettingItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProfilePropertySetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a profilePropertySetting object. + * @param ProfilePropertySetting $body The request body + * @param ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration|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/profilepropertysetting-update?view=graph-rest-beta Find more info here + */ + public function patch(ProfilePropertySetting $body, ?ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProfilePropertySetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a profilePropertySetting object. + * @param ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Read the properties and relationships of a profilePropertySetting object. + * @param ProfilePropertySettingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ProfilePropertySettingItemRequestBuilderGetRequestConfiguration $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 profilePropertySetting object. + * @param ProfilePropertySetting $body The request body + * @param ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ProfilePropertySetting $body, ?ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration $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 ProfilePropertySettingItemRequestBuilder + */ + public function withUrl(string $rawUrl): ProfilePropertySettingItemRequestBuilder { + return new ProfilePropertySettingItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..d65b0b46b1c --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ad91eb978a6 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderGetQueryParameters.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 ProfilePropertySettingItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..020a5b6a614 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ProfilePropertySettingItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ProfilePropertySettingItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ProfilePropertySettingItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ProfilePropertySettingItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProfilePropertySettingItemRequestBuilderGetQueryParameters { + return new ProfilePropertySettingItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..3cc626f7242 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.php b/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.php new file mode 100644 index 00000000000..9e5414f78c9 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.php @@ -0,0 +1,135 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the profilePropertySettings property of the microsoft.graph.peopleAdminSettings entity. + * @param string $profilePropertySettingId The unique identifier of profilePropertySetting + * @return ProfilePropertySettingItemRequestBuilder + */ + public function byProfilePropertySettingId(string $profilePropertySettingId): ProfilePropertySettingItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['profilePropertySetting%2Did'] = $profilePropertySettingId; + return new ProfilePropertySettingItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ProfilePropertySettingsRequestBuilder 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/people/profilePropertySettings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + * @param ProfilePropertySettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilepropertysettings?view=graph-rest-beta Find more info here + */ + public function get(?ProfilePropertySettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProfilePropertySettingCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new profilePropertySetting object. + * @param ProfilePropertySetting $body The request body + * @param ProfilePropertySettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilepropertysettings?view=graph-rest-beta Find more info here + */ + public function post(ProfilePropertySetting $body, ?ProfilePropertySettingsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProfilePropertySetting::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely. + * @param ProfilePropertySettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ProfilePropertySettingsRequestBuilderGetRequestConfiguration $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 profilePropertySetting object. + * @param ProfilePropertySetting $body The request body + * @param ProfilePropertySettingsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ProfilePropertySetting $body, ?ProfilePropertySettingsRequestBuilderPostRequestConfiguration $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 ProfilePropertySettingsRequestBuilder + */ + public function withUrl(string $rawUrl): ProfilePropertySettingsRequestBuilder { + return new ProfilePropertySettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..fed6a88e6f8 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderGetQueryParameters.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 ProfilePropertySettingsRequestBuilderGetQueryParameters 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/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6b4be4ffaed --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ProfilePropertySettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ProfilePropertySettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ProfilePropertySettingsRequestBuilderGetQueryParameters. + * @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 ProfilePropertySettingsRequestBuilderGetQueryParameters + */ + 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): ProfilePropertySettingsRequestBuilderGetQueryParameters { + return new ProfilePropertySettingsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..70e1219c450 --- /dev/null +++ b/src/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php index cbe5b598371..270efb5d627 100644 --- a/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @param ResourceConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta Find more info here */ public function delete(?ResourceConnectionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -76,7 +76,7 @@ public function patch(ResourceConnection $body, ?ResourceConnectionItemRequestBu } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @param ResourceConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php index c58346b1b62..e96c20f4765 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php @@ -63,11 +63,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @param UpdatableAssetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta Find more info here */ public function delete(?UpdatableAssetItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -78,11 +78,11 @@ public function delete(?UpdatableAssetItemRequestBuilderDeleteRequestConfigurati } /** - * Read the properties and relationships of an updatableAssetGroup object. + * Read the properties of an azureADDevice object. * @param UpdatableAssetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta Find more info here */ public function get(?UpdatableAssetItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -108,7 +108,7 @@ public function patch(UpdatableAsset $body, ?UpdatableAssetItemRequestBuilderPat } /** - * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. * @param UpdatableAssetItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -125,7 +125,7 @@ public function toDeleteRequestInformation(?UpdatableAssetItemRequestBuilderDele } /** - * Read the properties and relationships of an updatableAssetGroup object. + * Read the properties of an azureADDevice object. * @param UpdatableAssetItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php index 1572dffe84e..8c15bc94e02 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an updatableAssetGroup object. + * Read the properties of an azureADDevice object. */ class UpdatableAssetItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php index 45625232e8c..d3030b21ce9 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php @@ -39,11 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @param ComplianceChangeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta Find more info here */ public function delete(?ComplianceChangeItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -54,11 +54,11 @@ public function delete(?ComplianceChangeItemRequestBuilderDeleteRequestConfigura } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @param ComplianceChangeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta Find more info here */ public function get(?ComplianceChangeItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -69,12 +69,12 @@ public function get(?ComplianceChangeItemRequestBuilderGetRequestConfiguration $ } /** - * Update the properties of a complianceChange object. + * Update the properties of a contentApproval object. * @param ComplianceChange $body The request body * @param ComplianceChangeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta Find more info here */ public function patch(ComplianceChange $body, ?ComplianceChangeItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function patch(ComplianceChange $body, ?ComplianceChangeItemRequestBuilde } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @param ComplianceChangeItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -102,7 +102,7 @@ public function toDeleteRequestInformation(?ComplianceChangeItemRequestBuilderDe } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @param ComplianceChangeItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -123,7 +123,7 @@ public function toGetRequestInformation(?ComplianceChangeItemRequestBuilderGetRe } /** - * Update the properties of a complianceChange object. + * Update the properties of a contentApproval object. * @param ComplianceChange $body The request body * @param ComplianceChangeItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.php index 6397a2b5e15..5b30a33bd5f 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. */ class ComplianceChangeItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.php b/src/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.php index 0f05c8b184a..94bd9218eff 100644 --- a/src/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.php +++ b/src/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|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/participant-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta Find more info here */ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php index e48dfa18977..99a9667d827 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|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/participant-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta Find more info here */ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..e275c1fa2eb --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/dataClassification/sensitivityLabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ee02e6e05ba --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..57f09384828 --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..f8724f9ddee --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/dataClassification/sensitivityLabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..d0e5920b65c --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..4b432921ab8 --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilder.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}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from dataClassification + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from dataClassification + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5f663c69afb --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3b3b971e22c --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php index 29fcf3469c2..106bcdd6709 100644 --- a/src/Generated/DataClassification/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/DataClassification/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\Sublabels\SublabelsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; @@ -17,6 +18,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. */ diff --git a/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..2b3be97aeaa --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d93d89a94f1 --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..bdbec59e42d --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..bfede9f9869 --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..be09c7599de --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..55d9fc63d02 --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.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}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from dataClassification + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from dataClassification + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2f4cdf276f1 --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fc8dd380de4 --- /dev/null +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php index 2d662e0262b..7e0697b765c 100644 --- a/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\Sublabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -16,6 +17,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SensitivityLabelItemRequestBuilder 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/DataClassification/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php index b9187440020..b4367ef5df0 100644 --- a/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php +++ b/src/Generated/DataClassification/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -4,6 +4,8 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\Sublabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\Sublabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\Sublabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\Sublabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\Sublabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityL return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SublabelsRequestBuilder 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/DataClassification/SensitivityLabels/SensitivityLabelsRequestBuilder.php b/src/Generated/DataClassification/SensitivityLabels/SensitivityLabelsRequestBuilder.php index 4e67533eb79..57dd756efae 100644 --- a/src/Generated/DataClassification/SensitivityLabels/SensitivityLabelsRequestBuilder.php +++ b/src/Generated/DataClassification/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -4,6 +4,8 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\DataClassification\SensitivityLabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLab return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SensitivityLabelsRequestBuilder 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/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 50933c6432b..59617db48a0 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index b99be88bc12..5b371cef640 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.php index b0b8a54b7ca..e0b1859a380 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 4088bd447e4..56f4e786aa1 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 104c211e078..3a1ef2b3b5a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 73a8b6ddd1e..d7ee5a990b8 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.php index 89ad48ad55a..8740aed1d3a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 6079eeb24a5..8013221e802 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 17c3b61f76b..04b15698066 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 149efc30502..2d6ad212da6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.php index 6d28ef97b28..77a0a1fabd1 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 9aade7a3dc4..70f783e738b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index fbdb8e92680..618c164c880 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 71565a28335..74df59e0926 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.php index 812a2c95e2c..fb1453b6a1c 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 8afdc1775eb..051fa1ca78c 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 547545265eb..14e99e7b227 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 0801ce4adad..0846947f01f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.php index 131ec1141c8..43c26f56794 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 114576afcc1..66f383acbd9 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index cd73f0c6983..e6ecd2a549a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index cfb9accab9d..9f379879731 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.php index 8271e2981f2..859bebaca20 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 14d1dc175eb..de84d04aebd 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index d065de9030d..85abf88290b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 649552c9d3b..74414c7c931 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.php index 30ac3080841..decd67d5817 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 87fd5c31173..e7b983c62c7 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 6ad59bb7372..90adb2c42e4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index a77728d1ca5..71d882e434c 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.php index 05d4cf8c094..aabb37776b2 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index e664107dbf5..8aef69889e9 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 735b15a7138..1200cc6d611 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 66c827c2a87..5e8aa48b41a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.php index ad9f4d10adc..4a026bdcf1f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 4009f8539db..e65051c8c53 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 7306d7e3d20..b51ed497401 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 41475abde2d..e53fb229de4 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.php index 618858f2a68..14fac83c715 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 97c83d11773..e0c64b7a5d5 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 9677c1ed353..9c345d54aa1 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 978e97330b3..5f0905df4bc 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.php index 5f5f98909de..079b210802d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 575cd006e55..4fa7d37993a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index b367cfb9af1..39a3af8ffc0 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index ba3c682aa67..7c3442b911c 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.php index 9942afd076f..ff9f9020609 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 88df3553718..f9960053654 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 9b81f9c993b..7d9df8e0662 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 0a36498598e..e0ac3f267cb 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.php index bae6337bcfe..74a5a6d6611 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 44521692a36..0cb44bd4e26 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index f74021936c1..c5a6e25f4d8 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 366bd9b35cd..fdbd0b6ea9a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.php index b458070ca05..74e5b953b73 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index a8c79902a99..a86432acc10 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 21958690316..0c547ae4b02 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 2b8b91f1481..b83c9ef04d5 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.php index 817c569770f..1c46089d6d6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 70ba4e98264..4feb373615c 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index a05d618984e..62e7933405b 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 186e177ef1c..342fa47078a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.php index 7499f6a167d..6b7ed15707d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 9d1211f2907..a6202271c72 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 47859e08779..b8599f00cf6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 711a29c720b..a640d9b161a 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.php index 561ba1fb346..a605a6cdfaf 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 11d6a020300..f340d4a4d3d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index deaf3b671e4..1f9f7ee11a5 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 2d1eac366ca..ed9ef131298 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.php index 4920ad34909..3c79d9d0cf7 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index f66b0ecc098..b426f2b5182 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 71de582cce6..a6eca04b6e1 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index ebb60089abb..b8bcfa88946 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.php index cb5fa8cd102..560fc8417b5 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index f572dba878f..2f5d0f80738 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index b6b0e8e13c9..eae016f53e0 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 0a6a3385ca8..befcfa88f8f 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.php index d776dff7f55..56e8418ec18 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 9b664665467..a624752d271 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index 3129d565403..ddad733d3e5 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index ff546639f9f..2aacef29770 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.php index 2025dbf4e22..6836522ea39 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 46b1d94ed51..70a78863bf8 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php index e22a93a3028..1e0f0ce4b74 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MobileAppRelationshipItemRequestBuilderDeleteRequestConf } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?MobileAppRelationshipItemRequestBuil } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param MobileAppRelationshipItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php index 22e831a6086..9a5b05590a6 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class MobileAppRelationshipItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.php index de36eb36706..efe7ed20004 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|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(MobileAppRelationship $body, ?RelationshipsRequestBuilderPo } /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. * @param RelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilderGetQueryParameters.php index 6ab207e2278..2528998ae0d 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List of relationships for this mobile app. + * The set of direct relationships for this app. */ class RelationshipsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php index d1ee1fbee41..553aec9f548 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param AppLogCollectionRequestsRequestBuilderGetRequestConfiguration|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(AppLogCollectionRequest $body, ?AppLogCollectionRequestsReq } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param AppLogCollectionRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilderGetQueryParameters.php index b3430fe837f..0ba878c96bb 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. */ class AppLogCollectionRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php index 3b12a908f39..884ad77cf92 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?AppLogCollectionRequestItemRequestBuilderDeleteRequestCo } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param AppLogCollectionRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?AppLogCollectionRequestItemRequestBu } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param AppLogCollectionRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilderGetQueryParameters.php index a5eb28cd5e3..0adbe986030 100644 --- a/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. */ class AppLogCollectionRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.php index 58a04028799..990efced45c 100644 --- a/src/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.php +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/ReportsRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Reports\GetRemoteConnectionHistoricalReports\GetRemoteConnectionHistoricalReportsRequestBuilder; use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Reports\GetTotalAggregatedRemoteConnectionReports\GetTotalAggregatedRemoteConnectionReportsRequestBuilder; use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Reports\RetrieveBulkActionStatusReport\RetrieveBulkActionStatusReportRequestBuilder; +use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Reports\RetrieveCloudPcRecommendationReports\RetrieveCloudPcRecommendationReportsRequestBuilder; use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Reports\RetrieveCloudPcTenantMetricsReport\RetrieveCloudPcTenantMetricsReportRequestBuilder; use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Reports\RetrieveCloudPcTroubleshootReports\RetrieveCloudPcTroubleshootReportsRequestBuilder; use Microsoft\Graph\Beta\Generated\DeviceManagement\VirtualEndpoint\Reports\RetrieveConnectionQualityReports\RetrieveConnectionQualityReportsRequestBuilder; @@ -119,6 +120,13 @@ public function retrieveBulkActionStatusReport(): RetrieveBulkActionStatusReport return new RetrieveBulkActionStatusReportRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the retrieveCloudPcRecommendationReports method. + */ + public function retrieveCloudPcRecommendationReports(): RetrieveCloudPcRecommendationReportsRequestBuilder { + return new RetrieveCloudPcRecommendationReportsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the retrieveCloudPcTenantMetricsReport method. */ diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.php b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsPostRequestBody.php new file mode 100644 index 00000000000..90d336fefe8 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/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); + }, + 'reportName' => fn(ParseNode $n) => $o->setReportName($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 reportName property value. The reportName property + * @return CloudPcRecommendationReportType|null + */ + public function getReportName(): ?CloudPcRecommendationReportType { + $val = $this->getBackingStore()->get('reportName'); + if (is_null($val) || $val instanceof CloudPcRecommendationReportType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reportName'"); + } + + /** + * 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('reportName', $this->getReportName()); + $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 reportName property value. The reportName property + * @param CloudPcRecommendationReportType|null $value Value to set for the reportName property. + */ + public function setReportName(?CloudPcRecommendationReportType $value): void { + $this->getBackingStore()->set('reportName', $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/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.php new file mode 100644 index 00000000000..2ed9c603bc2 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilder.php @@ -0,0 +1,79 @@ +|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/reports/retrieveCloudPcRecommendationReports'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action retrieveCloudPcRecommendationReports + * @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 + */ + 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; + } + + /** + * Invoke action retrieveCloudPcRecommendationReports + * @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"); + $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/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcRecommendationReports/RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..642add2e1d5 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/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/Directory/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.php b/src/Generated/Directory/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.php index 1dd216be38b..880889c68f9 100644 --- a/src/Generated/Directory/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.php +++ b/src/Generated/Directory/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?HardwareOathDevicesRequestBuilderGetRequestConfiguration $r } /** - * Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + * Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. * @param HardwareOathTokenAuthenticationMethodDevice $body The request body * @param HardwareOathDevicesRequestBuilderPostRequestConfiguration|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/authenticationmethoddevice-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/authenticationmethoddevice-post-hardwareoathdevices?view=graph-rest-beta Find more info here */ public function post(HardwareOathTokenAuthenticationMethodDevice $body, ?HardwareOathDevicesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?HardwareOathDevicesRequestBuilderGetReq } /** - * Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. + * Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. * @param HardwareOathTokenAuthenticationMethodDevice $body The request body * @param HardwareOathDevicesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php index 3f1516f582a..1b0f178ce0b 100644 --- a/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php +++ b/src/Generated/Education/Users/Item/EducationUserItemRequestBuilder.php @@ -109,12 +109,12 @@ public function get(?EducationUserItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of an educationuser object. + * Update the relatedContact collection of an educationUser object. * @param EducationUser $body The request body * @param EducationUserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-beta Find more info here */ public function patch(EducationUser $body, ?EducationUserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -163,7 +163,7 @@ public function toGetRequestInformation(?EducationUserItemRequestBuilderGetReque } /** - * Update the properties of an educationuser object. + * Update the relatedContact collection of an educationUser object. * @param EducationUser $body The request body * @param EducationUserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php index 6d7bb079fd5..26facd490f9 100644 --- a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php @@ -46,12 +46,12 @@ public function get(?SchemaRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Update the properties of a schema for an externalConnection. + * Create a new or update an existing schema for a Microsoft Search connection. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/externalconnectors-schema-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-beta Find more info here */ public function patch(Schema $body, ?SchemaRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function toGetRequestInformation(?SchemaRequestBuilderGetRequestConfigura } /** - * Update the properties of a schema for an externalConnection. + * Create a new or update an existing schema for a Microsoft Search connection. * @param Schema $body The request body * @param SchemaRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.php b/src/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.php index 089d28039f6..467f2d1822f 100644 --- a/src/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.php +++ b/src/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?DataConnectorsRequestBuilderGetRequestConfiguration $reques } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param IndustryDataConnector $body The request body * @param DataConnectorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-post?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta Find more info here */ public function post(IndustryDataConnector $body, ?DataConnectorsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DataConnectorsRequestBuilderGetRequestC } /** - * Create a new oneRosterApiDataConnector object. + * Create a new azureDataLakeConnector object. * @param IndustryDataConnector $body The request body * @param DataConnectorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.php b/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.php index 6dc1d2b5414..7e6b640f20c 100644 --- a/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.php +++ b/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?LongRunningOperationItemRequestBuilderDeleteRequestConfi } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param LongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/industrydata-filevalidateoperation-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/longrunningoperation-get?view=graph-rest-beta Find more info here */ public function get(?LongRunningOperationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -92,7 +92,7 @@ public function toDeleteRequestInformation(?LongRunningOperationItemRequestBuild } /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. * @param LongRunningOperationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php b/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php index 32bac9d6444..b479fc76ce2 100644 --- a/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a fileValidateOperation object. + * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. */ class LongRunningOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php index 232151dfb25..3d4b6e9938c 100644 --- a/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?ConversationsRequestBuilderGetRequestConfiguration $request } /** - * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta Find more info here */ public function post(Conversation $body, ?ConversationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?ConversationsRequestBuilderGetRequestCo } /** - * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param Conversation $body The request body * @param ConversationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 19c8d0ef7f7..b0d8cc90171 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..adea0007914 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..94feb7aa0b3 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..301a3113d7f --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..e69f6a83b40 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..056a4e78873 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..cd3ade0ccb5 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from groups + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from groups + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e123bfdf824 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..555c0808501 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php index b56655a34e7..7f0e44274d4 100644 --- a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\SublabelsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; @@ -17,6 +18,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. */ diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..301544b6041 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..23d438e1e64 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..b433fe5d606 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..4f41166c147 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..7925e8b0d3b --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..8b9f7ac8965 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from groups + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from groups + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..54bb485f261 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4507d7d4c14 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php index 5b304a4292b..e4bdc3e98ef 100644 --- a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -16,6 +17,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SensitivityLabelItemRequestBuilder 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/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php index f7746670b73..59049c84c87 100644 --- a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -4,6 +4,8 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityL return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SublabelsRequestBuilder 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/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php index 0b060c8e7eb..ce5c2add80d 100644 --- a/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -4,6 +4,8 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\InformationProtection\SensitivityLabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLab return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SensitivityLabelsRequestBuilder 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/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php new file mode 100644 index 00000000000..b1dfe7ef1ed --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeletePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeletePostRequestBody { + return new DeletePostRequestBody(); + } + + /** + * 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 [ + 'ids' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setIds($val); + }, + ]; + } + + /** + * Gets the ids property value. The ids property + * @return array|null + */ + public function getIds(): ?array { + $val = $this->getBackingStore()->get('ids'); + 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 'ids'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('ids', $this->getIds()); + $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 ids property value. The ids property + * @param array|null $value Value to set for the ids property. + */ + public function setIds(?array $value): void { + $this->getBackingStore()->set('ids', $value); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.php new file mode 100644 index 00000000000..79710154d3f --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/delete'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action delete + * @param DeletePostRequestBody $body The request body + * @param DeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DeletePostRequestBody $body, ?DeleteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action delete + * @param DeletePostRequestBody $body The request body + * @param DeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DeletePostRequestBody $body, ?DeleteRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DeleteRequestBuilder + */ + public function withUrl(string $rawUrl): DeleteRequestBuilder { + return new DeleteRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..c106bb807a0 --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.php index 3e4ca287685..23ce96127a6 100644 --- a/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.php @@ -5,7 +5,9 @@ use Exception; use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\RecycleBin\Items\Count\CountRequestBuilder; +use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\RecycleBin\Items\Delete\DeleteRequestBuilder; use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\RecycleBin\Items\Item\RecycleBinItemItemRequestBuilder; +use Microsoft\Graph\Beta\Generated\Groups\Item\Sites\Item\RecycleBin\Items\Restore\RestoreRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\RecycleBinItem; use Microsoft\Graph\Beta\Generated\Models\RecycleBinItemCollectionResponse; @@ -26,6 +28,20 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the delete method. + */ + public function deletePath(): DeleteRequestBuilder { + return new DeleteRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the restore method. + */ + public function restore(): RestoreRequestBuilder { + return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the items property of the microsoft.graph.recycleBin entity. * @param string $recycleBinItemId The unique identifier of recycleBinItem diff --git a/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..a086277d3bd --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 [ + 'ids' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setIds($val); + }, + ]; + } + + /** + * Gets the ids property value. The ids property + * @return array|null + */ + public function getIds(): ?array { + $val = $this->getBackingStore()->get('ids'); + 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 'ids'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('ids', $this->getIds()); + $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 ids property value. The ids property + * @param array|null $value Value to set for the ids property. + */ + public function setIds(?array $value): void { + $this->getBackingStore()->set('ids', $value); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.php b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.php new file mode 100644 index 00000000000..ed96a64166f --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([RecycleBinItem::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, RecycleBinItem::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/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.php new file mode 100644 index 00000000000..9df25fdb11c --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/restore'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action restore + * @param RestorePostRequestBody $body The request body + * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RestorePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action restore + * @param RestorePostRequestBody $body The request body + * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $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 RestoreRequestBuilder + */ + public function withUrl(string $rawUrl): RestoreRequestBuilder { + return new RestoreRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e2da10985bf --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php index 5f23ac7e6cb..eeb57a1ac0d 100644 --- a/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -46,7 +46,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.php index e4ff8094d87..259de24f911 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. * @param CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-beta Find more info here */ public function delete(?CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -77,7 +77,7 @@ public function patch(CustomAccessPackageWorkflowExtension $body, ?CustomAccessP } /** - * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. * @param CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php index d72b48f3958..4960c159ce9 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -120,11 +120,11 @@ public function delete(?AccessPackageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta Find more info here */ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -168,7 +168,7 @@ public function toDeleteRequestInformation(?AccessPackageItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php index b2fe7f6b346..b1ff43ca6d4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ class AccessPackageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.php index 2d677a00bce..3f3f153e35a 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.php @@ -65,11 +65,11 @@ public function delete(?AccessPackagesWithUniqueNameRequestBuilderDeleteRequestC } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta Find more info here */ public function get(?AccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -113,7 +113,7 @@ public function toDeleteRequestInformation(?AccessPackagesWithUniqueNameRequestB } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters.php index 8900e6f934e..62a3fe523c2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index af31cc952ff..bf49969ac2e 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -70,11 +70,11 @@ public function delete(?AgreementItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|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/agreement-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-beta Find more info here */ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -118,7 +118,7 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php index e1d6d93093c..08036143775 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..b7433e20a54 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d5152310314 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..44232fe94de --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..3713e91744e --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/informationProtection/sensitivityLabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1c25b5f8365 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..09d1530b34a --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.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}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from informationProtection + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from informationProtection + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..04304566fba --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..ba260cffff0 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php index 747a724c2e6..99c1c5c3578 100644 --- a/src/Generated/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\Sublabels\SublabelsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; @@ -17,6 +18,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. */ diff --git a/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..3a8f8f584e6 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6e3805a94f3 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..f778894262d --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..fb0ce9f9da0 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..8d6b596f648 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..07034cf4e61 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.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}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from informationProtection + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from informationProtection + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3daba96e549 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..41f06d4c246 --- /dev/null +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php index 2cbaf42d358..d454b6733f4 100644 --- a/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\Sublabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -16,6 +17,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SensitivityLabelItemRequestBuilder 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/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php index ed5216c176a..069e7ef3062 100644 --- a/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php +++ b/src/Generated/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -4,6 +4,8 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\Sublabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\Sublabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\Sublabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\Sublabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\Sublabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityL return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SublabelsRequestBuilder 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/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php b/src/Generated/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php index b0b23ba5a42..8c9124cec34 100644 --- a/src/Generated/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php +++ b/src/Generated/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -4,6 +4,8 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\InformationProtection\SensitivityLabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLab return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SensitivityLabelsRequestBuilder 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/Models/AccessPackageAssignmentPolicy.php b/src/Generated/Models/AccessPackageAssignmentPolicy.php index 13d2a9f2b48..c637831328d 100644 --- a/src/Generated/Models/AccessPackageAssignmentPolicy.php +++ b/src/Generated/Models/AccessPackageAssignmentPolicy.php @@ -63,7 +63,7 @@ public function getAccessPackageId(): ?string { } /** - * Gets the accessPackageNotificationSettings property value. The accessPackageNotificationSettings property + * Gets the accessPackageNotificationSettings property value. Represents the settings for email notifications for requests to an access package. * @return AccessPackageNotificationSettings|null */ public function getAccessPackageNotificationSettings(): ?AccessPackageNotificationSettings { @@ -355,7 +355,7 @@ public function setAccessPackageId(?string $value): void { } /** - * Sets the accessPackageNotificationSettings property value. The accessPackageNotificationSettings property + * Sets the accessPackageNotificationSettings property value. Represents the settings for email notifications for requests to an access package. * @param AccessPackageNotificationSettings|null $value Value to set for the accessPackageNotificationSettings property. */ public function setAccessPackageNotificationSettings(?AccessPackageNotificationSettings $value): void { diff --git a/src/Generated/Models/AccessPackageNotificationSettings.php b/src/Generated/Models/AccessPackageNotificationSettings.php index f16c6ef1f5a..c25b3f0a2cb 100644 --- a/src/Generated/Models/AccessPackageNotificationSettings.php +++ b/src/Generated/Models/AccessPackageNotificationSettings.php @@ -68,7 +68,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isAssignmentNotificationDisabled property value. The isAssignmentNotificationDisabled property + * Gets the isAssignmentNotificationDisabled property value. Indicates if notification emails for an access package are disabled within an access package assignment policy. * @return bool|null */ public function getIsAssignmentNotificationDisabled(): ?bool { @@ -118,7 +118,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isAssignmentNotificationDisabled property value. The isAssignmentNotificationDisabled property + * Sets the isAssignmentNotificationDisabled property value. Indicates if notification emails for an access package are disabled within an access package assignment policy. * @param bool|null $value Value to set for the isAssignmentNotificationDisabled property. */ public function setIsAssignmentNotificationDisabled(?bool $value): void { diff --git a/src/Generated/Models/Agentic/AgentSignIn.php b/src/Generated/Models/Agentic/AgentSignIn.php index 99192da103f..0f5b26f5a21 100644 --- a/src/Generated/Models/Agentic/AgentSignIn.php +++ b/src/Generated/Models/Agentic/AgentSignIn.php @@ -93,7 +93,7 @@ public function getOdataType(): ?string { } /** - * Gets the parentAppId property value. The parentAppId property + * Gets the parentAppId property value. The ID of the parent application for agentic instances. * @return string|null */ public function getParentAppId(): ?string { @@ -148,7 +148,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the parentAppId property value. The parentAppId property + * Sets the parentAppId property value. The ID of the parent application for agentic instances. * @param string|null $value Value to set for the parentAppId property. */ public function setParentAppId(?string $value): void { diff --git a/src/Generated/Models/AutoLabeling.php b/src/Generated/Models/AutoLabeling.php index 32001bc9f7e..3295474f786 100644 --- a/src/Generated/Models/AutoLabeling.php +++ b/src/Generated/Models/AutoLabeling.php @@ -77,7 +77,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the message property value. The message property + * Gets the message property value. The message displayed to the user when the label is applied automatically. * @return string|null */ public function getMessage(): ?string { @@ -101,7 +101,7 @@ public function getOdataType(): ?string { } /** - * Gets the sensitiveTypeIds property value. The sensitiveTypeIds property + * Gets the sensitiveTypeIds property value. The list of sensitive information type (SIT) IDs that trigger the automatic application of this label. * @return array|null */ public function getSensitiveTypeIds(): ?array { @@ -142,7 +142,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the message property value. The message property + * Sets the message property value. The message displayed to the user when the label is applied automatically. * @param string|null $value Value to set for the message property. */ public function setMessage(?string $value): void { @@ -158,7 +158,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the sensitiveTypeIds property value. The sensitiveTypeIds property + * Sets the sensitiveTypeIds property value. The list of sensitive information type (SIT) IDs that trigger the automatic application of this label. * @param array|null $value Value to set for the sensitiveTypeIds property. */ public function setSensitiveTypeIds(?array $value): void { diff --git a/src/Generated/Models/ClassificationError.php b/src/Generated/Models/ClassificationError.php index e42687f1a22..9def8c0e0d7 100644 --- a/src/Generated/Models/ClassificationError.php +++ b/src/Generated/Models/ClassificationError.php @@ -33,7 +33,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Class } /** - * Gets the details property value. A collection of more specific errors that contribute to the overall error. + * Gets the details property value. A collection of more specific errors contributing to the overall error. * @return array|null */ public function getDetails(): ?array { @@ -67,7 +67,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the details property value. A collection of more specific errors that contribute to the overall error. + * Sets the details property value. A collection of more specific errors contributing to the overall error. * @param array|null $value Value to set for the details property. */ public function setDetails(?array $value): void { diff --git a/src/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.php b/src/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.php index 92263df948e..3dd6fc95408 100644 --- a/src/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.php +++ b/src/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Cloud } /** - * Gets the cronScheduleExpression property value. An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto-provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. + * Gets the cronScheduleExpression property value. An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. * @return string|null */ public function getCronScheduleExpression(): ?string { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the cronScheduleExpression property value. An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto-provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. + * Sets the cronScheduleExpression property value. An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. * @param string|null $value Value to set for the cronScheduleExpression property. */ public function setCronScheduleExpression(?string $value): void { diff --git a/src/Generated/Models/CloudPcRecommendationReportType.php b/src/Generated/Models/CloudPcRecommendationReportType.php new file mode 100644 index 00000000000..b3dd5194002 --- /dev/null +++ b/src/Generated/Models/CloudPcRecommendationReportType.php @@ -0,0 +1,10 @@ +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 ComputeRightsAndInheritanceResult + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritanceResult { + return new ComputeRightsAndInheritanceResult(); + } + + /** + * 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 contentRights property value. The contentRights property + * @return array|null + */ + public function getContentRights(): ?array { + $val = $this->getBackingStore()->get('contentRights'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, LabelContentRight::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentRights'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'contentRights' => fn(ParseNode $n) => $o->setContentRights($n->getCollectionOfObjectValues([LabelContentRight::class, 'createFromDiscriminatorValue'])), + 'inheritedLabel' => fn(ParseNode $n) => $o->setInheritedLabel($n->getObjectValue([SensitivityLabel::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'sensitivityLabels' => fn(ParseNode $n) => $o->setSensitivityLabels($n->getCollectionOfObjectValues([SensitivityLabel::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the inheritedLabel property value. The inheritedLabel property + * @return SensitivityLabel|null + */ + public function getInheritedLabel(): ?SensitivityLabel { + $val = $this->getBackingStore()->get('inheritedLabel'); + if (is_null($val) || $val instanceof SensitivityLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inheritedLabel'"); + } + + /** + * 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 sensitivityLabels property value. The sensitivityLabels property + * @return array|null + */ + public function getSensitivityLabels(): ?array { + $val = $this->getBackingStore()->get('sensitivityLabels'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, SensitivityLabel::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sensitivityLabels'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('contentRights', $this->getContentRights()); + $writer->writeObjectValue('inheritedLabel', $this->getInheritedLabel()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('sensitivityLabels', $this->getSensitivityLabels()); + $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 contentRights property value. The contentRights property + * @param array|null $value Value to set for the contentRights property. + */ + public function setContentRights(?array $value): void { + $this->getBackingStore()->set('contentRights', $value); + } + + /** + * Sets the inheritedLabel property value. The inheritedLabel property + * @param SensitivityLabel|null $value Value to set for the inheritedLabel property. + */ + public function setInheritedLabel(?SensitivityLabel $value): void { + $this->getBackingStore()->set('inheritedLabel', $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 sensitivityLabels property value. The sensitivityLabels property + * @param array|null $value Value to set for the sensitivityLabels property. + */ + public function setSensitivityLabels(?array $value): void { + $this->getBackingStore()->set('sensitivityLabels', $value); + } + +} diff --git a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php index ba40cf6ddb9..7d014191bdb 100644 --- a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 + * Gets the maximumCount property value. Maximum number of choices in the collection * @return int|null */ public function getMaximumCount(): ?int { @@ -49,7 +49,7 @@ public function getMaximumCount(): ?int { } /** - * Gets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 + * Gets the minimumCount property value. Minimum number of choices in the collection * @return int|null */ public function getMinimumCount(): ?int { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 + * Sets the maximumCount property value. Maximum number of choices in the collection * @param int|null $value Value to set for the maximumCount property. */ public function setMaximumCount(?int $value): void { @@ -79,7 +79,7 @@ public function setMaximumCount(?int $value): void { } /** - * Sets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 + * Sets the minimumCount property value. Minimum number of choices in the collection * @param int|null $value Value to set for the minimumCount property. */ public function setMinimumCount(?int $value): void { diff --git a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.php b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.php index fac8e0db529..7b76a170b98 100644 --- a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingDefinition.php @@ -33,7 +33,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Devic } /** - * Gets the defaultOptionId property value. Default option for the choice setting. + * Gets the defaultOptionId property value. Default option for choice setting * @return string|null */ public function getDefaultOptionId(): ?string { @@ -57,7 +57,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the options property value. Options for the setting that can be selected. + * Gets the options property value. Options for the setting that can be selected * @return array|null */ public function getOptions(): ?array { @@ -81,7 +81,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the defaultOptionId property value. Default option for the choice setting. + * Sets the defaultOptionId property value. Default option for choice setting * @param string|null $value Value to set for the defaultOptionId property. */ public function setDefaultOptionId(?string $value): void { @@ -89,7 +89,7 @@ public function setDefaultOptionId(?string $value): void { } /** - * Sets the options property value. Options for the setting that can be selected. + * Sets the options property value. Options for the setting that can be selected * @param array|null $value Value to set for the options property. */ public function setOptions(?array $value): void { diff --git a/src/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.php b/src/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.php index 92534302123..67276ec05b5 100644 --- a/src/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.php +++ b/src/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.php @@ -83,7 +83,7 @@ public function getOdataType(): ?string { } /** - * Gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting + * Gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. * @return string|null */ public function getSettingDefinitionId(): ?string { @@ -129,7 +129,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting + * Sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. * @param string|null $value Value to set for the settingDefinitionId property. */ public function setSettingDefinitionId(?string $value): void { diff --git a/src/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.php b/src/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.php index 92dda4cd8fa..8383e8d0b09 100644 --- a/src/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the maximumCount property value. Maximum number of setting group count in the collection + * Gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 * @return int|null */ public function getMaximumCount(): ?int { @@ -49,7 +49,7 @@ public function getMaximumCount(): ?int { } /** - * Gets the minimumCount property value. Minimum number of setting group count in the collection + * Gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 * @return int|null */ public function getMinimumCount(): ?int { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the maximumCount property value. Maximum number of setting group count in the collection + * Sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 * @param int|null $value Value to set for the maximumCount property. */ public function setMaximumCount(?int $value): void { @@ -79,7 +79,7 @@ public function setMaximumCount(?int $value): void { } /** - * Sets the minimumCount property value. Minimum number of setting group count in the collection + * Sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 * @param int|null $value Value to set for the minimumCount property. */ public function setMinimumCount(?int $value): void { diff --git a/src/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.php b/src/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.php index 4ca20155e81..a2778cbead7 100644 --- a/src/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.php @@ -33,7 +33,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Devic } /** - * Gets the defaultValue property value. Default setting value for this setting + * Gets the defaultValue property value. Default setting value for this setting. * @return DeviceManagementConfigurationSettingValue|null */ public function getDefaultValue(): ?DeviceManagementConfigurationSettingValue { @@ -45,7 +45,7 @@ public function getDefaultValue(): ?DeviceManagementConfigurationSettingValue { } /** - * Gets the dependedOnBy property value. list of child settings that depend on this setting + * Gets the dependedOnBy property value. list of child settings that depend on this setting. * @return array|null */ public function getDependedOnBy(): ?array { @@ -59,7 +59,7 @@ public function getDependedOnBy(): ?array { } /** - * Gets the dependentOn property value. list of parent settings this setting is dependent on + * Gets the dependentOn property value. list of parent settings this setting is dependent on. * @return array|null */ public function getDependentOn(): ?array { @@ -87,7 +87,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the valueDefinition property value. Definition of the value for this setting + * Gets the valueDefinition property value. Definition of the value for this setting. * @return DeviceManagementConfigurationSettingValueDefinition|null */ public function getValueDefinition(): ?DeviceManagementConfigurationSettingValueDefinition { @@ -111,7 +111,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the defaultValue property value. Default setting value for this setting + * Sets the defaultValue property value. Default setting value for this setting. * @param DeviceManagementConfigurationSettingValue|null $value Value to set for the defaultValue property. */ public function setDefaultValue(?DeviceManagementConfigurationSettingValue $value): void { @@ -119,7 +119,7 @@ public function setDefaultValue(?DeviceManagementConfigurationSettingValue $valu } /** - * Sets the dependedOnBy property value. list of child settings that depend on this setting + * Sets the dependedOnBy property value. list of child settings that depend on this setting. * @param array|null $value Value to set for the dependedOnBy property. */ public function setDependedOnBy(?array $value): void { @@ -127,7 +127,7 @@ public function setDependedOnBy(?array $value): void { } /** - * Sets the dependentOn property value. list of parent settings this setting is dependent on + * Sets the dependentOn property value. list of parent settings this setting is dependent on. * @param array|null $value Value to set for the dependentOn property. */ public function setDependentOn(?array $value): void { @@ -135,7 +135,7 @@ public function setDependentOn(?array $value): void { } /** - * Sets the valueDefinition property value. Definition of the value for this setting + * Sets the valueDefinition property value. Definition of the value for this setting. * @param DeviceManagementConfigurationSettingValueDefinition|null $value Value to set for the valueDefinition property. */ public function setValueDefinition(?DeviceManagementConfigurationSettingValueDefinition $value): void { diff --git a/src/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.php b/src/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.php index 546a60569c8..76c54cb10e2 100644 --- a/src/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.php +++ b/src/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the areEngagementStrategiesEnabled property value. The areEngagementStrategiesEnabled property + * Gets the areEngagementStrategiesEnabled property value. Indicates whether the student should receive feedback on their engagement strategies from the AI feedback. * @return bool|null */ public function getAreEngagementStrategiesEnabled(): ?bool { @@ -82,7 +82,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isCallToActionEnabled property value. The isCallToActionEnabled property + * Gets the isCallToActionEnabled property value. Indicates whether the student should receive feedback on their call to action from the AI feedback. * @return bool|null */ public function getIsCallToActionEnabled(): ?bool { @@ -94,7 +94,7 @@ public function getIsCallToActionEnabled(): ?bool { } /** - * Gets the isEmotionalAndIntellectualAppealEnabled property value. The isEmotionalAndIntellectualAppealEnabled property + * Gets the isEmotionalAndIntellectualAppealEnabled property value. Indicates whether the student should receive feedback on their emotional and intellectual appeal from the AI feedback. * @return bool|null */ public function getIsEmotionalAndIntellectualAppealEnabled(): ?bool { @@ -138,7 +138,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the areEngagementStrategiesEnabled property value. The areEngagementStrategiesEnabled property + * Sets the areEngagementStrategiesEnabled property value. Indicates whether the student should receive feedback on their engagement strategies from the AI feedback. * @param bool|null $value Value to set for the areEngagementStrategiesEnabled property. */ public function setAreEngagementStrategiesEnabled(?bool $value): void { @@ -154,7 +154,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isCallToActionEnabled property value. The isCallToActionEnabled property + * Sets the isCallToActionEnabled property value. Indicates whether the student should receive feedback on their call to action from the AI feedback. * @param bool|null $value Value to set for the isCallToActionEnabled property. */ public function setIsCallToActionEnabled(?bool $value): void { @@ -162,7 +162,7 @@ public function setIsCallToActionEnabled(?bool $value): void { } /** - * Sets the isEmotionalAndIntellectualAppealEnabled property value. The isEmotionalAndIntellectualAppealEnabled property + * Sets the isEmotionalAndIntellectualAppealEnabled property value. Indicates whether the student should receive feedback on their emotional and intellectual appeal from the AI feedback. * @param bool|null $value Value to set for the isEmotionalAndIntellectualAppealEnabled property. */ public function setIsEmotionalAndIntellectualAppealEnabled(?bool $value): void { diff --git a/src/Generated/Models/EducationAiFeedbackContentSettings.php b/src/Generated/Models/EducationAiFeedbackContentSettings.php index 5acb337e510..fc7df15cb04 100644 --- a/src/Generated/Models/EducationAiFeedbackContentSettings.php +++ b/src/Generated/Models/EducationAiFeedbackContentSettings.php @@ -70,7 +70,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isMessageClarityEnabled property value. The isMessageClarityEnabled property + * Gets the isMessageClarityEnabled property value. Indicates whether the student should receive feedback on their message clarity from the AI feedback. * @return bool|null */ public function getIsMessageClarityEnabled(): ?bool { @@ -82,7 +82,7 @@ public function getIsMessageClarityEnabled(): ?bool { } /** - * Gets the isQualityOfInformationEnabled property value. The isQualityOfInformationEnabled property + * Gets the isQualityOfInformationEnabled property value. Indicates whether the student should receive feedback on their quality of information from the AI feedback. * @return bool|null */ public function getIsQualityOfInformationEnabled(): ?bool { @@ -94,7 +94,7 @@ public function getIsQualityOfInformationEnabled(): ?bool { } /** - * Gets the isSpeechOrganizationEnabled property value. The isSpeechOrganizationEnabled property + * Gets the isSpeechOrganizationEnabled property value. Indicates whether the student should receive feedback on their speech organization from the AI feedback. * @return bool|null */ public function getIsSpeechOrganizationEnabled(): ?bool { @@ -146,7 +146,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isMessageClarityEnabled property value. The isMessageClarityEnabled property + * Sets the isMessageClarityEnabled property value. Indicates whether the student should receive feedback on their message clarity from the AI feedback. * @param bool|null $value Value to set for the isMessageClarityEnabled property. */ public function setIsMessageClarityEnabled(?bool $value): void { @@ -154,7 +154,7 @@ public function setIsMessageClarityEnabled(?bool $value): void { } /** - * Sets the isQualityOfInformationEnabled property value. The isQualityOfInformationEnabled property + * Sets the isQualityOfInformationEnabled property value. Indicates whether the student should receive feedback on their quality of information from the AI feedback. * @param bool|null $value Value to set for the isQualityOfInformationEnabled property. */ public function setIsQualityOfInformationEnabled(?bool $value): void { @@ -162,7 +162,7 @@ public function setIsQualityOfInformationEnabled(?bool $value): void { } /** - * Sets the isSpeechOrganizationEnabled property value. The isSpeechOrganizationEnabled property + * Sets the isSpeechOrganizationEnabled property value. Indicates whether the student should receive feedback on their speech organization from the AI feedback. * @param bool|null $value Value to set for the isSpeechOrganizationEnabled property. */ public function setIsSpeechOrganizationEnabled(?bool $value): void { diff --git a/src/Generated/Models/EducationAiFeedbackDeliverySettings.php b/src/Generated/Models/EducationAiFeedbackDeliverySettings.php index 865bc178829..e9c671c77b6 100644 --- a/src/Generated/Models/EducationAiFeedbackDeliverySettings.php +++ b/src/Generated/Models/EducationAiFeedbackDeliverySettings.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the areRhetoricalTechniquesEnabled property value. The areRhetoricalTechniquesEnabled property + * Gets the areRhetoricalTechniquesEnabled property value. Indicates whether the student should receive feedback on their rhetorical techniques from the AI feedback. * @return bool|null */ public function getAreRhetoricalTechniquesEnabled(): ?bool { @@ -82,7 +82,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isLanguageUseEnabled property value. The isLanguageUseEnabled property + * Gets the isLanguageUseEnabled property value. Indicates whether the student should receive feedback on their language use from the AI feedback. * @return bool|null */ public function getIsLanguageUseEnabled(): ?bool { @@ -94,7 +94,7 @@ public function getIsLanguageUseEnabled(): ?bool { } /** - * Gets the isStyleEnabled property value. The isStyleEnabled property + * Gets the isStyleEnabled property value. Indicates whether the student should receive feedback on their style from the AI feedback. * @return bool|null */ public function getIsStyleEnabled(): ?bool { @@ -138,7 +138,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the areRhetoricalTechniquesEnabled property value. The areRhetoricalTechniquesEnabled property + * Sets the areRhetoricalTechniquesEnabled property value. Indicates whether the student should receive feedback on their rhetorical techniques from the AI feedback. * @param bool|null $value Value to set for the areRhetoricalTechniquesEnabled property. */ public function setAreRhetoricalTechniquesEnabled(?bool $value): void { @@ -154,7 +154,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isLanguageUseEnabled property value. The isLanguageUseEnabled property + * Sets the isLanguageUseEnabled property value. Indicates whether the student should receive feedback on their language use from the AI feedback. * @param bool|null $value Value to set for the isLanguageUseEnabled property. */ public function setIsLanguageUseEnabled(?bool $value): void { @@ -162,7 +162,7 @@ public function setIsLanguageUseEnabled(?bool $value): void { } /** - * Sets the isStyleEnabled property value. The isStyleEnabled property + * Sets the isStyleEnabled property value. Indicates whether the student should receive feedback on their style from the AI feedback. * @param bool|null $value Value to set for the isStyleEnabled property. */ public function setIsStyleEnabled(?bool $value): void { diff --git a/src/Generated/Models/EducationAiFeedbackSettings.php b/src/Generated/Models/EducationAiFeedbackSettings.php index 99e70d5c6c9..a7a31f7d559 100644 --- a/src/Generated/Models/EducationAiFeedbackSettings.php +++ b/src/Generated/Models/EducationAiFeedbackSettings.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the audienceEngagementSettings property value. The audienceEngagementSettings property + * Gets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the AI feedback. * @return EducationAiFeedbackAudienceEngagementSettings|null */ public function getAudienceEngagementSettings(): ?EducationAiFeedbackAudienceEngagementSettings { @@ -68,7 +68,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the contentSettings property value. The contentSettings property + * Gets the contentSettings property value. The content related feedback types that students should receive from the AI feedback. * @return EducationAiFeedbackContentSettings|null */ public function getContentSettings(): ?EducationAiFeedbackContentSettings { @@ -80,7 +80,7 @@ public function getContentSettings(): ?EducationAiFeedbackContentSettings { } /** - * Gets the deliverySettings property value. The deliverySettings property + * Gets the deliverySettings property value. The delivery related feedback types that students should receive from the AI feedback. * @return EducationAiFeedbackDeliverySettings|null */ public function getDeliverySettings(): ?EducationAiFeedbackDeliverySettings { @@ -138,7 +138,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the audienceEngagementSettings property value. The audienceEngagementSettings property + * Sets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the AI feedback. * @param EducationAiFeedbackAudienceEngagementSettings|null $value Value to set for the audienceEngagementSettings property. */ public function setAudienceEngagementSettings(?EducationAiFeedbackAudienceEngagementSettings $value): void { @@ -154,7 +154,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the contentSettings property value. The contentSettings property + * Sets the contentSettings property value. The content related feedback types that students should receive from the AI feedback. * @param EducationAiFeedbackContentSettings|null $value Value to set for the contentSettings property. */ public function setContentSettings(?EducationAiFeedbackContentSettings $value): void { @@ -162,7 +162,7 @@ public function setContentSettings(?EducationAiFeedbackContentSettings $value): } /** - * Sets the deliverySettings property value. The deliverySettings property + * Sets the deliverySettings property value. The delivery related feedback types that students should receive from the AI feedback. * @param EducationAiFeedbackDeliverySettings|null $value Value to set for the deliverySettings property. */ public function setDeliverySettings(?EducationAiFeedbackDeliverySettings $value): void { diff --git a/src/Generated/Models/EducationAssignmentPointsGrade.php b/src/Generated/Models/EducationAssignmentPointsGrade.php index 0e4252e13f3..9c1f159f26c 100644 --- a/src/Generated/Models/EducationAssignmentPointsGrade.php +++ b/src/Generated/Models/EducationAssignmentPointsGrade.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the points property value. Number of points a teacher is giving this submission object. + * Gets the points property value. Number of points a teacher gives to this submission object. * @return float|null */ public function getPoints(): ?float { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the points property value. Number of points a teacher is giving this submission object. + * Sets the points property value. Number of points a teacher gives to this submission object. * @param float|null $value Value to set for the points property. */ public function setPoints(?float $value): void { diff --git a/src/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.php b/src/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.php index caa20de7bb2..a75755733e4 100644 --- a/src/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.php +++ b/src/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.php @@ -68,7 +68,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isBodyLanguageEnabled property value. The isBodyLanguageEnabled property + * Gets the isBodyLanguageEnabled property value. Indicates whether the student should receive feedback on their body language from the Speaker Coach. * @return bool|null */ public function getIsBodyLanguageEnabled(): ?bool { @@ -118,7 +118,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isBodyLanguageEnabled property value. The isBodyLanguageEnabled property + * Sets the isBodyLanguageEnabled property value. Indicates whether the student should receive feedback on their body language from the Speaker Coach. * @param bool|null $value Value to set for the isBodyLanguageEnabled property. */ public function setIsBodyLanguageEnabled(?bool $value): void { diff --git a/src/Generated/Models/EducationSpeakerCoachContentSettings.php b/src/Generated/Models/EducationSpeakerCoachContentSettings.php index 41b4b2134ac..d05b58a7575 100644 --- a/src/Generated/Models/EducationSpeakerCoachContentSettings.php +++ b/src/Generated/Models/EducationSpeakerCoachContentSettings.php @@ -69,7 +69,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isInclusivenessEnabled property value. The isInclusivenessEnabled property + * Gets the isInclusivenessEnabled property value. Indicates whether the student should receive feedback on their inclusiveness from the Speaker Coach. * @return bool|null */ public function getIsInclusivenessEnabled(): ?bool { @@ -81,7 +81,7 @@ public function getIsInclusivenessEnabled(): ?bool { } /** - * Gets the isRepetitiveLanguageEnabled property value. The isRepetitiveLanguageEnabled property + * Gets the isRepetitiveLanguageEnabled property value. Indicates whether the student should receive feedback on their repetitive language from the Speaker Coach. * @return bool|null */ public function getIsRepetitiveLanguageEnabled(): ?bool { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isInclusivenessEnabled property value. The isInclusivenessEnabled property + * Sets the isInclusivenessEnabled property value. Indicates whether the student should receive feedback on their inclusiveness from the Speaker Coach. * @param bool|null $value Value to set for the isInclusivenessEnabled property. */ public function setIsInclusivenessEnabled(?bool $value): void { @@ -140,7 +140,7 @@ public function setIsInclusivenessEnabled(?bool $value): void { } /** - * Sets the isRepetitiveLanguageEnabled property value. The isRepetitiveLanguageEnabled property + * Sets the isRepetitiveLanguageEnabled property value. Indicates whether the student should receive feedback on their repetitive language from the Speaker Coach. * @param bool|null $value Value to set for the isRepetitiveLanguageEnabled property. */ public function setIsRepetitiveLanguageEnabled(?bool $value): void { diff --git a/src/Generated/Models/EducationSpeakerCoachDeliverySettings.php b/src/Generated/Models/EducationSpeakerCoachDeliverySettings.php index 56aede70786..b4d4285bd5c 100644 --- a/src/Generated/Models/EducationSpeakerCoachDeliverySettings.php +++ b/src/Generated/Models/EducationSpeakerCoachDeliverySettings.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the areFillerWordsEnabled property value. The areFillerWordsEnabled property + * Gets the areFillerWordsEnabled property value. Indicates whether the student should receive feedback on their filler words from the Speaker Coach. * @return bool|null */ public function getAreFillerWordsEnabled(): ?bool { @@ -83,7 +83,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isPaceEnabled property value. The isPaceEnabled property + * Gets the isPaceEnabled property value. Indicates whether the student should receive feedback on their pace from the Speaker Coach. * @return bool|null */ public function getIsPaceEnabled(): ?bool { @@ -95,7 +95,7 @@ public function getIsPaceEnabled(): ?bool { } /** - * Gets the isPitchEnabled property value. The isPitchEnabled property + * Gets the isPitchEnabled property value. Indicates whether the student should receive feedback on their pitch from the Speaker Coach. * @return bool|null */ public function getIsPitchEnabled(): ?bool { @@ -107,7 +107,7 @@ public function getIsPitchEnabled(): ?bool { } /** - * Gets the isPronunciationEnabled property value. The isPronunciationEnabled property + * Gets the isPronunciationEnabled property value. Indicates whether the student should receive feedback on their pronunciation from the Speaker Coach. This is automatically enabled if isAiFeedbackEnabled is set to true on the educationSpeakerProgressResource, or if spokenLanguageLocale is set to a value besides en-US on the educationSpeakerProgressResource. * @return bool|null */ public function getIsPronunciationEnabled(): ?bool { @@ -152,7 +152,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the areFillerWordsEnabled property value. The areFillerWordsEnabled property + * Sets the areFillerWordsEnabled property value. Indicates whether the student should receive feedback on their filler words from the Speaker Coach. * @param bool|null $value Value to set for the areFillerWordsEnabled property. */ public function setAreFillerWordsEnabled(?bool $value): void { @@ -168,7 +168,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the isPaceEnabled property value. The isPaceEnabled property + * Sets the isPaceEnabled property value. Indicates whether the student should receive feedback on their pace from the Speaker Coach. * @param bool|null $value Value to set for the isPaceEnabled property. */ public function setIsPaceEnabled(?bool $value): void { @@ -176,7 +176,7 @@ public function setIsPaceEnabled(?bool $value): void { } /** - * Sets the isPitchEnabled property value. The isPitchEnabled property + * Sets the isPitchEnabled property value. Indicates whether the student should receive feedback on their pitch from the Speaker Coach. * @param bool|null $value Value to set for the isPitchEnabled property. */ public function setIsPitchEnabled(?bool $value): void { @@ -184,7 +184,7 @@ public function setIsPitchEnabled(?bool $value): void { } /** - * Sets the isPronunciationEnabled property value. The isPronunciationEnabled property + * Sets the isPronunciationEnabled property value. Indicates whether the student should receive feedback on their pronunciation from the Speaker Coach. This is automatically enabled if isAiFeedbackEnabled is set to true on the educationSpeakerProgressResource, or if spokenLanguageLocale is set to a value besides en-US on the educationSpeakerProgressResource. * @param bool|null $value Value to set for the isPronunciationEnabled property. */ public function setIsPronunciationEnabled(?bool $value): void { diff --git a/src/Generated/Models/EducationSpeakerCoachSettings.php b/src/Generated/Models/EducationSpeakerCoachSettings.php index 8bbfe111fa8..e0a9448ddc0 100644 --- a/src/Generated/Models/EducationSpeakerCoachSettings.php +++ b/src/Generated/Models/EducationSpeakerCoachSettings.php @@ -48,7 +48,7 @@ public function getAdditionalData(): ?array { } /** - * Gets the audienceEngagementSettings property value. The audienceEngagementSettings property + * Gets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the Speaker Coach. * @return EducationSpeakerCoachAudienceEngagementSettings|null */ public function getAudienceEngagementSettings(): ?EducationSpeakerCoachAudienceEngagementSettings { @@ -68,7 +68,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the contentSettings property value. The contentSettings property + * Gets the contentSettings property value. The content related feedback types that students should receive from the Speaker Coach. * @return EducationSpeakerCoachContentSettings|null */ public function getContentSettings(): ?EducationSpeakerCoachContentSettings { @@ -80,7 +80,7 @@ public function getContentSettings(): ?EducationSpeakerCoachContentSettings { } /** - * Gets the deliverySettings property value. The deliverySettings property + * Gets the deliverySettings property value. The delivery related feedback types that students should receive from the Speaker Coach. * @return EducationSpeakerCoachDeliverySettings|null */ public function getDeliverySettings(): ?EducationSpeakerCoachDeliverySettings { @@ -138,7 +138,7 @@ public function setAdditionalData(?array $value): void { } /** - * Sets the audienceEngagementSettings property value. The audienceEngagementSettings property + * Sets the audienceEngagementSettings property value. The audience engagement related feedback types that students should receive from the Speaker Coach. * @param EducationSpeakerCoachAudienceEngagementSettings|null $value Value to set for the audienceEngagementSettings property. */ public function setAudienceEngagementSettings(?EducationSpeakerCoachAudienceEngagementSettings $value): void { @@ -154,7 +154,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the contentSettings property value. The contentSettings property + * Sets the contentSettings property value. The content related feedback types that students should receive from the Speaker Coach. * @param EducationSpeakerCoachContentSettings|null $value Value to set for the contentSettings property. */ public function setContentSettings(?EducationSpeakerCoachContentSettings $value): void { @@ -162,7 +162,7 @@ public function setContentSettings(?EducationSpeakerCoachContentSettings $value) } /** - * Sets the deliverySettings property value. The deliverySettings property + * Sets the deliverySettings property value. The delivery related feedback types that students should receive from the Speaker Coach. * @param EducationSpeakerCoachDeliverySettings|null $value Value to set for the deliverySettings property. */ public function setDeliverySettings(?EducationSpeakerCoachDeliverySettings $value): void { diff --git a/src/Generated/Models/EducationSpeakerProgressResource.php b/src/Generated/Models/EducationSpeakerProgressResource.php index e629de5945a..f5750d1538c 100644 --- a/src/Generated/Models/EducationSpeakerProgressResource.php +++ b/src/Generated/Models/EducationSpeakerProgressResource.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Educa } /** - * Gets the aiFeedbackCriteria property value. The aiFeedbackCriteria property + * Gets the aiFeedbackCriteria property value. The feedback types that students should receive from AI feedback. This property should only be provided if isAiFeedbackEnabled is true. * @return EducationAiFeedbackCriteria|null */ public function getAiFeedbackCriteria(): ?EducationAiFeedbackCriteria { @@ -57,7 +57,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the isAiFeedbackEnabled property value. The isAiFeedbackEnabled property + * Gets the isAiFeedbackEnabled property value. Indicates whether AI feedback is enabled for the student submissions. * @return bool|null */ public function getIsAiFeedbackEnabled(): ?bool { @@ -69,7 +69,7 @@ public function getIsAiFeedbackEnabled(): ?bool { } /** - * Gets the isVideoRequired property value. The isVideoRequired property + * Gets the isVideoRequired property value. Indicates whether video is required for the student recording. * @return bool|null */ public function getIsVideoRequired(): ?bool { @@ -81,7 +81,7 @@ public function getIsVideoRequired(): ?bool { } /** - * Gets the maxRecordingAttempts property value. The maxRecordingAttempts property + * Gets the maxRecordingAttempts property value. The maximum number of recording attempts available to the student. Specify 0 to set unlimited recording attempts. * @return int|null */ public function getMaxRecordingAttempts(): ?int { @@ -93,7 +93,7 @@ public function getMaxRecordingAttempts(): ?int { } /** - * Gets the presentationTitle property value. The presentationTitle property + * Gets the presentationTitle property value. The title of the speaker progress resource visible to students. * @return string|null */ public function getPresentationTitle(): ?string { @@ -105,7 +105,7 @@ public function getPresentationTitle(): ?string { } /** - * Gets the recordingTimeLimitInMinutes property value. The recordingTimeLimitInMinutes property + * Gets the recordingTimeLimitInMinutes property value. The time limit is in minutes for the student recording. * @return int|null */ public function getRecordingTimeLimitInMinutes(): ?int { @@ -117,7 +117,7 @@ public function getRecordingTimeLimitInMinutes(): ?int { } /** - * Gets the showRehearsalReportToStudentBeforeMediaUpload property value. The showRehearsalReportToStudentBeforeMediaUpload property + * Gets the showRehearsalReportToStudentBeforeMediaUpload property value. Allows students to view their rehearsal report before the assignment is graded. * @return bool|null */ public function getShowRehearsalReportToStudentBeforeMediaUpload(): ?bool { @@ -129,7 +129,7 @@ public function getShowRehearsalReportToStudentBeforeMediaUpload(): ?bool { } /** - * Gets the speakerCoachSettings property value. The speakerCoachSettings property + * Gets the speakerCoachSettings property value. The feedback types that students should receive from the Speaker Coach. * @return EducationSpeakerCoachSettings|null */ public function getSpeakerCoachSettings(): ?EducationSpeakerCoachSettings { @@ -141,7 +141,7 @@ public function getSpeakerCoachSettings(): ?EducationSpeakerCoachSettings { } /** - * Gets the spokenLanguageLocale property value. The spokenLanguageLocale property + * Gets the spokenLanguageLocale property value. The spoken language for the student recording. For example, en-US. * @return string|null */ public function getSpokenLanguageLocale(): ?string { @@ -170,7 +170,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the aiFeedbackCriteria property value. The aiFeedbackCriteria property + * Sets the aiFeedbackCriteria property value. The feedback types that students should receive from AI feedback. This property should only be provided if isAiFeedbackEnabled is true. * @param EducationAiFeedbackCriteria|null $value Value to set for the aiFeedbackCriteria property. */ public function setAiFeedbackCriteria(?EducationAiFeedbackCriteria $value): void { @@ -178,7 +178,7 @@ public function setAiFeedbackCriteria(?EducationAiFeedbackCriteria $value): void } /** - * Sets the isAiFeedbackEnabled property value. The isAiFeedbackEnabled property + * Sets the isAiFeedbackEnabled property value. Indicates whether AI feedback is enabled for the student submissions. * @param bool|null $value Value to set for the isAiFeedbackEnabled property. */ public function setIsAiFeedbackEnabled(?bool $value): void { @@ -186,7 +186,7 @@ public function setIsAiFeedbackEnabled(?bool $value): void { } /** - * Sets the isVideoRequired property value. The isVideoRequired property + * Sets the isVideoRequired property value. Indicates whether video is required for the student recording. * @param bool|null $value Value to set for the isVideoRequired property. */ public function setIsVideoRequired(?bool $value): void { @@ -194,7 +194,7 @@ public function setIsVideoRequired(?bool $value): void { } /** - * Sets the maxRecordingAttempts property value. The maxRecordingAttempts property + * Sets the maxRecordingAttempts property value. The maximum number of recording attempts available to the student. Specify 0 to set unlimited recording attempts. * @param int|null $value Value to set for the maxRecordingAttempts property. */ public function setMaxRecordingAttempts(?int $value): void { @@ -202,7 +202,7 @@ public function setMaxRecordingAttempts(?int $value): void { } /** - * Sets the presentationTitle property value. The presentationTitle property + * Sets the presentationTitle property value. The title of the speaker progress resource visible to students. * @param string|null $value Value to set for the presentationTitle property. */ public function setPresentationTitle(?string $value): void { @@ -210,7 +210,7 @@ public function setPresentationTitle(?string $value): void { } /** - * Sets the recordingTimeLimitInMinutes property value. The recordingTimeLimitInMinutes property + * Sets the recordingTimeLimitInMinutes property value. The time limit is in minutes for the student recording. * @param int|null $value Value to set for the recordingTimeLimitInMinutes property. */ public function setRecordingTimeLimitInMinutes(?int $value): void { @@ -218,7 +218,7 @@ public function setRecordingTimeLimitInMinutes(?int $value): void { } /** - * Sets the showRehearsalReportToStudentBeforeMediaUpload property value. The showRehearsalReportToStudentBeforeMediaUpload property + * Sets the showRehearsalReportToStudentBeforeMediaUpload property value. Allows students to view their rehearsal report before the assignment is graded. * @param bool|null $value Value to set for the showRehearsalReportToStudentBeforeMediaUpload property. */ public function setShowRehearsalReportToStudentBeforeMediaUpload(?bool $value): void { @@ -226,7 +226,7 @@ public function setShowRehearsalReportToStudentBeforeMediaUpload(?bool $value): } /** - * Sets the speakerCoachSettings property value. The speakerCoachSettings property + * Sets the speakerCoachSettings property value. The feedback types that students should receive from the Speaker Coach. * @param EducationSpeakerCoachSettings|null $value Value to set for the speakerCoachSettings property. */ public function setSpeakerCoachSettings(?EducationSpeakerCoachSettings $value): void { @@ -234,7 +234,7 @@ public function setSpeakerCoachSettings(?EducationSpeakerCoachSettings $value): } /** - * Sets the spokenLanguageLocale property value. The spokenLanguageLocale property + * Sets the spokenLanguageLocale property value. The spoken language for the student recording. For example, en-US. * @param string|null $value Value to set for the spokenLanguageLocale property. */ public function setSpokenLanguageLocale(?string $value): void { diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index fb663074c12..70c7c7bc3b4 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -1248,6 +1248,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.itemPublication': return new ItemPublication(); case '#microsoft.graph.itemRetentionLabel': return new ItemRetentionLabel(); case '#microsoft.graph.jobResponseBase': return new JobResponseBase(); + case '#microsoft.graph.labelContentRight': return new LabelContentRight(); case '#microsoft.graph.landingPage': return new LandingPage(); case '#microsoft.graph.landingPageDetail': return new LandingPageDetail(); case '#microsoft.graph.languageProficiency': return new LanguageProficiency(); @@ -1694,6 +1695,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.profile': return new Profile(); case '#microsoft.graph.profileCardProperty': return new ProfileCardProperty(); case '#microsoft.graph.profilePhoto': return new ProfilePhoto(); + case '#microsoft.graph.profilePropertySetting': return new ProfilePropertySetting(); case '#microsoft.graph.profileSource': return new ProfileSource(); case '#microsoft.graph.program': return new Program(); case '#microsoft.graph.programControl': return new ProgramControl(); @@ -2110,6 +2112,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.updateRecordingStatusOperation': return new UpdateRecordingStatusOperation(); case '#microsoft.graph.urlAssessmentRequest': return new UrlAssessmentRequest(); case '#microsoft.graph.usageRight': return new UsageRight(); + case '#microsoft.graph.usageRightsIncluded': return new UsageRightsIncluded(); case '#microsoft.graph.usedInsight': return new UsedInsight(); case '#microsoft.graph.user': return new User(); case '#microsoft.graph.userAccountInformation': return new UserAccountInformation(); diff --git a/src/Generated/Models/IdentifierUriConfiguration.php b/src/Generated/Models/IdentifierUriConfiguration.php index 87fce2605d4..6c24a448726 100644 --- a/src/Generated/Models/IdentifierUriConfiguration.php +++ b/src/Generated/Models/IdentifierUriConfiguration.php @@ -64,6 +64,7 @@ public function getFieldDeserializers(): array { return [ 'nonDefaultUriAddition' => fn(ParseNode $n) => $o->setNonDefaultUriAddition($n->getObjectValue([IdentifierUriRestriction::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'uriAdditionWithoutUniqueTenantIdentifier' => fn(ParseNode $n) => $o->setUriAdditionWithoutUniqueTenantIdentifier($n->getObjectValue([IdentifierUriRestriction::class, 'createFromDiscriminatorValue'])), ]; } @@ -91,6 +92,18 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } + /** + * Gets the uriAdditionWithoutUniqueTenantIdentifier property value. Block new identifier URIs for applications, unless they contain a unique tenant identifier like the tenant ID, appId (client ID), or verified domain. For example, api://{tenatId}/string, api://{appId}/string, {scheme}://string/{tenantId}, {scheme}://string/{appId}, https://{verified-domain.com}/path, {scheme}://{subdomain}.{verified-domain.com}/path. + * @return IdentifierUriRestriction|null + */ + public function getUriAdditionWithoutUniqueTenantIdentifier(): ?IdentifierUriRestriction { + $val = $this->getBackingStore()->get('uriAdditionWithoutUniqueTenantIdentifier'); + if (is_null($val) || $val instanceof IdentifierUriRestriction) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'uriAdditionWithoutUniqueTenantIdentifier'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -98,6 +111,7 @@ public function getOdataType(): ?string { public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('nonDefaultUriAddition', $this->getNonDefaultUriAddition()); $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('uriAdditionWithoutUniqueTenantIdentifier', $this->getUriAdditionWithoutUniqueTenantIdentifier()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -133,4 +147,12 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } + /** + * Sets the uriAdditionWithoutUniqueTenantIdentifier property value. Block new identifier URIs for applications, unless they contain a unique tenant identifier like the tenant ID, appId (client ID), or verified domain. For example, api://{tenatId}/string, api://{appId}/string, {scheme}://string/{tenantId}, {scheme}://string/{appId}, https://{verified-domain.com}/path, {scheme}://{subdomain}.{verified-domain.com}/path. + * @param IdentifierUriRestriction|null $value Value to set for the uriAdditionWithoutUniqueTenantIdentifier property. + */ + public function setUriAdditionWithoutUniqueTenantIdentifier(?IdentifierUriRestriction $value): void { + $this->getBackingStore()->set('uriAdditionWithoutUniqueTenantIdentifier', $value); + } + } diff --git a/src/Generated/Models/LabelActionBase.php b/src/Generated/Models/LabelActionBase.php index 4321da2050c..6624c50d023 100644 --- a/src/Generated/Models/LabelActionBase.php +++ b/src/Generated/Models/LabelActionBase.php @@ -84,7 +84,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the name property value. The name property + * Gets the name property value. The name of the action (for example, 'Encrypt', 'AddHeader'). * @return string|null */ public function getName(): ?string { @@ -134,7 +134,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the name property value. The name property + * Sets the name property value. The name of the action (for example, 'Encrypt', 'AddHeader'). * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { diff --git a/src/Generated/Models/LabelActionSource.php b/src/Generated/Models/LabelActionSource.php new file mode 100644 index 00000000000..6843d81c60d --- /dev/null +++ b/src/Generated/Models/LabelActionSource.php @@ -0,0 +1,13 @@ +getBackingStore()->get('cid'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cid'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'cid' => fn(ParseNode $n) => $o->setCid($n->getStringValue()), + 'format' => fn(ParseNode $n) => $o->setFormat($n->getStringValue()), + 'label' => fn(ParseNode $n) => $o->setLabel($n->getObjectValue([SensitivityLabel::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the format property value. The content format. + * @return string|null + */ + public function getFormat(): ?string { + $val = $this->getBackingStore()->get('format'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'format'"); + } + + /** + * Gets the label property value. The label property + * @return SensitivityLabel|null + */ + public function getLabel(): ?SensitivityLabel { + $val = $this->getBackingStore()->get('label'); + if (is_null($val) || $val instanceof SensitivityLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'label'"); + } + + /** + * 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('cid', $this->getCid()); + $writer->writeStringValue('format', $this->getFormat()); + $writer->writeObjectValue('label', $this->getLabel()); + } + + /** + * Sets the cid property value. The content identifier. + * @param string|null $value Value to set for the cid property. + */ + public function setCid(?string $value): void { + $this->getBackingStore()->set('cid', $value); + } + + /** + * Sets the format property value. The content format. + * @param string|null $value Value to set for the format property. + */ + public function setFormat(?string $value): void { + $this->getBackingStore()->set('format', $value); + } + + /** + * Sets the label property value. The label property + * @param SensitivityLabel|null $value Value to set for the label property. + */ + public function setLabel(?SensitivityLabel $value): void { + $this->getBackingStore()->set('label', $value); + } + +} diff --git a/src/Generated/Models/LabelPolicy.php b/src/Generated/Models/LabelPolicy.php index 09bfd5a4a68..dfc7cac2c37 100644 --- a/src/Generated/Models/LabelPolicy.php +++ b/src/Generated/Models/LabelPolicy.php @@ -69,7 +69,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the id property value. The id property + * Gets the id property value. The unique identifier of the label policy. * @return string|null */ public function getId(): ?string { @@ -81,7 +81,7 @@ public function getId(): ?string { } /** - * Gets the name property value. The name property + * Gets the name property value. The display name of the label policy. * @return string|null */ public function getName(): ?string { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the id property value. The id property + * Sets the id property value. The unique identifier of the label policy. * @param string|null $value Value to set for the id property. */ public function setId(?string $value): void { @@ -140,7 +140,7 @@ public function setId(?string $value): void { } /** - * Sets the name property value. The name property + * Sets the name property value. The display name of the label policy. * @param string|null $value Value to set for the name property. */ public function setName(?string $value): void { diff --git a/src/Generated/Models/MacOsLobAppAssignmentSettings.php b/src/Generated/Models/MacOsLobAppAssignmentSettings.php index 0ef926d94fb..49f681a8027 100644 --- a/src/Generated/Models/MacOsLobAppAssignmentSettings.php +++ b/src/Generated/Models/MacOsLobAppAssignmentSettings.php @@ -40,7 +40,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + * Gets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. * @return bool|null */ public function getUninstallOnDeviceRemoval(): ?bool { @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + * Sets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. * @param bool|null $value Value to set for the uninstallOnDeviceRemoval property. */ public function setUninstallOnDeviceRemoval(?bool $value): void { diff --git a/src/Generated/Models/MobileApp.php b/src/Generated/Models/MobileApp.php index 36fb49e1c05..d82801de212 100644 --- a/src/Generated/Models/MobileApp.php +++ b/src/Generated/Models/MobileApp.php @@ -104,7 +104,7 @@ public function getCategories(): ?array { } /** - * Gets the createdDateTime property value. The date and time the app was created. + * Gets the createdDateTime property value. The date and time the app was created. This property is read-only. * @return DateTime|null */ public function getCreatedDateTime(): ?DateTime { @@ -116,7 +116,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the dependentAppCount property value. The total number of dependencies the child app has. + * Gets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. * @return int|null */ public function getDependentAppCount(): ?int { @@ -215,7 +215,7 @@ public function getInformationUrl(): ?string { } /** - * Gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. + * Gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. * @return bool|null */ public function getIsAssigned(): ?bool { @@ -251,7 +251,7 @@ public function getLargeIcon(): ?MimeContent { } /** - * Gets the lastModifiedDateTime property value. The date and time the app was last modified. + * Gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. * @return DateTime|null */ public function getLastModifiedDateTime(): ?DateTime { @@ -323,7 +323,7 @@ public function getPublishingState(): ?MobileAppPublishingState { } /** - * Gets the relationships property value. List of relationships for this mobile app. + * Gets the relationships property value. The set of direct relationships for this app. * @return array|null */ public function getRelationships(): ?array { @@ -375,7 +375,7 @@ public function getSupersedingAppCount(): ?int { } /** - * Gets the uploadState property value. The upload state. + * Gets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. * @return int|null */ public function getUploadState(): ?int { @@ -426,7 +426,7 @@ public function setCategories(?array $value): void { } /** - * Sets the createdDateTime property value. The date and time the app was created. + * Sets the createdDateTime property value. The date and time the app was created. This property is read-only. * @param DateTime|null $value Value to set for the createdDateTime property. */ public function setCreatedDateTime(?DateTime $value): void { @@ -434,7 +434,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the dependentAppCount property value. The total number of dependencies the child app has. + * Sets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. * @param int|null $value Value to set for the dependentAppCount property. */ public function setDependentAppCount(?int $value): void { @@ -474,7 +474,7 @@ public function setInformationUrl(?string $value): void { } /** - * Sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. + * Sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. * @param bool|null $value Value to set for the isAssigned property. */ public function setIsAssigned(?bool $value): void { @@ -498,7 +498,7 @@ public function setLargeIcon(?MimeContent $value): void { } /** - * Sets the lastModifiedDateTime property value. The date and time the app was last modified. + * Sets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. * @param DateTime|null $value Value to set for the lastModifiedDateTime property. */ public function setLastModifiedDateTime(?DateTime $value): void { @@ -546,7 +546,7 @@ public function setPublishingState(?MobileAppPublishingState $value): void { } /** - * Sets the relationships property value. List of relationships for this mobile app. + * Sets the relationships property value. The set of direct relationships for this app. * @param array|null $value Value to set for the relationships property. */ public function setRelationships(?array $value): void { @@ -578,7 +578,7 @@ public function setSupersedingAppCount(?int $value): void { } /** - * Sets the uploadState property value. The upload state. + * Sets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. * @param int|null $value Value to set for the uploadState property. */ public function setUploadState(?int $value): void { diff --git a/src/Generated/Models/MobileAppTroubleshootingEvent.php b/src/Generated/Models/MobileAppTroubleshootingEvent.php index b53486352c4..d937ed77927 100644 --- a/src/Generated/Models/MobileAppTroubleshootingEvent.php +++ b/src/Generated/Models/MobileAppTroubleshootingEvent.php @@ -41,7 +41,7 @@ public function getApplicationId(): ?string { } /** - * Gets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. + * Gets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. * @return array|null */ public function getAppLogCollectionRequests(): ?array { @@ -143,7 +143,7 @@ public function setApplicationId(?string $value): void { } /** - * Sets the appLogCollectionRequests property value. The collection property of AppLogUploadRequest. + * Sets the appLogCollectionRequests property value. Indicates collection of App Log Upload Request. * @param array|null $value Value to set for the appLogCollectionRequests property. */ public function setAppLogCollectionRequests(?array $value): void { diff --git a/src/Generated/Models/OrganizationAllowedAudiences.php b/src/Generated/Models/OrganizationAllowedAudiences.php new file mode 100644 index 00000000000..28e9e4e78d4 --- /dev/null +++ b/src/Generated/Models/OrganizationAllowedAudiences.php @@ -0,0 +1,13 @@ + fn(ParseNode $n) => $o->setItemInsights($n->getObjectValue([InsightsSettings::class, 'createFromDiscriminatorValue'])), 'namePronunciation' => fn(ParseNode $n) => $o->setNamePronunciation($n->getObjectValue([NamePronunciationSettings::class, 'createFromDiscriminatorValue'])), 'profileCardProperties' => fn(ParseNode $n) => $o->setProfileCardProperties($n->getCollectionOfObjectValues([ProfileCardProperty::class, 'createFromDiscriminatorValue'])), + 'profilePropertySettings' => fn(ParseNode $n) => $o->setProfilePropertySettings($n->getCollectionOfObjectValues([ProfilePropertySetting::class, 'createFromDiscriminatorValue'])), 'pronouns' => fn(ParseNode $n) => $o->setPronouns($n->getObjectValue([PronounsSettings::class, 'createFromDiscriminatorValue'])), ]); } @@ -77,6 +78,20 @@ public function getProfileCardProperties(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'profileCardProperties'"); } + /** + * Gets the profilePropertySettings property value. A collection of profile property configuration settings defined by an administrator for an organization. + * @return array|null + */ + public function getProfilePropertySettings(): ?array { + $val = $this->getBackingStore()->get('profilePropertySettings'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProfilePropertySetting::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'profilePropertySettings'"); + } + /** * Gets the pronouns property value. Administrator settings that manage the support of pronouns in an organization. * @return PronounsSettings|null @@ -98,6 +113,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('itemInsights', $this->getItemInsights()); $writer->writeObjectValue('namePronunciation', $this->getNamePronunciation()); $writer->writeCollectionOfObjectValues('profileCardProperties', $this->getProfileCardProperties()); + $writer->writeCollectionOfObjectValues('profilePropertySettings', $this->getProfilePropertySettings()); $writer->writeObjectValue('pronouns', $this->getPronouns()); } @@ -125,6 +141,14 @@ public function setProfileCardProperties(?array $value): void { $this->getBackingStore()->set('profileCardProperties', $value); } + /** + * Sets the profilePropertySettings property value. A collection of profile property configuration settings defined by an administrator for an organization. + * @param array|null $value Value to set for the profilePropertySettings property. + */ + public function setProfilePropertySettings(?array $value): void { + $this->getBackingStore()->set('profilePropertySettings', $value); + } + /** * Sets the pronouns property value. Administrator settings that manage the support of pronouns in an organization. * @param PronounsSettings|null $value Value to set for the pronouns property. diff --git a/src/Generated/Models/ProcessContentResponse.php b/src/Generated/Models/ProcessContentResponse.php index c7b48e9efed..a589fc16d07 100644 --- a/src/Generated/Models/ProcessContentResponse.php +++ b/src/Generated/Models/ProcessContentResponse.php @@ -83,7 +83,7 @@ public function getOdataType(): ?string { } /** - * Gets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. + * Gets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policyAction supported in processContentResponse is '_restrictAccess' * @return array|null */ public function getPolicyActions(): ?array { @@ -159,7 +159,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. + * Sets the policyActions property value. A collection of policy actions (like DLP actions) triggered by the processed content. NOTE: Currently, the only policyAction supported in processContentResponse is '_restrictAccess' * @param array|null $value Value to set for the policyActions property. */ public function setPolicyActions(?array $value): void { diff --git a/src/Generated/Models/ProfilePropertySetting.php b/src/Generated/Models/ProfilePropertySetting.php new file mode 100644 index 00000000000..ee22c4f8b0e --- /dev/null +++ b/src/Generated/Models/ProfilePropertySetting.php @@ -0,0 +1,143 @@ +getBackingStore()->get('allowedAudiences'); + if (is_null($val) || $val instanceof OrganizationAllowedAudiences) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'allowedAudiences'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'allowedAudiences' => fn(ParseNode $n) => $o->setAllowedAudiences($n->getEnumValue(OrganizationAllowedAudiences::class)), + 'isUserOverrideForAudienceEnabled' => fn(ParseNode $n) => $o->setIsUserOverrideForAudienceEnabled($n->getBooleanValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + 'prioritizedSourceUrls' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setPrioritizedSourceUrls($val); + }, + ]); + } + + /** + * Gets the isUserOverrideForAudienceEnabled property value. Defines whether a user is allowed to override the tenant admin privacy setting. + * @return bool|null + */ + public function getIsUserOverrideForAudienceEnabled(): ?bool { + $val = $this->getBackingStore()->get('isUserOverrideForAudienceEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isUserOverrideForAudienceEnabled'"); + } + + /** + * Gets the name property value. Name of the property-level setting. + * @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 prioritizedSourceUrls property value. A collection of prioritized profile source URLs ordered by data precedence within an organization. + * @return array|null + */ + public function getPrioritizedSourceUrls(): ?array { + $val = $this->getBackingStore()->get('prioritizedSourceUrls'); + 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 'prioritizedSourceUrls'"); + } + + /** + * 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('allowedAudiences', $this->getAllowedAudiences()); + $writer->writeBooleanValue('isUserOverrideForAudienceEnabled', $this->getIsUserOverrideForAudienceEnabled()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeCollectionOfPrimitiveValues('prioritizedSourceUrls', $this->getPrioritizedSourceUrls()); + } + + /** + * Sets the allowedAudiences property value. A privacy setting that reflects the allowed audience for the configured property. The possible values are: me, organization, federatedOrganizations, everyone, unknownFutureValue. + * @param OrganizationAllowedAudiences|null $value Value to set for the allowedAudiences property. + */ + public function setAllowedAudiences(?OrganizationAllowedAudiences $value): void { + $this->getBackingStore()->set('allowedAudiences', $value); + } + + /** + * Sets the isUserOverrideForAudienceEnabled property value. Defines whether a user is allowed to override the tenant admin privacy setting. + * @param bool|null $value Value to set for the isUserOverrideForAudienceEnabled property. + */ + public function setIsUserOverrideForAudienceEnabled(?bool $value): void { + $this->getBackingStore()->set('isUserOverrideForAudienceEnabled', $value); + } + + /** + * Sets the name property value. Name of the property-level setting. + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the prioritizedSourceUrls property value. A collection of prioritized profile source URLs ordered by data precedence within an organization. + * @param array|null $value Value to set for the prioritizedSourceUrls property. + */ + public function setPrioritizedSourceUrls(?array $value): void { + $this->getBackingStore()->set('prioritizedSourceUrls', $value); + } + +} diff --git a/src/Generated/Models/ProfilePropertySettingCollectionResponse.php b/src/Generated/Models/ProfilePropertySettingCollectionResponse.php new file mode 100644 index 00000000000..4e036da8bfa --- /dev/null +++ b/src/Generated/Models/ProfilePropertySettingCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ProfilePropertySetting::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, ProfilePropertySetting::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/ProtectedContent.php b/src/Generated/Models/ProtectedContent.php new file mode 100644 index 00000000000..5e6f7da7981 --- /dev/null +++ b/src/Generated/Models/ProtectedContent.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 ProtectedContent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProtectedContent { + return new ProtectedContent(); + } + + /** + * 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 cid property value. The content id + * @return string|null + */ + public function getCid(): ?string { + $val = $this->getBackingStore()->get('cid'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cid'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'cid' => fn(ParseNode $n) => $o->setCid($n->getStringValue()), + 'format' => fn(ParseNode $n) => $o->setFormat($n->getStringValue()), + 'labelId' => fn(ParseNode $n) => $o->setLabelId($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the format property value. The content format. + * @return string|null + */ + public function getFormat(): ?string { + $val = $this->getBackingStore()->get('format'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'format'"); + } + + /** + * Gets the labelId property value. The unique identifier for the sensitivity label applied to the content. + * @return string|null + */ + public function getLabelId(): ?string { + $val = $this->getBackingStore()->get('labelId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'labelId'"); + } + + /** + * 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('cid', $this->getCid()); + $writer->writeStringValue('format', $this->getFormat()); + $writer->writeStringValue('labelId', $this->getLabelId()); + $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 cid property value. The content id + * @param string|null $value Value to set for the cid property. + */ + public function setCid(?string $value): void { + $this->getBackingStore()->set('cid', $value); + } + + /** + * Sets the format property value. The content format. + * @param string|null $value Value to set for the format property. + */ + public function setFormat(?string $value): void { + $this->getBackingStore()->set('format', $value); + } + + /** + * Sets the labelId property value. The unique identifier for the sensitivity label applied to the content. + * @param string|null $value Value to set for the labelId property. + */ + public function setLabelId(?string $value): void { + $this->getBackingStore()->set('labelId', $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/SecureScoreControlProfile.php b/src/Generated/Models/SecureScoreControlProfile.php index 6e03ab9b5e7..9a99687fa3a 100644 --- a/src/Generated/Models/SecureScoreControlProfile.php +++ b/src/Generated/Models/SecureScoreControlProfile.php @@ -63,7 +63,7 @@ public function getAzureTenantId(): ?string { } /** - * Gets the complianceInformation property value. The collection of compliance information associated with secure score control + * Gets the complianceInformation property value. The collection of compliance information associated with secure score control. Not implemented. Currently returns null. * @return array|null */ public function getComplianceInformation(): ?array { @@ -348,7 +348,7 @@ public function setAzureTenantId(?string $value): void { } /** - * Sets the complianceInformation property value. The collection of compliance information associated with secure score control + * Sets the complianceInformation property value. The collection of compliance information associated with secure score control. Not implemented. Currently returns null. * @param array|null $value Value to set for the complianceInformation property. */ public function setComplianceInformation(?array $value): void { diff --git a/src/Generated/Models/Security/SensitivityLabel.php b/src/Generated/Models/Security/SensitivityLabel.php index fcaf08b6268..59efd882e18 100644 --- a/src/Generated/Models/Security/SensitivityLabel.php +++ b/src/Generated/Models/Security/SensitivityLabel.php @@ -140,7 +140,7 @@ public function getName(): ?string { } /** - * Gets the parent property value. The parent label associated with a child label. Null if the label has no parent. + * Gets the parent property value. The parent property * @return SensitivityLabel|null */ public function getParent(): ?SensitivityLabel { @@ -250,7 +250,7 @@ public function setName(?string $value): void { } /** - * Sets the parent property value. The parent label associated with a child label. Null if the label has no parent. + * Sets the parent property value. The parent property * @param SensitivityLabel|null $value Value to set for the parent property. */ public function setParent(?SensitivityLabel $value): void { diff --git a/src/Generated/Models/SensitivityLabel.php b/src/Generated/Models/SensitivityLabel.php index 56085576903..bb336ceb489 100644 --- a/src/Generated/Models/SensitivityLabel.php +++ b/src/Generated/Models/SensitivityLabel.php @@ -25,6 +25,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Sensi return new SensitivityLabel(); } + /** + * Gets the actionSource property value. The actionSource property + * @return LabelActionSource|null + */ + public function getActionSource(): ?LabelActionSource { + $val = $this->getBackingStore()->get('actionSource'); + if (is_null($val) || $val instanceof LabelActionSource) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'actionSource'"); + } + /** * Gets the applicableTo property value. The applicableTo property * @return SensitivityLabelTarget|null @@ -75,6 +87,18 @@ public function getAutoLabeling(): ?AutoLabeling { throw new \UnexpectedValueException("Invalid type found in backing store for 'autoLabeling'"); } + /** + * Gets the autoTooltip property value. The autoTooltip property + * @return string|null + */ + public function getAutoTooltip(): ?string { + $val = $this->getBackingStore()->get('autoTooltip'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'autoTooltip'"); + } + /** * Gets the color property value. The color property * @return string|null @@ -118,19 +142,24 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'actionSource' => fn(ParseNode $n) => $o->setActionSource($n->getEnumValue(LabelActionSource::class)), 'applicableTo' => fn(ParseNode $n) => $o->setApplicableTo($n->getEnumValue(SensitivityLabelTarget::class)), 'applicationMode' => fn(ParseNode $n) => $o->setApplicationMode($n->getEnumValue(ApplicationMode::class)), 'assignedPolicies' => fn(ParseNode $n) => $o->setAssignedPolicies($n->getCollectionOfObjectValues([LabelPolicy::class, 'createFromDiscriminatorValue'])), 'autoLabeling' => fn(ParseNode $n) => $o->setAutoLabeling($n->getObjectValue([AutoLabeling::class, 'createFromDiscriminatorValue'])), + 'autoTooltip' => fn(ParseNode $n) => $o->setAutoTooltip($n->getStringValue()), 'color' => fn(ParseNode $n) => $o->setColor($n->getStringValue()), 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'isDefault' => fn(ParseNode $n) => $o->setIsDefault($n->getBooleanValue()), 'isEnabled' => fn(ParseNode $n) => $o->setIsEnabled($n->getBooleanValue()), 'isEndpointProtectionEnabled' => fn(ParseNode $n) => $o->setIsEndpointProtectionEnabled($n->getBooleanValue()), + 'isScopedToUser' => fn(ParseNode $n) => $o->setIsScopedToUser($n->getBooleanValue()), 'labelActions' => fn(ParseNode $n) => $o->setLabelActions($n->getCollectionOfObjectValues([LabelActionBase::class, 'createFromDiscriminatorValue'])), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), 'priority' => fn(ParseNode $n) => $o->setPriority($n->getIntegerValue()), + 'rights' => fn(ParseNode $n) => $o->setRights($n->getObjectValue([UsageRightsIncluded::class, 'createFromDiscriminatorValue'])), 'sublabels' => fn(ParseNode $n) => $o->setSublabels($n->getCollectionOfObjectValues([SensitivityLabel::class, 'createFromDiscriminatorValue'])), 'toolTip' => fn(ParseNode $n) => $o->setToolTip($n->getStringValue()), ]); @@ -172,6 +201,18 @@ public function getIsEndpointProtectionEnabled(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isEndpointProtectionEnabled'"); } + /** + * Gets the isScopedToUser property value. The isScopedToUser property + * @return bool|null + */ + public function getIsScopedToUser(): ?bool { + $val = $this->getBackingStore()->get('isScopedToUser'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isScopedToUser'"); + } + /** * Gets the labelActions property value. The labelActions property * @return array|null @@ -186,6 +227,18 @@ public function getLabelActions(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'labelActions'"); } + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + /** * Gets the name property value. The name property * @return string|null @@ -210,6 +263,18 @@ public function getPriority(): ?int { throw new \UnexpectedValueException("Invalid type found in backing store for 'priority'"); } + /** + * Gets the rights property value. The rights property + * @return UsageRightsIncluded|null + */ + public function getRights(): ?UsageRightsIncluded { + $val = $this->getBackingStore()->get('rights'); + if (is_null($val) || $val instanceof UsageRightsIncluded) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'rights'"); + } + /** * Gets the sublabels property value. The sublabels property * @return array|null @@ -242,23 +307,36 @@ public function getToolTip(): ?string { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeEnumValue('actionSource', $this->getActionSource()); $writer->writeEnumValue('applicableTo', $this->getApplicableTo()); $writer->writeEnumValue('applicationMode', $this->getApplicationMode()); $writer->writeCollectionOfObjectValues('assignedPolicies', $this->getAssignedPolicies()); $writer->writeObjectValue('autoLabeling', $this->getAutoLabeling()); + $writer->writeStringValue('autoTooltip', $this->getAutoTooltip()); $writer->writeStringValue('color', $this->getColor()); $writer->writeStringValue('description', $this->getDescription()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeBooleanValue('isDefault', $this->getIsDefault()); $writer->writeBooleanValue('isEnabled', $this->getIsEnabled()); $writer->writeBooleanValue('isEndpointProtectionEnabled', $this->getIsEndpointProtectionEnabled()); + $writer->writeBooleanValue('isScopedToUser', $this->getIsScopedToUser()); $writer->writeCollectionOfObjectValues('labelActions', $this->getLabelActions()); + $writer->writeStringValue('locale', $this->getLocale()); $writer->writeStringValue('name', $this->getName()); $writer->writeIntegerValue('priority', $this->getPriority()); + $writer->writeObjectValue('rights', $this->getRights()); $writer->writeCollectionOfObjectValues('sublabels', $this->getSublabels()); $writer->writeStringValue('toolTip', $this->getToolTip()); } + /** + * Sets the actionSource property value. The actionSource property + * @param LabelActionSource|null $value Value to set for the actionSource property. + */ + public function setActionSource(?LabelActionSource $value): void { + $this->getBackingStore()->set('actionSource', $value); + } + /** * Sets the applicableTo property value. The applicableTo property * @param SensitivityLabelTarget|null $value Value to set for the applicableTo property. @@ -291,6 +369,14 @@ public function setAutoLabeling(?AutoLabeling $value): void { $this->getBackingStore()->set('autoLabeling', $value); } + /** + * Sets the autoTooltip property value. The autoTooltip property + * @param string|null $value Value to set for the autoTooltip property. + */ + public function setAutoTooltip(?string $value): void { + $this->getBackingStore()->set('autoTooltip', $value); + } + /** * Sets the color property value. The color property * @param string|null $value Value to set for the color property. @@ -339,6 +425,14 @@ public function setIsEndpointProtectionEnabled(?bool $value): void { $this->getBackingStore()->set('isEndpointProtectionEnabled', $value); } + /** + * Sets the isScopedToUser property value. The isScopedToUser property + * @param bool|null $value Value to set for the isScopedToUser property. + */ + public function setIsScopedToUser(?bool $value): void { + $this->getBackingStore()->set('isScopedToUser', $value); + } + /** * Sets the labelActions property value. The labelActions property * @param array|null $value Value to set for the labelActions property. @@ -347,6 +441,14 @@ public function setLabelActions(?array $value): void { $this->getBackingStore()->set('labelActions', $value); } + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + /** * Sets the name property value. The name property * @param string|null $value Value to set for the name property. @@ -363,6 +465,14 @@ public function setPriority(?int $value): void { $this->getBackingStore()->set('priority', $value); } + /** + * Sets the rights property value. The rights property + * @param UsageRightsIncluded|null $value Value to set for the rights property. + */ + public function setRights(?UsageRightsIncluded $value): void { + $this->getBackingStore()->set('rights', $value); + } + /** * Sets the sublabels property value. The sublabels property * @param array|null $value Value to set for the sublabels property. diff --git a/src/Generated/Models/SignIn.php b/src/Generated/Models/SignIn.php index 7e3f8036047..e6b1509558c 100644 --- a/src/Generated/Models/SignIn.php +++ b/src/Generated/Models/SignIn.php @@ -28,7 +28,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): SignI } /** - * Gets the agent property value. The agent property + * Gets the agent property value. Represents details about the agentic sign-in. Includes the type of agent as well as parentAppID in some cases * @return AgentSignIn|null */ public function getAgent(): ?AgentSignIn { @@ -1150,7 +1150,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the agent property value. The agent property + * Sets the agent property value. Represents details about the agentic sign-in. Includes the type of agent as well as parentAppID in some cases * @param AgentSignIn|null $value Value to set for the agent property. */ public function setAgent(?AgentSignIn $value): void { diff --git a/src/Generated/Models/UsageRights.php b/src/Generated/Models/UsageRights.php new file mode 100644 index 00000000000..1c377cc2799 --- /dev/null +++ b/src/Generated/Models/UsageRights.php @@ -0,0 +1,29 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'ownerEmail' => fn(ParseNode $n) => $o->setOwnerEmail($n->getStringValue()), + 'userEmail' => fn(ParseNode $n) => $o->setUserEmail($n->getStringValue()), + 'value' => fn(ParseNode $n) => $o->setValue($n->getEnumValue(UsageRights::class)), + ]); + } + + /** + * Gets the ownerEmail property value. The email of owner label rights. + * @return string|null + */ + public function getOwnerEmail(): ?string { + $val = $this->getBackingStore()->get('ownerEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'ownerEmail'"); + } + + /** + * Gets the userEmail property value. The email of user with label user rights. + * @return string|null + */ + public function getUserEmail(): ?string { + $val = $this->getBackingStore()->get('userEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userEmail'"); + } + + /** + * Gets the value property value. The value property + * @return UsageRights|null + */ + public function getValue(): ?UsageRights { + $val = $this->getBackingStore()->get('value'); + if (is_null($val) || $val instanceof UsageRights) { + 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->writeStringValue('ownerEmail', $this->getOwnerEmail()); + $writer->writeStringValue('userEmail', $this->getUserEmail()); + $writer->writeEnumValue('value', $this->getValue()); + } + + /** + * Sets the ownerEmail property value. The email of owner label rights. + * @param string|null $value Value to set for the ownerEmail property. + */ + public function setOwnerEmail(?string $value): void { + $this->getBackingStore()->set('ownerEmail', $value); + } + + /** + * Sets the userEmail property value. The email of user with label user rights. + * @param string|null $value Value to set for the userEmail property. + */ + public function setUserEmail(?string $value): void { + $this->getBackingStore()->set('userEmail', $value); + } + + /** + * Sets the value property value. The value property + * @param UsageRights|null $value Value to set for the value property. + */ + public function setValue(?UsageRights $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/WindowsDomainJoinConfiguration.php b/src/Generated/Models/WindowsDomainJoinConfiguration.php index 0fcbee9387c..75d11378109 100644 --- a/src/Generated/Models/WindowsDomainJoinConfiguration.php +++ b/src/Generated/Models/WindowsDomainJoinConfiguration.php @@ -81,7 +81,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity * @return array|null */ public function getNetworkAccessConfigurations(): ?array { @@ -144,7 +144,7 @@ public function setComputerNameSuffixRandomCharCount(?int $value): void { } /** - * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity * @param array|null $value Value to set for the networkAccessConfigurations property. */ public function setNetworkAccessConfigurations(?array $value): void { diff --git a/src/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.php b/src/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.php index 09549ae6756..f39201d31d5 100644 --- a/src/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.php +++ b/src/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.php @@ -40,7 +40,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + * Gets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. * @return bool|null */ public function getUseDeviceContext(): ?bool { @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + * Sets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. * @param bool|null $value Value to set for the useDeviceContext property. */ public function setUseDeviceContext(?bool $value): void { diff --git a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php index 6478b7df14b..c57a5e0b176 100644 --- a/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php +++ b/src/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.php @@ -61,12 +61,12 @@ public function get(?IdentitySynchronizationRequestBuilderGetRequestConfiguratio } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param CrossTenantIdentitySyncPolicyPartner $body The request body * @param IdentitySynchronizationRequestBuilderPutRequestConfiguration|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/crosstenantidentitysyncpolicypartner-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta Find more info here */ public function put(CrossTenantIdentitySyncPolicyPartner $body, ?IdentitySynchronizationRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function toGetRequestInformation(?IdentitySynchronizationRequestBuilderGe } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param CrossTenantIdentitySyncPolicyPartner $body The request body * @param IdentitySynchronizationRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.php b/src/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.php index 07ec14d17b0..30fddb51a7a 100644 --- a/src/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.php +++ b/src/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?FederatedTokenValidationPolicyRequestBuilderDeleteReques } /** - * Read the properties and relationships of a federatedTokenValidationPolicy object. + * Get a list of the federatedTokenValidationPolicy objects and their properties. * @param FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration|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/federatedtokenvalidationpolicy-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-beta Find more info here */ public function get(?FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?FederatedTokenValidationPolicyReques } /** - * Read the properties and relationships of a federatedTokenValidationPolicy object. + * Get a list of the federatedTokenValidationPolicy objects and their properties. * @param FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilderGetQueryParameters.php b/src/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilderGetQueryParameters.php index f91cde98490..76cdbb96833 100644 --- a/src/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of a federatedTokenValidationPolicy object. + * Get a list of the federatedTokenValidationPolicy objects and their properties. */ class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters { diff --git a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php index 2416f0a1cd6..a7971864f14 100644 --- a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta Find more info here */ public function get(?RoleAssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(UnifiedRoleAssignmentMultiple $body, ?RoleAssignmentsReques } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php index 3cc9cd7841d..845a0fd3c5f 100644 --- a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. */ class RoleAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..b15acfc5851 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..94b9b4f3bdb --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..a72e97c3056 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..8b581dd964f --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..4b0838a70a4 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..b174b01d052 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.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/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + * @param RightsRequestBuilderGetRequestConfiguration|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/usagerightsincluded-get?view=graph-rest-beta Find more info here + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get the usage rights granted to the calling user for a specific sensitivity label that has admin-defined permissions. + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..b58bf8e01ae --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5a0a4f465c0 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php index 5acf8644aff..b9ef527504c 100644 --- a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; +use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\SublabelsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -17,6 +18,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. */ @@ -53,10 +61,11 @@ public function delete(?SensitivityLabelItemRequestBuilderDeleteRequestConfigura } /** - * Get sensitivityLabels from security + * Get a sensitivity label available for the entire tenant. * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|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/sensitivitylabel-get?view=graph-rest-beta Find more info here */ public function get(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,7 +108,7 @@ public function toDeleteRequestInformation(?SensitivityLabelItemRequestBuilderDe } /** - * Get sensitivityLabels from security + * Get a sensitivity label available for the entire tenant. * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.php index 105cc279e44..99651b7a88e 100644 --- a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get sensitivityLabels from security + * Get a sensitivity label available for the entire tenant. */ class SensitivityLabelItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..1516bc56682 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fb485213a85 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..6c4835a405f --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..94f1b4e8319 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..b688daafe26 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..0384d298659 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.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}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from security + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from security + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..479cfdac07a --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b9e26a5222f --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php index eddc535ec83..b3790b9d4e3 100644 --- a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; +use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\Item\Rights\RightsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -16,6 +17,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SensitivityLabelItemRequestBuilder 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/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php index d0ba4dd299e..bdb3675ee6d 100644 --- a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabelCollectionResponse; +use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityL return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SublabelsRequestBuilder 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/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php index 551ba127bf7..d8081f55323 100644 --- a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabelCollectionResponse; +use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\SensitivityLabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLab return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SensitivityLabelsRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. @@ -60,10 +80,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get sensitivityLabels from security + * List the sensitivity labels available to a specific user. * @param SensitivityLabelsRequestBuilderGetRequestConfiguration|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/userdatasecurityandgovernance-list-sensitivitylabels?view=graph-rest-beta Find more info here */ public function get(?SensitivityLabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -89,7 +110,7 @@ public function post(SensitivityLabel $body, ?SensitivityLabelsRequestBuilderPos } /** - * Get sensitivityLabels from security + * List the sensitivity labels available to a specific user. * @param SensitivityLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.php index e83f0c7cbf4..c3aaa756a27 100644 --- a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get sensitivityLabels from security + * List the sensitivity labels available to a specific user. */ class SensitivityLabelsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.php b/src/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.php index c91ff911344..1bd6daa7434 100644 --- a/src/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.php +++ b/src/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?ParentRequestBuilderDeleteRequestConfiguration $requestC } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from security * @param ParentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?ParentRequestBuilderDeleteRequestCon } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from security * @param ParentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilderGetQueryParameters.php b/src/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilderGetQueryParameters.php index 61e0e8e0d6c..810bd42afc0 100644 --- a/src/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from security */ class ParentRequestBuilderGetQueryParameters { diff --git a/src/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.php index a058f410f22..9da3a24d885 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.php @@ -46,12 +46,12 @@ public function get(?ClaimsPolicyRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param CustomClaimsPolicy $body The request body * @param ClaimsPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta Find more info here */ public function patch(CustomClaimsPolicy $body, ?ClaimsPolicyRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -62,12 +62,12 @@ public function patch(CustomClaimsPolicy $body, ?ClaimsPolicyRequestBuilderPatch } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param CustomClaimsPolicy $body The request body * @param ClaimsPolicyRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/customclaimspolicy-update?view=graph-rest-beta Find more info here */ public function put(CustomClaimsPolicy $body, ?ClaimsPolicyRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toGetRequestInformation(?ClaimsPolicyRequestBuilderGetRequestCon } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param CustomClaimsPolicy $body The request body * @param ClaimsPolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation @@ -119,7 +119,7 @@ public function toPatchRequestInformation(CustomClaimsPolicy $body, ?ClaimsPolic } /** - * Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + * Update a customClaimsPolicy object. * @param CustomClaimsPolicy $body The request body * @param ClaimsPolicyRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..b38fb98bb2c --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..76a19af5f51 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..cc6e8275d76 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..d232a93bf9d --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/sites/{site%2Did}/informationProtection/sensitivityLabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..351d6b5d7fa --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..c5f701190c4 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.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}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from sites + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from sites + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e2193882372 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..22ded0c2417 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php index 4155b333408..8bece522584 100644 --- a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; +use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\SublabelsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -17,6 +18,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. */ diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..cb9eb1dd0c0 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e11379e84cc --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..8bdd6b09134 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..47d5074b6b1 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..44f49cdec40 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..d6137375ae2 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.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}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from sites + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from sites + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..8f1a6109615 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f791ef9aff5 --- /dev/null +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php index 36186a3d124..4fa8dd237db 100644 --- a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; +use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Item\Rights\RightsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -16,6 +17,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SensitivityLabelItemRequestBuilder 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/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php index 9cea47b63b2..ecf31dbcccf 100644 --- a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabelCollectionResponse; +use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityL return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SublabelsRequestBuilder 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/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php index e4205f2e2b2..0efb8fa8b7b 100644 --- a/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php +++ b/src/Generated/Sites/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabelCollectionResponse; +use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Sites\Item\InformationProtection\SensitivityLabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLab return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SensitivityLabelsRequestBuilder 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/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index 634f6db908c..51d2ca764a9 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -125,11 +125,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Get the list of richLongRunningOperations associated with a list. + * Return the metadata for a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-beta Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -172,7 +172,7 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC } /** - * Get the list of richLongRunningOperations associated with a list. + * Return the metadata for a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index 33f5af44dc0..183d8b067e0 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of richLongRunningOperations associated with a list. + * Return the metadata for a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Pages/PagesRequestBuilder.php b/src/Generated/Sites/Item/Pages/PagesRequestBuilder.php index 6d3f6bee76d..889bc2e9733 100644 --- a/src/Generated/Sites/Item/Pages/PagesRequestBuilder.php +++ b/src/Generated/Sites/Item/Pages/PagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?PagesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Create a new newsLinkPage in the site pages list of a site. + * Create a new sitePage in the site pages list in a site. * @param BaseSitePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|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/newslinkpage-create?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/sitepage-create?view=graph-rest-beta Find more info here */ public function post(BaseSitePage $body, ?PagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?PagesRequestBuilderGetRequestConfigurat } /** - * Create a new newsLinkPage in the site pages list of a site. + * Create a new sitePage in the site pages list in a site. * @param BaseSitePage $body The request body * @param PagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php b/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php new file mode 100644 index 00000000000..62704448c85 --- /dev/null +++ b/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeletePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeletePostRequestBody { + return new DeletePostRequestBody(); + } + + /** + * 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 [ + 'ids' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setIds($val); + }, + ]; + } + + /** + * Gets the ids property value. The ids property + * @return array|null + */ + public function getIds(): ?array { + $val = $this->getBackingStore()->get('ids'); + 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 'ids'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('ids', $this->getIds()); + $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 ids property value. The ids property + * @param array|null $value Value to set for the ids property. + */ + public function setIds(?array $value): void { + $this->getBackingStore()->set('ids', $value); + } + +} diff --git a/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.php b/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.php new file mode 100644 index 00000000000..74107951e57 --- /dev/null +++ b/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.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}/sites/{site%2Did}/recycleBin/items/delete'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action delete + * @param DeletePostRequestBody $body The request body + * @param DeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DeletePostRequestBody $body, ?DeleteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action delete + * @param DeletePostRequestBody $body The request body + * @param DeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DeletePostRequestBody $body, ?DeleteRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DeleteRequestBuilder + */ + public function withUrl(string $rawUrl): DeleteRequestBuilder { + return new DeleteRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e115134668f --- /dev/null +++ b/src/Generated/Sites/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.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/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.php b/src/Generated/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.php index fbceaa47f83..a741121da75 100644 --- a/src/Generated/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.php +++ b/src/Generated/Sites/Item/RecycleBin/Items/ItemsRequestBuilder.php @@ -8,7 +8,9 @@ use Microsoft\Graph\Beta\Generated\Models\RecycleBinItem; use Microsoft\Graph\Beta\Generated\Models\RecycleBinItemCollectionResponse; use Microsoft\Graph\Beta\Generated\Sites\Item\RecycleBin\Items\Count\CountRequestBuilder; +use Microsoft\Graph\Beta\Generated\Sites\Item\RecycleBin\Items\Delete\DeleteRequestBuilder; use Microsoft\Graph\Beta\Generated\Sites\Item\RecycleBin\Items\Item\RecycleBinItemItemRequestBuilder; +use Microsoft\Graph\Beta\Generated\Sites\Item\RecycleBin\Items\Restore\RestoreRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -26,6 +28,20 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the delete method. + */ + public function deletePath(): DeleteRequestBuilder { + return new DeleteRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the restore method. + */ + public function restore(): RestoreRequestBuilder { + return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the items property of the microsoft.graph.recycleBin entity. * @param string $recycleBinItemId The unique identifier of recycleBinItem diff --git a/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php b/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..559a2756635 --- /dev/null +++ b/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 [ + 'ids' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setIds($val); + }, + ]; + } + + /** + * Gets the ids property value. The ids property + * @return array|null + */ + public function getIds(): ?array { + $val = $this->getBackingStore()->get('ids'); + 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 'ids'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('ids', $this->getIds()); + $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 ids property value. The ids property + * @param array|null $value Value to set for the ids property. + */ + public function setIds(?array $value): void { + $this->getBackingStore()->set('ids', $value); + } + +} diff --git a/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.php b/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.php new file mode 100644 index 00000000000..adfb43a2997 --- /dev/null +++ b/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestorePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([RecycleBinItem::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, RecycleBinItem::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/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.php b/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.php new file mode 100644 index 00000000000..a5f9529d888 --- /dev/null +++ b/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.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}/sites/{site%2Did}/recycleBin/items/restore'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action restore + * @param RestorePostRequestBody $body The request body + * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RestorePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action restore + * @param RestorePostRequestBody $body The request body + * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $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 RestoreRequestBuilder + */ + public function withUrl(string $rawUrl): RestoreRequestBuilder { + return new RestoreRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..b265fc47d90 --- /dev/null +++ b/src/Generated/Sites/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.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/Sites/SitesRequestBuilder.php b/src/Generated/Sites/SitesRequestBuilder.php index 80edce9fb2f..d1a52deef49 100644 --- a/src/Generated/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/SitesRequestBuilder.php @@ -83,11 +83,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta Find more info here */ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,7 +98,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php index 3d4ad78ca73..128329ff415 100644 --- a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php new file mode 100644 index 00000000000..9dc5293b759 --- /dev/null +++ b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeletePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeletePostRequestBody { + return new DeletePostRequestBody(); + } + + /** + * 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 [ + 'ids' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setIds($val); + }, + ]; + } + + /** + * Gets the ids property value. The ids property + * @return array|null + */ + public function getIds(): ?array { + $val = $this->getBackingStore()->get('ids'); + 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 'ids'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('ids', $this->getIds()); + $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 ids property value. The ids property + * @param array|null $value Value to set for the ids property. + */ + public function setIds(?array $value): void { + $this->getBackingStore()->set('ids', $value); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.php new file mode 100644 index 00000000000..575786fe7c3 --- /dev/null +++ b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.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}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/delete'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action delete + * @param DeletePostRequestBody $body The request body + * @param DeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DeletePostRequestBody $body, ?DeleteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action delete + * @param DeletePostRequestBody $body The request body + * @param DeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DeletePostRequestBody $body, ?DeleteRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DeleteRequestBuilder + */ + public function withUrl(string $rawUrl): DeleteRequestBuilder { + return new DeleteRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..07b5944e77c --- /dev/null +++ b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.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/RecycleBin/Items/ItemsRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.php index 79044f4bf22..f084731b317 100644 --- a/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/ItemsRequestBuilder.php @@ -8,7 +8,9 @@ use Microsoft\Graph\Beta\Generated\Models\RecycleBinItem; use Microsoft\Graph\Beta\Generated\Models\RecycleBinItemCollectionResponse; use Microsoft\Graph\Beta\Generated\Storage\FileStorage\Containers\Item\RecycleBin\Items\Count\CountRequestBuilder; +use Microsoft\Graph\Beta\Generated\Storage\FileStorage\Containers\Item\RecycleBin\Items\Delete\DeleteRequestBuilder; use Microsoft\Graph\Beta\Generated\Storage\FileStorage\Containers\Item\RecycleBin\Items\Item\RecycleBinItemItemRequestBuilder; +use Microsoft\Graph\Beta\Generated\Storage\FileStorage\Containers\Item\RecycleBin\Items\Restore\RestoreRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -26,6 +28,20 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the delete method. + */ + public function deletePath(): DeleteRequestBuilder { + return new DeleteRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the restore method. + */ + public function restore(): RestoreRequestBuilder { + return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the items property of the microsoft.graph.recycleBin entity. * @param string $recycleBinItemId The unique identifier of recycleBinItem diff --git a/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..e79df646389 --- /dev/null +++ b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 [ + 'ids' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setIds($val); + }, + ]; + } + + /** + * Gets the ids property value. The ids property + * @return array|null + */ + public function getIds(): ?array { + $val = $this->getBackingStore()->get('ids'); + 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 'ids'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('ids', $this->getIds()); + $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 ids property value. The ids property + * @param array|null $value Value to set for the ids property. + */ + public function setIds(?array $value): void { + $this->getBackingStore()->set('ids', $value); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostResponse.php b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostResponse.php new file mode 100644 index 00000000000..23619ca7f92 --- /dev/null +++ b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestorePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([RecycleBinItem::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, RecycleBinItem::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/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.php b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.php new file mode 100644 index 00000000000..8be612fa673 --- /dev/null +++ b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.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}/storage/fileStorage/containers/{fileStorageContainer%2Did}/recycleBin/items/restore'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action restore + * @param RestorePostRequestBody $body The request body + * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RestorePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action restore + * @param RestorePostRequestBody $body The request body + * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $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 RestoreRequestBuilder + */ + public function withUrl(string $rawUrl): RestoreRequestBuilder { + return new RestoreRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1f57f6c7fbc --- /dev/null +++ b/src/Generated/Storage/FileStorage/Containers/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.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/DeletedContainers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php new file mode 100644 index 00000000000..6c2542de7a6 --- /dev/null +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeletePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return DeletePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): DeletePostRequestBody { + return new DeletePostRequestBody(); + } + + /** + * 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 [ + 'ids' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setIds($val); + }, + ]; + } + + /** + * Gets the ids property value. The ids property + * @return array|null + */ + public function getIds(): ?array { + $val = $this->getBackingStore()->get('ids'); + 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 'ids'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('ids', $this->getIds()); + $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 ids property value. The ids property + * @param array|null $value Value to set for the ids property. + */ + public function setIds(?array $value): void { + $this->getBackingStore()->set('ids', $value); + } + +} diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.php new file mode 100644 index 00000000000..528f8fe8141 --- /dev/null +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilder.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}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/delete'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action delete + * @param DeletePostRequestBody $body The request body + * @param DeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DeletePostRequestBody $body, ?DeleteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action delete + * @param DeletePostRequestBody $body The request body + * @param DeleteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DeletePostRequestBody $body, ?DeleteRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return DeleteRequestBuilder + */ + public function withUrl(string $rawUrl): DeleteRequestBuilder { + return new DeleteRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..6cb415c9ad0 --- /dev/null +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Delete/DeleteRequestBuilderPostRequestConfiguration.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/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.php index 45ac9a58306..c980b930273 100644 --- a/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.php +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/ItemsRequestBuilder.php @@ -8,7 +8,9 @@ use Microsoft\Graph\Beta\Generated\Models\RecycleBinItem; use Microsoft\Graph\Beta\Generated\Models\RecycleBinItemCollectionResponse; use Microsoft\Graph\Beta\Generated\Storage\FileStorage\DeletedContainers\Item\RecycleBin\Items\Count\CountRequestBuilder; +use Microsoft\Graph\Beta\Generated\Storage\FileStorage\DeletedContainers\Item\RecycleBin\Items\Delete\DeleteRequestBuilder; use Microsoft\Graph\Beta\Generated\Storage\FileStorage\DeletedContainers\Item\RecycleBin\Items\Item\RecycleBinItemItemRequestBuilder; +use Microsoft\Graph\Beta\Generated\Storage\FileStorage\DeletedContainers\Item\RecycleBin\Items\Restore\RestoreRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -26,6 +28,20 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the delete method. + */ + public function deletePath(): DeleteRequestBuilder { + return new DeleteRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the restore method. + */ + public function restore(): RestoreRequestBuilder { + return new RestoreRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the items property of the microsoft.graph.recycleBin entity. * @param string $recycleBinItemId The unique identifier of recycleBinItem diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php new file mode 100644 index 00000000000..555a91ffa6d --- /dev/null +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostRequestBody.php @@ -0,0 +1,124 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return RestorePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RestorePostRequestBody { + return new RestorePostRequestBody(); + } + + /** + * 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 [ + 'ids' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setIds($val); + }, + ]; + } + + /** + * Gets the ids property value. The ids property + * @return array|null + */ + public function getIds(): ?array { + $val = $this->getBackingStore()->get('ids'); + 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 'ids'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfPrimitiveValues('ids', $this->getIds()); + $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 ids property value. The ids property + * @param array|null $value Value to set for the ids property. + */ + public function setIds(?array $value): void { + $this->getBackingStore()->set('ids', $value); + } + +} diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostResponse.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostResponse.php new file mode 100644 index 00000000000..84593c52193 --- /dev/null +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestorePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([RecycleBinItem::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, RecycleBinItem::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/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.php new file mode 100644 index 00000000000..17f96a41558 --- /dev/null +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilder.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}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/recycleBin/items/restore'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action restore + * @param RestorePostRequestBody $body The request body + * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RestorePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action restore + * @param RestorePostRequestBody $body The request body + * @param RestoreRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RestorePostRequestBody $body, ?RestoreRequestBuilderPostRequestConfiguration $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 RestoreRequestBuilder + */ + public function withUrl(string $rawUrl): RestoreRequestBuilder { + return new RestoreRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..2426ab5d6b5 --- /dev/null +++ b/src/Generated/Storage/FileStorage/DeletedContainers/Item/RecycleBin/Items/Restore/RestoreRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index c113f1edcf7..74438e7f446 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -91,12 +91,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|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/chatmessage-post?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-beta Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -128,7 +128,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.php b/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.php index d3b76457d39..256f9d6c167 100644 --- a/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.php +++ b/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the list of teamTemplate objects that are available for a tenant. + * List the teamTemplateDefinition objects associated with a teamTemplate. * @param TeamTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-beta Find more info here */ public function get(?TeamTemplatesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(TeamTemplate $body, ?TeamTemplatesRequestBuilderPostRequest } /** - * Get the list of teamTemplate objects that are available for a tenant. + * List the teamTemplateDefinition objects associated with a teamTemplate. * @param TeamTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilderGetQueryParameters.php b/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilderGetQueryParameters.php index fc305644cbb..b2e9468de8d 100644 --- a/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Teamwork/TeamTemplates/TeamTemplatesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the list of teamTemplate objects that are available for a tenant. + * List the teamTemplateDefinition objects associated with a teamTemplate. */ class TeamTemplatesRequestBuilderGetQueryParameters { diff --git a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php index d6511aba83e..80ee643e6d8 100644 --- a/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php +++ b/src/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.php @@ -62,12 +62,12 @@ public function get(?MultiTenantOrganizationRequestBuilderGetRequestConfiguratio } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-beta Find more info here */ public function patch(MultiTenantOrganization $body, ?MultiTenantOrganizationRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -99,7 +99,7 @@ public function toGetRequestInformation(?MultiTenantOrganizationRequestBuilderGe } /** - * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + * Update the properties of a multi-tenant organization. * @param MultiTenantOrganization $body The request body * @param MultiTenantOrganizationRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..1595ec42efb --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..aa56a44398b --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..6461664a02a --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..97714c01517 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/dataSecurityAndGovernance/sensitivityLabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1076ddd4ed9 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..be71fa1ad92 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilder.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}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from users + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from users + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..be14b874199 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..72e21b4efbd --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php index 00302da5510..8076ebdd8c6 100644 --- a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; +use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\SublabelsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -17,6 +18,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. */ diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..a403efa439a --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3175a80f1fe --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..bea7f82a4ee --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..f83a033c620 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..d49850ec544 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..184320391f2 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.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}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from users + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from users + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a5757ac5163 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5e718b4790c --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php index 6ac683205b9..8dd508b1cd6 100644 --- a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; +use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\Item\Rights\RightsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -16,6 +17,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SensitivityLabelItemRequestBuilder 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/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php index 3f112dcc7d0..bf4b57773b4 100644 --- a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabelCollectionResponse; +use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\Sublabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityL return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SublabelsRequestBuilder 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/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php index 439a9f69d5a..23f699d16a2 100644 --- a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabelCollectionResponse; +use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\SensitivityLabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLab return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SensitivityLabelsRequestBuilder 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/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..1c0f390d4cd --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d9146666319 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..7eed0f46bd7 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..554f3035a8c --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/informationProtection/sensitivityLabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0a12cdd1b38 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..78b319d4409 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilder.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}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from users + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from users + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9e6464c145e --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..dbbbecf4241 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php index ea34f369954..f9a8f91284e 100644 --- a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; +use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\Rights\RightsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\Sublabels\SublabelsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; @@ -17,6 +18,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. */ diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.php new file mode 100644 index 00000000000..54a5a9d55f7 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder.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 $contentFormats Usage: contentFormats={contentFormats} + * @param string|null $labelIds Usage: labelIds={labelIds} + * @param string|null $locale Usage: locale='{locale}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $contentFormats = null, ?string $labelIds = null, ?string $locale = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeInheritance(labelIds={labelIds},locale=\'{locale}\',contentFormats={contentFormats})'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['contentFormats'] = $contentFormats; + $urlTplParams['labelIds'] = $labelIds; + $urlTplParams['locale'] = $locale; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|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/sensitivitylabel-computeinheritance?view=graph-rest-beta Find more info here + */ + public function get(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Calculate the sensitivity label that should be inherited by an output artifact, given a set of sensitivity labels from input or referenced artifacts. + * @param ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration $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 ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..186f662b347 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats/ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration.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/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php new file mode 100644 index 00000000000..27d04a256ea --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritancePostRequestBody.php @@ -0,0 +1,193 @@ +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 ComputeRightsAndInheritancePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ComputeRightsAndInheritancePostRequestBody { + return new ComputeRightsAndInheritancePostRequestBody(); + } + + /** + * 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 delegatedUserEmail property value. The delegatedUserEmail property + * @return string|null + */ + public function getDelegatedUserEmail(): ?string { + $val = $this->getBackingStore()->get('delegatedUserEmail'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'delegatedUserEmail'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'delegatedUserEmail' => fn(ParseNode $n) => $o->setDelegatedUserEmail($n->getStringValue()), + 'locale' => fn(ParseNode $n) => $o->setLocale($n->getStringValue()), + 'protectedContents' => fn(ParseNode $n) => $o->setProtectedContents($n->getCollectionOfObjectValues([ProtectedContent::class, 'createFromDiscriminatorValue'])), + 'supportedContentFormats' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setSupportedContentFormats($val); + }, + ]; + } + + /** + * Gets the locale property value. The locale property + * @return string|null + */ + public function getLocale(): ?string { + $val = $this->getBackingStore()->get('locale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locale'"); + } + + /** + * Gets the protectedContents property value. The protectedContents property + * @return array|null + */ + public function getProtectedContents(): ?array { + $val = $this->getBackingStore()->get('protectedContents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProtectedContent::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedContents'"); + } + + /** + * Gets the supportedContentFormats property value. The supportedContentFormats property + * @return array|null + */ + public function getSupportedContentFormats(): ?array { + $val = $this->getBackingStore()->get('supportedContentFormats'); + 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 'supportedContentFormats'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('delegatedUserEmail', $this->getDelegatedUserEmail()); + $writer->writeStringValue('locale', $this->getLocale()); + $writer->writeCollectionOfObjectValues('protectedContents', $this->getProtectedContents()); + $writer->writeCollectionOfPrimitiveValues('supportedContentFormats', $this->getSupportedContentFormats()); + $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 delegatedUserEmail property value. The delegatedUserEmail property + * @param string|null $value Value to set for the delegatedUserEmail property. + */ + public function setDelegatedUserEmail(?string $value): void { + $this->getBackingStore()->set('delegatedUserEmail', $value); + } + + /** + * Sets the locale property value. The locale property + * @param string|null $value Value to set for the locale property. + */ + public function setLocale(?string $value): void { + $this->getBackingStore()->set('locale', $value); + } + + /** + * Sets the protectedContents property value. The protectedContents property + * @param array|null $value Value to set for the protectedContents property. + */ + public function setProtectedContents(?array $value): void { + $this->getBackingStore()->set('protectedContents', $value); + } + + /** + * Sets the supportedContentFormats property value. The supportedContentFormats property + * @param array|null $value Value to set for the supportedContentFormats property. + */ + public function setSupportedContentFormats(?array $value): void { + $this->getBackingStore()->set('supportedContentFormats', $value); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.php new file mode 100644 index 00000000000..0144fa6163f --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilder.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}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/computeRightsAndInheritance'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|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/sensitivitylabel-computerightsandinheritance?view=graph-rest-beta Find more info here + */ + public function post(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ComputeRightsAndInheritanceResult::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Computes the rights and inheritance for sensitivity labels based on the input content and labels. + * @param ComputeRightsAndInheritancePostRequestBody $body The request body + * @param ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ComputeRightsAndInheritancePostRequestBody $body, ?ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration $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 ComputeRightsAndInheritanceRequestBuilder + */ + public function withUrl(string $rawUrl): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..654d0ebd0f7 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/ComputeRightsAndInheritance/ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration.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/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.php new file mode 100644 index 00000000000..3393ac60b7b --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilder.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}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}/rights{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get rights from users + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?RightsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UsageRightsIncluded::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get rights from users + * @param RightsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?RightsRequestBuilderGetRequestConfiguration $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 RightsRequestBuilder + */ + public function withUrl(string $rawUrl): RightsRequestBuilder { + return new RightsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..537642102f3 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetQueryParameters.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 RightsRequestBuilderGetQueryParameters 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/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..df3e4b4b443 --- /dev/null +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/Rights/RightsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param RightsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?RightsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new RightsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return RightsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): RightsRequestBuilderGetQueryParameters { + return new RightsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php index 10b6ce002c5..ec3785203f6 100644 --- a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; +use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Item\Rights\RightsRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -16,6 +17,13 @@ */ class SensitivityLabelItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the rights property of the microsoft.graph.sensitivityLabel entity. + */ + public function rights(): RightsRequestBuilder { + return new RightsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new SensitivityLabelItemRequestBuilder 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/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php index 15f26689f70..ca2215aff6f 100644 --- a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabelCollectionResponse; +use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\Sublabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\Sublabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\Sublabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SublabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityL return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SublabelsRequestBuilder 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/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php index 16f174ba482..b6309dd6c81 100644 --- a/src/Generated/Users/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php +++ b/src/Generated/Users/Item/InformationProtection/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -7,6 +7,8 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabel; use Microsoft\Graph\Beta\Generated\Models\SensitivityLabelCollectionResponse; +use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormats\ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\ComputeRightsAndInheritance\ComputeRightsAndInheritanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Count\CountRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Evaluate\EvaluateRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\InformationProtection\SensitivityLabels\Item\SensitivityLabelItemRequestBuilder; @@ -20,6 +22,13 @@ */ class SensitivityLabelsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the computeRightsAndInheritance method. + */ + public function computeRightsAndInheritance(): ComputeRightsAndInheritanceRequestBuilder { + return new ComputeRightsAndInheritanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to count the resources in the collection. */ @@ -45,6 +54,17 @@ public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLab return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); } + /** + * Provides operations to call the computeInheritance method. + * @param string $contentFormats Usage: contentFormats={contentFormats} + * @param string $labelIds Usage: labelIds={labelIds} + * @param string $locale Usage: locale='{locale}' + * @return ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder + */ + public function computeInheritanceWithLabelIdsWithLocaleWithContentFormats(string $contentFormats, string $labelIds, string $locale): ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder { + return new ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder($this->pathParameters, $this->requestAdapter, $contentFormats, $labelIds, $locale); + } + /** * Instantiates a new SensitivityLabelsRequestBuilder 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/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php b/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php index 70717ae9060..c2ad9841997 100644 --- a/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php +++ b/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param AppLogCollectionRequestsRequestBuilderGetRequestConfiguration|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(AppLogCollectionRequest $body, ?AppLogCollectionRequestsReq } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param AppLogCollectionRequestsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilderGetQueryParameters.php index 3d22295397b..43dadb36e9b 100644 --- a/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. */ class AppLogCollectionRequestsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php b/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php index d7520bdbc14..79dd194036a 100644 --- a/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php +++ b/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?AppLogCollectionRequestItemRequestBuilderDeleteRequestCo } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param AppLogCollectionRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?AppLogCollectionRequestItemRequestBu } /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. * @param AppLogCollectionRequestItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilderGetQueryParameters.php index 71cd51659ac..9a19dc744a6 100644 --- a/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The collection property of AppLogUploadRequest. + * Indicates collection of App Log Upload Request. */ class AppLogCollectionRequestItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index 7093f45d2eb..8c3d9e3da5e 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -85,11 +85,11 @@ public function delete(?PresenceRequestBuilderDeleteRequestConfiguration $reques } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-beta Find more info here */ public function get(?PresenceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -132,7 +132,7 @@ public function toDeleteRequestInformation(?PresenceRequestBuilderDeleteRequestC } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php index 4b7120c44ba..e1daf202f6a 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. */ class PresenceRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.php b/src/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.php index 30df8c8cefd..f5cd25f986a 100644 --- a/src/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.php +++ b/src/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?ParentRequestBuilderDeleteRequestConfiguration $requestC } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from users * @param ParentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -91,7 +91,7 @@ public function toDeleteRequestInformation(?ParentRequestBuilderDeleteRequestCon } /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from users * @param ParentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilderGetQueryParameters.php index 80ab399abbf..b2f39e9d867 100644 --- a/src/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Security/InformationProtection/SensitivityLabels/Item/Parent/ParentRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The parent label associated with a child label. Null if the label has no parent. + * Get parent from users */ class ParentRequestBuilderGetQueryParameters { diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 2e8a03c043b..49a2e33d36b 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -1923,6 +1923,7 @@ Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|namePr Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|Patch(body:PeopleAdminSettings; requestConfiguration?:PeopleRequestBuilderPatchRequestConfiguration):PeopleAdminSettings Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|profileCardProperties:ProfileCardPropertiesRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|profilePropertySettings:ProfilePropertySettingsRequestBuilder Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|pronouns:PronounsRequestBuilder Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.admin.people.PeopleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PeopleRequestBuilderDeleteRequestConfiguration):RequestInformation @@ -2006,6 +2007,71 @@ Microsoft\Graph\Beta\Generated.admin.people.profileCardProperties.profileCardPro Microsoft\Graph\Beta\Generated.admin.people.profileCardProperties.profileCardPropertiesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ProfileCardPropertiesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.admin.people.profileCardProperties.profileCardPropertiesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.admin.people.profileCardProperties.profileCardPropertiesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|Delete(requestConfiguration?:ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|Get(requestConfiguration?:ProfilePropertySettingItemRequestBuilderGetRequestConfiguration):ProfilePropertySetting +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|Patch(body:ProfilePropertySetting; requestConfiguration?:ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration):ProfilePropertySetting +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProfilePropertySettingItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|ToPatchRequestInformation(body:ProfilePropertySetting; requestConfiguration?:ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilder::|public|WithUrl(rawUrl:string):ProfilePropertySettingItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProfilePropertySettingItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ProfilePropertySettingItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ProfilePropertySettingItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.item.ProfilePropertySettingItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|ByProfilePropertySettingId(profilePropertySettingId:string):ProfilePropertySettingItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|Get(requestConfiguration?:ProfilePropertySettingsRequestBuilderGetRequestConfiguration):ProfilePropertySettingCollectionResponse +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|Post(body:ProfilePropertySetting; requestConfiguration?:ProfilePropertySettingsRequestBuilderPostRequestConfiguration):ProfilePropertySetting +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProfilePropertySettingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|ToPostRequestInformation(body:ProfilePropertySetting; requestConfiguration?:ProfilePropertySettingsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.ProfilePropertySettingsRequestBuilder::|public|WithUrl(rawUrl:string):ProfilePropertySettingsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProfilePropertySettingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:ProfilePropertySettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ProfilePropertySettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.people.profilePropertySettings.profilePropertySettingsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.admin.people.pronouns.PronounsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.admin.people.pronouns.PronounsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.admin.people.pronouns.PronounsRequestBuilder::|public|Delete(requestConfiguration?:PronounsRequestBuilderDeleteRequestConfiguration):void @@ -23319,6 +23385,43 @@ Microsoft\Graph\Beta\Generated.dataClassification.sensitiveTypes.sensitiveTypesR Microsoft\Graph\Beta\Generated.dataClassification.sensitiveTypes.sensitiveTypesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SensitiveTypesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.dataClassification.sensitiveTypes.sensitiveTypesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.dataClassification.sensitiveTypes.sensitiveTypesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -23357,6 +23460,21 @@ Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.evaluate.Eva Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -23364,6 +23482,7 @@ Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.Sensiti Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -23381,6 +23500,43 @@ Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.Sensiti Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -23419,6 +23575,21 @@ Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabe Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -23426,6 +23597,7 @@ Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabe Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -23444,6 +23616,8 @@ Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabe Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.SublabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|BySensitivityLabelId1(sensitivityLabelId1:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -23472,6 +23646,8 @@ Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabe Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.SensitivityLabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|BySensitivityLabelId(sensitivityLabelId:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.dataClassification.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -67243,6 +67419,7 @@ Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.ReportsR Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieveBulkActionStatusReport:RetrieveBulkActionStatusReportRequestBuilder +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieveCloudPcRecommendationReports:RetrieveCloudPcRecommendationReportsRequestBuilder Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieveCloudPcTenantMetricsReport:RetrieveCloudPcTenantMetricsReportRequestBuilder Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieveCloudPcTroubleshootReports:RetrieveCloudPcTroubleshootReportsRequestBuilder Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.ReportsRequestBuilder::|public|retrieveConnectionQualityReports:RetrieveConnectionQualityReportsRequestBuilder @@ -67297,6 +67474,41 @@ Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieve Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.RetrieveBulkActionStatusReportRequestBuilder::|public|WithUrl(rawUrl:string):RetrieveBulkActionStatusReportRequestBuilder Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.retrieveBulkActionStatusReportRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveBulkActionStatusReport.retrieveBulkActionStatusReportRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getFilter():string +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getGroupBy():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getOrderBy():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getReportName():CloudPcRecommendationReportType +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getSearch():string +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getSelect():array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getSkip():int +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|getTop():int +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setFilter(value?:string):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setGroupBy(value?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setOrderBy(value?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setReportName(value?:CloudPcRecommendationReportType):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setSearch(value?:string):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setSelect(value?:array):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setSkip(value?:int):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|public|setTop(value?:int):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RetrieveCloudPcRecommendationReportsPostRequestBody +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|Post(body:RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration):StreamInterface +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|ToPostRequestInformation(body:RetrieveCloudPcRecommendationReportsPostRequestBody; requestConfiguration?:RetrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.RetrieveCloudPcRecommendationReportsRequestBuilder::|public|WithUrl(rawUrl:string):RetrieveCloudPcRecommendationReportsRequestBuilder +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcRecommendationReports.retrieveCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.retrieveCloudPcTenantMetricsReportPostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.retrieveCloudPcTenantMetricsReportPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTenantMetricsReport.retrieveCloudPcTenantMetricsReportPostRequestBody::|public|getBackingStore():BackingStore @@ -141699,6 +141911,43 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.poli Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.policy.policyRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PolicyRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.policy.policyRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.policy.policyRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -141737,6 +141986,21 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sens Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -141744,6 +142008,7 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sens Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -141761,6 +142026,43 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sens Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -141799,6 +142101,21 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sens Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -141806,6 +142123,7 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sens Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -141824,6 +142142,8 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sens Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|BySensitivityLabelId1(sensitivityLabelId1:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -141852,6 +142172,8 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sens Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|BySensitivityLabelId(sensitivityLabelId:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -148051,6 +148373,27 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.count.Cou Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|getIds():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|setIds(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeletePostRequestBody +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deletePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.DeleteRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|Post(body:DeletePostRequestBody; requestConfiguration?:DeleteRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|ToPostRequestInformation(body:DeletePostRequestBody; requestConfiguration?:DeleteRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|WithUrl(rawUrl:string):DeleteRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deleteRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.delete.deleteRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|Get(requestConfiguration?:CreatedByUserRequestBuilderGetRequestConfiguration):User @@ -148226,10 +148569,12 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequ Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|ByRecycleBinItemId(recycleBinItemId:string):RecycleBinItemItemRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|deletePath:DeleteRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|Get(requestConfiguration?:ItemsRequestBuilderGetRequestConfiguration):RecycleBinItemCollectionResponse Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|Post(body:RecycleBinItem; requestConfiguration?:ItemsRequestBuilderPostRequestConfiguration):RecycleBinItem Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|restore:RestoreRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ItemsRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|ToPostRequestInformation(body:RecycleBinItem; requestConfiguration?:ItemsRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.ItemsRequestBuilder::|public|urlTemplate:string @@ -148249,6 +148594,34 @@ Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.itemsRequ Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.itemsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ItemsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.itemsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.itemsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|getIds():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|setIds(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restorePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostResponse +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.RestoreRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RestorePostResponse +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.items.restore.restoreRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.groups.item.sites.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|Get(requestConfiguration?:LastModifiedByUserRequestBuilderGetRequestConfiguration):User @@ -183668,6 +184041,43 @@ Microsoft\Graph\Beta\Generated.informationProtection.policy.policyRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.policy.policyRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PolicyRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.informationProtection.policy.policyRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.informationProtection.policy.policyRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -183706,6 +184116,21 @@ Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.evaluate. Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -183713,6 +184138,7 @@ Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.Sens Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -183730,6 +184156,43 @@ Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.Sens Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -183768,6 +184231,21 @@ Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.subl Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -183775,6 +184253,7 @@ Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.subl Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -183793,6 +184272,8 @@ Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.subl Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|BySensitivityLabelId1(sensitivityLabelId1:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -183821,6 +184302,8 @@ Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.subl Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|BySensitivityLabelId(sensitivityLabelId:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -200836,6 +201319,8 @@ Microsoft\Graph\Beta\Generated.models.cloudPcProvisioningType::0001-shared Microsoft\Graph\Beta\Generated.models.cloudPcProvisioningType::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcProvisioningType::0003-sharedByUser Microsoft\Graph\Beta\Generated.models.cloudPcProvisioningType::0004-sharedByEntraGroup +Microsoft\Graph\Beta\Generated.models.cloudPcRecommendationReportType::0000-cloudPcUsageCategoryReports +Microsoft\Graph\Beta\Generated.models.cloudPcRecommendationReportType::0001-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcRegionGroup::0000-default Microsoft\Graph\Beta\Generated.models.cloudPcRegionGroup::0001-australia Microsoft\Graph\Beta\Generated.models.cloudPcRegionGroup::0002-canada @@ -202180,6 +202665,23 @@ Microsoft\Graph\Beta\Generated.models.complianceStatus::0005-error Microsoft\Graph\Beta\Generated.models.complianceStatus::0006-conflict Microsoft\Graph\Beta\Generated.models.complianceStatus::0007-notAssigned Microsoft\Graph\Beta\Generated.models.compliance~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|getContentRights():array +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|getInheritedLabel():SensitivityLabel +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|getSensitivityLabels():array +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|setContentRights(value?:array):void +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|setInheritedLabel(value?:SensitivityLabel):void +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|public|setSensitivityLabels(value?:array):void +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.models.computeRightsAndInheritanceResult~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.conditionalAccessAllExternalTenants-->ConditionalAccessExternalTenants Microsoft\Graph\Beta\Generated.models.conditionalAccessAllExternalTenants::|public|constructor():void Microsoft\Graph\Beta\Generated.models.conditionalAccessAllExternalTenants::|public|GetFieldDeserializers():array @@ -221112,11 +221614,13 @@ Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|getBac Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|getNonDefaultUriAddition():IdentifierUriRestriction Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|getUriAdditionWithoutUniqueTenantIdentifier():IdentifierUriRestriction Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|setNonDefaultUriAddition(value?:IdentifierUriRestriction):void Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|public|setUriAdditionWithoutUniqueTenantIdentifier(value?:IdentifierUriRestriction):void Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IdentifierUriConfiguration Microsoft\Graph\Beta\Generated.models.identifierUriConfiguration~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.identifierUriRestriction::|public|constructor():void @@ -226843,6 +227347,23 @@ Microsoft\Graph\Beta\Generated.models.labelActionBase::|public|setName(value?:st Microsoft\Graph\Beta\Generated.models.labelActionBase::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.labelActionBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):LabelActionBase Microsoft\Graph\Beta\Generated.models.labelActionBase~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.labelActionSource::0000-manual +Microsoft\Graph\Beta\Generated.models.labelActionSource::0001-automatic +Microsoft\Graph\Beta\Generated.models.labelActionSource::0002-recommended +Microsoft\Graph\Beta\Generated.models.labelActionSource::0003-none +Microsoft\Graph\Beta\Generated.models.labelActionSource::0004-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.labelContentRight-->Entity +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|getCid():string +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|getFormat():string +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|getLabel():SensitivityLabel +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|setCid(value?:string):void +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|setFormat(value?:string):void +Microsoft\Graph\Beta\Generated.models.labelContentRight::|public|setLabel(value?:SensitivityLabel):void +Microsoft\Graph\Beta\Generated.models.labelContentRight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):LabelContentRight Microsoft\Graph\Beta\Generated.models.labelDetails-->ParentLabelDetails Microsoft\Graph\Beta\Generated.models.labelDetails::|public|constructor():void Microsoft\Graph\Beta\Generated.models.labelDetails::|public|GetFieldDeserializers():array @@ -240255,6 +240776,11 @@ Microsoft\Graph\Beta\Generated.models.organizationalBrandingProperties::|public| Microsoft\Graph\Beta\Generated.models.organizationalBrandingProperties::|public|setSquareLogoRelativeUrl(value?:string):void Microsoft\Graph\Beta\Generated.models.organizationalBrandingProperties::|public|setUsernameHintText(value?:string):void Microsoft\Graph\Beta\Generated.models.organizationalBrandingProperties::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OrganizationalBrandingProperties +Microsoft\Graph\Beta\Generated.models.organizationAllowedAudiences::0000-me +Microsoft\Graph\Beta\Generated.models.organizationAllowedAudiences::0001-organization +Microsoft\Graph\Beta\Generated.models.organizationAllowedAudiences::0002-federatedOrganizations +Microsoft\Graph\Beta\Generated.models.organizationAllowedAudiences::0003-everyone +Microsoft\Graph\Beta\Generated.models.organizationAllowedAudiences::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.organizationalUnit-->DirectoryObject Microsoft\Graph\Beta\Generated.models.organizationalUnit::|public|constructor():void Microsoft\Graph\Beta\Generated.models.organizationalUnit::|public|getChildren():array @@ -241920,12 +242446,14 @@ Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|GetFieldDeser Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getItemInsights():InsightsSettings Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getNamePronunciation():NamePronunciationSettings Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getProfileCardProperties():array +Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getProfilePropertySettings():array Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|getPronouns():PronounsSettings Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setItemInsights(value?:InsightsSettings):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setNamePronunciation(value?:NamePronunciationSettings):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setProfileCardProperties(value?:array):void +Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setProfilePropertySettings(value?:array):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|public|setPronouns(value?:PronounsSettings):void Microsoft\Graph\Beta\Generated.models.peopleAdminSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PeopleAdminSettings Microsoft\Graph\Beta\Generated.models.perfectForwardSecrecyGroup::0000-pfs1 @@ -247261,6 +247789,27 @@ Microsoft\Graph\Beta\Generated.models.profilePhotoCollectionResponse::|public|ge Microsoft\Graph\Beta\Generated.models.profilePhotoCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.profilePhotoCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.profilePhotoCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProfilePhotoCollectionResponse +Microsoft\Graph\Beta\Generated.models.profilePropertySetting-->Entity +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|getAllowedAudiences():OrganizationAllowedAudiences +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|getIsUserOverrideForAudienceEnabled():bool +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|getName():string +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|getPrioritizedSourceUrls():array +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|setAllowedAudiences(value?:OrganizationAllowedAudiences):void +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|setIsUserOverrideForAudienceEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|setName(value?:string):void +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|public|setPrioritizedSourceUrls(value?:array):void +Microsoft\Graph\Beta\Generated.models.profilePropertySetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProfilePropertySetting +Microsoft\Graph\Beta\Generated.models.profilePropertySettingCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.profilePropertySettingCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.profilePropertySettingCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.profilePropertySettingCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.profilePropertySettingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.profilePropertySettingCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.profilePropertySettingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProfilePropertySettingCollectionResponse Microsoft\Graph\Beta\Generated.models.profileSource-->Entity Microsoft\Graph\Beta\Generated.models.profileSource::|public|constructor():void Microsoft\Graph\Beta\Generated.models.profileSource::|public|getDisplayName():string @@ -247509,6 +248058,23 @@ Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata::|public|Odat Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata::|public|setApplicationLocation(value?:PolicyLocation):void Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProtectedApplicationMetadata +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|getCid():string +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|getFormat():string +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|getLabelId():string +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|setCid(value?:string):void +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|setFormat(value?:string):void +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|setLabelId(value?:string):void +Microsoft\Graph\Beta\Generated.models.protectedContent::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.protectedContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProtectedContent +Microsoft\Graph\Beta\Generated.models.protectedContent~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.protectGroup-->LabelActionBase Microsoft\Graph\Beta\Generated.models.protectGroup::|public|constructor():void Microsoft\Graph\Beta\Generated.models.protectGroup::|public|getAllowEmailFromGuestUsers():bool @@ -261223,10 +261789,12 @@ Microsoft\Graph\Beta\Generated.models.sensitivity::0002-private Microsoft\Graph\Beta\Generated.models.sensitivity::0003-confidential Microsoft\Graph\Beta\Generated.models.sensitivityLabel-->Entity Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getActionSource():LabelActionSource Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getApplicableTo():SensitivityLabelTarget Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getApplicationMode():ApplicationMode Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getAssignedPolicies():array Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getAutoLabeling():AutoLabeling +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getAutoTooltip():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getColor():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getDescription():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getDisplayName():string @@ -261234,26 +261802,34 @@ Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|GetFieldDeserial Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getIsDefault():bool Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getIsEnabled():bool Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getIsEndpointProtectionEnabled():bool +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getIsScopedToUser():bool Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getLabelActions():array +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getLocale():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getName():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getPriority():int +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getRights():UsageRightsIncluded Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getSublabels():array Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getToolTip():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setActionSource(value?:LabelActionSource):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setApplicableTo(value?:SensitivityLabelTarget):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setApplicationMode(value?:ApplicationMode):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setAssignedPolicies(value?:array):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setAutoLabeling(value?:AutoLabeling):void +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setAutoTooltip(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setColor(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setDescription(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setIsDefault(value?:bool):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setIsEnabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setIsEndpointProtectionEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setIsScopedToUser(value?:bool):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setLabelActions(value?:array):void +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setLocale(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setName(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setPriority(value?:int):void +Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setRights(value?:UsageRightsIncluded):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setSublabels(value?:array):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setToolTip(value?:string):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):SensitivityLabel @@ -270473,6 +271049,39 @@ Microsoft\Graph\Beta\Generated.models.usageRightCollectionResponse::|public|getV Microsoft\Graph\Beta\Generated.models.usageRightCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.usageRightCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.usageRightCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UsageRightCollectionResponse +Microsoft\Graph\Beta\Generated.models.usageRights::0000-unknown +Microsoft\Graph\Beta\Generated.models.usageRights::0001-docEdit +Microsoft\Graph\Beta\Generated.models.usageRights::0002-edit +Microsoft\Graph\Beta\Generated.models.usageRights::0003-comment +Microsoft\Graph\Beta\Generated.models.usageRights::0004-export +Microsoft\Graph\Beta\Generated.models.usageRights::0005-forward +Microsoft\Graph\Beta\Generated.models.usageRights::0006-owner +Microsoft\Graph\Beta\Generated.models.usageRights::0007-print +Microsoft\Graph\Beta\Generated.models.usageRights::0008-reply +Microsoft\Graph\Beta\Generated.models.usageRights::0009-replyAll +Microsoft\Graph\Beta\Generated.models.usageRights::0010-view +Microsoft\Graph\Beta\Generated.models.usageRights::0011-extract +Microsoft\Graph\Beta\Generated.models.usageRights::0012-viewRightsData +Microsoft\Graph\Beta\Generated.models.usageRights::0013-editRightsData +Microsoft\Graph\Beta\Generated.models.usageRights::0014-objModel +Microsoft\Graph\Beta\Generated.models.usageRights::0015-accessDenied +Microsoft\Graph\Beta\Generated.models.usageRights::0016-userDefinedProtectionTypeNotSupportedException +Microsoft\Graph\Beta\Generated.models.usageRights::0017-encryptedProtectionTypeNotSupportedException +Microsoft\Graph\Beta\Generated.models.usageRights::0018-purviewClaimsChallengeNotSupportedException +Microsoft\Graph\Beta\Generated.models.usageRights::0019-exception +Microsoft\Graph\Beta\Generated.models.usageRights::0020-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded-->Entity +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|getOwnerEmail():string +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|getUserEmail():string +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|getValue():UsageRights +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|setOwnerEmail(value?:string):void +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|setUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|public|setValue(value?:UsageRights):void +Microsoft\Graph\Beta\Generated.models.usageRightsIncluded::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UsageRightsIncluded Microsoft\Graph\Beta\Generated.models.usageRightState::0000-active Microsoft\Graph\Beta\Generated.models.usageRightState::0001-inactive Microsoft\Graph\Beta\Generated.models.usageRightState::0002-warning @@ -314850,6 +315459,43 @@ Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScop Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ProtectionScopesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -314888,6 +315534,21 @@ Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLab Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -314895,6 +315556,7 @@ Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLab Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -314912,6 +315574,43 @@ Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLab Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -314950,6 +315649,21 @@ Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLab Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -314957,6 +315671,7 @@ Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLab Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -314975,6 +315690,8 @@ Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLab Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|BySensitivityLabelId1(sensitivityLabelId1:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -315003,6 +315720,8 @@ Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLab Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|BySensitivityLabelId(sensitivityLabelId:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -329273,6 +329992,43 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.policy.policyReq Microsoft\Graph\Beta\Generated.sites.item.informationProtection.policy.policyRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PolicyRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.sites.item.informationProtection.policy.policyRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.sites.item.informationProtection.policy.policyRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -329311,6 +330067,21 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -329318,6 +330089,7 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -329335,6 +330107,43 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -329373,6 +330182,21 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -329380,6 +330204,7 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -329398,6 +330223,8 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|BySensitivityLabelId1(sensitivityLabelId1:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -329426,6 +330253,8 @@ Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|BySensitivityLabelId(sensitivityLabelId:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -335585,6 +336414,27 @@ Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.count.CountRequestBui Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|getIds():array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|public|setIds(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeletePostRequestBody +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deletePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.DeleteRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|Post(body:DeletePostRequestBody; requestConfiguration?:DeleteRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|ToPostRequestInformation(body:DeletePostRequestBody; requestConfiguration?:DeleteRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.DeleteRequestBuilder::|public|WithUrl(rawUrl:string):DeleteRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deleteRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.delete.deleteRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|Get(requestConfiguration?:CreatedByUserRequestBuilderGetRequestConfiguration):User @@ -335760,10 +336610,12 @@ Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder-- Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|ByRecycleBinItemId(recycleBinItemId:string):RecycleBinItemItemRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|deletePath:DeleteRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|Get(requestConfiguration?:ItemsRequestBuilderGetRequestConfiguration):RecycleBinItemCollectionResponse Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|Post(body:RecycleBinItem; requestConfiguration?:ItemsRequestBuilderPostRequestConfiguration):RecycleBinItem Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|restore:RestoreRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ItemsRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|ToPostRequestInformation(body:RecycleBinItem; requestConfiguration?:ItemsRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.ItemsRequestBuilder::|public|urlTemplate:string @@ -335783,6 +336635,34 @@ Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.itemsRequestBuilderGe Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.itemsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ItemsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.itemsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.itemsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|getIds():array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|public|setIds(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restorePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostResponse +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.RestoreRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RestorePostResponse +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.sites.item.recycleBin.items.restore.restoreRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.sites.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.sites.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.sites.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|Get(requestConfiguration?:LastModifiedByUserRequestBuilderGetRequestConfiguration):User @@ -345687,6 +346567,27 @@ Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.it Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|getIds():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|public|setIds(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeletePostRequestBody +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deletePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.DeleteRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|Post(body:DeletePostRequestBody; requestConfiguration?:DeleteRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|ToPostRequestInformation(body:DeletePostRequestBody; requestConfiguration?:DeleteRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|WithUrl(rawUrl:string):DeleteRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deleteRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.delete.deleteRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|Get(requestConfiguration?:CreatedByUserRequestBuilderGetRequestConfiguration):User @@ -345862,10 +346763,12 @@ Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.it Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|ByRecycleBinItemId(recycleBinItemId:string):RecycleBinItemItemRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|deletePath:DeleteRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|Get(requestConfiguration?:ItemsRequestBuilderGetRequestConfiguration):RecycleBinItemCollectionResponse Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|Post(body:RecycleBinItem; requestConfiguration?:ItemsRequestBuilderPostRequestConfiguration):RecycleBinItem Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|restore:RestoreRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ItemsRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|ToPostRequestInformation(body:RecycleBinItem; requestConfiguration?:ItemsRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.ItemsRequestBuilder::|public|urlTemplate:string @@ -345885,6 +346788,34 @@ Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.it Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.itemsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ItemsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.itemsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.itemsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|getIds():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|public|setIds(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restorePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostResponse +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.RestoreRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RestorePostResponse +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.items.restore.restoreRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.storage.fileStorage.containers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|Get(requestConfiguration?:LastModifiedByUserRequestBuilderGetRequestConfiguration):User @@ -346553,6 +347484,27 @@ Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycl Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|getIds():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|public|setIds(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeletePostRequestBody +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deletePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.DeleteRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|Post(body:DeletePostRequestBody; requestConfiguration?:DeleteRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|ToPostRequestInformation(body:DeletePostRequestBody; requestConfiguration?:DeleteRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.DeleteRequestBuilder::|public|WithUrl(rawUrl:string):DeleteRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deleteRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.delete.deleteRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.item.createdByUser.CreatedByUserRequestBuilder::|public|Get(requestConfiguration?:CreatedByUserRequestBuilderGetRequestConfiguration):User @@ -346728,10 +347680,12 @@ Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycl Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|ByRecycleBinItemId(recycleBinItemId:string):RecycleBinItemItemRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|deletePath:DeleteRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|Get(requestConfiguration?:ItemsRequestBuilderGetRequestConfiguration):RecycleBinItemCollectionResponse Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|Post(body:RecycleBinItem; requestConfiguration?:ItemsRequestBuilderPostRequestConfiguration):RecycleBinItem Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|restore:RestoreRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ItemsRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|ToPostRequestInformation(body:RecycleBinItem; requestConfiguration?:ItemsRequestBuilderPostRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.ItemsRequestBuilder::|public|urlTemplate:string @@ -346751,6 +347705,34 @@ Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycl Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.itemsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ItemsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.itemsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.itemsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|getIds():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|public|setIds(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostRequestBody +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restorePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RestorePostResponse +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.RestoreRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|Post(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RestorePostResponse +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|ToPostRequestInformation(body:RestorePostRequestBody; requestConfiguration?:RestoreRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.RestoreRequestBuilder::|public|WithUrl(rawUrl:string):RestoreRequestBuilder +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restoreRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.items.restore.restoreRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.storage.fileStorage.deletedContainers.item.recycleBin.lastModifiedByUser.LastModifiedByUserRequestBuilder::|public|Get(requestConfiguration?:LastModifiedByUserRequestBuilderGetRequestConfiguration):User @@ -397344,6 +398326,43 @@ Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionSc Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ProtectionScopesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -397382,6 +398401,21 @@ Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityL Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -397389,6 +398423,7 @@ Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityL Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -397406,6 +398441,43 @@ Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityL Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -397444,6 +398516,21 @@ Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityL Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -397451,6 +398538,7 @@ Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityL Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -397469,6 +398557,8 @@ Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityL Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|BySensitivityLabelId1(sensitivityLabelId1:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -397497,6 +398587,8 @@ Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityL Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|BySensitivityLabelId(sensitivityLabelId:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -402693,6 +403785,43 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.policy.policyReq Microsoft\Graph\Beta\Generated.users.item.informationProtection.policy.policyRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PolicyRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.informationProtection.policy.policyRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.informationProtection.policy.policyRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -402731,6 +403860,21 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -402738,6 +403882,7 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|sublabels:SublabelsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation @@ -402755,6 +403900,43 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; contentFormats?:string; labelIds?:string; locale?:string):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|Get(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder::|public|WithUrl(rawUrl:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeInheritanceWithLabelIdsWithLocaleWithContentFormats.computeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getDelegatedUserEmail():string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getLocale():string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getProtectedContents():array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|getSupportedContentFormats():array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setDelegatedUserEmail(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setLocale(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setProtectedContents(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|public|setSupportedContentFormats(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ComputeRightsAndInheritancePostRequestBody +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritancePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|Post(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):ComputeRightsAndInheritanceResult +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|ToPostRequestInformation(body:ComputeRightsAndInheritancePostRequestBody; requestConfiguration?:ComputeRightsAndInheritanceRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.ComputeRightsAndInheritanceRequestBuilder::|public|WithUrl(rawUrl:string):ComputeRightsAndInheritanceRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.computeRightsAndInheritance.computeRightsAndInheritanceRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -402793,6 +403975,21 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|Get(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):UsageRightsIncluded +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:RightsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.RightsRequestBuilder::|public|WithUrl(rawUrl:string):RightsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:RightsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|public|queryParameters:RightsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.rights.rightsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):RightsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Delete(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):void @@ -402800,6 +403997,7 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Patch(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):SensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|rights:RightsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation @@ -402818,6 +404016,8 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|BySensitivityLabelId1(sensitivityLabelId1:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder @@ -402846,6 +404046,8 @@ Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabel Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|BySensitivityLabelId(sensitivityLabelId:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeInheritanceWithLabelIdsWithLocaleWithContentFormats(contentFormats:string; labelIds:string; locale:string):ComputeInheritanceWithLabelIdsWithLocaleWithContentFormatsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|computeRightsAndInheritance:ComputeRightsAndInheritanceRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Count:CountRequestBuilder Microsoft\Graph\Beta\Generated.users.item.informationProtection.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|evaluate:EvaluateRequestBuilder diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 2674e43144e..587523c4bb4 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "6516F0177EBE1D31E055A71F3E57E2619154DA13E476CEAE9328855C01EB1812B43C65D6DEEE30BF0AF0BBA91CAE56910333B15AC9E8224B7A17959DA6569EFA", + "descriptionHash": "0F40AB32284DFBDC12F20879BCAF6E5BAD30CAECFB277F7C18483CEA887D728A856B1B727CE4F67A8F4CBF0955C0E7F998B80F9A8691E015E619EF53C18818C7", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.27.0",