diff --git a/src/Generated/Admin/AdminRequestBuilder.php b/src/Generated/Admin/AdminRequestBuilder.php index d2138891b0f..4316950c89d 100644 --- a/src/Generated/Admin/AdminRequestBuilder.php +++ b/src/Generated/Admin/AdminRequestBuilder.php @@ -15,6 +15,7 @@ use Microsoft\Graph\Beta\Generated\Admin\ReportSettings\ReportSettingsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\ServiceAnnouncement\ServiceAnnouncementRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Sharepoint\SharepointRequestBuilder; +use Microsoft\Graph\Beta\Generated\Admin\Teams\TeamsRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Todo\TodoRequestBuilder; use Microsoft\Graph\Beta\Generated\Admin\Windows\WindowsRequestBuilder; use Microsoft\Graph\Beta\Generated\Models\Admin; @@ -106,6 +107,13 @@ public function sharepoint(): SharepointRequestBuilder { return new SharepointRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the teams property of the microsoft.graph.admin entity. + */ + public function teams(): TeamsRequestBuilder { + return new TeamsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the todo property of the microsoft.graph.admin entity. */ diff --git a/src/Generated/Admin/Teams/Policy/PolicyRequestBuilder.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilder.php new file mode 100644 index 00000000000..7b25d8cb29b --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilder.php @@ -0,0 +1,143 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/policy{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property policy for admin + * @param PolicyRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?PolicyRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get policy from admin + * @param PolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?PolicyRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsPolicyAssignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property policy in admin + * @param TeamsPolicyAssignment $body The request body + * @param PolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TeamsPolicyAssignment $body, ?PolicyRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsPolicyAssignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property policy for admin + * @param PolicyRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?PolicyRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get policy from admin + * @param PolicyRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?PolicyRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property policy in admin + * @param TeamsPolicyAssignment $body The request body + * @param PolicyRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TeamsPolicyAssignment $body, ?PolicyRequestBuilderPatchRequestConfiguration $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 PolicyRequestBuilder + */ + public function withUrl(string $rawUrl): PolicyRequestBuilder { + return new PolicyRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderDeleteRequestConfiguration.php similarity index 74% rename from src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderPostRequestConfiguration.php rename to src/Generated/Admin/Teams/Policy/PolicyRequestBuilderDeleteRequestConfiguration.php index 24f89b08e43..36c00ebb089 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetQueryParameters.php similarity index 68% rename from src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php rename to src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetQueryParameters.php index fc9ecb1d4e3..3bbb1688554 100644 --- a/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c7363d1a19b --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param PolicyRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?PolicyRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new PolicyRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return PolicyRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): PolicyRequestBuilderGetQueryParameters { + return new PolicyRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..98f9eebb3e1 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Teams/TeamsRequestBuilder.php b/src/Generated/Admin/Teams/TeamsRequestBuilder.php new file mode 100644 index 00000000000..2832c7ea0eb --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilder.php @@ -0,0 +1,159 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + */ + public function userConfigurations(): UserConfigurationsRequestBuilder { + return new UserConfigurationsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TeamsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property teams for admin + * @param TeamsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TeamsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents a collection of user configurations. + * @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TeamsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsAdminRoot::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property teams in admin + * @param TeamsAdminRoot $body The request body + * @param TeamsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TeamsAdminRoot $body, ?TeamsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsAdminRoot::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property teams for admin + * @param TeamsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TeamsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Represents a collection of user configurations. + * @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TeamsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property teams in admin + * @param TeamsAdminRoot $body The request body + * @param TeamsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TeamsAdminRoot $body, ?TeamsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TeamsRequestBuilder + */ + public function withUrl(string $rawUrl): TeamsRequestBuilder { + return new TeamsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/TeamsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Teams/TeamsRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..f27a8cf2fd4 --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php similarity index 67% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php rename to src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php index a9001776882..136d46b9625 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Admin/Teams/TeamsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/TeamsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7c9f7d39012 --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TeamsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TeamsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TeamsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TeamsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TeamsRequestBuilderGetQueryParameters { + return new TeamsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Teams/TeamsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/TeamsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..b5300c09a77 --- /dev/null +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilder.php similarity index 94% rename from src/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.php rename to src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilder.php index f7e758f7ce2..24e55b08eb4 100644 --- a/src/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.php +++ b/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilderGetQueryParameters.php similarity index 91% rename from src/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilderGetQueryParameters.php index bdf9c99152c..9801004deff 100644 --- a/src/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Teams/UserConfigurations/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new TeamsUserConfigurationItemRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property userConfigurations for admin + * @param TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Read the Teams user configurations for a specific user using their ID (the user's identifier). + * @param TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/teamsadministration-teamsuserconfiguration-get?view=graph-rest-beta Find more info here + */ + public function get(?TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsUserConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property userConfigurations in admin + * @param TeamsUserConfiguration $body The request body + * @param TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TeamsUserConfiguration $body, ?TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsUserConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property userConfigurations for admin + * @param TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Read the Teams user configurations for a specific user using their ID (the user's identifier). + * @param TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property userConfigurations in admin + * @param TeamsUserConfiguration $body The request body + * @param TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TeamsUserConfiguration $body, ?TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return TeamsUserConfigurationItemRequestBuilder + */ + public function withUrl(string $rawUrl): TeamsUserConfigurationItemRequestBuilder { + return new TeamsUserConfigurationItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration.php similarity index 68% rename from src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration.php index 6303a8bcdac..6f43bb23bec 100644 --- a/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..109c5ea0979 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new TeamsUserConfigurationItemRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6ca9c703425 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TeamsUserConfigurationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TeamsUserConfigurationItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TeamsUserConfigurationItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TeamsUserConfigurationItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TeamsUserConfigurationItemRequestBuilderGetQueryParameters { + return new TeamsUserConfigurationItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..d0d0120306d --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php new file mode 100644 index 00000000000..264fe057e16 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.php @@ -0,0 +1,112 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/mailboxSettings{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [MailboxSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + * @param MailboxSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MailboxSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update property mailboxSettings value. + * @param MailboxSettings $body The request body + * @param MailboxSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(MailboxSettings $body, ?MailboxSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return MailboxSettingsRequestBuilder + */ + public function withUrl(string $rawUrl): MailboxSettingsRequestBuilder { + return new MailboxSettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3dfb9ad029e --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3461a641069 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MailboxSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MailboxSettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MailboxSettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return MailboxSettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): MailboxSettingsRequestBuilderGetQueryParameters { + return new MailboxSettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..25ac01e837b --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/MailboxSettings/MailboxSettingsRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..8931a5944f2 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/serviceProvisioningErrors/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..81978416986 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..26b2662c2fd --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php new file mode 100644 index 00000000000..01703eaea36 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.php @@ -0,0 +1,85 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ServiceProvisioningErrorsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ServiceProvisioningErrorCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + * @param ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return ServiceProvisioningErrorsRequestBuilder + */ + public function withUrl(string $rawUrl): ServiceProvisioningErrorsRequestBuilder { + return new ServiceProvisioningErrorsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..50c67f06f92 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php similarity index 69% rename from src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration.php rename to src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php index e79e9cc326c..d7538da79d9 100644 --- a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param ConditionalAccessPoliciesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param ServiceProvisioningErrorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?ConditionalAccessPoliciesRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?ServiceProvisioningErrorsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new ConditionalAccessPoliciesRequestBuilderGetQueryParameters. + * Instantiates a new ServiceProvisioningErrorsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Con * @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 ConditionalAccessPoliciesRequestBuilderGetQueryParameters + * @return ServiceProvisioningErrorsRequestBuilderGetQueryParameters */ - public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ConditionalAccessPoliciesRequestBuilderGetQueryParameters { - return new ConditionalAccessPoliciesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): ServiceProvisioningErrorsRequestBuilderGetQueryParameters { + return new ServiceProvisioningErrorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilder.php new file mode 100644 index 00000000000..d757b3c7809 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilder.php @@ -0,0 +1,93 @@ +pathParameters, $this->requestAdapter); + } + + /** + * The serviceProvisioningErrors property + */ + public function serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder { + return new ServiceProvisioningErrorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new UserRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/userConfigurations/{teamsUserConfiguration%2Did}/user{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Represents an Entra user account. + * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?UserRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [User::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Represents an Entra user account. + * @param UserRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return UserRequestBuilder + */ + public function withUrl(string $rawUrl): UserRequestBuilder { + return new UserRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetQueryParameters.php similarity index 66% rename from src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php rename to src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetQueryParameters.php index 39ac663af5f..5bc2345e963 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param array|null $select Select properties to be returned */ diff --git a/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3fb0b443b1a --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/Item/User/UserRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UserRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UserRequestBuilderGetQueryParameters { + return new UserRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.php b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.php new file mode 100644 index 00000000000..cfa6d4daebd --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + * @param string $teamsUserConfigurationId The unique identifier of teamsUserConfiguration + * @return TeamsUserConfigurationItemRequestBuilder + */ + public function byTeamsUserConfigurationId(string $teamsUserConfigurationId): TeamsUserConfigurationItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['teamsUserConfiguration%2Did'] = $teamsUserConfigurationId; + return new TeamsUserConfigurationItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new UserConfigurationsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/userConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get user configurations for all Teams users who belong to a tenant. + * @param UserConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/teamsadministration-teamsadminroot-list-userconfigurations?view=graph-rest-beta Find more info here + */ + public function get(?UserConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsUserConfigurationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to userConfigurations for admin + * @param TeamsUserConfiguration $body The request body + * @param UserConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(TeamsUserConfiguration $body, ?UserConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsUserConfiguration::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get user configurations for all Teams users who belong to a tenant. + * @param UserConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to userConfigurations for admin + * @param TeamsUserConfiguration $body The request body + * @param UserConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(TeamsUserConfiguration $body, ?UserConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::POST; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return UserConfigurationsRequestBuilder + */ + public function withUrl(string $rawUrl): UserConfigurationsRequestBuilder { + return new UserConfigurationsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f07faa3cd68 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetQueryParameters.php @@ -0,0 +1,82 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24filter") + * @var string|null $filter Filter items by property values + */ + public ?string $filter = null; + + /** + * @QueryParameter("%24orderby") + * @var array|null $orderby Order items by property values + */ + public ?array $orderby = null; + + /** + * @QueryParameter("%24search") + * @var string|null $search Search items by search phrases + */ + public ?string $search = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * @QueryParameter("%24skip") + * @var int|null $skip Skip the first n items + */ + public ?int $skip = null; + + /** + * @QueryParameter("%24top") + * @var int|null $top Show only the first n items + */ + public ?int $top = null; + + /** + * Instantiates a new UserConfigurationsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a6c51096724 --- /dev/null +++ b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserConfigurationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserConfigurationsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserConfigurationsRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return UserConfigurationsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): UserConfigurationsRequestBuilderGetQueryParameters { + return new UserConfigurationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderPostRequestConfiguration.php similarity index 73% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderPostRequestConfiguration.php index 619b9d74ff1..5463fa6e076 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Admin/Teams/UserConfigurations/UserConfigurationsRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php index 270efb5d627..cbe5b598371 100644 --- a/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an operationalInsightsConnection object. + * Delete a resourceConnection object. * @param ResourceConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta Find more info here */ public function delete(?ResourceConnectionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -76,7 +76,7 @@ public function patch(ResourceConnection $body, ?ResourceConnectionItemRequestBu } /** - * Delete an operationalInsightsConnection object. + * Delete a resourceConnection object. * @param ResourceConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php b/src/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.php index c58346b1b62..fc9c38036e4 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 updatableAsset object. * @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-updatableasset-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 updatableAsset object. * @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 f50b21f5a80..b8d7a9a8739 100644 --- a/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php +++ b/src/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.php @@ -54,11 +54,11 @@ public function delete(?ComplianceChangeItemRequestBuilderDeleteRequestConfigura } /** - * Read the properties and relationships of a 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 contentApproval object. + * Update the properties of a complianceChange 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-contentapproval-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta Find more info here */ public function patch(ComplianceChange $body, ?ComplianceChangeItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -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 contentApproval object. + * Update the properties of a complianceChange 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/Chats/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php index 2a8151b5646..a4324094f06 100644 --- a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Chats/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 chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. * @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/chat-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 chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. * @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/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php index 868c8016aa4..a42852c4c1b 100644 --- a/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. 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/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/RetrieveCloudPcTroubleshootReports/RetrieveCloudPcTroubleshootReportsPostRequestBody.php b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcTroubleshootReports/RetrieveCloudPcTroubleshootReportsPostRequestBody.php index 9bd9aea0992..44a936fa2e1 100644 --- a/src/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcTroubleshootReports/RetrieveCloudPcTroubleshootReportsPostRequestBody.php +++ b/src/Generated/DeviceManagement/VirtualEndpoint/Reports/RetrieveCloudPcTroubleshootReports/RetrieveCloudPcTroubleshootReportsPostRequestBody.php @@ -65,6 +65,14 @@ 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)) { @@ -100,6 +108,20 @@ public function getFilter(): ?string { 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 @@ -182,6 +204,7 @@ public function getTop(): ?int { */ 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()); @@ -215,6 +238,14 @@ 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. diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php index fff3ff6a884..279933d21b5 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php index e08b72b5239..c73efe7954e 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php index 0d5ef862a00..dca84c873f1 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php index 356decbd96f..c01e0890796 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php index 546a1e2fc7d..32b96f3351d 100644 --- a/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php +++ b/src/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?ExternalItemItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of an externalitem. + * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-beta Find more info here */ public function put(ExternalItem $body, ?ExternalItemItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); @@ -131,7 +131,7 @@ public function toGetRequestInformation(?ExternalItemItemRequestBuilderGetReques } /** - * Update the properties of an externalitem. + * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. * @param ExternalItem $body The request body * @param ExternalItemItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php b/src/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.php index 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/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.php b/src/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.php index 506a2e614be..67d175c71d8 100644 --- a/src/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.php +++ b/src/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?IndustryDataConnectorItemRequestBuilderGetRequestConfigurat } /** - * Update the properties of a oneRosterApiDataConnector object. + * Update the properties of an azureDataLakeConnector object. * @param IndustryDataConnector $body The request body * @param IndustryDataConnectorItemRequestBuilderPatchRequestConfiguration|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-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-update?view=graph-rest-beta Find more info here */ public function patch(IndustryDataConnector $body, ?IndustryDataConnectorItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -131,7 +131,7 @@ public function toGetRequestInformation(?IndustryDataConnectorItemRequestBuilder } /** - * Update the properties of a oneRosterApiDataConnector object. + * Update the properties of an azureDataLakeConnector object. * @param IndustryDataConnector $body The request body * @param IndustryDataConnectorItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.php b/src/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.php index de7d21bcaed..0ad8a25982d 100644 --- a/src/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.php +++ b/src/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?InboundFlowsRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new inboundFileFlow object. + * Create a new inboundApiFlow object. * @param InboundFlow $body The request body * @param InboundFlowsRequestBuilderPostRequestConfiguration|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-inboundfileflow-post?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-post?view=graph-rest-beta Find more info here */ public function post(InboundFlow $body, ?InboundFlowsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?InboundFlowsRequestBuilderGetRequestCon } /** - * Create a new inboundFileFlow object. + * Create a new inboundApiFlow object. * @param InboundFlow $body The request body * @param InboundFlowsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.php b/src/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.php index e79b35a1e3a..b8eb7c5393c 100644 --- a/src/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.php +++ b/src/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.php @@ -77,12 +77,12 @@ public function get(?InboundFlowItemRequestBuilderGetRequestConfiguration $reque } /** - * Update the properties of an inboundFileFlow object. + * Update the properties of an inboundApiFlow object. * @param InboundFlow $body The request body * @param InboundFlowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/industrydata-inboundapiflow-update?view=graph-rest-beta Find more info here */ public function patch(InboundFlow $body, ?InboundFlowItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -131,7 +131,7 @@ public function toGetRequestInformation(?InboundFlowItemRequestBuilderGetRequest } /** - * Update the properties of an inboundFileFlow object. + * Update the properties of an inboundApiFlow object. * @param InboundFlow $body The request body * @param InboundFlowItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.php b/src/Generated/External/IndustryData/Operations/Item/LongRunningOperationItemRequestBuilder.php index 7e6b640f20c..6dc1d2b5414 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 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. + * Read the properties and relationships of a fileValidateOperation object. * @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/longrunningoperation-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/industrydata-filevalidateoperation-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 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. + * Read the properties and relationships of a fileValidateOperation object. * @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 b479fc76ce2..32bac9d6444 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 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. + * Read the properties and relationships of a fileValidateOperation object. */ class LongRunningOperationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/GroupsRequestBuilder.php b/src/Generated/Groups/GroupsRequestBuilder.php index d7217fcbcb1..e484e11c847 100644 --- a/src/Generated/Groups/GroupsRequestBuilder.php +++ b/src/Generated/Groups/GroupsRequestBuilder.php @@ -107,12 +107,12 @@ public function get(?GroupsRequestBuilderGetRequestConfiguration $requestConfigu } /** - * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta Find more info here */ public function post(Group $body, ?GroupsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -144,7 +144,7 @@ public function toGetRequestInformation(?GroupsRequestBuilderGetRequestConfigura } /** - * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param Group $body The request body * @param GroupsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/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/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.php index 48e4e966d61..1b1d9dccd89 100644 --- a/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. 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/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.php index 6fa9c2e37de..9b6635e6675 100644 --- a/src/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.php @@ -5,9 +5,6 @@ use Microsoft\Graph\Beta\Generated\Identity\ConditionalAccess\AuthenticationContextClassReferences\AuthenticationContextClassReferencesRequestBuilder; use Microsoft\Graph\Beta\Generated\Identity\ConditionalAccess\AuthenticationStrength\AuthenticationStrengthRequestBuilder; use Microsoft\Graph\Beta\Generated\Identity\ConditionalAccess\AuthenticationStrengths\AuthenticationStrengthsRequestBuilder; -use Microsoft\Graph\Beta\Generated\Identity\ConditionalAccess\Evaluate\EvaluateRequestBuilder; -use Microsoft\Graph\Beta\Generated\Identity\ConditionalAccess\NamedLocations\NamedLocationsRequestBuilder; -use Microsoft\Graph\Beta\Generated\Identity\ConditionalAccess\Policies\PoliciesRequestBuilder; use Microsoft\Graph\Beta\Generated\Identity\ConditionalAccess\Templates\TemplatesRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -38,27 +35,6 @@ public function authenticationStrengths(): AuthenticationStrengthsRequestBuilder return new AuthenticationStrengthsRequestBuilder($this->pathParameters, $this->requestAdapter); } - /** - * Provides operations to call the evaluate method. - */ - public function evaluate(): EvaluateRequestBuilder { - return new EvaluateRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. - */ - public function namedLocations(): NamedLocationsRequestBuilder { - return new NamedLocationsRequestBuilder($this->pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. - */ - public function policies(): PoliciesRequestBuilder { - return new PoliciesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - /** * Provides operations to manage the templates property of the microsoft.graph.conditionalAccessRoot entity. */ diff --git a/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.php b/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.php deleted file mode 100644 index c055e1e7ddc..00000000000 --- a/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostRequestBody.php +++ /dev/null @@ -1,183 +0,0 @@ -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 EvaluatePostRequestBody - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): EvaluatePostRequestBody { - return new EvaluatePostRequestBody(); - } - - /** - * 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 appliedPoliciesOnly property value. The appliedPoliciesOnly property - * @return bool|null - */ - public function getAppliedPoliciesOnly(): ?bool { - $val = $this->getBackingStore()->get('appliedPoliciesOnly'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'appliedPoliciesOnly'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * Gets the conditionalAccessContext property value. The conditionalAccessContext property - * @return ConditionalAccessContext|null - */ - public function getConditionalAccessContext(): ?ConditionalAccessContext { - $val = $this->getBackingStore()->get('conditionalAccessContext'); - if (is_null($val) || $val instanceof ConditionalAccessContext) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'conditionalAccessContext'"); - } - - /** - * Gets the conditionalAccessWhatIfConditions property value. The conditionalAccessWhatIfConditions property - * @return ConditionalAccessWhatIfConditions|null - */ - public function getConditionalAccessWhatIfConditions(): ?ConditionalAccessWhatIfConditions { - $val = $this->getBackingStore()->get('conditionalAccessWhatIfConditions'); - if (is_null($val) || $val instanceof ConditionalAccessWhatIfConditions) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'conditionalAccessWhatIfConditions'"); - } - - /** - * Gets the conditionalAccessWhatIfSubject property value. The conditionalAccessWhatIfSubject property - * @return ConditionalAccessWhatIfSubject|null - */ - public function getConditionalAccessWhatIfSubject(): ?ConditionalAccessWhatIfSubject { - $val = $this->getBackingStore()->get('conditionalAccessWhatIfSubject'); - if (is_null($val) || $val instanceof ConditionalAccessWhatIfSubject) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'conditionalAccessWhatIfSubject'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'appliedPoliciesOnly' => fn(ParseNode $n) => $o->setAppliedPoliciesOnly($n->getBooleanValue()), - 'conditionalAccessContext' => fn(ParseNode $n) => $o->setConditionalAccessContext($n->getObjectValue([ConditionalAccessContext::class, 'createFromDiscriminatorValue'])), - 'conditionalAccessWhatIfConditions' => fn(ParseNode $n) => $o->setConditionalAccessWhatIfConditions($n->getObjectValue([ConditionalAccessWhatIfConditions::class, 'createFromDiscriminatorValue'])), - 'conditionalAccessWhatIfSubject' => fn(ParseNode $n) => $o->setConditionalAccessWhatIfSubject($n->getObjectValue([ConditionalAccessWhatIfSubject::class, 'createFromDiscriminatorValue'])), - ]; - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeBooleanValue('appliedPoliciesOnly', $this->getAppliedPoliciesOnly()); - $writer->writeObjectValue('conditionalAccessContext', $this->getConditionalAccessContext()); - $writer->writeObjectValue('conditionalAccessWhatIfConditions', $this->getConditionalAccessWhatIfConditions()); - $writer->writeObjectValue('conditionalAccessWhatIfSubject', $this->getConditionalAccessWhatIfSubject()); - $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 appliedPoliciesOnly property value. The appliedPoliciesOnly property - * @param bool|null $value Value to set for the appliedPoliciesOnly property. - */ - public function setAppliedPoliciesOnly(?bool $value): void { - $this->getBackingStore()->set('appliedPoliciesOnly', $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 conditionalAccessContext property value. The conditionalAccessContext property - * @param ConditionalAccessContext|null $value Value to set for the conditionalAccessContext property. - */ - public function setConditionalAccessContext(?ConditionalAccessContext $value): void { - $this->getBackingStore()->set('conditionalAccessContext', $value); - } - - /** - * Sets the conditionalAccessWhatIfConditions property value. The conditionalAccessWhatIfConditions property - * @param ConditionalAccessWhatIfConditions|null $value Value to set for the conditionalAccessWhatIfConditions property. - */ - public function setConditionalAccessWhatIfConditions(?ConditionalAccessWhatIfConditions $value): void { - $this->getBackingStore()->set('conditionalAccessWhatIfConditions', $value); - } - - /** - * Sets the conditionalAccessWhatIfSubject property value. The conditionalAccessWhatIfSubject property - * @param ConditionalAccessWhatIfSubject|null $value Value to set for the conditionalAccessWhatIfSubject property. - */ - public function setConditionalAccessWhatIfSubject(?ConditionalAccessWhatIfSubject $value): void { - $this->getBackingStore()->set('conditionalAccessWhatIfSubject', $value); - } - -} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index aef078a5c69..00000000000 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param NamedLocationItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?NamedLocationItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new NamedLocationItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return NamedLocationItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): NamedLocationItemRequestBuilderGetQueryParameters { - return new NamedLocationItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php deleted file mode 100644 index b8cc666584e..00000000000 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.php +++ /dev/null @@ -1,135 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the namedLocations property of the microsoft.graph.conditionalAccessRoot entity. - * @param string $namedLocationId The unique identifier of namedLocation - * @return NamedLocationItemRequestBuilder - */ - public function byNamedLocationId(string $namedLocationId): NamedLocationItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['namedLocation%2Did'] = $namedLocationId; - return new NamedLocationItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new NamedLocationsRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/identity/conditionalAccess/namedLocations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Get a list of namedLocation objects. - * @param NamedLocationsRequestBuilderGetRequestConfiguration|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/conditionalaccessroot-list-namedlocations?view=graph-rest-beta Find more info here - */ - public function get(?NamedLocationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [NamedLocationCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. - * @param NamedLocation $body The request body - * @param NamedLocationsRequestBuilderPostRequestConfiguration|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/conditionalaccessroot-post-namedlocations?view=graph-rest-beta Find more info here - */ - public function post(NamedLocation $body, ?NamedLocationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [NamedLocation::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Get a list of namedLocation objects. - * @param NamedLocationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?NamedLocationsRequestBuilderGetRequestConfiguration $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 namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. - * @param NamedLocation $body The request body - * @param NamedLocationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(NamedLocation $body, ?NamedLocationsRequestBuilderPostRequestConfiguration $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 NamedLocationsRequestBuilder - */ - public function withUrl(string $rawUrl): NamedLocationsRequestBuilder { - return new NamedLocationsRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php deleted file mode 100644 index f8d227a0507..00000000000 --- a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.php +++ /dev/null @@ -1,146 +0,0 @@ -|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/identity/conditionalAccess/policies/{conditionalAccessPolicy%2Did}{?%24expand,%24select}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Delete a conditionalAccessPolicy object. - * @param ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration|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/conditionalaccesspolicy-delete?view=graph-rest-beta Find more info here - */ - public function delete(?ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); - } - - /** - * Retrieve the properties and relationships of a conditionalAccessPolicy object. - * @param ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration|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/conditionalaccesspolicy-get?view=graph-rest-beta Find more info here - */ - public function get(?ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Update the properties of a conditionalAccessPolicy object. - * @param ConditionalAccessPolicy $body The request body - * @param ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration|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/conditionalaccesspolicy-update?view=graph-rest-beta Find more info here - */ - public function patch(ConditionalAccessPolicy $body, ?ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Delete a conditionalAccessPolicy object. - * @param ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toDeleteRequestInformation(?ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration $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; - } - - /** - * Retrieve the properties and relationships of a conditionalAccessPolicy object. - * @param ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration $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 conditionalAccessPolicy object. - * @param ConditionalAccessPolicy $body The request body - * @param ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(ConditionalAccessPolicy $body, ?ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration $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 ConditionalAccessPolicyItemRequestBuilder - */ - public function withUrl(string $rawUrl): ConditionalAccessPolicyItemRequestBuilder { - return new ConditionalAccessPolicyItemRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 84a3d4c09e3..00000000000 --- a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index 7f4550e1f6e..00000000000 --- a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ConditionalAccessPolicyItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ConditionalAccessPolicyItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ConditionalAccessPolicyItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ConditionalAccessPolicyItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ConditionalAccessPolicyItemRequestBuilderGetQueryParameters { - return new ConditionalAccessPolicyItemRequestBuilderGetQueryParameters($expand, $select); - } - -} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration.php deleted file mode 100644 index f3d87141556..00000000000 --- a/src/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - */ - public function __construct(?array $headers = null, ?array $options = null) { - parent::__construct($headers ?? [], $options ?? []); - } - -} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php deleted file mode 100644 index 8465e2c2c99..00000000000 --- a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.php +++ /dev/null @@ -1,135 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the policies property of the microsoft.graph.conditionalAccessRoot entity. - * @param string $conditionalAccessPolicyId The unique identifier of conditionalAccessPolicy - * @return ConditionalAccessPolicyItemRequestBuilder - */ - public function byConditionalAccessPolicyId(string $conditionalAccessPolicyId): ConditionalAccessPolicyItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['conditionalAccessPolicy%2Did'] = $conditionalAccessPolicyId; - return new ConditionalAccessPolicyItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new PoliciesRequestBuilder and sets the default values. - * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. - * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. - */ - public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/identity/conditionalAccess/policies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * Retrieve a list of conditionalAccessPolicy objects. - * @param PoliciesRequestBuilderGetRequestConfiguration|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/conditionalaccessroot-list-policies?view=graph-rest-beta Find more info here - */ - public function get(?PoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConditionalAccessPolicyCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create a new conditionalAccessPolicy. - * @param ConditionalAccessPolicy $body The request body - * @param PoliciesRequestBuilderPostRequestConfiguration|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/conditionalaccessroot-post-policies?view=graph-rest-beta Find more info here - */ - public function post(ConditionalAccessPolicy $body, ?PoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Retrieve a list of conditionalAccessPolicy objects. - * @param PoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?PoliciesRequestBuilderGetRequestConfiguration $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 conditionalAccessPolicy. - * @param ConditionalAccessPolicy $body The request body - * @param PoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ConditionalAccessPolicy $body, ?PoliciesRequestBuilderPostRequestConfiguration $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 PoliciesRequestBuilder - */ - public function withUrl(string $rawUrl): PoliciesRequestBuilder { - return new PoliciesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 329adf0bf01..6055c2f21ae 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-beta Find more info here */ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?CustomCalloutExtensionItemRequestBui } /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|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/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php index 0c3bbf4d14d..c63948e8ae2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. */ class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { 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/Models/ActivitiesContainer.php b/src/Generated/Models/ActivitiesContainer.php new file mode 100644 index 00000000000..e838ace1165 --- /dev/null +++ b/src/Generated/Models/ActivitiesContainer.php @@ -0,0 +1,70 @@ +|null + */ + public function getContentActivities(): ?array { + $val = $this->getBackingStore()->get('contentActivities'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ContentActivity::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentActivities'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'contentActivities' => fn(ParseNode $n) => $o->setContentActivities($n->getCollectionOfObjectValues([ContentActivity::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('contentActivities', $this->getContentActivities()); + } + + /** + * Sets the contentActivities property value. The contentActivities property + * @param array|null $value Value to set for the contentActivities property. + */ + public function setContentActivities(?array $value): void { + $this->getBackingStore()->set('contentActivities', $value); + } + +} diff --git a/src/Generated/Models/AuthenticationFlow.php b/src/Generated/Models/ActivityMetadata.php similarity index 74% rename from src/Generated/Models/AuthenticationFlow.php rename to src/Generated/Models/ActivityMetadata.php index 065b69df5cb..062591e1141 100644 --- a/src/Generated/Models/AuthenticationFlow.php +++ b/src/Generated/Models/ActivityMetadata.php @@ -10,7 +10,7 @@ use Microsoft\Kiota\Abstractions\Store\BackingStore; use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -class AuthenticationFlow implements AdditionalDataHolder, BackedModel, Parsable +class ActivityMetadata implements AdditionalDataHolder, BackedModel, Parsable { /** * @var BackingStore $backingStore Stores model information. @@ -18,7 +18,7 @@ class AuthenticationFlow implements AdditionalDataHolder, BackedModel, Parsable private BackingStore $backingStore; /** - * Instantiates a new AuthenticationFlow and sets the default values. + * Instantiates a new ActivityMetadata and sets the default values. */ public function __construct() { $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,10 +28,22 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return AuthenticationFlow + * @return ActivityMetadata */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): AuthenticationFlow { - return new AuthenticationFlow(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ActivityMetadata { + return new ActivityMetadata(); + } + + /** + * Gets the activity property value. The activity property + * @return UserActivityType|null + */ + public function getActivity(): ?UserActivityType { + $val = $this->getBackingStore()->get('activity'); + if (is_null($val) || $val instanceof UserActivityType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activity'"); } /** @@ -62,8 +74,8 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ + 'activity' => fn(ParseNode $n) => $o->setActivity($n->getEnumValue(UserActivityType::class)), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'transferMethod' => fn(ParseNode $n) => $o->setTransferMethod($n->getEnumValue(ConditionalAccessTransferMethods::class)), ]; } @@ -79,28 +91,24 @@ public function getOdataType(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); } - /** - * Gets the transferMethod property value. Represents the transfer methods in scope for the policy. The possible values are: none, deviceCodeFlow, authenticationTransfer, unknownFutureValue. - * @return ConditionalAccessTransferMethods|null - */ - public function getTransferMethod(): ?ConditionalAccessTransferMethods { - $val = $this->getBackingStore()->get('transferMethod'); - if (is_null($val) || $val instanceof ConditionalAccessTransferMethods) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'transferMethod'"); - } - /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('activity', $this->getActivity()); $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeEnumValue('transferMethod', $this->getTransferMethod()); $writer->writeAdditionalData($this->getAdditionalData()); } + /** + * Sets the activity property value. The activity property + * @param UserActivityType|null $value Value to set for the activity property. + */ + public function setActivity(?UserActivityType $value): void { + $this->getBackingStore()->set('activity', $value); + } + /** * 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. @@ -125,12 +133,4 @@ public function setOdataType(?string $value): void { $this->getBackingStore()->set('odataType', $value); } - /** - * Sets the transferMethod property value. Represents the transfer methods in scope for the policy. The possible values are: none, deviceCodeFlow, authenticationTransfer, unknownFutureValue. - * @param ConditionalAccessTransferMethods|null $value Value to set for the transferMethod property. - */ - public function setTransferMethod(?ConditionalAccessTransferMethods $value): void { - $this->getBackingStore()->set('transferMethod', $value); - } - } diff --git a/src/Generated/Models/Admin.php b/src/Generated/Models/Admin.php index 1999c492e5f..aece3be48f6 100644 --- a/src/Generated/Models/Admin.php +++ b/src/Generated/Models/Admin.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Beta\Generated\Models; +use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TeamsAdminRoot; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -134,6 +135,7 @@ public function getFieldDeserializers(): array { 'reportSettings' => fn(ParseNode $n) => $o->setReportSettings($n->getObjectValue([AdminReportSettings::class, 'createFromDiscriminatorValue'])), 'serviceAnnouncement' => fn(ParseNode $n) => $o->setServiceAnnouncement($n->getObjectValue([ServiceAnnouncement::class, 'createFromDiscriminatorValue'])), 'sharepoint' => fn(ParseNode $n) => $o->setSharepoint($n->getObjectValue([Sharepoint::class, 'createFromDiscriminatorValue'])), + 'teams' => fn(ParseNode $n) => $o->setTeams($n->getObjectValue([TeamsAdminRoot::class, 'createFromDiscriminatorValue'])), 'todo' => fn(ParseNode $n) => $o->setTodo($n->getObjectValue([AdminTodo::class, 'createFromDiscriminatorValue'])), 'windows' => fn(ParseNode $n) => $o->setWindows($n->getObjectValue([AdminWindows::class, 'createFromDiscriminatorValue'])), ]; @@ -223,6 +225,18 @@ public function getSharepoint(): ?Sharepoint { throw new \UnexpectedValueException("Invalid type found in backing store for 'sharepoint'"); } + /** + * Gets the teams property value. Represents a collection of user configurations. + * @return TeamsAdminRoot|null + */ + public function getTeams(): ?TeamsAdminRoot { + $val = $this->getBackingStore()->get('teams'); + if (is_null($val) || $val instanceof TeamsAdminRoot) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'teams'"); + } + /** * Gets the todo property value. The todo property * @return AdminTodo|null @@ -264,6 +278,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('reportSettings', $this->getReportSettings()); $writer->writeObjectValue('serviceAnnouncement', $this->getServiceAnnouncement()); $writer->writeObjectValue('sharepoint', $this->getSharepoint()); + $writer->writeObjectValue('teams', $this->getTeams()); $writer->writeObjectValue('todo', $this->getTodo()); $writer->writeObjectValue('windows', $this->getWindows()); $writer->writeAdditionalData($this->getAdditionalData()); @@ -381,6 +396,14 @@ public function setSharepoint(?Sharepoint $value): void { $this->getBackingStore()->set('sharepoint', $value); } + /** + * Sets the teams property value. Represents a collection of user configurations. + * @param TeamsAdminRoot|null $value Value to set for the teams property. + */ + public function setTeams(?TeamsAdminRoot $value): void { + $this->getBackingStore()->set('teams', $value); + } + /** * Sets the todo property value. The todo property * @param AdminTodo|null $value Value to set for the todo property. diff --git a/src/Generated/Models/AiInteractionMentionedIdentitySet.php b/src/Generated/Models/AiInteractionMentionedIdentitySet.php index e0e3caf570f..595494eceb7 100644 --- a/src/Generated/Models/AiInteractionMentionedIdentitySet.php +++ b/src/Generated/Models/AiInteractionMentionedIdentitySet.php @@ -26,7 +26,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInt } /** - * Gets the conversation property value. The conversation details. + * Gets the conversation property value. The conversation property * @return TeamworkConversationIdentity|null */ public function getConversation(): ?TeamworkConversationIdentity { @@ -72,7 +72,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the conversation property value. The conversation details. + * Sets the conversation property value. The conversation property * @param TeamworkConversationIdentity|null $value Value to set for the conversation property. */ public function setConversation(?TeamworkConversationIdentity $value): void { diff --git a/src/Generated/Models/AiInteractionPlugin.php b/src/Generated/Models/AiInteractionPlugin.php new file mode 100644 index 00000000000..47e212b55f2 --- /dev/null +++ b/src/Generated/Models/AiInteractionPlugin.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 AiInteractionPlugin + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInteractionPlugin { + return new AiInteractionPlugin(); + } + + /** + * 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 [ + 'identifier' => fn(ParseNode $n) => $o->setIdentifier($n->getStringValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'version' => fn(ParseNode $n) => $o->setVersion($n->getStringValue()), + ]; + } + + /** + * Gets the identifier property value. The identifier property + * @return string|null + */ + public function getIdentifier(): ?string { + $val = $this->getBackingStore()->get('identifier'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identifier'"); + } + + /** + * Gets the name property value. The name property + * @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 @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 version property value. The version property + * @return string|null + */ + public function getVersion(): ?string { + $val = $this->getBackingStore()->get('version'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'version'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('identifier', $this->getIdentifier()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('version', $this->getVersion()); + $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 identifier property value. The identifier property + * @param string|null $value Value to set for the identifier property. + */ + public function setIdentifier(?string $value): void { + $this->getBackingStore()->set('identifier', $value); + } + + /** + * Sets the name property value. The name property + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $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 version property value. The version property + * @param string|null $value Value to set for the version property. + */ + public function setVersion(?string $value): void { + $this->getBackingStore()->set('version', $value); + } + +} diff --git a/src/Generated/Models/AiOnlineMeeting.php b/src/Generated/Models/AiOnlineMeeting.php new file mode 100644 index 00000000000..5e291b16d89 --- /dev/null +++ b/src/Generated/Models/AiOnlineMeeting.php @@ -0,0 +1,70 @@ +|null + */ + public function getAiInsights(): ?array { + $val = $this->getBackingStore()->get('aiInsights'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, CallAiInsight::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'aiInsights'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'aiInsights' => fn(ParseNode $n) => $o->setAiInsights($n->getCollectionOfObjectValues([CallAiInsight::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('aiInsights', $this->getAiInsights()); + } + + /** + * Sets the aiInsights property value. The aiInsights property + * @param array|null $value Value to set for the aiInsights property. + */ + public function setAiInsights(?array $value): void { + $this->getBackingStore()->set('aiInsights', $value); + } + +} diff --git a/src/Generated/Models/AiUser.php b/src/Generated/Models/AiUser.php index 66351ba5276..3cc695d33f5 100644 --- a/src/Generated/Models/AiUser.php +++ b/src/Generated/Models/AiUser.php @@ -5,6 +5,7 @@ use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; class AiUser extends Entity implements Parsable { @@ -32,6 +33,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'interactionHistory' => fn(ParseNode $n) => $o->setInteractionHistory($n->getObjectValue([AiInteractionHistory::class, 'createFromDiscriminatorValue'])), + 'onlineMeetings' => fn(ParseNode $n) => $o->setOnlineMeetings($n->getCollectionOfObjectValues([AiOnlineMeeting::class, 'createFromDiscriminatorValue'])), ]); } @@ -47,6 +49,20 @@ public function getInteractionHistory(): ?AiInteractionHistory { throw new \UnexpectedValueException("Invalid type found in backing store for 'interactionHistory'"); } + /** + * Gets the onlineMeetings property value. The onlineMeetings property + * @return array|null + */ + public function getOnlineMeetings(): ?array { + $val = $this->getBackingStore()->get('onlineMeetings'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AiOnlineMeeting::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'onlineMeetings'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -54,6 +70,7 @@ public function getInteractionHistory(): ?AiInteractionHistory { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('interactionHistory', $this->getInteractionHistory()); + $writer->writeCollectionOfObjectValues('onlineMeetings', $this->getOnlineMeetings()); } /** @@ -64,4 +81,12 @@ public function setInteractionHistory(?AiInteractionHistory $value): void { $this->getBackingStore()->set('interactionHistory', $value); } + /** + * Sets the onlineMeetings property value. The onlineMeetings property + * @param array|null $value Value to set for the onlineMeetings property. + */ + public function setOnlineMeetings(?array $value): void { + $this->getBackingStore()->set('onlineMeetings', $value); + } + } diff --git a/src/Generated/Models/AndroidManagedAppProtection.php b/src/Generated/Models/AndroidManagedAppProtection.php index 124a6da69c7..24eec1b46d9 100644 --- a/src/Generated/Models/AndroidManagedAppProtection.php +++ b/src/Generated/Models/AndroidManagedAppProtection.php @@ -240,7 +240,7 @@ public function getConnectToVpnOnLaunch(): ?bool { } /** - * Gets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. + * Gets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. * @return string|null */ public function getCustomBrowserDisplayName(): ?string { @@ -252,7 +252,7 @@ public function getCustomBrowserDisplayName(): ?string { } /** - * Gets the customBrowserPackageId property value. Unique identifier of a custom browser to open weblink on Android. + * Gets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. * @return string|null */ public function getCustomBrowserPackageId(): ?string { @@ -829,7 +829,7 @@ public function setConnectToVpnOnLaunch(?bool $value): void { } /** - * Sets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. + * Sets the customBrowserDisplayName property value. Friendly name of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. * @param string|null $value Value to set for the customBrowserDisplayName property. */ public function setCustomBrowserDisplayName(?string $value): void { @@ -837,7 +837,7 @@ public function setCustomBrowserDisplayName(?string $value): void { } /** - * Sets the customBrowserPackageId property value. Unique identifier of a custom browser to open weblink on Android. + * Sets the customBrowserPackageId property value. Unique identifier of the preferred custom browser to open weblink on Android. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. * @param string|null $value Value to set for the customBrowserPackageId property. */ public function setCustomBrowserPackageId(?string $value): void { diff --git a/src/Generated/Models/Authentication.php b/src/Generated/Models/Authentication.php index 2398afbbda3..401fba28d6f 100644 --- a/src/Generated/Models/Authentication.php +++ b/src/Generated/Models/Authentication.php @@ -70,6 +70,7 @@ public function getFieldDeserializers(): array { 'passwordMethods' => fn(ParseNode $n) => $o->setPasswordMethods($n->getCollectionOfObjectValues([PasswordAuthenticationMethod::class, 'createFromDiscriminatorValue'])), 'phoneMethods' => fn(ParseNode $n) => $o->setPhoneMethods($n->getCollectionOfObjectValues([PhoneAuthenticationMethod::class, 'createFromDiscriminatorValue'])), 'platformCredentialMethods' => fn(ParseNode $n) => $o->setPlatformCredentialMethods($n->getCollectionOfObjectValues([PlatformCredentialAuthenticationMethod::class, 'createFromDiscriminatorValue'])), + 'qrCodePinMethod' => fn(ParseNode $n) => $o->setQrCodePinMethod($n->getObjectValue([QrCodePinAuthenticationMethod::class, 'createFromDiscriminatorValue'])), 'requirements' => fn(ParseNode $n) => $o->setRequirements($n->getObjectValue([StrongAuthenticationRequirements::class, 'createFromDiscriminatorValue'])), 'signInPreferences' => fn(ParseNode $n) => $o->setSignInPreferences($n->getObjectValue([SignInPreferences::class, 'createFromDiscriminatorValue'])), 'softwareOathMethods' => fn(ParseNode $n) => $o->setSoftwareOathMethods($n->getCollectionOfObjectValues([SoftwareOathAuthenticationMethod::class, 'createFromDiscriminatorValue'])), @@ -177,7 +178,7 @@ public function getPhoneMethods(): ?array { } /** - * Gets the platformCredentialMethods property value. The platformCredentialMethods property + * Gets the platformCredentialMethods property value. Represents a platform credential instance registered to a user on Mac OS. * @return array|null */ public function getPlatformCredentialMethods(): ?array { @@ -190,6 +191,18 @@ public function getPlatformCredentialMethods(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'platformCredentialMethods'"); } + /** + * Gets the qrCodePinMethod property value. Represents a QR code authentication method registered to a user for authentication. + * @return QrCodePinAuthenticationMethod|null + */ + public function getQrCodePinMethod(): ?QrCodePinAuthenticationMethod { + $val = $this->getBackingStore()->get('qrCodePinMethod'); + if (is_null($val) || $val instanceof QrCodePinAuthenticationMethod) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'qrCodePinMethod'"); + } + /** * Gets the requirements property value. The settings and preferences for per-user Microsoft Entra multifactor authentication. * @return StrongAuthenticationRequirements|null @@ -272,6 +285,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('passwordMethods', $this->getPasswordMethods()); $writer->writeCollectionOfObjectValues('phoneMethods', $this->getPhoneMethods()); $writer->writeCollectionOfObjectValues('platformCredentialMethods', $this->getPlatformCredentialMethods()); + $writer->writeObjectValue('qrCodePinMethod', $this->getQrCodePinMethod()); $writer->writeObjectValue('requirements', $this->getRequirements()); $writer->writeObjectValue('signInPreferences', $this->getSignInPreferences()); $writer->writeCollectionOfObjectValues('softwareOathMethods', $this->getSoftwareOathMethods()); @@ -352,13 +366,21 @@ public function setPhoneMethods(?array $value): void { } /** - * Sets the platformCredentialMethods property value. The platformCredentialMethods property + * Sets the platformCredentialMethods property value. Represents a platform credential instance registered to a user on Mac OS. * @param array|null $value Value to set for the platformCredentialMethods property. */ public function setPlatformCredentialMethods(?array $value): void { $this->getBackingStore()->set('platformCredentialMethods', $value); } + /** + * Sets the qrCodePinMethod property value. Represents a QR code authentication method registered to a user for authentication. + * @param QrCodePinAuthenticationMethod|null $value Value to set for the qrCodePinMethod property. + */ + public function setQrCodePinMethod(?QrCodePinAuthenticationMethod $value): void { + $this->getBackingStore()->set('qrCodePinMethod', $value); + } + /** * Sets the requirements property value. The settings and preferences for per-user Microsoft Entra multifactor authentication. * @param StrongAuthenticationRequirements|null $value Value to set for the requirements property. diff --git a/src/Generated/Models/AuthenticationMethod.php b/src/Generated/Models/AuthenticationMethod.php index 3ff6bd07ed4..1a6b70aa1c1 100644 --- a/src/Generated/Models/AuthenticationMethod.php +++ b/src/Generated/Models/AuthenticationMethod.php @@ -34,6 +34,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Authe case '#microsoft.graph.passwordlessMicrosoftAuthenticatorAuthenticationMethod': return new PasswordlessMicrosoftAuthenticatorAuthenticationMethod(); case '#microsoft.graph.phoneAuthenticationMethod': return new PhoneAuthenticationMethod(); case '#microsoft.graph.platformCredentialAuthenticationMethod': return new PlatformCredentialAuthenticationMethod(); + case '#microsoft.graph.qrCodePinAuthenticationMethod': return new QrCodePinAuthenticationMethod(); case '#microsoft.graph.softwareOathAuthenticationMethod': return new SoftwareOathAuthenticationMethod(); case '#microsoft.graph.temporaryAccessPassAuthenticationMethod': return new TemporaryAccessPassAuthenticationMethod(); case '#microsoft.graph.windowsHelloForBusinessAuthenticationMethod': return new WindowsHelloForBusinessAuthenticationMethod(); diff --git a/src/Generated/Models/AuthenticationMethodConfiguration.php b/src/Generated/Models/AuthenticationMethodConfiguration.php index 354eb495448..29a61a678c6 100644 --- a/src/Generated/Models/AuthenticationMethodConfiguration.php +++ b/src/Generated/Models/AuthenticationMethodConfiguration.php @@ -31,6 +31,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Authe case '#microsoft.graph.fido2AuthenticationMethodConfiguration': return new Fido2AuthenticationMethodConfiguration(); case '#microsoft.graph.hardwareOathAuthenticationMethodConfiguration': return new HardwareOathAuthenticationMethodConfiguration(); case '#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration': return new MicrosoftAuthenticatorAuthenticationMethodConfiguration(); + case '#microsoft.graph.qrCodePinAuthenticationMethodConfiguration': return new QrCodePinAuthenticationMethodConfiguration(); case '#microsoft.graph.smsAuthenticationMethodConfiguration': return new SmsAuthenticationMethodConfiguration(); case '#microsoft.graph.softwareOathAuthenticationMethodConfiguration': return new SoftwareOathAuthenticationMethodConfiguration(); case '#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration': return new TemporaryAccessPassAuthenticationMethodConfiguration(); diff --git a/src/Generated/Models/AuthenticationMethodModes.php b/src/Generated/Models/AuthenticationMethodModes.php index 45a727a4aed..6ea2d092842 100644 --- a/src/Generated/Models/AuthenticationMethodModes.php +++ b/src/Generated/Models/AuthenticationMethodModes.php @@ -22,4 +22,5 @@ class AuthenticationMethodModes extends Enum { public const FEDERATED_SINGLE_FACTOR = "federatedSingleFactor"; public const FEDERATED_MULTI_FACTOR = "federatedMultiFactor"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + public const QR_CODE_PIN = "qrCodePin"; } diff --git a/src/Generated/Models/AuthenticationStrengthUsage.php b/src/Generated/Models/AuthenticationStrengthUsage.php index 8af750dc2d7..df89a505a54 100644 --- a/src/Generated/Models/AuthenticationStrengthUsage.php +++ b/src/Generated/Models/AuthenticationStrengthUsage.php @@ -9,7 +9,6 @@ use Microsoft\Kiota\Abstractions\Store\BackedModel; use Microsoft\Kiota\Abstractions\Store\BackingStore; use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -use Microsoft\Kiota\Abstractions\Types\TypeUtils; class AuthenticationStrengthUsage implements AdditionalDataHolder, BackedModel, Parsable { @@ -63,40 +62,10 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ - 'mfa' => fn(ParseNode $n) => $o->setMfa($n->getCollectionOfObjectValues([ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'])), - 'none' => fn(ParseNode $n) => $o->setNone($n->getCollectionOfObjectValues([ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; } - /** - * Gets the mfa property value. The mfa property - * @return array|null - */ - public function getMfa(): ?array { - $val = $this->getBackingStore()->get('mfa'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConditionalAccessPolicy::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mfa'"); - } - - /** - * Gets the none property value. The none property - * @return array|null - */ - public function getNone(): ?array { - $val = $this->getBackingStore()->get('none'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConditionalAccessPolicy::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'none'"); - } - /** * Gets the @odata.type property value. The OdataType property * @return string|null @@ -114,8 +83,6 @@ public function getOdataType(): ?string { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { - $writer->writeCollectionOfObjectValues('mfa', $this->getMfa()); - $writer->writeCollectionOfObjectValues('none', $this->getNone()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -136,22 +103,6 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } - /** - * Sets the mfa property value. The mfa property - * @param array|null $value Value to set for the mfa property. - */ - public function setMfa(?array $value): void { - $this->getBackingStore()->set('mfa', $value); - } - - /** - * Sets the none property value. The none property - * @param array|null $value Value to set for the none property. - */ - public function setNone(?array $value): void { - $this->getBackingStore()->set('none', $value); - } - /** * Sets the @odata.type property value. The OdataType property * @param string|null $value Value to set for the @odata.type property. diff --git a/src/Generated/Models/BaseAuthenticationMethod.php b/src/Generated/Models/BaseAuthenticationMethod.php index cc4fd3d740a..d8458618eec 100644 --- a/src/Generated/Models/BaseAuthenticationMethod.php +++ b/src/Generated/Models/BaseAuthenticationMethod.php @@ -18,4 +18,5 @@ class BaseAuthenticationMethod extends Enum { public const X509_CERTIFICATE = "x509Certificate"; public const FEDERATION = "federation"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + public const QR_CODE_PIN = "qrCodePin"; } diff --git a/src/Generated/Models/WhatIfUserActionContext.php b/src/Generated/Models/BinaryContent.php similarity index 54% rename from src/Generated/Models/WhatIfUserActionContext.php rename to src/Generated/Models/BinaryContent.php index 818da25c73c..7c727175ae7 100644 --- a/src/Generated/Models/WhatIfUserActionContext.php +++ b/src/Generated/Models/BinaryContent.php @@ -5,24 +5,37 @@ use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Psr\Http\Message\StreamInterface; -class WhatIfUserActionContext extends ConditionalAccessContext implements Parsable +class BinaryContent extends ContentBase implements Parsable { /** - * Instantiates a new WhatIfUserActionContext and sets the default values. + * Instantiates a new BinaryContent and sets the default values. */ public function __construct() { parent::__construct(); - $this->setOdataType('#microsoft.graph.whatIfUserActionContext'); + $this->setOdataType('#microsoft.graph.binaryContent'); } /** * 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 WhatIfUserActionContext + * @return BinaryContent */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): WhatIfUserActionContext { - return new WhatIfUserActionContext(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): BinaryContent { + return new BinaryContent(); + } + + /** + * Gets the data property value. The data property + * @return StreamInterface|null + */ + public function getData(): ?StreamInterface { + $val = $this->getBackingStore()->get('data'); + if (is_null($val) || $val instanceof StreamInterface) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'data'"); } /** @@ -32,37 +45,25 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): WhatI public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'userAction' => fn(ParseNode $n) => $o->setUserAction($n->getEnumValue(UserAction::class)), + 'data' => fn(ParseNode $n) => $o->setData($n->getBinaryContent()), ]); } - /** - * Gets the userAction property value. The userAction property - * @return UserAction|null - */ - public function getUserAction(): ?UserAction { - $val = $this->getBackingStore()->get('userAction'); - if (is_null($val) || $val instanceof UserAction) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'userAction'"); - } - /** * 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('userAction', $this->getUserAction()); + $writer->writeBinaryContent('data', $this->getData()); } /** - * Sets the userAction property value. The userAction property - * @param UserAction|null $value Value to set for the userAction property. + * Sets the data property value. The data property + * @param StreamInterface|null $value Value to set for the data property. */ - public function setUserAction(?UserAction $value): void { - $this->getBackingStore()->set('userAction', $value); + public function setData(?StreamInterface $value): void { + $this->getBackingStore()->set('data', $value); } } diff --git a/src/Generated/Models/CallOptions.php b/src/Generated/Models/CallOptions.php index f9317bca1b0..a95ec49c72e 100644 --- a/src/Generated/Models/CallOptions.php +++ b/src/Generated/Models/CallOptions.php @@ -73,6 +73,7 @@ public function getFieldDeserializers(): array { 'hideBotAfterEscalation' => fn(ParseNode $n) => $o->setHideBotAfterEscalation($n->getBooleanValue()), 'isContentSharingNotificationEnabled' => fn(ParseNode $n) => $o->setIsContentSharingNotificationEnabled($n->getBooleanValue()), 'isDeltaRosterEnabled' => fn(ParseNode $n) => $o->setIsDeltaRosterEnabled($n->getBooleanValue()), + 'isInteractiveRosterEnabled' => fn(ParseNode $n) => $o->setIsInteractiveRosterEnabled($n->getBooleanValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; } @@ -113,6 +114,18 @@ public function getIsDeltaRosterEnabled(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isDeltaRosterEnabled'"); } + /** + * Gets the isInteractiveRosterEnabled property value. Indicates whether delta roster filtering by participant interactivity is enabled. + * @return bool|null + */ + public function getIsInteractiveRosterEnabled(): ?bool { + $val = $this->getBackingStore()->get('isInteractiveRosterEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isInteractiveRosterEnabled'"); + } + /** * Gets the @odata.type property value. The OdataType property * @return string|null @@ -133,6 +146,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeBooleanValue('hideBotAfterEscalation', $this->getHideBotAfterEscalation()); $writer->writeBooleanValue('isContentSharingNotificationEnabled', $this->getIsContentSharingNotificationEnabled()); $writer->writeBooleanValue('isDeltaRosterEnabled', $this->getIsDeltaRosterEnabled()); + $writer->writeBooleanValue('isInteractiveRosterEnabled', $this->getIsInteractiveRosterEnabled()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -177,6 +191,14 @@ public function setIsDeltaRosterEnabled(?bool $value): void { $this->getBackingStore()->set('isDeltaRosterEnabled', $value); } + /** + * Sets the isInteractiveRosterEnabled property value. Indicates whether delta roster filtering by participant interactivity is enabled. + * @param bool|null $value Value to set for the isInteractiveRosterEnabled property. + */ + public function setIsInteractiveRosterEnabled(?bool $value): void { + $this->getBackingStore()->set('isInteractiveRosterEnabled', $value); + } + /** * Sets the @odata.type property value. The OdataType property * @param string|null $value Value to set for the @odata.type property. diff --git a/src/Generated/Models/ClassifcationErrorBase.php b/src/Generated/Models/ClassifcationErrorBase.php index 5101428c274..15548611749 100644 --- a/src/Generated/Models/ClassifcationErrorBase.php +++ b/src/Generated/Models/ClassifcationErrorBase.php @@ -36,6 +36,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Class $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { case '#microsoft.graph.classificationError': return new ClassificationError(); + case '#microsoft.graph.processingError': return new ProcessingError(); } } return new ClassifcationErrorBase(); diff --git a/src/Generated/Models/ClassificationError.php b/src/Generated/Models/ClassificationError.php index 64b5aae4725..7ea4f3e188d 100644 --- a/src/Generated/Models/ClassificationError.php +++ b/src/Generated/Models/ClassificationError.php @@ -22,6 +22,13 @@ public function __construct() { * @return ClassificationError */ public static function createFromDiscriminatorValue(ParseNode $parseNode): ClassificationError { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.processingError': return new ProcessingError(); + } + } return new ClassificationError(); } diff --git a/src/Generated/Models/CloudPcBulkAction.php b/src/Generated/Models/CloudPcBulkAction.php index 1e009a62918..37aa498fc0c 100644 --- a/src/Generated/Models/CloudPcBulkAction.php +++ b/src/Generated/Models/CloudPcBulkAction.php @@ -28,12 +28,14 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Cloud $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { case '#microsoft.graph.cloudPcBulkCreateSnapshot': return new CloudPcBulkCreateSnapshot(); + case '#microsoft.graph.cloudPcBulkDisasterRecovery': return new CloudPcBulkDisasterRecovery(); case '#microsoft.graph.cloudPcBulkDisasterRecoveryFailback': return new CloudPcBulkDisasterRecoveryFailback(); case '#microsoft.graph.cloudPcBulkDisasterRecoveryFailover': return new CloudPcBulkDisasterRecoveryFailover(); case '#microsoft.graph.cloudPcBulkModifyDiskEncryptionType': return new CloudPcBulkModifyDiskEncryptionType(); case '#microsoft.graph.cloudPcBulkMove': return new CloudPcBulkMove(); case '#microsoft.graph.cloudPcBulkPowerOff': return new CloudPcBulkPowerOff(); case '#microsoft.graph.cloudPcBulkPowerOn': return new CloudPcBulkPowerOn(); + case '#microsoft.graph.cloudPcBulkReinstallAgent': return new CloudPcBulkReinstallAgent(); case '#microsoft.graph.cloudPcBulkReprovision': return new CloudPcBulkReprovision(); case '#microsoft.graph.cloudPcBulkResize': return new CloudPcBulkResize(); case '#microsoft.graph.cloudPcBulkRestart': return new CloudPcBulkRestart(); diff --git a/src/Generated/Models/CloudPcBulkCreateSnapshot.php b/src/Generated/Models/CloudPcBulkCreateSnapshot.php index 3d2fe5149db..9aa3a30fbc7 100644 --- a/src/Generated/Models/CloudPcBulkCreateSnapshot.php +++ b/src/Generated/Models/CloudPcBulkCreateSnapshot.php @@ -50,7 +50,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the storageAccountId property value. The unique identifier for Secure Azure Storage Account, which receives the restore points (snapshots). The value can't be modified after it's created. For example, '/subscriptions/06199b73-30a1-4922-8734-93feca64cdf6/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125'. Read-Only. + * Gets the storageAccountId property value. Indicates the unique identifier for Secure Azure Storage Account, which receives the restore points (snapshots). The value can't be modified after it's created. For example, '/subscriptions/06199b73-30a1-4922-8734-93feca64cdf6/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125'. Read-Only. * @return string|null */ public function getStorageAccountId(): ?string { @@ -80,7 +80,7 @@ public function setAccessTier(?CloudPcBlobAccessTier $value): void { } /** - * Sets the storageAccountId property value. The unique identifier for Secure Azure Storage Account, which receives the restore points (snapshots). The value can't be modified after it's created. For example, '/subscriptions/06199b73-30a1-4922-8734-93feca64cdf6/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125'. Read-Only. + * Sets the storageAccountId property value. Indicates the unique identifier for Secure Azure Storage Account, which receives the restore points (snapshots). The value can't be modified after it's created. For example, '/subscriptions/06199b73-30a1-4922-8734-93feca64cdf6/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125'. Read-Only. * @param string|null $value Value to set for the storageAccountId property. */ public function setStorageAccountId(?string $value): void { diff --git a/src/Generated/Models/CloudPcBulkDisasterRecovery.php b/src/Generated/Models/CloudPcBulkDisasterRecovery.php new file mode 100644 index 00000000000..d9af598cdc9 --- /dev/null +++ b/src/Generated/Models/CloudPcBulkDisasterRecovery.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.cloudPcBulkDisasterRecovery'); + } + + /** + * 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 CloudPcBulkDisasterRecovery + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CloudPcBulkDisasterRecovery { + return new CloudPcBulkDisasterRecovery(); + } + + /** + * Gets the capabilityType property value. The capabilityType property + * @return CloudPcDisasterRecoveryCapabilityType|null + */ + public function getCapabilityType(): ?CloudPcDisasterRecoveryCapabilityType { + $val = $this->getBackingStore()->get('capabilityType'); + if (is_null($val) || $val instanceof CloudPcDisasterRecoveryCapabilityType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'capabilityType'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'capabilityType' => fn(ParseNode $n) => $o->setCapabilityType($n->getEnumValue(CloudPcDisasterRecoveryCapabilityType::class)), + 'licenseType' => fn(ParseNode $n) => $o->setLicenseType($n->getEnumValue(CloudPcDisasterRecoveryLicenseType::class)), + ]); + } + + /** + * Gets the licenseType property value. The licenseType property + * @return CloudPcDisasterRecoveryLicenseType|null + */ + public function getLicenseType(): ?CloudPcDisasterRecoveryLicenseType { + $val = $this->getBackingStore()->get('licenseType'); + if (is_null($val) || $val instanceof CloudPcDisasterRecoveryLicenseType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'licenseType'"); + } + + /** + * 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('capabilityType', $this->getCapabilityType()); + $writer->writeEnumValue('licenseType', $this->getLicenseType()); + } + + /** + * Sets the capabilityType property value. The capabilityType property + * @param CloudPcDisasterRecoveryCapabilityType|null $value Value to set for the capabilityType property. + */ + public function setCapabilityType(?CloudPcDisasterRecoveryCapabilityType $value): void { + $this->getBackingStore()->set('capabilityType', $value); + } + + /** + * Sets the licenseType property value. The licenseType property + * @param CloudPcDisasterRecoveryLicenseType|null $value Value to set for the licenseType property. + */ + public function setLicenseType(?CloudPcDisasterRecoveryLicenseType $value): void { + $this->getBackingStore()->set('licenseType', $value); + } + +} diff --git a/src/Generated/Models/CloudPcBulkReinstallAgent.php b/src/Generated/Models/CloudPcBulkReinstallAgent.php new file mode 100644 index 00000000000..11b534e872d --- /dev/null +++ b/src/Generated/Models/CloudPcBulkReinstallAgent.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.cloudPcBulkReinstallAgent'); + } + + /** + * 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 CloudPcBulkReinstallAgent + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CloudPcBulkReinstallAgent { + return new CloudPcBulkReinstallAgent(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/CloudPcBulkResize.php b/src/Generated/Models/CloudPcBulkResize.php index d9863995681..597923baab4 100644 --- a/src/Generated/Models/CloudPcBulkResize.php +++ b/src/Generated/Models/CloudPcBulkResize.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the targetServicePlanId property value. The target service plan ID of the resize configuration with new vCPU and storage size. + * Gets the targetServicePlanId property value. Indicates the target service plan ID of the resize configuration with new vCPU and storage size. * @return string|null */ public function getTargetServicePlanId(): ?string { @@ -58,7 +58,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the targetServicePlanId property value. The target service plan ID of the resize configuration with new vCPU and storage size. + * Sets the targetServicePlanId property value. Indicates the target service plan ID of the resize configuration with new vCPU and storage size. * @param string|null $value Value to set for the targetServicePlanId property. */ public function setTargetServicePlanId(?string $value): void { diff --git a/src/Generated/Models/CloudPcBulkRestore.php b/src/Generated/Models/CloudPcBulkRestore.php index 613e54762ee..be21e4884f6 100644 --- a/src/Generated/Models/CloudPcBulkRestore.php +++ b/src/Generated/Models/CloudPcBulkRestore.php @@ -33,11 +33,24 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Cloud public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'ignoreUnhealthySnapshots' => fn(ParseNode $n) => $o->setIgnoreUnhealthySnapshots($n->getBooleanValue()), 'restorePointDateTime' => fn(ParseNode $n) => $o->setRestorePointDateTime($n->getDateTimeValue()), 'timeRange' => fn(ParseNode $n) => $o->setTimeRange($n->getEnumValue(RestoreTimeRange::class)), ]); } + /** + * Gets the ignoreUnhealthySnapshots property value. True indicates that snapshots of unhealthy Cloud PCs are ignored. If no healthy snapshot exists within the selected timeRange, the healthy snapshot closest to the restorePointDateTime is used. False indicates that the snapshot within the selected timeRange and closest to the restorePointDateTime is used. The default value is false. + * @return bool|null + */ + public function getIgnoreUnhealthySnapshots(): ?bool { + $val = $this->getBackingStore()->get('ignoreUnhealthySnapshots'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'ignoreUnhealthySnapshots'"); + } + /** * Gets the restorePointDateTime property value. The date and time point for the selected Cloud PCs to restore. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null @@ -68,10 +81,19 @@ public function getTimeRange(): ?RestoreTimeRange { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeBooleanValue('ignoreUnhealthySnapshots', $this->getIgnoreUnhealthySnapshots()); $writer->writeDateTimeValue('restorePointDateTime', $this->getRestorePointDateTime()); $writer->writeEnumValue('timeRange', $this->getTimeRange()); } + /** + * Sets the ignoreUnhealthySnapshots property value. True indicates that snapshots of unhealthy Cloud PCs are ignored. If no healthy snapshot exists within the selected timeRange, the healthy snapshot closest to the restorePointDateTime is used. False indicates that the snapshot within the selected timeRange and closest to the restorePointDateTime is used. The default value is false. + * @param bool|null $value Value to set for the ignoreUnhealthySnapshots property. + */ + public function setIgnoreUnhealthySnapshots(?bool $value): void { + $this->getBackingStore()->set('ignoreUnhealthySnapshots', $value); + } + /** * Sets the restorePointDateTime property value. The date and time point for the selected Cloud PCs to restore. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the restorePointDateTime property. diff --git a/src/Generated/Models/CloudPcDeviceImage.php b/src/Generated/Models/CloudPcDeviceImage.php index 6f9840e2ea4..62a0baa6bfa 100644 --- a/src/Generated/Models/CloudPcDeviceImage.php +++ b/src/Generated/Models/CloudPcDeviceImage.php @@ -86,6 +86,7 @@ public function getFieldDeserializers(): array { /** @var array|null $val */ $this->setScopeIds($val); }, + 'sizeInGB' => fn(ParseNode $n) => $o->setSizeInGB($n->getIntegerValue()), 'sourceImageResourceId' => fn(ParseNode $n) => $o->setSourceImageResourceId($n->getStringValue()), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(CloudPcDeviceImageStatus::class)), 'statusDetails' => fn(ParseNode $n) => $o->setStatusDetails($n->getEnumValue(CloudPcDeviceImageStatusDetails::class)), @@ -167,6 +168,18 @@ public function getScopeIds(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'scopeIds'"); } + /** + * Gets the sizeInGB property value. The sizeInGB property + * @return int|null + */ + public function getSizeInGB(): ?int { + $val = $this->getBackingStore()->get('sizeInGB'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sizeInGB'"); + } + /** * Gets the sourceImageResourceId property value. The unique identifier (ID) of the source image resource on Azure. The required ID format is: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'. Read-only. * @return string|null @@ -230,6 +243,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeEnumValue('osStatus', $this->getOsStatus()); $writer->writeStringValue('osVersionNumber', $this->getOsVersionNumber()); $writer->writeCollectionOfPrimitiveValues('scopeIds', $this->getScopeIds()); + $writer->writeIntegerValue('sizeInGB', $this->getSizeInGB()); $writer->writeStringValue('sourceImageResourceId', $this->getSourceImageResourceId()); $writer->writeEnumValue('status', $this->getStatus()); $writer->writeEnumValue('statusDetails', $this->getStatusDetails()); @@ -308,6 +322,14 @@ public function setScopeIds(?array $value): void { $this->getBackingStore()->set('scopeIds', $value); } + /** + * Sets the sizeInGB property value. The sizeInGB property + * @param int|null $value Value to set for the sizeInGB property. + */ + public function setSizeInGB(?int $value): void { + $this->getBackingStore()->set('sizeInGB', $value); + } + /** * Sets the sourceImageResourceId property value. The unique identifier (ID) of the source image resource on Azure. The required ID format is: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'. Read-only. * @param string|null $value Value to set for the sourceImageResourceId property. diff --git a/src/Generated/Models/CloudPcDisasterRecoveryCapability.php b/src/Generated/Models/CloudPcDisasterRecoveryCapability.php index 15feb617442..5d344d345ce 100644 --- a/src/Generated/Models/CloudPcDisasterRecoveryCapability.php +++ b/src/Generated/Models/CloudPcDisasterRecoveryCapability.php @@ -83,7 +83,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the licenseType property value. The disaster recovery license type that provides the capability. + * Gets the licenseType property value. The disaster recovery license type that provides the capability. The possible values are: none, standard, unknownFutureValue, plus. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: plus. * @return CloudPcDisasterRecoveryLicenseType|null */ public function getLicenseType(): ?CloudPcDisasterRecoveryLicenseType { @@ -168,7 +168,7 @@ public function setCapabilityType(?CloudPcDisasterRecoveryCapabilityType $value) } /** - * Sets the licenseType property value. The disaster recovery license type that provides the capability. + * Sets the licenseType property value. The disaster recovery license type that provides the capability. The possible values are: none, standard, unknownFutureValue, plus. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: plus. * @param CloudPcDisasterRecoveryLicenseType|null $value Value to set for the licenseType property. */ public function setLicenseType(?CloudPcDisasterRecoveryLicenseType $value): void { diff --git a/src/Generated/Models/CloudPcDisasterRecoveryLicenseType.php b/src/Generated/Models/CloudPcDisasterRecoveryLicenseType.php index c026c7fcc3a..98fc267a6f4 100644 --- a/src/Generated/Models/CloudPcDisasterRecoveryLicenseType.php +++ b/src/Generated/Models/CloudPcDisasterRecoveryLicenseType.php @@ -8,4 +8,5 @@ class CloudPcDisasterRecoveryLicenseType extends Enum { public const NONE = "none"; public const STANDARD = "standard"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; + public const PLUS = "plus"; } diff --git a/src/Generated/Models/CloudPcForensicStorageAccount.php b/src/Generated/Models/CloudPcForensicStorageAccount.php index 9151e136fb2..8cbf0285098 100644 --- a/src/Generated/Models/CloudPcForensicStorageAccount.php +++ b/src/Generated/Models/CloudPcForensicStorageAccount.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Cloud } /** - * Gets the accessTier property value. The access tier of the storage account. Possible values are hot, cool, premium, cold, and unknownFutureValue. Default value is hot. Read-only. + * Gets the accessTier property value. Indicates the access tier of the storage account. Possible values are hot, cool, premium, cold, and unknownFutureValue. Default value is hot. Read-only. * @return CloudPcStorageAccountAccessTier|null */ public function getAccessTier(): ?CloudPcStorageAccountAccessTier { @@ -63,7 +63,7 @@ public function getImmutableStorage(): ?bool { } /** - * Gets the storageAccountId property value. The ID of the storage account. Read-only. + * Gets the storageAccountId property value. Indicates the ID of the storage account. Read-only. * @return string|null */ public function getStorageAccountId(): ?string { @@ -75,7 +75,7 @@ public function getStorageAccountId(): ?string { } /** - * Gets the storageAccountName property value. The name of the storage account. Read-only. + * Gets the storageAccountName property value. Indicates the name of the storage account. Read-only. * @return string|null */ public function getStorageAccountName(): ?string { @@ -99,7 +99,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the accessTier property value. The access tier of the storage account. Possible values are hot, cool, premium, cold, and unknownFutureValue. Default value is hot. Read-only. + * Sets the accessTier property value. Indicates the access tier of the storage account. Possible values are hot, cool, premium, cold, and unknownFutureValue. Default value is hot. Read-only. * @param CloudPcStorageAccountAccessTier|null $value Value to set for the accessTier property. */ public function setAccessTier(?CloudPcStorageAccountAccessTier $value): void { @@ -115,7 +115,7 @@ public function setImmutableStorage(?bool $value): void { } /** - * Sets the storageAccountId property value. The ID of the storage account. Read-only. + * Sets the storageAccountId property value. Indicates the ID of the storage account. Read-only. * @param string|null $value Value to set for the storageAccountId property. */ public function setStorageAccountId(?string $value): void { @@ -123,7 +123,7 @@ public function setStorageAccountId(?string $value): void { } /** - * Sets the storageAccountName property value. The name of the storage account. Read-only. + * Sets the storageAccountName property value. Indicates the name of the storage account. Read-only. * @param string|null $value Value to set for the storageAccountName property. */ public function setStorageAccountName(?string $value): void { diff --git a/src/Generated/Models/CloudPcSnapshot.php b/src/Generated/Models/CloudPcSnapshot.php index cd9b11cca2a..1d8416f42c9 100644 --- a/src/Generated/Models/CloudPcSnapshot.php +++ b/src/Generated/Models/CloudPcSnapshot.php @@ -50,7 +50,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the expirationDateTime property value. The date and time when the snapshot expires. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the expirationDateTime property value. The date and time when the snapshot expires. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null */ public function getExpirationDateTime(): ?DateTime { @@ -71,12 +71,25 @@ public function getFieldDeserializers(): array { 'cloudPcId' => fn(ParseNode $n) => $o->setCloudPcId($n->getStringValue()), 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'healthCheckStatus' => fn(ParseNode $n) => $o->setHealthCheckStatus($n->getEnumValue(CloudPcSnapshotHealthCheckStatus::class)), 'lastRestoredDateTime' => fn(ParseNode $n) => $o->setLastRestoredDateTime($n->getDateTimeValue()), 'snapshotType' => fn(ParseNode $n) => $o->setSnapshotType($n->getEnumValue(CloudPcSnapshotType::class)), 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(CloudPcSnapshotStatus::class)), ]); } + /** + * Gets the healthCheckStatus property value. Indicates the health check status of the Cloud PC snapshot. Possible values are, unknown, healthy, unhealthy, unknownFutureValue. The default value is unknown. Read-only. Nullable. + * @return CloudPcSnapshotHealthCheckStatus|null + */ + public function getHealthCheckStatus(): ?CloudPcSnapshotHealthCheckStatus { + $val = $this->getBackingStore()->get('healthCheckStatus'); + if (is_null($val) || $val instanceof CloudPcSnapshotHealthCheckStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'healthCheckStatus'"); + } + /** * Gets the lastRestoredDateTime property value. The date and time at which the snapshot was last used to restore the Cloud PC device. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null @@ -122,6 +135,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('cloudPcId', $this->getCloudPcId()); $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeEnumValue('healthCheckStatus', $this->getHealthCheckStatus()); $writer->writeDateTimeValue('lastRestoredDateTime', $this->getLastRestoredDateTime()); $writer->writeEnumValue('snapshotType', $this->getSnapshotType()); $writer->writeEnumValue('status', $this->getStatus()); @@ -144,13 +158,21 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the expirationDateTime property value. The date and time when the snapshot expires. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the expirationDateTime property value. The date and time when the snapshot expires. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the expirationDateTime property. */ public function setExpirationDateTime(?DateTime $value): void { $this->getBackingStore()->set('expirationDateTime', $value); } + /** + * Sets the healthCheckStatus property value. Indicates the health check status of the Cloud PC snapshot. Possible values are, unknown, healthy, unhealthy, unknownFutureValue. The default value is unknown. Read-only. Nullable. + * @param CloudPcSnapshotHealthCheckStatus|null $value Value to set for the healthCheckStatus property. + */ + public function setHealthCheckStatus(?CloudPcSnapshotHealthCheckStatus $value): void { + $this->getBackingStore()->set('healthCheckStatus', $value); + } + /** * Sets the lastRestoredDateTime property value. The date and time at which the snapshot was last used to restore the Cloud PC device. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the lastRestoredDateTime property. diff --git a/src/Generated/Models/CloudPcSnapshotHealthCheckStatus.php b/src/Generated/Models/CloudPcSnapshotHealthCheckStatus.php new file mode 100644 index 00000000000..e507c126e35 --- /dev/null +++ b/src/Generated/Models/CloudPcSnapshotHealthCheckStatus.php @@ -0,0 +1,12 @@ + fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'regionGroup' => fn(ParseNode $n) => $o->setRegionGroup($n->getEnumValue(CloudPcRegionGroup::class)), + 'regionRestrictionDetail' => fn(ParseNode $n) => $o->setRegionRestrictionDetail($n->getObjectValue([CloudPcSupportedRegionRestrictionDetail::class, 'createFromDiscriminatorValue'])), 'regionStatus' => fn(ParseNode $n) => $o->setRegionStatus($n->getEnumValue(CloudPcSupportedRegionStatus::class)), 'supportedSolution' => fn(ParseNode $n) => $o->setSupportedSolution($n->getEnumValue(CloudPcManagementService::class)), ]); @@ -62,6 +63,18 @@ public function getRegionGroup(): ?CloudPcRegionGroup { throw new \UnexpectedValueException("Invalid type found in backing store for 'regionGroup'"); } + /** + * Gets the regionRestrictionDetail property value. When the region isn't available, all region restrictions are set to true. These restrictions apply to three properties: cPURestricted, gPURestricted, and nestedVirtualizationRestricted. cPURestricted indicates whether the region is available for CPU, gPURestricted indicates whether the region is available for GPU, and nestedVirtualizationRestricted indicates whether the region is available for nested virtualization. Read-only. + * @return CloudPcSupportedRegionRestrictionDetail|null + */ + public function getRegionRestrictionDetail(): ?CloudPcSupportedRegionRestrictionDetail { + $val = $this->getBackingStore()->get('regionRestrictionDetail'); + if (is_null($val) || $val instanceof CloudPcSupportedRegionRestrictionDetail) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'regionRestrictionDetail'"); + } + /** * Gets the regionStatus property value. The status of the supported region. Possible values are: available, restricted, unavailable, unknownFutureValue. Read-only. * @return CloudPcSupportedRegionStatus|null @@ -94,6 +107,7 @@ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeEnumValue('regionGroup', $this->getRegionGroup()); + $writer->writeObjectValue('regionRestrictionDetail', $this->getRegionRestrictionDetail()); $writer->writeEnumValue('regionStatus', $this->getRegionStatus()); $writer->writeEnumValue('supportedSolution', $this->getSupportedSolution()); } @@ -114,6 +128,14 @@ public function setRegionGroup(?CloudPcRegionGroup $value): void { $this->getBackingStore()->set('regionGroup', $value); } + /** + * Sets the regionRestrictionDetail property value. When the region isn't available, all region restrictions are set to true. These restrictions apply to three properties: cPURestricted, gPURestricted, and nestedVirtualizationRestricted. cPURestricted indicates whether the region is available for CPU, gPURestricted indicates whether the region is available for GPU, and nestedVirtualizationRestricted indicates whether the region is available for nested virtualization. Read-only. + * @param CloudPcSupportedRegionRestrictionDetail|null $value Value to set for the regionRestrictionDetail property. + */ + public function setRegionRestrictionDetail(?CloudPcSupportedRegionRestrictionDetail $value): void { + $this->getBackingStore()->set('regionRestrictionDetail', $value); + } + /** * Sets the regionStatus property value. The status of the supported region. Possible values are: available, restricted, unavailable, unknownFutureValue. Read-only. * @param CloudPcSupportedRegionStatus|null $value Value to set for the regionStatus property. diff --git a/src/Generated/Models/CloudPcSupportedRegionRestrictionDetail.php b/src/Generated/Models/CloudPcSupportedRegionRestrictionDetail.php new file mode 100644 index 00000000000..e207b999971 --- /dev/null +++ b/src/Generated/Models/CloudPcSupportedRegionRestrictionDetail.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 CloudPcSupportedRegionRestrictionDetail + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CloudPcSupportedRegionRestrictionDetail { + return new CloudPcSupportedRegionRestrictionDetail(); + } + + /** + * 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 cPURestricted property value. Indicates that the region is restricted for Cloud PC CPU provisioning. True indicates that Cloud PC provisioning with CPU isn't available in this region. false indicates that it's available. The default value is false. Read-only. + * @return bool|null + */ + public function getCPURestricted(): ?bool { + $val = $this->getBackingStore()->get('cPURestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'cPURestricted'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'cPURestricted' => fn(ParseNode $n) => $o->setCPURestricted($n->getBooleanValue()), + 'gPURestricted' => fn(ParseNode $n) => $o->setGPURestricted($n->getBooleanValue()), + 'nestedVirtualizationRestricted' => fn(ParseNode $n) => $o->setNestedVirtualizationRestricted($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the gPURestricted property value. Indicates that the region is restricted for Cloud PC GPU provisioning. True indicates that Cloud PC provisioning with GPU isn't available in this region. false indicates that it's available. The default value is false. Read-only. + * @return bool|null + */ + public function getGPURestricted(): ?bool { + $val = $this->getBackingStore()->get('gPURestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'gPURestricted'"); + } + + /** + * Gets the nestedVirtualizationRestricted property value. Indicates that the region is restricted for Cloud PC nested virtualization provisioning. True indicates that Cloud PC provisioning with nested virtualization isn't available in this region; false indicates that it's available. The default value is false. Read-only. + * @return bool|null + */ + public function getNestedVirtualizationRestricted(): ?bool { + $val = $this->getBackingStore()->get('nestedVirtualizationRestricted'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'nestedVirtualizationRestricted'"); + } + + /** + * 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->writeBooleanValue('cPURestricted', $this->getCPURestricted()); + $writer->writeBooleanValue('gPURestricted', $this->getGPURestricted()); + $writer->writeBooleanValue('nestedVirtualizationRestricted', $this->getNestedVirtualizationRestricted()); + $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 cPURestricted property value. Indicates that the region is restricted for Cloud PC CPU provisioning. True indicates that Cloud PC provisioning with CPU isn't available in this region. false indicates that it's available. The default value is false. Read-only. + * @param bool|null $value Value to set for the cPURestricted property. + */ + public function setCPURestricted(?bool $value): void { + $this->getBackingStore()->set('cPURestricted', $value); + } + + /** + * Sets the gPURestricted property value. Indicates that the region is restricted for Cloud PC GPU provisioning. True indicates that Cloud PC provisioning with GPU isn't available in this region. false indicates that it's available. The default value is false. Read-only. + * @param bool|null $value Value to set for the gPURestricted property. + */ + public function setGPURestricted(?bool $value): void { + $this->getBackingStore()->set('gPURestricted', $value); + } + + /** + * Sets the nestedVirtualizationRestricted property value. Indicates that the region is restricted for Cloud PC nested virtualization provisioning. True indicates that Cloud PC provisioning with nested virtualization isn't available in this region; false indicates that it's available. The default value is false. Read-only. + * @param bool|null $value Value to set for the nestedVirtualizationRestricted property. + */ + public function setNestedVirtualizationRestricted(?bool $value): void { + $this->getBackingStore()->set('nestedVirtualizationRestricted', $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/CompliantNetworkNamedLocation.php b/src/Generated/Models/CompliantNetworkNamedLocation.php deleted file mode 100644 index e4e119ff8cb..00000000000 --- a/src/Generated/Models/CompliantNetworkNamedLocation.php +++ /dev/null @@ -1,89 +0,0 @@ -getBackingStore()->get('compliantNetworkType'); - if (is_null($val) || $val instanceof CompliantNetworkType) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'compliantNetworkType'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'compliantNetworkType' => fn(ParseNode $n) => $o->setCompliantNetworkType($n->getEnumValue(CompliantNetworkType::class)), - 'isTrusted' => fn(ParseNode $n) => $o->setIsTrusted($n->getBooleanValue()), - ]); - } - - /** - * Gets the isTrusted property value. true if this location is explicitly trusted. Optional. Default value is false. - * @return bool|null - */ - public function getIsTrusted(): ?bool { - $val = $this->getBackingStore()->get('isTrusted'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'isTrusted'"); - } - - /** - * 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('compliantNetworkType', $this->getCompliantNetworkType()); - $writer->writeBooleanValue('isTrusted', $this->getIsTrusted()); - } - - /** - * Sets the compliantNetworkType property value. The compliantNetworkType property - * @param CompliantNetworkType|null $value Value to set for the compliantNetworkType property. - */ - public function setCompliantNetworkType(?CompliantNetworkType $value): void { - $this->getBackingStore()->set('compliantNetworkType', $value); - } - - /** - * Sets the isTrusted property value. true if this location is explicitly trusted. Optional. Default value is false. - * @param bool|null $value Value to set for the isTrusted property. - */ - public function setIsTrusted(?bool $value): void { - $this->getBackingStore()->set('isTrusted', $value); - } - -} diff --git a/src/Generated/Models/ConditionalAccessApplications.php b/src/Generated/Models/ConditionalAccessApplications.php index af5c6e47470..8a219b6d58c 100644 --- a/src/Generated/Models/ConditionalAccessApplications.php +++ b/src/Generated/Models/ConditionalAccessApplications.php @@ -98,6 +98,7 @@ public function getFieldDeserializers(): array { /** @var array|null $val */ $this->setExcludeApplications($val); }, + 'globalSecureAccess' => fn(ParseNode $n) => $o->setGlobalSecureAccess($n->getObjectValue([ConditionalAccessGlobalSecureAccess::class, 'createFromDiscriminatorValue'])), 'includeApplications' => function (ParseNode $n) { $val = $n->getCollectionOfPrimitiveValues(); if (is_array($val)) { @@ -122,10 +123,23 @@ public function getFieldDeserializers(): array { /** @var array|null $val */ $this->setIncludeUserActions($val); }, + 'networkAccess' => fn(ParseNode $n) => $o->setNetworkAccess($n->getObjectValue([ConditionalAccessNetworkAccess::class, 'createFromDiscriminatorValue'])), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), ]; } + /** + * Gets the globalSecureAccess property value. Represents traffic profile for Global Secure Access. This property is deprecated and will stop returning data on June 1, 2025. Use new Global Secure Access applications instead. + * @return ConditionalAccessGlobalSecureAccess|null + */ + public function getGlobalSecureAccess(): ?ConditionalAccessGlobalSecureAccess { + $val = $this->getBackingStore()->get('globalSecureAccess'); + if (is_null($val) || $val instanceof ConditionalAccessGlobalSecureAccess) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'globalSecureAccess'"); + } + /** * Gets the includeApplications property value. Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite MicrosoftAdminPortals - For more information, see Conditional Access Target resources: Microsoft Admin Portals * @return array|null @@ -168,6 +182,18 @@ public function getIncludeUserActions(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'includeUserActions'"); } + /** + * Gets the networkAccess property value. Represents traffic profile for Global Secure Access. This property is deprecated and will stop returning data on June 1, 2025. Use new Global Secure Access applications instead. + * @return ConditionalAccessNetworkAccess|null + */ + public function getNetworkAccess(): ?ConditionalAccessNetworkAccess { + $val = $this->getBackingStore()->get('networkAccess'); + if (is_null($val) || $val instanceof ConditionalAccessNetworkAccess) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'networkAccess'"); + } + /** * Gets the @odata.type property value. The OdataType property * @return string|null @@ -187,9 +213,11 @@ public function getOdataType(): ?string { public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('applicationFilter', $this->getApplicationFilter()); $writer->writeCollectionOfPrimitiveValues('excludeApplications', $this->getExcludeApplications()); + $writer->writeObjectValue('globalSecureAccess', $this->getGlobalSecureAccess()); $writer->writeCollectionOfPrimitiveValues('includeApplications', $this->getIncludeApplications()); $writer->writeCollectionOfPrimitiveValues('includeAuthenticationContextClassReferences', $this->getIncludeAuthenticationContextClassReferences()); $writer->writeCollectionOfPrimitiveValues('includeUserActions', $this->getIncludeUserActions()); + $writer->writeObjectValue('networkAccess', $this->getNetworkAccess()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -226,6 +254,14 @@ public function setExcludeApplications(?array $value): void { $this->getBackingStore()->set('excludeApplications', $value); } + /** + * Sets the globalSecureAccess property value. Represents traffic profile for Global Secure Access. This property is deprecated and will stop returning data on June 1, 2025. Use new Global Secure Access applications instead. + * @param ConditionalAccessGlobalSecureAccess|null $value Value to set for the globalSecureAccess property. + */ + public function setGlobalSecureAccess(?ConditionalAccessGlobalSecureAccess $value): void { + $this->getBackingStore()->set('globalSecureAccess', $value); + } + /** * Sets the includeApplications property value. Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite MicrosoftAdminPortals - For more information, see Conditional Access Target resources: Microsoft Admin Portals * @param array|null $value Value to set for the includeApplications property. @@ -250,6 +286,14 @@ public function setIncludeUserActions(?array $value): void { $this->getBackingStore()->set('includeUserActions', $value); } + /** + * Sets the networkAccess property value. Represents traffic profile for Global Secure Access. This property is deprecated and will stop returning data on June 1, 2025. Use new Global Secure Access applications instead. + * @param ConditionalAccessNetworkAccess|null $value Value to set for the networkAccess property. + */ + public function setNetworkAccess(?ConditionalAccessNetworkAccess $value): void { + $this->getBackingStore()->set('networkAccess', $value); + } + /** * Sets the @odata.type property value. The OdataType property * @param string|null $value Value to set for the @odata.type property. diff --git a/src/Generated/Models/ConditionalAccessContext.php b/src/Generated/Models/ConditionalAccessGlobalSecureAccess.php similarity index 82% rename from src/Generated/Models/ConditionalAccessContext.php rename to src/Generated/Models/ConditionalAccessGlobalSecureAccess.php index 6bad03c38ce..b3c1afc6923 100644 --- a/src/Generated/Models/ConditionalAccessContext.php +++ b/src/Generated/Models/ConditionalAccessGlobalSecureAccess.php @@ -10,7 +10,7 @@ use Microsoft\Kiota\Abstractions\Store\BackingStore; use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -class ConditionalAccessContext implements AdditionalDataHolder, BackedModel, Parsable +class ConditionalAccessGlobalSecureAccess implements AdditionalDataHolder, BackedModel, Parsable { /** * @var BackingStore $backingStore Stores model information. @@ -18,7 +18,7 @@ class ConditionalAccessContext implements AdditionalDataHolder, BackedModel, Par private BackingStore $backingStore; /** - * Instantiates a new ConditionalAccessContext and sets the default values. + * Instantiates a new ConditionalAccessGlobalSecureAccess and sets the default values. */ public function __construct() { $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,19 +28,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ConditionalAccessContext + * @return ConditionalAccessGlobalSecureAccess */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ConditionalAccessContext { - $mappingValueNode = $parseNode->getChildNode("@odata.type"); - if ($mappingValueNode !== null) { - $mappingValue = $mappingValueNode->getStringValue(); - switch ($mappingValue) { - case '#microsoft.graph.whatIfApplicationContext': return new WhatIfApplicationContext(); - case '#microsoft.graph.whatIfAuthenticationContext': return new WhatIfAuthenticationContext(); - case '#microsoft.graph.whatIfUserActionContext': return new WhatIfUserActionContext(); - } - } - return new ConditionalAccessContext(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConditionalAccessGlobalSecureAccess { + return new ConditionalAccessGlobalSecureAccess(); } /** diff --git a/src/Generated/Models/ConditionalAccessNetworkAccess.php b/src/Generated/Models/ConditionalAccessNetworkAccess.php new file mode 100644 index 00000000000..fdb1b11ded2 --- /dev/null +++ b/src/Generated/Models/ConditionalAccessNetworkAccess.php @@ -0,0 +1,114 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ConditionalAccessNetworkAccess + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConditionalAccessNetworkAccess { + return new ConditionalAccessNetworkAccess(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * 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('@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 @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/ConditionalAccessPolicy.php b/src/Generated/Models/ConditionalAccessPolicy.php deleted file mode 100644 index 2f6d9900799..00000000000 --- a/src/Generated/Models/ConditionalAccessPolicy.php +++ /dev/null @@ -1,229 +0,0 @@ -getChildNode("@odata.type"); - if ($mappingValueNode !== null) { - $mappingValue = $mappingValueNode->getStringValue(); - switch ($mappingValue) { - case '#microsoft.graph.conditionalAccessWhatIfPolicy': return new ConditionalAccessWhatIfPolicy(); - } - } - return new ConditionalAccessPolicy(); - } - - /** - * Gets the conditions property value. The conditions property - * @return ConditionalAccessConditionSet|null - */ - public function getConditions(): ?ConditionalAccessConditionSet { - $val = $this->getBackingStore()->get('conditions'); - if (is_null($val) || $val instanceof ConditionalAccessConditionSet) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'conditions'"); - } - - /** - * Gets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. - * @return DateTime|null - */ - public function getCreatedDateTime(): ?DateTime { - $val = $this->getBackingStore()->get('createdDateTime'); - if (is_null($val) || $val instanceof DateTime) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); - } - - /** - * Gets the description property value. Not used. - * @return string|null - */ - public function getDescription(): ?string { - $val = $this->getBackingStore()->get('description'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'description'"); - } - - /** - * Gets the displayName property value. Specifies a display name for the conditionalAccessPolicy object. - * @return string|null - */ - public function getDisplayName(): ?string { - $val = $this->getBackingStore()->get('displayName'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'conditions' => fn(ParseNode $n) => $o->setConditions($n->getObjectValue([ConditionalAccessConditionSet::class, 'createFromDiscriminatorValue'])), - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), - 'description' => fn(ParseNode $n) => $o->setDescription($n->getStringValue()), - 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), - 'grantControls' => fn(ParseNode $n) => $o->setGrantControls($n->getObjectValue([ConditionalAccessGrantControls::class, 'createFromDiscriminatorValue'])), - 'modifiedDateTime' => fn(ParseNode $n) => $o->setModifiedDateTime($n->getDateTimeValue()), - 'sessionControls' => fn(ParseNode $n) => $o->setSessionControls($n->getObjectValue([ConditionalAccessSessionControls::class, 'createFromDiscriminatorValue'])), - 'state' => fn(ParseNode $n) => $o->setState($n->getEnumValue(ConditionalAccessPolicyState::class)), - ]); - } - - /** - * Gets the grantControls property value. Specifies the grant controls that must be fulfilled to pass the policy. - * @return ConditionalAccessGrantControls|null - */ - public function getGrantControls(): ?ConditionalAccessGrantControls { - $val = $this->getBackingStore()->get('grantControls'); - if (is_null($val) || $val instanceof ConditionalAccessGrantControls) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'grantControls'"); - } - - /** - * Gets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. - * @return DateTime|null - */ - public function getModifiedDateTime(): ?DateTime { - $val = $this->getBackingStore()->get('modifiedDateTime'); - if (is_null($val) || $val instanceof DateTime) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'modifiedDateTime'"); - } - - /** - * Gets the sessionControls property value. Specifies the session controls that are enforced after sign-in. - * @return ConditionalAccessSessionControls|null - */ - public function getSessionControls(): ?ConditionalAccessSessionControls { - $val = $this->getBackingStore()->get('sessionControls'); - if (is_null($val) || $val instanceof ConditionalAccessSessionControls) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'sessionControls'"); - } - - /** - * Gets the state property value. The state property - * @return ConditionalAccessPolicyState|null - */ - public function getState(): ?ConditionalAccessPolicyState { - $val = $this->getBackingStore()->get('state'); - if (is_null($val) || $val instanceof ConditionalAccessPolicyState) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'state'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeObjectValue('conditions', $this->getConditions()); - $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); - $writer->writeStringValue('description', $this->getDescription()); - $writer->writeStringValue('displayName', $this->getDisplayName()); - $writer->writeObjectValue('grantControls', $this->getGrantControls()); - $writer->writeDateTimeValue('modifiedDateTime', $this->getModifiedDateTime()); - $writer->writeObjectValue('sessionControls', $this->getSessionControls()); - $writer->writeEnumValue('state', $this->getState()); - } - - /** - * Sets the conditions property value. The conditions property - * @param ConditionalAccessConditionSet|null $value Value to set for the conditions property. - */ - public function setConditions(?ConditionalAccessConditionSet $value): void { - $this->getBackingStore()->set('conditions', $value); - } - - /** - * Sets the createdDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. - * @param DateTime|null $value Value to set for the createdDateTime property. - */ - public function setCreatedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('createdDateTime', $value); - } - - /** - * Sets the description property value. Not used. - * @param string|null $value Value to set for the description property. - */ - public function setDescription(?string $value): void { - $this->getBackingStore()->set('description', $value); - } - - /** - * Sets the displayName property value. Specifies a display name for the conditionalAccessPolicy object. - * @param string|null $value Value to set for the displayName property. - */ - public function setDisplayName(?string $value): void { - $this->getBackingStore()->set('displayName', $value); - } - - /** - * Sets the grantControls property value. Specifies the grant controls that must be fulfilled to pass the policy. - * @param ConditionalAccessGrantControls|null $value Value to set for the grantControls property. - */ - public function setGrantControls(?ConditionalAccessGrantControls $value): void { - $this->getBackingStore()->set('grantControls', $value); - } - - /** - * Sets the modifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Readonly. - * @param DateTime|null $value Value to set for the modifiedDateTime property. - */ - public function setModifiedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('modifiedDateTime', $value); - } - - /** - * Sets the sessionControls property value. Specifies the session controls that are enforced after sign-in. - * @param ConditionalAccessSessionControls|null $value Value to set for the sessionControls property. - */ - public function setSessionControls(?ConditionalAccessSessionControls $value): void { - $this->getBackingStore()->set('sessionControls', $value); - } - - /** - * Sets the state property value. The state property - * @param ConditionalAccessPolicyState|null $value Value to set for the state property. - */ - public function setState(?ConditionalAccessPolicyState $value): void { - $this->getBackingStore()->set('state', $value); - } - -} diff --git a/src/Generated/Models/ConditionalAccessPolicyState.php b/src/Generated/Models/ConditionalAccessPolicyState.php deleted file mode 100644 index 019c06fef6e..00000000000 --- a/src/Generated/Models/ConditionalAccessPolicyState.php +++ /dev/null @@ -1,11 +0,0 @@ - fn(ParseNode $n) => $o->setAuthenticationContextClassReferences($n->getCollectionOfObjectValues([AuthenticationContextClassReference::class, 'createFromDiscriminatorValue'])), 'authenticationStrength' => fn(ParseNode $n) => $o->setAuthenticationStrength($n->getObjectValue([AuthenticationStrengthRoot::class, 'createFromDiscriminatorValue'])), 'authenticationStrengths' => fn(ParseNode $n) => $o->setAuthenticationStrengths($n->getObjectValue([AuthenticationStrengthRoot::class, 'createFromDiscriminatorValue'])), - 'namedLocations' => fn(ParseNode $n) => $o->setNamedLocations($n->getCollectionOfObjectValues([NamedLocation::class, 'createFromDiscriminatorValue'])), - 'policies' => fn(ParseNode $n) => $o->setPolicies($n->getCollectionOfObjectValues([ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'])), 'templates' => fn(ParseNode $n) => $o->setTemplates($n->getCollectionOfObjectValues([ConditionalAccessTemplate::class, 'createFromDiscriminatorValue'])), ]); } - /** - * Gets the namedLocations property value. Read-only. Nullable. Returns a collection of the specified named locations. - * @return array|null - */ - public function getNamedLocations(): ?array { - $val = $this->getBackingStore()->get('namedLocations'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, NamedLocation::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'namedLocations'"); - } - - /** - * Gets the policies property value. Read-only. Nullable. Returns a collection of the specified Conditional Access policies. - * @return array|null - */ - public function getPolicies(): ?array { - $val = $this->getBackingStore()->get('policies'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConditionalAccessPolicy::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'policies'"); - } - /** * Gets the templates property value. Read-only. Nullable. Returns a collection of the specified Conditional Access templates. * @return array|null @@ -130,8 +100,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('authenticationContextClassReferences', $this->getAuthenticationContextClassReferences()); $writer->writeObjectValue('authenticationStrength', $this->getAuthenticationStrength()); $writer->writeObjectValue('authenticationStrengths', $this->getAuthenticationStrengths()); - $writer->writeCollectionOfObjectValues('namedLocations', $this->getNamedLocations()); - $writer->writeCollectionOfObjectValues('policies', $this->getPolicies()); $writer->writeCollectionOfObjectValues('templates', $this->getTemplates()); } @@ -159,22 +127,6 @@ public function setAuthenticationStrengths(?AuthenticationStrengthRoot $value): $this->getBackingStore()->set('authenticationStrengths', $value); } - /** - * Sets the namedLocations property value. Read-only. Nullable. Returns a collection of the specified named locations. - * @param array|null $value Value to set for the namedLocations property. - */ - public function setNamedLocations(?array $value): void { - $this->getBackingStore()->set('namedLocations', $value); - } - - /** - * Sets the policies property value. Read-only. Nullable. Returns a collection of the specified Conditional Access policies. - * @param array|null $value Value to set for the policies property. - */ - public function setPolicies(?array $value): void { - $this->getBackingStore()->set('policies', $value); - } - /** * Sets the templates property value. Read-only. Nullable. Returns a collection of the specified Conditional Access templates. * @param array|null $value Value to set for the templates property. diff --git a/src/Generated/Models/ConditionalAccessWhatIfConditions.php b/src/Generated/Models/ConditionalAccessWhatIfConditions.php deleted file mode 100644 index d1f87f89dee..00000000000 --- a/src/Generated/Models/ConditionalAccessWhatIfConditions.php +++ /dev/null @@ -1,334 +0,0 @@ -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 ConditionalAccessWhatIfConditions - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ConditionalAccessWhatIfConditions { - return new ConditionalAccessWhatIfConditions(); - } - - /** - * 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 authenticationFlow property value. The authenticationFlow property - * @return AuthenticationFlow|null - */ - public function getAuthenticationFlow(): ?AuthenticationFlow { - $val = $this->getBackingStore()->get('authenticationFlow'); - if (is_null($val) || $val instanceof AuthenticationFlow) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'authenticationFlow'"); - } - - /** - * Gets the BackingStore property value. Stores model information. - * @return BackingStore - */ - public function getBackingStore(): BackingStore { - return $this->backingStore; - } - - /** - * Gets the clientAppType property value. The clientAppType property - * @return ConditionalAccessClientApp|null - */ - public function getClientAppType(): ?ConditionalAccessClientApp { - $val = $this->getBackingStore()->get('clientAppType'); - if (is_null($val) || $val instanceof ConditionalAccessClientApp) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'clientAppType'"); - } - - /** - * Gets the country property value. The country property - * @return string|null - */ - public function getCountry(): ?string { - $val = $this->getBackingStore()->get('country'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'country'"); - } - - /** - * Gets the deviceInfo property value. The deviceInfo property - * @return DeviceInfo|null - */ - public function getDeviceInfo(): ?DeviceInfo { - $val = $this->getBackingStore()->get('deviceInfo'); - if (is_null($val) || $val instanceof DeviceInfo) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceInfo'"); - } - - /** - * Gets the devicePlatform property value. The devicePlatform property - * @return ConditionalAccessDevicePlatform|null - */ - public function getDevicePlatform(): ?ConditionalAccessDevicePlatform { - $val = $this->getBackingStore()->get('devicePlatform'); - if (is_null($val) || $val instanceof ConditionalAccessDevicePlatform) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'devicePlatform'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'authenticationFlow' => fn(ParseNode $n) => $o->setAuthenticationFlow($n->getObjectValue([AuthenticationFlow::class, 'createFromDiscriminatorValue'])), - 'clientAppType' => fn(ParseNode $n) => $o->setClientAppType($n->getEnumValue(ConditionalAccessClientApp::class)), - 'country' => fn(ParseNode $n) => $o->setCountry($n->getStringValue()), - 'deviceInfo' => fn(ParseNode $n) => $o->setDeviceInfo($n->getObjectValue([DeviceInfo::class, 'createFromDiscriminatorValue'])), - 'devicePlatform' => fn(ParseNode $n) => $o->setDevicePlatform($n->getEnumValue(ConditionalAccessDevicePlatform::class)), - 'insiderRiskLevel' => fn(ParseNode $n) => $o->setInsiderRiskLevel($n->getEnumValue(InsiderRiskLevel::class)), - 'ipAddress' => fn(ParseNode $n) => $o->setIpAddress($n->getStringValue()), - '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'servicePrincipalRiskLevel' => fn(ParseNode $n) => $o->setServicePrincipalRiskLevel($n->getEnumValue(RiskLevel::class)), - 'signInRiskLevel' => fn(ParseNode $n) => $o->setSignInRiskLevel($n->getEnumValue(RiskLevel::class)), - 'userRiskLevel' => fn(ParseNode $n) => $o->setUserRiskLevel($n->getEnumValue(RiskLevel::class)), - ]; - } - - /** - * Gets the insiderRiskLevel property value. The insiderRiskLevel property - * @return InsiderRiskLevel|null - */ - public function getInsiderRiskLevel(): ?InsiderRiskLevel { - $val = $this->getBackingStore()->get('insiderRiskLevel'); - if (is_null($val) || $val instanceof InsiderRiskLevel) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'insiderRiskLevel'"); - } - - /** - * Gets the ipAddress property value. The ipAddress property - * @return string|null - */ - public function getIpAddress(): ?string { - $val = $this->getBackingStore()->get('ipAddress'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'ipAddress'"); - } - - /** - * 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 servicePrincipalRiskLevel property value. The servicePrincipalRiskLevel property - * @return RiskLevel|null - */ - public function getServicePrincipalRiskLevel(): ?RiskLevel { - $val = $this->getBackingStore()->get('servicePrincipalRiskLevel'); - if (is_null($val) || $val instanceof RiskLevel) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'servicePrincipalRiskLevel'"); - } - - /** - * Gets the signInRiskLevel property value. The signInRiskLevel property - * @return RiskLevel|null - */ - public function getSignInRiskLevel(): ?RiskLevel { - $val = $this->getBackingStore()->get('signInRiskLevel'); - if (is_null($val) || $val instanceof RiskLevel) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'signInRiskLevel'"); - } - - /** - * Gets the userRiskLevel property value. The userRiskLevel property - * @return RiskLevel|null - */ - public function getUserRiskLevel(): ?RiskLevel { - $val = $this->getBackingStore()->get('userRiskLevel'); - if (is_null($val) || $val instanceof RiskLevel) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'userRiskLevel'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeObjectValue('authenticationFlow', $this->getAuthenticationFlow()); - $writer->writeEnumValue('clientAppType', $this->getClientAppType()); - $writer->writeStringValue('country', $this->getCountry()); - $writer->writeObjectValue('deviceInfo', $this->getDeviceInfo()); - $writer->writeEnumValue('devicePlatform', $this->getDevicePlatform()); - $writer->writeEnumValue('insiderRiskLevel', $this->getInsiderRiskLevel()); - $writer->writeStringValue('ipAddress', $this->getIpAddress()); - $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeEnumValue('servicePrincipalRiskLevel', $this->getServicePrincipalRiskLevel()); - $writer->writeEnumValue('signInRiskLevel', $this->getSignInRiskLevel()); - $writer->writeEnumValue('userRiskLevel', $this->getUserRiskLevel()); - $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 authenticationFlow property value. The authenticationFlow property - * @param AuthenticationFlow|null $value Value to set for the authenticationFlow property. - */ - public function setAuthenticationFlow(?AuthenticationFlow $value): void { - $this->getBackingStore()->set('authenticationFlow', $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 clientAppType property value. The clientAppType property - * @param ConditionalAccessClientApp|null $value Value to set for the clientAppType property. - */ - public function setClientAppType(?ConditionalAccessClientApp $value): void { - $this->getBackingStore()->set('clientAppType', $value); - } - - /** - * Sets the country property value. The country property - * @param string|null $value Value to set for the country property. - */ - public function setCountry(?string $value): void { - $this->getBackingStore()->set('country', $value); - } - - /** - * Sets the deviceInfo property value. The deviceInfo property - * @param DeviceInfo|null $value Value to set for the deviceInfo property. - */ - public function setDeviceInfo(?DeviceInfo $value): void { - $this->getBackingStore()->set('deviceInfo', $value); - } - - /** - * Sets the devicePlatform property value. The devicePlatform property - * @param ConditionalAccessDevicePlatform|null $value Value to set for the devicePlatform property. - */ - public function setDevicePlatform(?ConditionalAccessDevicePlatform $value): void { - $this->getBackingStore()->set('devicePlatform', $value); - } - - /** - * Sets the insiderRiskLevel property value. The insiderRiskLevel property - * @param InsiderRiskLevel|null $value Value to set for the insiderRiskLevel property. - */ - public function setInsiderRiskLevel(?InsiderRiskLevel $value): void { - $this->getBackingStore()->set('insiderRiskLevel', $value); - } - - /** - * Sets the ipAddress property value. The ipAddress property - * @param string|null $value Value to set for the ipAddress property. - */ - public function setIpAddress(?string $value): void { - $this->getBackingStore()->set('ipAddress', $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 servicePrincipalRiskLevel property value. The servicePrincipalRiskLevel property - * @param RiskLevel|null $value Value to set for the servicePrincipalRiskLevel property. - */ - public function setServicePrincipalRiskLevel(?RiskLevel $value): void { - $this->getBackingStore()->set('servicePrincipalRiskLevel', $value); - } - - /** - * Sets the signInRiskLevel property value. The signInRiskLevel property - * @param RiskLevel|null $value Value to set for the signInRiskLevel property. - */ - public function setSignInRiskLevel(?RiskLevel $value): void { - $this->getBackingStore()->set('signInRiskLevel', $value); - } - - /** - * Sets the userRiskLevel property value. The userRiskLevel property - * @param RiskLevel|null $value Value to set for the userRiskLevel property. - */ - public function setUserRiskLevel(?RiskLevel $value): void { - $this->getBackingStore()->set('userRiskLevel', $value); - } - -} diff --git a/src/Generated/Models/ConditionalAccessWhatIfPolicy.php b/src/Generated/Models/ConditionalAccessWhatIfPolicy.php deleted file mode 100644 index 08889b6ec9c..00000000000 --- a/src/Generated/Models/ConditionalAccessWhatIfPolicy.php +++ /dev/null @@ -1,92 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'policyApplies' => fn(ParseNode $n) => $o->setPolicyApplies($n->getBooleanValue()), - 'reasons' => fn(ParseNode $n) => $o->setReasons($n->getCollectionOfEnumValues(ConditionalAccessWhatIfReasons::class)), - ]); - } - - /** - * Gets the policyApplies property value. The policyApplies property - * @return bool|null - */ - public function getPolicyApplies(): ?bool { - $val = $this->getBackingStore()->get('policyApplies'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'policyApplies'"); - } - - /** - * Gets the reasons property value. The reasons property - * @return array|null - */ - public function getReasons(): ?array { - $val = $this->getBackingStore()->get('reasons'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConditionalAccessWhatIfReasons::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'reasons'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeBooleanValue('policyApplies', $this->getPolicyApplies()); - $writer->writeCollectionOfEnumValues('reasons', $this->getReasons()); - } - - /** - * Sets the policyApplies property value. The policyApplies property - * @param bool|null $value Value to set for the policyApplies property. - */ - public function setPolicyApplies(?bool $value): void { - $this->getBackingStore()->set('policyApplies', $value); - } - - /** - * Sets the reasons property value. The reasons property - * @param array|null $value Value to set for the reasons property. - */ - public function setReasons(?array $value): void { - $this->getBackingStore()->set('reasons', $value); - } - -} diff --git a/src/Generated/Models/ConditionalAccessWhatIfReasons.php b/src/Generated/Models/ConditionalAccessWhatIfReasons.php deleted file mode 100644 index 7f576621c97..00000000000 --- a/src/Generated/Models/ConditionalAccessWhatIfReasons.php +++ /dev/null @@ -1,29 +0,0 @@ -setOdataType('#microsoft.graph.userSubject'); } /** * 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 UserSubject + * @return ContentActivity */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): UserSubject { - return new UserSubject(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ContentActivity { + return new ContentActivity(); } /** - * Gets the externalTenantId property value. The externalTenantId property - * @return string|null - */ - public function getExternalTenantId(): ?string { - $val = $this->getBackingStore()->get('externalTenantId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'externalTenantId'"); - } - - /** - * Gets the externalUserType property value. The externalUserType property - * @return ConditionalAccessGuestOrExternalUserTypes|null + * Gets the contentMetadata property value. The contentMetadata property + * @return ProcessContentRequest|null */ - public function getExternalUserType(): ?ConditionalAccessGuestOrExternalUserTypes { - $val = $this->getBackingStore()->get('externalUserType'); - if (is_null($val) || $val instanceof ConditionalAccessGuestOrExternalUserTypes) { + public function getContentMetadata(): ?ProcessContentRequest { + $val = $this->getBackingStore()->get('contentMetadata'); + if (is_null($val) || $val instanceof ProcessContentRequest) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'externalUserType'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentMetadata'"); } /** @@ -56,12 +43,24 @@ public function getExternalUserType(): ?ConditionalAccessGuestOrExternalUserType public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'externalTenantId' => fn(ParseNode $n) => $o->setExternalTenantId($n->getStringValue()), - 'externalUserType' => fn(ParseNode $n) => $o->setExternalUserType($n->getEnumValue(ConditionalAccessGuestOrExternalUserTypes::class)), + 'contentMetadata' => fn(ParseNode $n) => $o->setContentMetadata($n->getObjectValue([ProcessContentRequest::class, 'createFromDiscriminatorValue'])), + 'scopeIdentifier' => fn(ParseNode $n) => $o->setScopeIdentifier($n->getStringValue()), 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), ]); } + /** + * Gets the scopeIdentifier property value. The scopeIdentifier property + * @return string|null + */ + public function getScopeIdentifier(): ?string { + $val = $this->getBackingStore()->get('scopeIdentifier'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scopeIdentifier'"); + } + /** * Gets the userId property value. The userId property * @return string|null @@ -80,25 +79,25 @@ public function getUserId(): ?string { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeStringValue('externalTenantId', $this->getExternalTenantId()); - $writer->writeEnumValue('externalUserType', $this->getExternalUserType()); + $writer->writeObjectValue('contentMetadata', $this->getContentMetadata()); + $writer->writeStringValue('scopeIdentifier', $this->getScopeIdentifier()); $writer->writeStringValue('userId', $this->getUserId()); } /** - * Sets the externalTenantId property value. The externalTenantId property - * @param string|null $value Value to set for the externalTenantId property. + * Sets the contentMetadata property value. The contentMetadata property + * @param ProcessContentRequest|null $value Value to set for the contentMetadata property. */ - public function setExternalTenantId(?string $value): void { - $this->getBackingStore()->set('externalTenantId', $value); + public function setContentMetadata(?ProcessContentRequest $value): void { + $this->getBackingStore()->set('contentMetadata', $value); } /** - * Sets the externalUserType property value. The externalUserType property - * @param ConditionalAccessGuestOrExternalUserTypes|null $value Value to set for the externalUserType property. + * Sets the scopeIdentifier property value. The scopeIdentifier property + * @param string|null $value Value to set for the scopeIdentifier property. */ - public function setExternalUserType(?ConditionalAccessGuestOrExternalUserTypes $value): void { - $this->getBackingStore()->set('externalUserType', $value); + public function setScopeIdentifier(?string $value): void { + $this->getBackingStore()->set('scopeIdentifier', $value); } /** diff --git a/src/Generated/Models/NamedLocationCollectionResponse.php b/src/Generated/Models/ContentActivityCollectionResponse.php similarity index 73% rename from src/Generated/Models/NamedLocationCollectionResponse.php rename to src/Generated/Models/ContentActivityCollectionResponse.php index 6234a9999b3..1ef4669d0a5 100644 --- a/src/Generated/Models/NamedLocationCollectionResponse.php +++ b/src/Generated/Models/ContentActivityCollectionResponse.php @@ -7,10 +7,10 @@ use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; use Microsoft\Kiota\Abstractions\Types\TypeUtils; -class NamedLocationCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable +class ContentActivityCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { /** - * Instantiates a new NamedLocationCollectionResponse and sets the default values. + * Instantiates a new ContentActivityCollectionResponse and sets the default values. */ public function __construct() { parent::__construct(); @@ -19,10 +19,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return NamedLocationCollectionResponse + * @return ContentActivityCollectionResponse */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): NamedLocationCollectionResponse { - return new NamedLocationCollectionResponse(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ContentActivityCollectionResponse { + return new ContentActivityCollectionResponse(); } /** @@ -32,19 +32,19 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Named public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([NamedLocation::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ContentActivity::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, NamedLocation::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, ContentActivity::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Models/ConditionalAccessWhatIfSubject.php b/src/Generated/Models/ContentBase.php similarity index 89% rename from src/Generated/Models/ConditionalAccessWhatIfSubject.php rename to src/Generated/Models/ContentBase.php index aa171243a78..0eee3ba6e79 100644 --- a/src/Generated/Models/ConditionalAccessWhatIfSubject.php +++ b/src/Generated/Models/ContentBase.php @@ -10,7 +10,7 @@ use Microsoft\Kiota\Abstractions\Store\BackingStore; use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -class ConditionalAccessWhatIfSubject implements AdditionalDataHolder, BackedModel, Parsable +class ContentBase implements AdditionalDataHolder, BackedModel, Parsable { /** * @var BackingStore $backingStore Stores model information. @@ -18,7 +18,7 @@ class ConditionalAccessWhatIfSubject implements AdditionalDataHolder, BackedMode private BackingStore $backingStore; /** - * Instantiates a new ConditionalAccessWhatIfSubject and sets the default values. + * Instantiates a new ContentBase and sets the default values. */ public function __construct() { $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); @@ -28,18 +28,18 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ConditionalAccessWhatIfSubject + * @return ContentBase */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ConditionalAccessWhatIfSubject { + public static function createFromDiscriminatorValue(ParseNode $parseNode): ContentBase { $mappingValueNode = $parseNode->getChildNode("@odata.type"); if ($mappingValueNode !== null) { $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { - case '#microsoft.graph.servicePrincipalSubject': return new ServicePrincipalSubject(); - case '#microsoft.graph.userSubject': return new UserSubject(); + case '#microsoft.graph.binaryContent': return new BinaryContent(); + case '#microsoft.graph.textContent': return new TextContent(); } } - return new ConditionalAccessWhatIfSubject(); + return new ContentBase(); } /** diff --git a/src/Generated/Models/ContentProcessingErrorType.php b/src/Generated/Models/ContentProcessingErrorType.php new file mode 100644 index 00000000000..25c70050a71 --- /dev/null +++ b/src/Generated/Models/ContentProcessingErrorType.php @@ -0,0 +1,11 @@ +getBackingStore()->get('enhancedPersonalization'); + if (is_null($val) || $val instanceof EnhancedPersonalizationSetting) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'enhancedPersonalization'"); + } + /** * The deserialization information for the current model * @return array @@ -31,6 +43,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Copil public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'enhancedPersonalization' => fn(ParseNode $n) => $o->setEnhancedPersonalization($n->getObjectValue([EnhancedPersonalizationSetting::class, 'createFromDiscriminatorValue'])), ]); } @@ -40,6 +53,15 @@ public function getFieldDeserializers(): array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('enhancedPersonalization', $this->getEnhancedPersonalization()); + } + + /** + * Sets the enhancedPersonalization property value. The enhancedPersonalization property + * @param EnhancedPersonalizationSetting|null $value Value to set for the enhancedPersonalization property. + */ + public function setEnhancedPersonalization(?EnhancedPersonalizationSetting $value): void { + $this->getBackingStore()->set('enhancedPersonalization', $value); } } diff --git a/src/Generated/Models/CountryLookupMethodType.php b/src/Generated/Models/CountryLookupMethodType.php deleted file mode 100644 index de7a8f041be..00000000000 --- a/src/Generated/Models/CountryLookupMethodType.php +++ /dev/null @@ -1,11 +0,0 @@ -|null - */ - public function getCountriesAndRegions(): ?array { - $val = $this->getBackingStore()->get('countriesAndRegions'); - 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 'countriesAndRegions'"); - } - - /** - * Gets the countryLookupMethod property value. Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress (default) and authenticatorAppGps. - * @return CountryLookupMethodType|null - */ - public function getCountryLookupMethod(): ?CountryLookupMethodType { - $val = $this->getBackingStore()->get('countryLookupMethod'); - if (is_null($val) || $val instanceof CountryLookupMethodType) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'countryLookupMethod'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'countriesAndRegions' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setCountriesAndRegions($val); - }, - 'countryLookupMethod' => fn(ParseNode $n) => $o->setCountryLookupMethod($n->getEnumValue(CountryLookupMethodType::class)), - 'includeUnknownCountriesAndRegions' => fn(ParseNode $n) => $o->setIncludeUnknownCountriesAndRegions($n->getBooleanValue()), - ]); - } - - /** - * Gets the includeUnknownCountriesAndRegions property value. true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false. - * @return bool|null - */ - public function getIncludeUnknownCountriesAndRegions(): ?bool { - $val = $this->getBackingStore()->get('includeUnknownCountriesAndRegions'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'includeUnknownCountriesAndRegions'"); - } - - /** - * 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->writeCollectionOfPrimitiveValues('countriesAndRegions', $this->getCountriesAndRegions()); - $writer->writeEnumValue('countryLookupMethod', $this->getCountryLookupMethod()); - $writer->writeBooleanValue('includeUnknownCountriesAndRegions', $this->getIncludeUnknownCountriesAndRegions()); - } - - /** - * Sets the countriesAndRegions property value. List of countries and/or regions in two-letter format specified by ISO 3166-2. - * @param array|null $value Value to set for the countriesAndRegions property. - */ - public function setCountriesAndRegions(?array $value): void { - $this->getBackingStore()->set('countriesAndRegions', $value); - } - - /** - * Sets the countryLookupMethod property value. Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress (default) and authenticatorAppGps. - * @param CountryLookupMethodType|null $value Value to set for the countryLookupMethod property. - */ - public function setCountryLookupMethod(?CountryLookupMethodType $value): void { - $this->getBackingStore()->set('countryLookupMethod', $value); - } - - /** - * Sets the includeUnknownCountriesAndRegions property value. true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false. - * @param bool|null $value Value to set for the includeUnknownCountriesAndRegions property. - */ - public function setIncludeUnknownCountriesAndRegions(?bool $value): void { - $this->getBackingStore()->set('includeUnknownCountriesAndRegions', $value); - } - -} diff --git a/src/Generated/Models/CustomMetadataDictionary.php b/src/Generated/Models/CustomMetadataDictionary.php new file mode 100644 index 00000000000..f8ea5c2e866 --- /dev/null +++ b/src/Generated/Models/CustomMetadataDictionary.php @@ -0,0 +1,45 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/DataSecurityAndGovernance.php b/src/Generated/Models/DataSecurityAndGovernance.php new file mode 100644 index 00000000000..99dcdfaa790 --- /dev/null +++ b/src/Generated/Models/DataSecurityAndGovernance.php @@ -0,0 +1,78 @@ +getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.tenantDataSecurityAndGovernance': return new TenantDataSecurityAndGovernance(); + case '#microsoft.graph.userDataSecurityAndGovernance': return new UserDataSecurityAndGovernance(); + } + } + return new DataSecurityAndGovernance(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'sensitivityLabels' => fn(ParseNode $n) => $o->setSensitivityLabels($n->getCollectionOfObjectValues([SensitivityLabel::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * 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 { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('sensitivityLabels', $this->getSensitivityLabels()); + } + + /** + * 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/ConditionalAccessPolicyCollectionResponse.php b/src/Generated/Models/DelegationSettingsCollectionResponse.php similarity index 70% rename from src/Generated/Models/ConditionalAccessPolicyCollectionResponse.php rename to src/Generated/Models/DelegationSettingsCollectionResponse.php index a84ed4136fa..5d9da80e56c 100644 --- a/src/Generated/Models/ConditionalAccessPolicyCollectionResponse.php +++ b/src/Generated/Models/DelegationSettingsCollectionResponse.php @@ -7,10 +7,10 @@ use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; use Microsoft\Kiota\Abstractions\Types\TypeUtils; -class ConditionalAccessPolicyCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable +class DelegationSettingsCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { /** - * Instantiates a new ConditionalAccessPolicyCollectionResponse and sets the default values. + * Instantiates a new DelegationSettingsCollectionResponse and sets the default values. */ public function __construct() { parent::__construct(); @@ -19,10 +19,10 @@ public function __construct() { /** * Creates a new instance of the appropriate class based on discriminator value * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object - * @return ConditionalAccessPolicyCollectionResponse + * @return DelegationSettingsCollectionResponse */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ConditionalAccessPolicyCollectionResponse { - return new ConditionalAccessPolicyCollectionResponse(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): DelegationSettingsCollectionResponse { + return new DelegationSettingsCollectionResponse(); } /** @@ -32,19 +32,19 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Condi public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([DelegationSettings::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConditionalAccessPolicy::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, DelegationSettings::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Models/DeviceInfo.php b/src/Generated/Models/DeviceInfo.php deleted file mode 100644 index a6afea9c5e5..00000000000 --- a/src/Generated/Models/DeviceInfo.php +++ /dev/null @@ -1,771 +0,0 @@ -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 DeviceInfo - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): DeviceInfo { - return new DeviceInfo(); - } - - /** - * 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 deviceId property value. Unique identifier set by Azure Device Registration Service at the time of registration. - * @return string|null - */ - public function getDeviceId(): ?string { - $val = $this->getBackingStore()->get('deviceId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceId'"); - } - - /** - * Gets the displayName property value. The display name for the device. - * @return string|null - */ - public function getDisplayName(): ?string { - $val = $this->getBackingStore()->get('displayName'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); - } - - /** - * Gets the enrollmentProfileName property value. Enrollment profile applied to the device. - * @return string|null - */ - public function getEnrollmentProfileName(): ?string { - $val = $this->getBackingStore()->get('enrollmentProfileName'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'enrollmentProfileName'"); - } - - /** - * Gets the extensionAttribute1 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute1(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute1'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute1'"); - } - - /** - * Gets the extensionAttribute10 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute10(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute10'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute10'"); - } - - /** - * Gets the extensionAttribute11 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute11(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute11'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute11'"); - } - - /** - * Gets the extensionAttribute12 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute12(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute12'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute12'"); - } - - /** - * Gets the extensionAttribute13 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute13(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute13'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute13'"); - } - - /** - * Gets the extensionAttribute14 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute14(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute14'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute14'"); - } - - /** - * Gets the extensionAttribute15 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute15(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute15'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute15'"); - } - - /** - * Gets the extensionAttribute2 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute2(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute2'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute2'"); - } - - /** - * Gets the extensionAttribute3 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute3(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute3'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute3'"); - } - - /** - * Gets the extensionAttribute4 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute4(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute4'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute4'"); - } - - /** - * Gets the extensionAttribute5 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute5(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute5'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute5'"); - } - - /** - * Gets the extensionAttribute6 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute6(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute6'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute6'"); - } - - /** - * Gets the extensionAttribute7 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute7(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute7'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute7'"); - } - - /** - * Gets the extensionAttribute8 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute8(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute8'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute8'"); - } - - /** - * Gets the extensionAttribute9 property value. Extension attribute. - * @return string|null - */ - public function getExtensionAttribute9(): ?string { - $val = $this->getBackingStore()->get('extensionAttribute9'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'extensionAttribute9'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return [ - 'deviceId' => fn(ParseNode $n) => $o->setDeviceId($n->getStringValue()), - 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), - 'enrollmentProfileName' => fn(ParseNode $n) => $o->setEnrollmentProfileName($n->getStringValue()), - 'extensionAttribute1' => fn(ParseNode $n) => $o->setExtensionAttribute1($n->getStringValue()), - 'extensionAttribute10' => fn(ParseNode $n) => $o->setExtensionAttribute10($n->getStringValue()), - 'extensionAttribute11' => fn(ParseNode $n) => $o->setExtensionAttribute11($n->getStringValue()), - 'extensionAttribute12' => fn(ParseNode $n) => $o->setExtensionAttribute12($n->getStringValue()), - 'extensionAttribute13' => fn(ParseNode $n) => $o->setExtensionAttribute13($n->getStringValue()), - 'extensionAttribute14' => fn(ParseNode $n) => $o->setExtensionAttribute14($n->getStringValue()), - 'extensionAttribute15' => fn(ParseNode $n) => $o->setExtensionAttribute15($n->getStringValue()), - 'extensionAttribute2' => fn(ParseNode $n) => $o->setExtensionAttribute2($n->getStringValue()), - 'extensionAttribute3' => fn(ParseNode $n) => $o->setExtensionAttribute3($n->getStringValue()), - 'extensionAttribute4' => fn(ParseNode $n) => $o->setExtensionAttribute4($n->getStringValue()), - 'extensionAttribute5' => fn(ParseNode $n) => $o->setExtensionAttribute5($n->getStringValue()), - 'extensionAttribute6' => fn(ParseNode $n) => $o->setExtensionAttribute6($n->getStringValue()), - 'extensionAttribute7' => fn(ParseNode $n) => $o->setExtensionAttribute7($n->getStringValue()), - 'extensionAttribute8' => fn(ParseNode $n) => $o->setExtensionAttribute8($n->getStringValue()), - 'extensionAttribute9' => fn(ParseNode $n) => $o->setExtensionAttribute9($n->getStringValue()), - 'isCompliant' => fn(ParseNode $n) => $o->setIsCompliant($n->getBooleanValue()), - 'manufacturer' => fn(ParseNode $n) => $o->setManufacturer($n->getStringValue()), - 'mdmAppId' => fn(ParseNode $n) => $o->setMdmAppId($n->getStringValue()), - 'model' => fn(ParseNode $n) => $o->setModel($n->getStringValue()), - '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), - 'operatingSystem' => fn(ParseNode $n) => $o->setOperatingSystem($n->getStringValue()), - 'operatingSystemVersion' => fn(ParseNode $n) => $o->setOperatingSystemVersion($n->getStringValue()), - 'ownership' => fn(ParseNode $n) => $o->setOwnership($n->getStringValue()), - 'physicalIds' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setPhysicalIds($val); - }, - 'profileType' => fn(ParseNode $n) => $o->setProfileType($n->getStringValue()), - 'systemLabels' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setSystemLabels($val); - }, - 'trustType' => fn(ParseNode $n) => $o->setTrustType($n->getStringValue()), - ]; - } - - /** - * Gets the isCompliant property value. Indicates the device compliance status with Mobile Management Device (MDM) policies. - * @return bool|null - */ - public function getIsCompliant(): ?bool { - $val = $this->getBackingStore()->get('isCompliant'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'isCompliant'"); - } - - /** - * Gets the manufacturer property value. Manufacturer of the device. - * @return string|null - */ - public function getManufacturer(): ?string { - $val = $this->getBackingStore()->get('manufacturer'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'manufacturer'"); - } - - /** - * Gets the mdmAppId property value. Application identifier used to register device into MDM. - * @return string|null - */ - public function getMdmAppId(): ?string { - $val = $this->getBackingStore()->get('mdmAppId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'mdmAppId'"); - } - - /** - * Gets the model property value. Model of the device. - * @return string|null - */ - public function getModel(): ?string { - $val = $this->getBackingStore()->get('model'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'model'"); - } - - /** - * 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 operatingSystem property value. The type of operating system on the device. - * @return string|null - */ - public function getOperatingSystem(): ?string { - $val = $this->getBackingStore()->get('operatingSystem'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'operatingSystem'"); - } - - /** - * Gets the operatingSystemVersion property value. The version of the operating system on the device. - * @return string|null - */ - public function getOperatingSystemVersion(): ?string { - $val = $this->getBackingStore()->get('operatingSystemVersion'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'operatingSystemVersion'"); - } - - /** - * Gets the ownership property value. Ownership of the device. This property is set by Intune. - * @return string|null - */ - public function getOwnership(): ?string { - $val = $this->getBackingStore()->get('ownership'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'ownership'"); - } - - /** - * Gets the physicalIds property value. A collection of physical identifiers for the device. - * @return array|null - */ - public function getPhysicalIds(): ?array { - $val = $this->getBackingStore()->get('physicalIds'); - 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 'physicalIds'"); - } - - /** - * Gets the profileType property value. The profile type of the device. - * @return string|null - */ - public function getProfileType(): ?string { - $val = $this->getBackingStore()->get('profileType'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'profileType'"); - } - - /** - * Gets the systemLabels property value. List of labels applied to the device by the system. - * @return array|null - */ - public function getSystemLabels(): ?array { - $val = $this->getBackingStore()->get('systemLabels'); - 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 'systemLabels'"); - } - - /** - * Gets the trustType property value. Type of trust for the joined device. - * @return string|null - */ - public function getTrustType(): ?string { - $val = $this->getBackingStore()->get('trustType'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'trustType'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - $writer->writeStringValue('deviceId', $this->getDeviceId()); - $writer->writeStringValue('displayName', $this->getDisplayName()); - $writer->writeStringValue('enrollmentProfileName', $this->getEnrollmentProfileName()); - $writer->writeStringValue('extensionAttribute1', $this->getExtensionAttribute1()); - $writer->writeStringValue('extensionAttribute10', $this->getExtensionAttribute10()); - $writer->writeStringValue('extensionAttribute11', $this->getExtensionAttribute11()); - $writer->writeStringValue('extensionAttribute12', $this->getExtensionAttribute12()); - $writer->writeStringValue('extensionAttribute13', $this->getExtensionAttribute13()); - $writer->writeStringValue('extensionAttribute14', $this->getExtensionAttribute14()); - $writer->writeStringValue('extensionAttribute15', $this->getExtensionAttribute15()); - $writer->writeStringValue('extensionAttribute2', $this->getExtensionAttribute2()); - $writer->writeStringValue('extensionAttribute3', $this->getExtensionAttribute3()); - $writer->writeStringValue('extensionAttribute4', $this->getExtensionAttribute4()); - $writer->writeStringValue('extensionAttribute5', $this->getExtensionAttribute5()); - $writer->writeStringValue('extensionAttribute6', $this->getExtensionAttribute6()); - $writer->writeStringValue('extensionAttribute7', $this->getExtensionAttribute7()); - $writer->writeStringValue('extensionAttribute8', $this->getExtensionAttribute8()); - $writer->writeStringValue('extensionAttribute9', $this->getExtensionAttribute9()); - $writer->writeBooleanValue('isCompliant', $this->getIsCompliant()); - $writer->writeStringValue('manufacturer', $this->getManufacturer()); - $writer->writeStringValue('mdmAppId', $this->getMdmAppId()); - $writer->writeStringValue('model', $this->getModel()); - $writer->writeStringValue('@odata.type', $this->getOdataType()); - $writer->writeStringValue('operatingSystem', $this->getOperatingSystem()); - $writer->writeStringValue('operatingSystemVersion', $this->getOperatingSystemVersion()); - $writer->writeStringValue('ownership', $this->getOwnership()); - $writer->writeCollectionOfPrimitiveValues('physicalIds', $this->getPhysicalIds()); - $writer->writeStringValue('profileType', $this->getProfileType()); - $writer->writeCollectionOfPrimitiveValues('systemLabels', $this->getSystemLabels()); - $writer->writeStringValue('trustType', $this->getTrustType()); - $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 deviceId property value. Unique identifier set by Azure Device Registration Service at the time of registration. - * @param string|null $value Value to set for the deviceId property. - */ - public function setDeviceId(?string $value): void { - $this->getBackingStore()->set('deviceId', $value); - } - - /** - * Sets the displayName property value. The display name for the device. - * @param string|null $value Value to set for the displayName property. - */ - public function setDisplayName(?string $value): void { - $this->getBackingStore()->set('displayName', $value); - } - - /** - * Sets the enrollmentProfileName property value. Enrollment profile applied to the device. - * @param string|null $value Value to set for the enrollmentProfileName property. - */ - public function setEnrollmentProfileName(?string $value): void { - $this->getBackingStore()->set('enrollmentProfileName', $value); - } - - /** - * Sets the extensionAttribute1 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute1 property. - */ - public function setExtensionAttribute1(?string $value): void { - $this->getBackingStore()->set('extensionAttribute1', $value); - } - - /** - * Sets the extensionAttribute10 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute10 property. - */ - public function setExtensionAttribute10(?string $value): void { - $this->getBackingStore()->set('extensionAttribute10', $value); - } - - /** - * Sets the extensionAttribute11 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute11 property. - */ - public function setExtensionAttribute11(?string $value): void { - $this->getBackingStore()->set('extensionAttribute11', $value); - } - - /** - * Sets the extensionAttribute12 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute12 property. - */ - public function setExtensionAttribute12(?string $value): void { - $this->getBackingStore()->set('extensionAttribute12', $value); - } - - /** - * Sets the extensionAttribute13 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute13 property. - */ - public function setExtensionAttribute13(?string $value): void { - $this->getBackingStore()->set('extensionAttribute13', $value); - } - - /** - * Sets the extensionAttribute14 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute14 property. - */ - public function setExtensionAttribute14(?string $value): void { - $this->getBackingStore()->set('extensionAttribute14', $value); - } - - /** - * Sets the extensionAttribute15 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute15 property. - */ - public function setExtensionAttribute15(?string $value): void { - $this->getBackingStore()->set('extensionAttribute15', $value); - } - - /** - * Sets the extensionAttribute2 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute2 property. - */ - public function setExtensionAttribute2(?string $value): void { - $this->getBackingStore()->set('extensionAttribute2', $value); - } - - /** - * Sets the extensionAttribute3 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute3 property. - */ - public function setExtensionAttribute3(?string $value): void { - $this->getBackingStore()->set('extensionAttribute3', $value); - } - - /** - * Sets the extensionAttribute4 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute4 property. - */ - public function setExtensionAttribute4(?string $value): void { - $this->getBackingStore()->set('extensionAttribute4', $value); - } - - /** - * Sets the extensionAttribute5 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute5 property. - */ - public function setExtensionAttribute5(?string $value): void { - $this->getBackingStore()->set('extensionAttribute5', $value); - } - - /** - * Sets the extensionAttribute6 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute6 property. - */ - public function setExtensionAttribute6(?string $value): void { - $this->getBackingStore()->set('extensionAttribute6', $value); - } - - /** - * Sets the extensionAttribute7 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute7 property. - */ - public function setExtensionAttribute7(?string $value): void { - $this->getBackingStore()->set('extensionAttribute7', $value); - } - - /** - * Sets the extensionAttribute8 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute8 property. - */ - public function setExtensionAttribute8(?string $value): void { - $this->getBackingStore()->set('extensionAttribute8', $value); - } - - /** - * Sets the extensionAttribute9 property value. Extension attribute. - * @param string|null $value Value to set for the extensionAttribute9 property. - */ - public function setExtensionAttribute9(?string $value): void { - $this->getBackingStore()->set('extensionAttribute9', $value); - } - - /** - * Sets the isCompliant property value. Indicates the device compliance status with Mobile Management Device (MDM) policies. - * @param bool|null $value Value to set for the isCompliant property. - */ - public function setIsCompliant(?bool $value): void { - $this->getBackingStore()->set('isCompliant', $value); - } - - /** - * Sets the manufacturer property value. Manufacturer of the device. - * @param string|null $value Value to set for the manufacturer property. - */ - public function setManufacturer(?string $value): void { - $this->getBackingStore()->set('manufacturer', $value); - } - - /** - * Sets the mdmAppId property value. Application identifier used to register device into MDM. - * @param string|null $value Value to set for the mdmAppId property. - */ - public function setMdmAppId(?string $value): void { - $this->getBackingStore()->set('mdmAppId', $value); - } - - /** - * Sets the model property value. Model of the device. - * @param string|null $value Value to set for the model property. - */ - public function setModel(?string $value): void { - $this->getBackingStore()->set('model', $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 operatingSystem property value. The type of operating system on the device. - * @param string|null $value Value to set for the operatingSystem property. - */ - public function setOperatingSystem(?string $value): void { - $this->getBackingStore()->set('operatingSystem', $value); - } - - /** - * Sets the operatingSystemVersion property value. The version of the operating system on the device. - * @param string|null $value Value to set for the operatingSystemVersion property. - */ - public function setOperatingSystemVersion(?string $value): void { - $this->getBackingStore()->set('operatingSystemVersion', $value); - } - - /** - * Sets the ownership property value. Ownership of the device. This property is set by Intune. - * @param string|null $value Value to set for the ownership property. - */ - public function setOwnership(?string $value): void { - $this->getBackingStore()->set('ownership', $value); - } - - /** - * Sets the physicalIds property value. A collection of physical identifiers for the device. - * @param array|null $value Value to set for the physicalIds property. - */ - public function setPhysicalIds(?array $value): void { - $this->getBackingStore()->set('physicalIds', $value); - } - - /** - * Sets the profileType property value. The profile type of the device. - * @param string|null $value Value to set for the profileType property. - */ - public function setProfileType(?string $value): void { - $this->getBackingStore()->set('profileType', $value); - } - - /** - * Sets the systemLabels property value. List of labels applied to the device by the system. - * @param array|null $value Value to set for the systemLabels property. - */ - public function setSystemLabels(?array $value): void { - $this->getBackingStore()->set('systemLabels', $value); - } - - /** - * Sets the trustType property value. Type of trust for the joined device. - * @param string|null $value Value to set for the trustType property. - */ - public function setTrustType(?string $value): void { - $this->getBackingStore()->set('trustType', $value); - } - -} diff --git a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php index 7d014191bdb..ba40cf6ddb9 100644 --- a/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php @@ -37,7 +37,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the maximumCount property value. Maximum number of choices in the collection + * Gets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 * @return int|null */ public function getMaximumCount(): ?int { @@ -49,7 +49,7 @@ public function getMaximumCount(): ?int { } /** - * Gets the minimumCount property value. Minimum number of choices in the collection + * Gets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 * @return int|null */ public function getMinimumCount(): ?int { @@ -71,7 +71,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the maximumCount property value. Maximum number of choices in the collection + * Sets the maximumCount property value. Maximum number of choices in the collection. Valid values 1 to 100 * @param int|null $value Value to set for the maximumCount property. */ public function setMaximumCount(?int $value): void { @@ -79,7 +79,7 @@ public function setMaximumCount(?int $value): void { } /** - * Sets the minimumCount property value. Minimum number of choices in the collection + * Sets the minimumCount property value. Minimum number of choices in the collection. Valid values 1 to 100 * @param int|null $value Value to set for the minimumCount property. */ public function setMinimumCount(?int $value): void { diff --git a/src/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.php b/src/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.php index 67276ec05b5..92534302123 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/DeviceManagementConfigurationStringSettingValueDefinition.php b/src/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.php index 1eb922e8001..4e883bce7ea 100644 --- a/src/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.php +++ b/src/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.php @@ -67,7 +67,7 @@ public function getFileTypes(): ?array { } /** - * Gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + * Gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. * @return DeviceManagementConfigurationStringFormat|null */ public function getFormat(): ?DeviceManagementConfigurationStringFormat { @@ -103,7 +103,7 @@ public function getIsSecret(): ?bool { } /** - * Gets the maximumLength property value. Maximum length of string + * Gets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 * @return int|null */ public function getMaximumLength(): ?int { @@ -115,7 +115,7 @@ public function getMaximumLength(): ?int { } /** - * Gets the minimumLength property value. Minimum length of string + * Gets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 * @return int|null */ public function getMinimumLength(): ?int { @@ -149,7 +149,7 @@ public function setFileTypes(?array $value): void { } /** - * Sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + * Sets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. * @param DeviceManagementConfigurationStringFormat|null $value Value to set for the format property. */ public function setFormat(?DeviceManagementConfigurationStringFormat $value): void { @@ -173,7 +173,7 @@ public function setIsSecret(?bool $value): void { } /** - * Sets the maximumLength property value. Maximum length of string + * Sets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 * @param int|null $value Value to set for the maximumLength property. */ public function setMaximumLength(?int $value): void { @@ -181,7 +181,7 @@ public function setMaximumLength(?int $value): void { } /** - * Sets the minimumLength property value. Minimum length of string + * Sets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 * @param int|null $value Value to set for the minimumLength property. */ public function setMinimumLength(?int $value): void { diff --git a/src/Generated/Models/Dictionary.php b/src/Generated/Models/Dictionary.php index 9515e44b484..e438a398683 100644 --- a/src/Generated/Models/Dictionary.php +++ b/src/Generated/Models/Dictionary.php @@ -37,6 +37,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Dicti $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { case '#microsoft.graph.customAppScopeAttributesDictionary': return new CustomAppScopeAttributesDictionary(); + case '#microsoft.graph.customMetadataDictionary': return new CustomMetadataDictionary(); case '#microsoft.graph.fileStorageContainerCustomPropertyDictionary': return new FileStorageContainerCustomPropertyDictionary(); case '#microsoft.graph.partner.security.additionalDataDictionary': return new AdditionalDataDictionary(); case '#microsoft.graph.plannerFormsDictionary': return new PlannerFormsDictionary(); diff --git a/src/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.php b/src/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.php new file mode 100644 index 00000000000..546a60569c8 --- /dev/null +++ b/src/Generated/Models/EducationAiFeedbackAudienceEngagementSettings.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 EducationAiFeedbackAudienceEngagementSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationAiFeedbackAudienceEngagementSettings { + return new EducationAiFeedbackAudienceEngagementSettings(); + } + + /** + * 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 areEngagementStrategiesEnabled property value. The areEngagementStrategiesEnabled property + * @return bool|null + */ + public function getAreEngagementStrategiesEnabled(): ?bool { + $val = $this->getBackingStore()->get('areEngagementStrategiesEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'areEngagementStrategiesEnabled'"); + } + + /** + * 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 [ + 'areEngagementStrategiesEnabled' => fn(ParseNode $n) => $o->setAreEngagementStrategiesEnabled($n->getBooleanValue()), + 'isCallToActionEnabled' => fn(ParseNode $n) => $o->setIsCallToActionEnabled($n->getBooleanValue()), + 'isEmotionalAndIntellectualAppealEnabled' => fn(ParseNode $n) => $o->setIsEmotionalAndIntellectualAppealEnabled($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the isCallToActionEnabled property value. The isCallToActionEnabled property + * @return bool|null + */ + public function getIsCallToActionEnabled(): ?bool { + $val = $this->getBackingStore()->get('isCallToActionEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isCallToActionEnabled'"); + } + + /** + * Gets the isEmotionalAndIntellectualAppealEnabled property value. The isEmotionalAndIntellectualAppealEnabled property + * @return bool|null + */ + public function getIsEmotionalAndIntellectualAppealEnabled(): ?bool { + $val = $this->getBackingStore()->get('isEmotionalAndIntellectualAppealEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEmotionalAndIntellectualAppealEnabled'"); + } + + /** + * 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->writeBooleanValue('areEngagementStrategiesEnabled', $this->getAreEngagementStrategiesEnabled()); + $writer->writeBooleanValue('isCallToActionEnabled', $this->getIsCallToActionEnabled()); + $writer->writeBooleanValue('isEmotionalAndIntellectualAppealEnabled', $this->getIsEmotionalAndIntellectualAppealEnabled()); + $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 areEngagementStrategiesEnabled property value. The areEngagementStrategiesEnabled property + * @param bool|null $value Value to set for the areEngagementStrategiesEnabled property. + */ + public function setAreEngagementStrategiesEnabled(?bool $value): void { + $this->getBackingStore()->set('areEngagementStrategiesEnabled', $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 isCallToActionEnabled property value. The isCallToActionEnabled property + * @param bool|null $value Value to set for the isCallToActionEnabled property. + */ + public function setIsCallToActionEnabled(?bool $value): void { + $this->getBackingStore()->set('isCallToActionEnabled', $value); + } + + /** + * Sets the isEmotionalAndIntellectualAppealEnabled property value. The isEmotionalAndIntellectualAppealEnabled property + * @param bool|null $value Value to set for the isEmotionalAndIntellectualAppealEnabled property. + */ + public function setIsEmotionalAndIntellectualAppealEnabled(?bool $value): void { + $this->getBackingStore()->set('isEmotionalAndIntellectualAppealEnabled', $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/EducationAiFeedbackContentSettings.php b/src/Generated/Models/EducationAiFeedbackContentSettings.php new file mode 100644 index 00000000000..5acb337e510 --- /dev/null +++ b/src/Generated/Models/EducationAiFeedbackContentSettings.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 EducationAiFeedbackContentSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationAiFeedbackContentSettings { + return new EducationAiFeedbackContentSettings(); + } + + /** + * 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 [ + 'isMessageClarityEnabled' => fn(ParseNode $n) => $o->setIsMessageClarityEnabled($n->getBooleanValue()), + 'isQualityOfInformationEnabled' => fn(ParseNode $n) => $o->setIsQualityOfInformationEnabled($n->getBooleanValue()), + 'isSpeechOrganizationEnabled' => fn(ParseNode $n) => $o->setIsSpeechOrganizationEnabled($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the isMessageClarityEnabled property value. The isMessageClarityEnabled property + * @return bool|null + */ + public function getIsMessageClarityEnabled(): ?bool { + $val = $this->getBackingStore()->get('isMessageClarityEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isMessageClarityEnabled'"); + } + + /** + * Gets the isQualityOfInformationEnabled property value. The isQualityOfInformationEnabled property + * @return bool|null + */ + public function getIsQualityOfInformationEnabled(): ?bool { + $val = $this->getBackingStore()->get('isQualityOfInformationEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isQualityOfInformationEnabled'"); + } + + /** + * Gets the isSpeechOrganizationEnabled property value. The isSpeechOrganizationEnabled property + * @return bool|null + */ + public function getIsSpeechOrganizationEnabled(): ?bool { + $val = $this->getBackingStore()->get('isSpeechOrganizationEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isSpeechOrganizationEnabled'"); + } + + /** + * 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->writeBooleanValue('isMessageClarityEnabled', $this->getIsMessageClarityEnabled()); + $writer->writeBooleanValue('isQualityOfInformationEnabled', $this->getIsQualityOfInformationEnabled()); + $writer->writeBooleanValue('isSpeechOrganizationEnabled', $this->getIsSpeechOrganizationEnabled()); + $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 isMessageClarityEnabled property value. The isMessageClarityEnabled property + * @param bool|null $value Value to set for the isMessageClarityEnabled property. + */ + public function setIsMessageClarityEnabled(?bool $value): void { + $this->getBackingStore()->set('isMessageClarityEnabled', $value); + } + + /** + * Sets the isQualityOfInformationEnabled property value. The isQualityOfInformationEnabled property + * @param bool|null $value Value to set for the isQualityOfInformationEnabled property. + */ + public function setIsQualityOfInformationEnabled(?bool $value): void { + $this->getBackingStore()->set('isQualityOfInformationEnabled', $value); + } + + /** + * Sets the isSpeechOrganizationEnabled property value. The isSpeechOrganizationEnabled property + * @param bool|null $value Value to set for the isSpeechOrganizationEnabled property. + */ + public function setIsSpeechOrganizationEnabled(?bool $value): void { + $this->getBackingStore()->set('isSpeechOrganizationEnabled', $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/EducationAiFeedbackCriteria.php b/src/Generated/Models/EducationAiFeedbackCriteria.php new file mode 100644 index 00000000000..df744b8d4f2 --- /dev/null +++ b/src/Generated/Models/EducationAiFeedbackCriteria.php @@ -0,0 +1,158 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EducationAiFeedbackCriteria + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationAiFeedbackCriteria { + return new EducationAiFeedbackCriteria(); + } + + /** + * 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 aiFeedbackSettings property value. The aiFeedbackSettings property + * @return EducationAiFeedbackSettings|null + */ + public function getAiFeedbackSettings(): ?EducationAiFeedbackSettings { + $val = $this->getBackingStore()->get('aiFeedbackSettings'); + if (is_null($val) || $val instanceof EducationAiFeedbackSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'aiFeedbackSettings'"); + } + + /** + * 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 [ + 'aiFeedbackSettings' => fn(ParseNode $n) => $o->setAiFeedbackSettings($n->getObjectValue([EducationAiFeedbackSettings::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'speechType' => fn(ParseNode $n) => $o->setSpeechType($n->getEnumValue(EducationSpeechType::class)), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the speechType property value. The speechType property + * @return EducationSpeechType|null + */ + public function getSpeechType(): ?EducationSpeechType { + $val = $this->getBackingStore()->get('speechType'); + if (is_null($val) || $val instanceof EducationSpeechType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'speechType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('aiFeedbackSettings', $this->getAiFeedbackSettings()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeEnumValue('speechType', $this->getSpeechType()); + $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 aiFeedbackSettings property value. The aiFeedbackSettings property + * @param EducationAiFeedbackSettings|null $value Value to set for the aiFeedbackSettings property. + */ + public function setAiFeedbackSettings(?EducationAiFeedbackSettings $value): void { + $this->getBackingStore()->set('aiFeedbackSettings', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the speechType property value. The speechType property + * @param EducationSpeechType|null $value Value to set for the speechType property. + */ + public function setSpeechType(?EducationSpeechType $value): void { + $this->getBackingStore()->set('speechType', $value); + } + +} diff --git a/src/Generated/Models/EducationAiFeedbackDeliverySettings.php b/src/Generated/Models/EducationAiFeedbackDeliverySettings.php new file mode 100644 index 00000000000..865bc178829 --- /dev/null +++ b/src/Generated/Models/EducationAiFeedbackDeliverySettings.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 EducationAiFeedbackDeliverySettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationAiFeedbackDeliverySettings { + return new EducationAiFeedbackDeliverySettings(); + } + + /** + * 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 areRhetoricalTechniquesEnabled property value. The areRhetoricalTechniquesEnabled property + * @return bool|null + */ + public function getAreRhetoricalTechniquesEnabled(): ?bool { + $val = $this->getBackingStore()->get('areRhetoricalTechniquesEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'areRhetoricalTechniquesEnabled'"); + } + + /** + * 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 [ + 'areRhetoricalTechniquesEnabled' => fn(ParseNode $n) => $o->setAreRhetoricalTechniquesEnabled($n->getBooleanValue()), + 'isLanguageUseEnabled' => fn(ParseNode $n) => $o->setIsLanguageUseEnabled($n->getBooleanValue()), + 'isStyleEnabled' => fn(ParseNode $n) => $o->setIsStyleEnabled($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the isLanguageUseEnabled property value. The isLanguageUseEnabled property + * @return bool|null + */ + public function getIsLanguageUseEnabled(): ?bool { + $val = $this->getBackingStore()->get('isLanguageUseEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isLanguageUseEnabled'"); + } + + /** + * Gets the isStyleEnabled property value. The isStyleEnabled property + * @return bool|null + */ + public function getIsStyleEnabled(): ?bool { + $val = $this->getBackingStore()->get('isStyleEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isStyleEnabled'"); + } + + /** + * 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->writeBooleanValue('areRhetoricalTechniquesEnabled', $this->getAreRhetoricalTechniquesEnabled()); + $writer->writeBooleanValue('isLanguageUseEnabled', $this->getIsLanguageUseEnabled()); + $writer->writeBooleanValue('isStyleEnabled', $this->getIsStyleEnabled()); + $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 areRhetoricalTechniquesEnabled property value. The areRhetoricalTechniquesEnabled property + * @param bool|null $value Value to set for the areRhetoricalTechniquesEnabled property. + */ + public function setAreRhetoricalTechniquesEnabled(?bool $value): void { + $this->getBackingStore()->set('areRhetoricalTechniquesEnabled', $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 isLanguageUseEnabled property value. The isLanguageUseEnabled property + * @param bool|null $value Value to set for the isLanguageUseEnabled property. + */ + public function setIsLanguageUseEnabled(?bool $value): void { + $this->getBackingStore()->set('isLanguageUseEnabled', $value); + } + + /** + * Sets the isStyleEnabled property value. The isStyleEnabled property + * @param bool|null $value Value to set for the isStyleEnabled property. + */ + public function setIsStyleEnabled(?bool $value): void { + $this->getBackingStore()->set('isStyleEnabled', $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/EducationAiFeedbackSettings.php b/src/Generated/Models/EducationAiFeedbackSettings.php new file mode 100644 index 00000000000..99e70d5c6c9 --- /dev/null +++ b/src/Generated/Models/EducationAiFeedbackSettings.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 EducationAiFeedbackSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationAiFeedbackSettings { + return new EducationAiFeedbackSettings(); + } + + /** + * 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 audienceEngagementSettings property value. The audienceEngagementSettings property + * @return EducationAiFeedbackAudienceEngagementSettings|null + */ + public function getAudienceEngagementSettings(): ?EducationAiFeedbackAudienceEngagementSettings { + $val = $this->getBackingStore()->get('audienceEngagementSettings'); + if (is_null($val) || $val instanceof EducationAiFeedbackAudienceEngagementSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'audienceEngagementSettings'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the contentSettings property value. The contentSettings property + * @return EducationAiFeedbackContentSettings|null + */ + public function getContentSettings(): ?EducationAiFeedbackContentSettings { + $val = $this->getBackingStore()->get('contentSettings'); + if (is_null($val) || $val instanceof EducationAiFeedbackContentSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentSettings'"); + } + + /** + * Gets the deliverySettings property value. The deliverySettings property + * @return EducationAiFeedbackDeliverySettings|null + */ + public function getDeliverySettings(): ?EducationAiFeedbackDeliverySettings { + $val = $this->getBackingStore()->get('deliverySettings'); + if (is_null($val) || $val instanceof EducationAiFeedbackDeliverySettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deliverySettings'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'audienceEngagementSettings' => fn(ParseNode $n) => $o->setAudienceEngagementSettings($n->getObjectValue([EducationAiFeedbackAudienceEngagementSettings::class, 'createFromDiscriminatorValue'])), + 'contentSettings' => fn(ParseNode $n) => $o->setContentSettings($n->getObjectValue([EducationAiFeedbackContentSettings::class, 'createFromDiscriminatorValue'])), + 'deliverySettings' => fn(ParseNode $n) => $o->setDeliverySettings($n->getObjectValue([EducationAiFeedbackDeliverySettings::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('audienceEngagementSettings', $this->getAudienceEngagementSettings()); + $writer->writeObjectValue('contentSettings', $this->getContentSettings()); + $writer->writeObjectValue('deliverySettings', $this->getDeliverySettings()); + $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 audienceEngagementSettings property value. The audienceEngagementSettings property + * @param EducationAiFeedbackAudienceEngagementSettings|null $value Value to set for the audienceEngagementSettings property. + */ + public function setAudienceEngagementSettings(?EducationAiFeedbackAudienceEngagementSettings $value): void { + $this->getBackingStore()->set('audienceEngagementSettings', $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 contentSettings property value. The contentSettings property + * @param EducationAiFeedbackContentSettings|null $value Value to set for the contentSettings property. + */ + public function setContentSettings(?EducationAiFeedbackContentSettings $value): void { + $this->getBackingStore()->set('contentSettings', $value); + } + + /** + * Sets the deliverySettings property value. The deliverySettings property + * @param EducationAiFeedbackDeliverySettings|null $value Value to set for the deliverySettings property. + */ + public function setDeliverySettings(?EducationAiFeedbackDeliverySettings $value): void { + $this->getBackingStore()->set('deliverySettings', $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/EducationResource.php b/src/Generated/Models/EducationResource.php index 561b6479ca0..69cd668fc19 100644 --- a/src/Generated/Models/EducationResource.php +++ b/src/Generated/Models/EducationResource.php @@ -44,6 +44,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Educa case '#microsoft.graph.educationLinkResource': return new EducationLinkResource(); case '#microsoft.graph.educationMediaResource': return new EducationMediaResource(); case '#microsoft.graph.educationPowerPointResource': return new EducationPowerPointResource(); + case '#microsoft.graph.educationSpeakerProgressResource': return new EducationSpeakerProgressResource(); case '#microsoft.graph.educationTeamsAppResource': return new EducationTeamsAppResource(); case '#microsoft.graph.educationWordResource': return new EducationWordResource(); } diff --git a/src/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.php b/src/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.php new file mode 100644 index 00000000000..caa20de7bb2 --- /dev/null +++ b/src/Generated/Models/EducationSpeakerCoachAudienceEngagementSettings.php @@ -0,0 +1,136 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EducationSpeakerCoachAudienceEngagementSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationSpeakerCoachAudienceEngagementSettings { + return new EducationSpeakerCoachAudienceEngagementSettings(); + } + + /** + * 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 [ + 'isBodyLanguageEnabled' => fn(ParseNode $n) => $o->setIsBodyLanguageEnabled($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the isBodyLanguageEnabled property value. The isBodyLanguageEnabled property + * @return bool|null + */ + public function getIsBodyLanguageEnabled(): ?bool { + $val = $this->getBackingStore()->get('isBodyLanguageEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isBodyLanguageEnabled'"); + } + + /** + * 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->writeBooleanValue('isBodyLanguageEnabled', $this->getIsBodyLanguageEnabled()); + $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 isBodyLanguageEnabled property value. The isBodyLanguageEnabled property + * @param bool|null $value Value to set for the isBodyLanguageEnabled property. + */ + public function setIsBodyLanguageEnabled(?bool $value): void { + $this->getBackingStore()->set('isBodyLanguageEnabled', $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/EducationSpeakerCoachContentSettings.php b/src/Generated/Models/EducationSpeakerCoachContentSettings.php new file mode 100644 index 00000000000..41b4b2134ac --- /dev/null +++ b/src/Generated/Models/EducationSpeakerCoachContentSettings.php @@ -0,0 +1,158 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EducationSpeakerCoachContentSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationSpeakerCoachContentSettings { + return new EducationSpeakerCoachContentSettings(); + } + + /** + * 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 [ + 'isInclusivenessEnabled' => fn(ParseNode $n) => $o->setIsInclusivenessEnabled($n->getBooleanValue()), + 'isRepetitiveLanguageEnabled' => fn(ParseNode $n) => $o->setIsRepetitiveLanguageEnabled($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the isInclusivenessEnabled property value. The isInclusivenessEnabled property + * @return bool|null + */ + public function getIsInclusivenessEnabled(): ?bool { + $val = $this->getBackingStore()->get('isInclusivenessEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isInclusivenessEnabled'"); + } + + /** + * Gets the isRepetitiveLanguageEnabled property value. The isRepetitiveLanguageEnabled property + * @return bool|null + */ + public function getIsRepetitiveLanguageEnabled(): ?bool { + $val = $this->getBackingStore()->get('isRepetitiveLanguageEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isRepetitiveLanguageEnabled'"); + } + + /** + * 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->writeBooleanValue('isInclusivenessEnabled', $this->getIsInclusivenessEnabled()); + $writer->writeBooleanValue('isRepetitiveLanguageEnabled', $this->getIsRepetitiveLanguageEnabled()); + $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 isInclusivenessEnabled property value. The isInclusivenessEnabled property + * @param bool|null $value Value to set for the isInclusivenessEnabled property. + */ + public function setIsInclusivenessEnabled(?bool $value): void { + $this->getBackingStore()->set('isInclusivenessEnabled', $value); + } + + /** + * Sets the isRepetitiveLanguageEnabled property value. The isRepetitiveLanguageEnabled property + * @param bool|null $value Value to set for the isRepetitiveLanguageEnabled property. + */ + public function setIsRepetitiveLanguageEnabled(?bool $value): void { + $this->getBackingStore()->set('isRepetitiveLanguageEnabled', $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/EducationSpeakerCoachDeliverySettings.php b/src/Generated/Models/EducationSpeakerCoachDeliverySettings.php new file mode 100644 index 00000000000..56aede70786 --- /dev/null +++ b/src/Generated/Models/EducationSpeakerCoachDeliverySettings.php @@ -0,0 +1,202 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EducationSpeakerCoachDeliverySettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationSpeakerCoachDeliverySettings { + return new EducationSpeakerCoachDeliverySettings(); + } + + /** + * 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 areFillerWordsEnabled property value. The areFillerWordsEnabled property + * @return bool|null + */ + public function getAreFillerWordsEnabled(): ?bool { + $val = $this->getBackingStore()->get('areFillerWordsEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'areFillerWordsEnabled'"); + } + + /** + * 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 [ + 'areFillerWordsEnabled' => fn(ParseNode $n) => $o->setAreFillerWordsEnabled($n->getBooleanValue()), + 'isPaceEnabled' => fn(ParseNode $n) => $o->setIsPaceEnabled($n->getBooleanValue()), + 'isPitchEnabled' => fn(ParseNode $n) => $o->setIsPitchEnabled($n->getBooleanValue()), + 'isPronunciationEnabled' => fn(ParseNode $n) => $o->setIsPronunciationEnabled($n->getBooleanValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the isPaceEnabled property value. The isPaceEnabled property + * @return bool|null + */ + public function getIsPaceEnabled(): ?bool { + $val = $this->getBackingStore()->get('isPaceEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isPaceEnabled'"); + } + + /** + * Gets the isPitchEnabled property value. The isPitchEnabled property + * @return bool|null + */ + public function getIsPitchEnabled(): ?bool { + $val = $this->getBackingStore()->get('isPitchEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isPitchEnabled'"); + } + + /** + * Gets the isPronunciationEnabled property value. The isPronunciationEnabled property + * @return bool|null + */ + public function getIsPronunciationEnabled(): ?bool { + $val = $this->getBackingStore()->get('isPronunciationEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isPronunciationEnabled'"); + } + + /** + * 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->writeBooleanValue('areFillerWordsEnabled', $this->getAreFillerWordsEnabled()); + $writer->writeBooleanValue('isPaceEnabled', $this->getIsPaceEnabled()); + $writer->writeBooleanValue('isPitchEnabled', $this->getIsPitchEnabled()); + $writer->writeBooleanValue('isPronunciationEnabled', $this->getIsPronunciationEnabled()); + $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 areFillerWordsEnabled property value. The areFillerWordsEnabled property + * @param bool|null $value Value to set for the areFillerWordsEnabled property. + */ + public function setAreFillerWordsEnabled(?bool $value): void { + $this->getBackingStore()->set('areFillerWordsEnabled', $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 isPaceEnabled property value. The isPaceEnabled property + * @param bool|null $value Value to set for the isPaceEnabled property. + */ + public function setIsPaceEnabled(?bool $value): void { + $this->getBackingStore()->set('isPaceEnabled', $value); + } + + /** + * Sets the isPitchEnabled property value. The isPitchEnabled property + * @param bool|null $value Value to set for the isPitchEnabled property. + */ + public function setIsPitchEnabled(?bool $value): void { + $this->getBackingStore()->set('isPitchEnabled', $value); + } + + /** + * Sets the isPronunciationEnabled property value. The isPronunciationEnabled property + * @param bool|null $value Value to set for the isPronunciationEnabled property. + */ + public function setIsPronunciationEnabled(?bool $value): void { + $this->getBackingStore()->set('isPronunciationEnabled', $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/EducationSpeakerCoachSettings.php b/src/Generated/Models/EducationSpeakerCoachSettings.php new file mode 100644 index 00000000000..8bbfe111fa8 --- /dev/null +++ b/src/Generated/Models/EducationSpeakerCoachSettings.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 EducationSpeakerCoachSettings + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationSpeakerCoachSettings { + return new EducationSpeakerCoachSettings(); + } + + /** + * 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 audienceEngagementSettings property value. The audienceEngagementSettings property + * @return EducationSpeakerCoachAudienceEngagementSettings|null + */ + public function getAudienceEngagementSettings(): ?EducationSpeakerCoachAudienceEngagementSettings { + $val = $this->getBackingStore()->get('audienceEngagementSettings'); + if (is_null($val) || $val instanceof EducationSpeakerCoachAudienceEngagementSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'audienceEngagementSettings'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the contentSettings property value. The contentSettings property + * @return EducationSpeakerCoachContentSettings|null + */ + public function getContentSettings(): ?EducationSpeakerCoachContentSettings { + $val = $this->getBackingStore()->get('contentSettings'); + if (is_null($val) || $val instanceof EducationSpeakerCoachContentSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentSettings'"); + } + + /** + * Gets the deliverySettings property value. The deliverySettings property + * @return EducationSpeakerCoachDeliverySettings|null + */ + public function getDeliverySettings(): ?EducationSpeakerCoachDeliverySettings { + $val = $this->getBackingStore()->get('deliverySettings'); + if (is_null($val) || $val instanceof EducationSpeakerCoachDeliverySettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deliverySettings'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'audienceEngagementSettings' => fn(ParseNode $n) => $o->setAudienceEngagementSettings($n->getObjectValue([EducationSpeakerCoachAudienceEngagementSettings::class, 'createFromDiscriminatorValue'])), + 'contentSettings' => fn(ParseNode $n) => $o->setContentSettings($n->getObjectValue([EducationSpeakerCoachContentSettings::class, 'createFromDiscriminatorValue'])), + 'deliverySettings' => fn(ParseNode $n) => $o->setDeliverySettings($n->getObjectValue([EducationSpeakerCoachDeliverySettings::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('audienceEngagementSettings', $this->getAudienceEngagementSettings()); + $writer->writeObjectValue('contentSettings', $this->getContentSettings()); + $writer->writeObjectValue('deliverySettings', $this->getDeliverySettings()); + $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 audienceEngagementSettings property value. The audienceEngagementSettings property + * @param EducationSpeakerCoachAudienceEngagementSettings|null $value Value to set for the audienceEngagementSettings property. + */ + public function setAudienceEngagementSettings(?EducationSpeakerCoachAudienceEngagementSettings $value): void { + $this->getBackingStore()->set('audienceEngagementSettings', $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 contentSettings property value. The contentSettings property + * @param EducationSpeakerCoachContentSettings|null $value Value to set for the contentSettings property. + */ + public function setContentSettings(?EducationSpeakerCoachContentSettings $value): void { + $this->getBackingStore()->set('contentSettings', $value); + } + + /** + * Sets the deliverySettings property value. The deliverySettings property + * @param EducationSpeakerCoachDeliverySettings|null $value Value to set for the deliverySettings property. + */ + public function setDeliverySettings(?EducationSpeakerCoachDeliverySettings $value): void { + $this->getBackingStore()->set('deliverySettings', $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/EducationSpeakerProgressResource.php b/src/Generated/Models/EducationSpeakerProgressResource.php new file mode 100644 index 00000000000..e629de5945a --- /dev/null +++ b/src/Generated/Models/EducationSpeakerProgressResource.php @@ -0,0 +1,244 @@ +setOdataType('#microsoft.graph.educationSpeakerProgressResource'); + } + + /** + * 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 EducationSpeakerProgressResource + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EducationSpeakerProgressResource { + return new EducationSpeakerProgressResource(); + } + + /** + * Gets the aiFeedbackCriteria property value. The aiFeedbackCriteria property + * @return EducationAiFeedbackCriteria|null + */ + public function getAiFeedbackCriteria(): ?EducationAiFeedbackCriteria { + $val = $this->getBackingStore()->get('aiFeedbackCriteria'); + if (is_null($val) || $val instanceof EducationAiFeedbackCriteria) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'aiFeedbackCriteria'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'aiFeedbackCriteria' => fn(ParseNode $n) => $o->setAiFeedbackCriteria($n->getObjectValue([EducationAiFeedbackCriteria::class, 'createFromDiscriminatorValue'])), + 'isAiFeedbackEnabled' => fn(ParseNode $n) => $o->setIsAiFeedbackEnabled($n->getBooleanValue()), + 'isVideoRequired' => fn(ParseNode $n) => $o->setIsVideoRequired($n->getBooleanValue()), + 'maxRecordingAttempts' => fn(ParseNode $n) => $o->setMaxRecordingAttempts($n->getIntegerValue()), + 'presentationTitle' => fn(ParseNode $n) => $o->setPresentationTitle($n->getStringValue()), + 'recordingTimeLimitInMinutes' => fn(ParseNode $n) => $o->setRecordingTimeLimitInMinutes($n->getIntegerValue()), + 'showRehearsalReportToStudentBeforeMediaUpload' => fn(ParseNode $n) => $o->setShowRehearsalReportToStudentBeforeMediaUpload($n->getBooleanValue()), + 'speakerCoachSettings' => fn(ParseNode $n) => $o->setSpeakerCoachSettings($n->getObjectValue([EducationSpeakerCoachSettings::class, 'createFromDiscriminatorValue'])), + 'spokenLanguageLocale' => fn(ParseNode $n) => $o->setSpokenLanguageLocale($n->getStringValue()), + ]); + } + + /** + * Gets the isAiFeedbackEnabled property value. The isAiFeedbackEnabled property + * @return bool|null + */ + public function getIsAiFeedbackEnabled(): ?bool { + $val = $this->getBackingStore()->get('isAiFeedbackEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isAiFeedbackEnabled'"); + } + + /** + * Gets the isVideoRequired property value. The isVideoRequired property + * @return bool|null + */ + public function getIsVideoRequired(): ?bool { + $val = $this->getBackingStore()->get('isVideoRequired'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isVideoRequired'"); + } + + /** + * Gets the maxRecordingAttempts property value. The maxRecordingAttempts property + * @return int|null + */ + public function getMaxRecordingAttempts(): ?int { + $val = $this->getBackingStore()->get('maxRecordingAttempts'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'maxRecordingAttempts'"); + } + + /** + * Gets the presentationTitle property value. The presentationTitle property + * @return string|null + */ + public function getPresentationTitle(): ?string { + $val = $this->getBackingStore()->get('presentationTitle'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'presentationTitle'"); + } + + /** + * Gets the recordingTimeLimitInMinutes property value. The recordingTimeLimitInMinutes property + * @return int|null + */ + public function getRecordingTimeLimitInMinutes(): ?int { + $val = $this->getBackingStore()->get('recordingTimeLimitInMinutes'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recordingTimeLimitInMinutes'"); + } + + /** + * Gets the showRehearsalReportToStudentBeforeMediaUpload property value. The showRehearsalReportToStudentBeforeMediaUpload property + * @return bool|null + */ + public function getShowRehearsalReportToStudentBeforeMediaUpload(): ?bool { + $val = $this->getBackingStore()->get('showRehearsalReportToStudentBeforeMediaUpload'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'showRehearsalReportToStudentBeforeMediaUpload'"); + } + + /** + * Gets the speakerCoachSettings property value. The speakerCoachSettings property + * @return EducationSpeakerCoachSettings|null + */ + public function getSpeakerCoachSettings(): ?EducationSpeakerCoachSettings { + $val = $this->getBackingStore()->get('speakerCoachSettings'); + if (is_null($val) || $val instanceof EducationSpeakerCoachSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'speakerCoachSettings'"); + } + + /** + * Gets the spokenLanguageLocale property value. The spokenLanguageLocale property + * @return string|null + */ + public function getSpokenLanguageLocale(): ?string { + $val = $this->getBackingStore()->get('spokenLanguageLocale'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'spokenLanguageLocale'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('aiFeedbackCriteria', $this->getAiFeedbackCriteria()); + $writer->writeBooleanValue('isAiFeedbackEnabled', $this->getIsAiFeedbackEnabled()); + $writer->writeBooleanValue('isVideoRequired', $this->getIsVideoRequired()); + $writer->writeIntegerValue('maxRecordingAttempts', $this->getMaxRecordingAttempts()); + $writer->writeStringValue('presentationTitle', $this->getPresentationTitle()); + $writer->writeIntegerValue('recordingTimeLimitInMinutes', $this->getRecordingTimeLimitInMinutes()); + $writer->writeBooleanValue('showRehearsalReportToStudentBeforeMediaUpload', $this->getShowRehearsalReportToStudentBeforeMediaUpload()); + $writer->writeObjectValue('speakerCoachSettings', $this->getSpeakerCoachSettings()); + $writer->writeStringValue('spokenLanguageLocale', $this->getSpokenLanguageLocale()); + } + + /** + * Sets the aiFeedbackCriteria property value. The aiFeedbackCriteria property + * @param EducationAiFeedbackCriteria|null $value Value to set for the aiFeedbackCriteria property. + */ + public function setAiFeedbackCriteria(?EducationAiFeedbackCriteria $value): void { + $this->getBackingStore()->set('aiFeedbackCriteria', $value); + } + + /** + * Sets the isAiFeedbackEnabled property value. The isAiFeedbackEnabled property + * @param bool|null $value Value to set for the isAiFeedbackEnabled property. + */ + public function setIsAiFeedbackEnabled(?bool $value): void { + $this->getBackingStore()->set('isAiFeedbackEnabled', $value); + } + + /** + * Sets the isVideoRequired property value. The isVideoRequired property + * @param bool|null $value Value to set for the isVideoRequired property. + */ + public function setIsVideoRequired(?bool $value): void { + $this->getBackingStore()->set('isVideoRequired', $value); + } + + /** + * Sets the maxRecordingAttempts property value. The maxRecordingAttempts property + * @param int|null $value Value to set for the maxRecordingAttempts property. + */ + public function setMaxRecordingAttempts(?int $value): void { + $this->getBackingStore()->set('maxRecordingAttempts', $value); + } + + /** + * Sets the presentationTitle property value. The presentationTitle property + * @param string|null $value Value to set for the presentationTitle property. + */ + public function setPresentationTitle(?string $value): void { + $this->getBackingStore()->set('presentationTitle', $value); + } + + /** + * Sets the recordingTimeLimitInMinutes property value. The recordingTimeLimitInMinutes property + * @param int|null $value Value to set for the recordingTimeLimitInMinutes property. + */ + public function setRecordingTimeLimitInMinutes(?int $value): void { + $this->getBackingStore()->set('recordingTimeLimitInMinutes', $value); + } + + /** + * Sets the showRehearsalReportToStudentBeforeMediaUpload property value. The showRehearsalReportToStudentBeforeMediaUpload property + * @param bool|null $value Value to set for the showRehearsalReportToStudentBeforeMediaUpload property. + */ + public function setShowRehearsalReportToStudentBeforeMediaUpload(?bool $value): void { + $this->getBackingStore()->set('showRehearsalReportToStudentBeforeMediaUpload', $value); + } + + /** + * Sets the speakerCoachSettings property value. The speakerCoachSettings property + * @param EducationSpeakerCoachSettings|null $value Value to set for the speakerCoachSettings property. + */ + public function setSpeakerCoachSettings(?EducationSpeakerCoachSettings $value): void { + $this->getBackingStore()->set('speakerCoachSettings', $value); + } + + /** + * Sets the spokenLanguageLocale property value. The spokenLanguageLocale property + * @param string|null $value Value to set for the spokenLanguageLocale property. + */ + public function setSpokenLanguageLocale(?string $value): void { + $this->getBackingStore()->set('spokenLanguageLocale', $value); + } + +} diff --git a/src/Generated/Models/EducationSpeechType.php b/src/Generated/Models/EducationSpeechType.php new file mode 100644 index 00000000000..c87e22c725d --- /dev/null +++ b/src/Generated/Models/EducationSpeechType.php @@ -0,0 +1,12 @@ +getBackingStore()->get('disabledForGroup'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'disabledForGroup'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'disabledForGroup' => fn(ParseNode $n) => $o->setDisabledForGroup($n->getStringValue()), + 'isEnabledInOrganization' => fn(ParseNode $n) => $o->setIsEnabledInOrganization($n->getBooleanValue()), + ]); + } + + /** + * Gets the isEnabledInOrganization property value. If true, enables the enhanced personalization control and therefore related features as defined in control enhanced personalization privacy + * @return bool|null + */ + public function getIsEnabledInOrganization(): ?bool { + $val = $this->getBackingStore()->get('isEnabledInOrganization'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEnabledInOrganization'"); + } + + /** + * 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('disabledForGroup', $this->getDisabledForGroup()); + $writer->writeBooleanValue('isEnabledInOrganization', $this->getIsEnabledInOrganization()); + } + + /** + * Sets the disabledForGroup property value. The ID of a Microsoft Entra group to which the value is used to disable the control for populated users. The default value is null. This parameter is optional. + * @param string|null $value Value to set for the disabledForGroup property. + */ + public function setDisabledForGroup(?string $value): void { + $this->getBackingStore()->set('disabledForGroup', $value); + } + + /** + * Sets the isEnabledInOrganization property value. If true, enables the enhanced personalization control and therefore related features as defined in control enhanced personalization privacy + * @param bool|null $value Value to set for the isEnabledInOrganization property. + */ + public function setIsEnabledInOrganization(?bool $value): void { + $this->getBackingStore()->set('isEnabledInOrganization', $value); + } + +} diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 7bac5a189b9..4e8dcec3687 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -117,6 +117,7 @@ use Microsoft\Graph\Beta\Generated\Models\Networkaccess\BranchSite; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\ConditionalAccessPolicy; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\ConditionalAccessSettings; +use Microsoft\Graph\Beta\Generated\Models\Networkaccess\Connection; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\Connectivity; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\ConnectivityConfigurationLink; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\CrossTenantAccessSettings; @@ -166,6 +167,7 @@ use Microsoft\Graph\Beta\Generated\Models\Partners\Billing\Manifest; use Microsoft\Graph\Beta\Generated\Models\Partners\Billing\Operation; use Microsoft\Graph\Beta\Generated\Models\Partners\Billing\RunningOperation; +use Microsoft\Graph\Beta\Generated\Models\Partners\Billing\UnbilledReconciliation; use Microsoft\Graph\Beta\Generated\Models\Partners\Billing\UnbilledUsage; use Microsoft\Graph\Beta\Generated\Models\Partners\Partners; use Microsoft\Graph\Beta\Generated\Models\Search\Acronym; @@ -272,6 +274,7 @@ use Microsoft\Graph\Beta\Generated\Models\Security\WhoisRecord; use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TeamsAdminRoot; use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TeamsPolicyAssignment; +use Microsoft\Graph\Beta\Generated\Models\TeamsAdministration\TeamsUserConfiguration; use Microsoft\Graph\Beta\Generated\Models\TermStore\Group; use Microsoft\Graph\Beta\Generated\Models\TermStore\Relation; use Microsoft\Graph\Beta\Generated\Models\TermStore\Set; @@ -360,6 +363,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.accessReviewStage': return new AccessReviewStage(); case '#microsoft.graph.activeDirectoryWindowsAutopilotDeploymentProfile': return new ActiveDirectoryWindowsAutopilotDeploymentProfile(); case '#microsoft.graph.activeUsersMetric': return new ActiveUsersMetric(); + case '#microsoft.graph.activitiesContainer': return new ActivitiesContainer(); case '#microsoft.graph.activityBasedTimeoutPolicy': return new ActivityBasedTimeoutPolicy(); case '#microsoft.graph.activityHistoryItem': return new ActivityHistoryItem(); case '#microsoft.graph.activityStatistics': return new ActivityStatistics(); @@ -384,6 +388,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.agreementFileVersion': return new AgreementFileVersion(); case '#microsoft.graph.aiInteraction': return new AiInteraction(); case '#microsoft.graph.aiInteractionHistory': return new AiInteractionHistory(); + case '#microsoft.graph.aiOnlineMeeting': return new AiOnlineMeeting(); case '#microsoft.graph.aiUser': return new AiUser(); case '#microsoft.graph.alert': return new \Microsoft\Graph\Beta\Generated\Models\Alert(); case '#microsoft.graph.allowedDataLocation': return new AllowedDataLocation(); @@ -645,12 +650,14 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.cloudPcAuditEvent': return new CloudPcAuditEvent(); case '#microsoft.graph.cloudPcBulkAction': return new CloudPcBulkAction(); case '#microsoft.graph.cloudPcBulkCreateSnapshot': return new CloudPcBulkCreateSnapshot(); + case '#microsoft.graph.cloudPcBulkDisasterRecovery': return new CloudPcBulkDisasterRecovery(); case '#microsoft.graph.cloudPcBulkDisasterRecoveryFailback': return new CloudPcBulkDisasterRecoveryFailback(); case '#microsoft.graph.cloudPcBulkDisasterRecoveryFailover': return new CloudPcBulkDisasterRecoveryFailover(); case '#microsoft.graph.cloudPcBulkModifyDiskEncryptionType': return new CloudPcBulkModifyDiskEncryptionType(); case '#microsoft.graph.cloudPcBulkMove': return new CloudPcBulkMove(); case '#microsoft.graph.cloudPcBulkPowerOff': return new CloudPcBulkPowerOff(); case '#microsoft.graph.cloudPcBulkPowerOn': return new CloudPcBulkPowerOn(); + case '#microsoft.graph.cloudPcBulkReinstallAgent': return new CloudPcBulkReinstallAgent(); case '#microsoft.graph.cloudPcBulkReprovision': return new CloudPcBulkReprovision(); case '#microsoft.graph.cloudPcBulkResize': return new CloudPcBulkResize(); case '#microsoft.graph.cloudPcBulkRestart': return new CloudPcBulkRestart(); @@ -682,11 +689,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.community': return new Community(); case '#microsoft.graph.companySubscription': return new CompanySubscription(); case '#microsoft.graph.complianceManagementPartner': return new ComplianceManagementPartner(); - case '#microsoft.graph.compliantNetworkNamedLocation': return new CompliantNetworkNamedLocation(); - case '#microsoft.graph.conditionalAccessPolicy': return new ConditionalAccessPolicy(); case '#microsoft.graph.conditionalAccessRoot': return new ConditionalAccessRoot(); case '#microsoft.graph.conditionalAccessTemplate': return new ConditionalAccessTemplate(); - case '#microsoft.graph.conditionalAccessWhatIfPolicy': return new ConditionalAccessWhatIfPolicy(); case '#microsoft.graph.configManagerCollection': return new ConfigManagerCollection(); case '#microsoft.graph.connectedOrganization': return new ConnectedOrganization(); case '#microsoft.graph.connectionOperation': return new ConnectionOperation(); @@ -695,6 +699,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.contact': return new Contact(); case '#microsoft.graph.contactFolder': return new ContactFolder(); case '#microsoft.graph.contactMergeSuggestions': return new ContactMergeSuggestions(); + case '#microsoft.graph.contentActivity': return new ContentActivity(); case '#microsoft.graph.contentModel': return new ContentModel(); case '#microsoft.graph.contentSharingSession': return new ContentSharingSession(); case '#microsoft.graph.contentType': return new ContentType(); @@ -709,7 +714,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.copilotPeopleAdminSetting': return new CopilotPeopleAdminSetting(); case '#microsoft.graph.copilotSetting': return new CopilotSetting(); case '#microsoft.graph.corsConfiguration_v2': return new CorsConfiguration_v2(); - case '#microsoft.graph.countryNamedLocation': return new CountryNamedLocation(); case '#microsoft.graph.credentialUsageSummary': return new CredentialUsageSummary(); case '#microsoft.graph.credentialUserRegistrationCount': return new CredentialUserRegistrationCount(); case '#microsoft.graph.credentialUserRegistrationDetails': return new CredentialUserRegistrationDetails(); @@ -733,6 +737,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.dataCollectionInfo': return new DataCollectionInfo(); case '#microsoft.graph.dataLossPreventionPolicy': return new DataLossPreventionPolicy(); case '#microsoft.graph.dataPolicyOperation': return new DataPolicyOperation(); + case '#microsoft.graph.dataSecurityAndGovernance': return new DataSecurityAndGovernance(); case '#microsoft.graph.dataSharingConsent': return new DataSharingConsent(); case '#microsoft.graph.dayNote': return new DayNote(); case '#microsoft.graph.defaultDeviceCompliancePolicy': return new DefaultDeviceCompliancePolicy(); @@ -977,6 +982,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.endUserNotification': return new EndUserNotification(); case '#microsoft.graph.endUserNotificationDetail': return new EndUserNotificationDetail(); case '#microsoft.graph.engagementAsyncOperation': return new EngagementAsyncOperation(); + case '#microsoft.graph.enhancedPersonalizationSetting': return new EnhancedPersonalizationSetting(); case '#microsoft.graph.enrollmentConfigurationAssignment': return new EnrollmentConfigurationAssignment(); case '#microsoft.graph.enrollmentProfile': return new EnrollmentProfile(); case '#microsoft.graph.enrollmentRestrictionsConfigurationPolicySetItem': return new EnrollmentRestrictionsConfigurationPolicySetItem(); @@ -1227,7 +1233,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.iosVppEBookAssignment': return new IosVppEBookAssignment(); case '#microsoft.graph.iosWiFiConfiguration': return new IosWiFiConfiguration(); case '#microsoft.graph.ipApplicationSegment': return new IpApplicationSegment(); - case '#microsoft.graph.ipNamedLocation': return new IpNamedLocation(); case '#microsoft.graph.ipSecurityProfile': return new IpSecurityProfile(); case '#microsoft.graph.itemActivity': return new ItemActivity(); case '#microsoft.graph.itemActivityOLD': return new ItemActivityOLD(); @@ -1439,13 +1444,13 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.muteParticipantOperation': return new MuteParticipantOperation(); case '#microsoft.graph.muteParticipantsOperation': return new MuteParticipantsOperation(); case '#microsoft.graph.mutualTlsOauthConfiguration': return new MutualTlsOauthConfiguration(); - case '#microsoft.graph.namedLocation': return new NamedLocation(); case '#microsoft.graph.namePronunciationSettings': return new NamePronunciationSettings(); case '#microsoft.graph.ndesConnector': return new NdesConnector(); case '#microsoft.graph.networkaccess.alert': return new \Microsoft\Graph\Beta\Generated\Models\Networkaccess\Alert(); case '#microsoft.graph.networkaccess.branchSite': return new BranchSite(); case '#microsoft.graph.networkaccess.conditionalAccessPolicy': return new ConditionalAccessPolicy(); case '#microsoft.graph.networkaccess.conditionalAccessSettings': return new ConditionalAccessSettings(); + case '#microsoft.graph.networkaccess.connection': return new Connection(); case '#microsoft.graph.networkaccess.connectivity': return new Connectivity(); case '#microsoft.graph.networkaccess.connectivityConfigurationLink': return new ConnectivityConfigurationLink(); case '#microsoft.graph.networkaccess.crossTenantAccessSettings': return new CrossTenantAccessSettings(); @@ -1579,6 +1584,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.partners.billing.manifest': return new Manifest(); case '#microsoft.graph.partners.billing.operation': return new Operation(); case '#microsoft.graph.partners.billing.runningOperation': return new RunningOperation(); + case '#microsoft.graph.partners.billing.unbilledReconciliation': return new UnbilledReconciliation(); case '#microsoft.graph.partners.billing.unbilledUsage': return new UnbilledUsage(); case '#microsoft.graph.passkeyAuthenticationMethodTarget': return new PasskeyAuthenticationMethodTarget(); case '#microsoft.graph.passwordAuthenticationMethod': return new PasswordAuthenticationMethod(); @@ -1657,7 +1663,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.printUsage': return new PrintUsage(); case '#microsoft.graph.printUsageByPrinter': return new PrintUsageByPrinter(); case '#microsoft.graph.printUsageByUser': return new PrintUsageByUser(); - case '#microsoft.graph.privateLinkNamedLocation': return new PrivateLinkNamedLocation(); case '#microsoft.graph.privilegedAccess': return new PrivilegedAccess(); case '#microsoft.graph.privilegedAccessGroup': return new PrivilegedAccessGroup(); case '#microsoft.graph.privilegedAccessGroupAssignmentSchedule': return new PrivilegedAccessGroupAssignmentSchedule(); @@ -1704,6 +1709,10 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.publicKeyInfrastructureRoot': return new PublicKeyInfrastructureRoot(); case '#microsoft.graph.publishedResource': return new PublishedResource(); case '#microsoft.graph.purchaseInvoiceLine': return new PurchaseInvoiceLine(); + case '#microsoft.graph.qrCode': return new QrCode(); + case '#microsoft.graph.qrCodePinAuthenticationMethod': return new QrCodePinAuthenticationMethod(); + case '#microsoft.graph.qrCodePinAuthenticationMethodConfiguration': return new QrCodePinAuthenticationMethodConfiguration(); + case '#microsoft.graph.qrPin': return new QrPin(); case '#microsoft.graph.rbacApplication': return new RbacApplication(); case '#microsoft.graph.rbacApplicationMultiple': return new RbacApplicationMultiple(); case '#microsoft.graph.readingAssignmentSubmission': return new ReadingAssignmentSubmission(); @@ -1916,7 +1925,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.servicePrincipalRiskDetection': return new ServicePrincipalRiskDetection(); case '#microsoft.graph.servicePrincipalSignInActivity': return new ServicePrincipalSignInActivity(); case '#microsoft.graph.serviceStorageQuotaBreakdown': return new ServiceStorageQuotaBreakdown(); - case '#microsoft.graph.serviceTagNamedLocation': return new ServiceTagNamedLocation(); case '#microsoft.graph.serviceUpdateMessage': return new ServiceUpdateMessage(); case '#microsoft.graph.settingStateDeviceSummary': return new SettingStateDeviceSummary(); case '#microsoft.graph.sharedDriveItem': return new SharedDriveItem(); @@ -1996,6 +2004,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.teamInfo': return new TeamInfo(); case '#microsoft.graph.teamsAdministration.teamsAdminRoot': return new TeamsAdminRoot(); case '#microsoft.graph.teamsAdministration.teamsPolicyAssignment': return new TeamsPolicyAssignment(); + case '#microsoft.graph.teamsAdministration.teamsUserConfiguration': return new TeamsUserConfiguration(); case '#microsoft.graph.teamsApp': return new TeamsApp(); case '#microsoft.graph.teamsAppDashboardCardDefinition': return new TeamsAppDashboardCardDefinition(); case '#microsoft.graph.teamsAppDefinition': return new TeamsAppDefinition(); @@ -2025,6 +2034,8 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration': return new TemporaryAccessPassAuthenticationMethodConfiguration(); case '#microsoft.graph.tenantAppManagementPolicy': return new TenantAppManagementPolicy(); case '#microsoft.graph.tenantAttachRBAC': return new TenantAttachRBAC(); + case '#microsoft.graph.tenantDataSecurityAndGovernance': return new TenantDataSecurityAndGovernance(); + case '#microsoft.graph.tenantProtectionScopeContainer': return new TenantProtectionScopeContainer(); case '#microsoft.graph.tenantRelationshipAccessPolicyBase': return new TenantRelationshipAccessPolicyBase(); case '#microsoft.graph.tenantSetupInfo': return new TenantSetupInfo(); case '#microsoft.graph.termsAndConditions': return new TermsAndConditions(); @@ -2105,10 +2116,12 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.userActivity': return new UserActivity(); case '#microsoft.graph.userAnalytics': return new UserAnalytics(); case '#microsoft.graph.userAppInstallStatus': return new UserAppInstallStatus(); + case '#microsoft.graph.userCloudCommunication': return new UserCloudCommunication(); case '#microsoft.graph.userConfiguration': return new UserConfiguration(); case '#microsoft.graph.userConsentRequest': return new UserConsentRequest(); case '#microsoft.graph.userCountMetric': return new UserCountMetric(); case '#microsoft.graph.userCredentialUsageDetails': return new UserCredentialUsageDetails(); + case '#microsoft.graph.userDataSecurityAndGovernance': return new UserDataSecurityAndGovernance(); case '#microsoft.graph.userExperienceAnalyticsAnomaly': return new UserExperienceAnalyticsAnomaly(); case '#microsoft.graph.userExperienceAnalyticsAnomalyCorrelationGroupOverview': return new UserExperienceAnalyticsAnomalyCorrelationGroupOverview(); case '#microsoft.graph.userExperienceAnalyticsAnomalyDevice': return new UserExperienceAnalyticsAnomalyDevice(); @@ -2158,6 +2171,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.userInsightsSettings': return new UserInsightsSettings(); case '#microsoft.graph.userInstallStateSummary': return new UserInstallStateSummary(); case '#microsoft.graph.userPFXCertificate': return new UserPFXCertificate(); + case '#microsoft.graph.userProtectionScopeContainer': return new UserProtectionScopeContainer(); case '#microsoft.graph.userRegistrationDetails': return new UserRegistrationDetails(); case '#microsoft.graph.userRequestsMetric': return new UserRequestsMetric(); case '#microsoft.graph.userScopeTeamsAppInstallation': return new UserScopeTeamsAppInstallation(); diff --git a/src/Generated/Models/ErrorCorrectionLevel.php b/src/Generated/Models/ErrorCorrectionLevel.php new file mode 100644 index 00000000000..377b6ebe158 --- /dev/null +++ b/src/Generated/Models/ErrorCorrectionLevel.php @@ -0,0 +1,13 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return IntegratedApplicationMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): IntegratedApplicationMetadata { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.protectedApplicationMetadata': return new ProtectedApplicationMetadata(); + } + } + return new IntegratedApplicationMetadata(); + } + + /** + * 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 [ + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'version' => fn(ParseNode $n) => $o->setVersion($n->getStringValue()), + ]; + } + + /** + * Gets the name property value. The name property + * @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 @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 version property value. The version property + * @return string|null + */ + public function getVersion(): ?string { + $val = $this->getBackingStore()->get('version'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'version'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('version', $this->getVersion()); + $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 name property value. The name property + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $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 version property value. The version property + * @param string|null $value Value to set for the version property. + */ + public function setVersion(?string $value): void { + $this->getBackingStore()->set('version', $value); + } + +} diff --git a/src/Generated/Models/IpNamedLocation.php b/src/Generated/Models/IpNamedLocation.php deleted file mode 100644 index 066a34f8a4e..00000000000 --- a/src/Generated/Models/IpNamedLocation.php +++ /dev/null @@ -1,92 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'ipRanges' => fn(ParseNode $n) => $o->setIpRanges($n->getCollectionOfObjectValues([IpRange::class, 'createFromDiscriminatorValue'])), - 'isTrusted' => fn(ParseNode $n) => $o->setIsTrusted($n->getBooleanValue()), - ]); - } - - /** - * Gets the ipRanges property value. List of IP address ranges in IPv4 CIDR format (for example, 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. - * @return array|null - */ - public function getIpRanges(): ?array { - $val = $this->getBackingStore()->get('ipRanges'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, IpRange::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'ipRanges'"); - } - - /** - * Gets the isTrusted property value. true if this location is explicitly trusted. Optional. Default value is false. - * @return bool|null - */ - public function getIsTrusted(): ?bool { - $val = $this->getBackingStore()->get('isTrusted'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'isTrusted'"); - } - - /** - * 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('ipRanges', $this->getIpRanges()); - $writer->writeBooleanValue('isTrusted', $this->getIsTrusted()); - } - - /** - * Sets the ipRanges property value. List of IP address ranges in IPv4 CIDR format (for example, 1.2.3.4/32) or any allowable IPv6 format from IETF RFC5969. Required. - * @param array|null $value Value to set for the ipRanges property. - */ - public function setIpRanges(?array $value): void { - $this->getBackingStore()->set('ipRanges', $value); - } - - /** - * Sets the isTrusted property value. true if this location is explicitly trusted. Optional. Default value is false. - * @param bool|null $value Value to set for the isTrusted property. - */ - public function setIsTrusted(?bool $value): void { - $this->getBackingStore()->set('isTrusted', $value); - } - -} diff --git a/src/Generated/Models/KeyCredentialConfiguration.php b/src/Generated/Models/KeyCredentialConfiguration.php index 19490d3abda..c5d8acd9953 100644 --- a/src/Generated/Models/KeyCredentialConfiguration.php +++ b/src/Generated/Models/KeyCredentialConfiguration.php @@ -72,6 +72,18 @@ public function getCertificateBasedApplicationConfigurationIds(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'certificateBasedApplicationConfigurationIds'"); } + /** + * Gets the excludeActors property value. The excludeActors property + * @return AppManagementPolicyActorExemptions|null + */ + public function getExcludeActors(): ?AppManagementPolicyActorExemptions { + $val = $this->getBackingStore()->get('excludeActors'); + if (is_null($val) || $val instanceof AppManagementPolicyActorExemptions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeActors'"); + } + /** * The deserialization information for the current model * @return array @@ -87,6 +99,7 @@ public function getFieldDeserializers(): array { /** @var array|null $val */ $this->setCertificateBasedApplicationConfigurationIds($val); }, + 'excludeActors' => fn(ParseNode $n) => $o->setExcludeActors($n->getObjectValue([AppManagementPolicyActorExemptions::class, 'createFromDiscriminatorValue'])), 'maxLifetime' => fn(ParseNode $n) => $o->setMaxLifetime($n->getDateIntervalValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'restrictForAppsCreatedAfterDateTime' => fn(ParseNode $n) => $o->setRestrictForAppsCreatedAfterDateTime($n->getDateTimeValue()), @@ -161,6 +174,7 @@ public function getState(): ?AppManagementRestrictionState { */ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfPrimitiveValues('certificateBasedApplicationConfigurationIds', $this->getCertificateBasedApplicationConfigurationIds()); + $writer->writeObjectValue('excludeActors', $this->getExcludeActors()); $writer->writeDateIntervalValue('maxLifetime', $this->getMaxLifetime()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeDateTimeValue('restrictForAppsCreatedAfterDateTime', $this->getRestrictForAppsCreatedAfterDateTime()); @@ -193,6 +207,14 @@ public function setCertificateBasedApplicationConfigurationIds(?array $value): v $this->getBackingStore()->set('certificateBasedApplicationConfigurationIds', $value); } + /** + * Sets the excludeActors property value. The excludeActors property + * @param AppManagementPolicyActorExemptions|null $value Value to set for the excludeActors property. + */ + public function setExcludeActors(?AppManagementPolicyActorExemptions $value): void { + $this->getBackingStore()->set('excludeActors', $value); + } + /** * Sets the maxLifetime property value. String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. * @param DateInterval|null $value Value to set for the maxLifetime property. diff --git a/src/Generated/Models/KeyValue.php b/src/Generated/Models/KeyValue.php index f6aca146795..57f9f6d6847 100644 --- a/src/Generated/Models/KeyValue.php +++ b/src/Generated/Models/KeyValue.php @@ -69,7 +69,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the key property value. Key. + * Gets the key property value. Contains the name of the field that a value is associated with. * @return string|null */ public function getKey(): ?string { @@ -93,7 +93,7 @@ public function getOdataType(): ?string { } /** - * Gets the value property value. Value. + * Gets the value property value. Contains the corresponding value for the specified key. * @return string|null */ public function getValue(): ?string { @@ -132,7 +132,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the key property value. Key. + * Sets the key property value. Contains the name of the field that a value is associated with. * @param string|null $value Value to set for the key property. */ public function setKey(?string $value): void { @@ -148,7 +148,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the value property value. Value. + * Sets the value property value. Contains the corresponding value for the specified key. * @param string|null $value Value to set for the value property. */ public function setValue(?string $value): void { diff --git a/src/Generated/Models/MacOsLobAppAssignmentSettings.php b/src/Generated/Models/MacOsLobAppAssignmentSettings.php index 49f681a8027..0ef926d94fb 100644 --- a/src/Generated/Models/MacOsLobAppAssignmentSettings.php +++ b/src/Generated/Models/MacOsLobAppAssignmentSettings.php @@ -40,7 +40,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. + * Gets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * @return bool|null */ public function getUninstallOnDeviceRemoval(): ?bool { @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. + * Sets the uninstallOnDeviceRemoval property value. When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * @param bool|null $value Value to set for the uninstallOnDeviceRemoval property. */ public function setUninstallOnDeviceRemoval(?bool $value): void { diff --git a/src/Generated/Models/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/NamedLocation.php b/src/Generated/Models/NamedLocation.php deleted file mode 100644 index 853c694fa4f..00000000000 --- a/src/Generated/Models/NamedLocation.php +++ /dev/null @@ -1,123 +0,0 @@ -getChildNode("@odata.type"); - if ($mappingValueNode !== null) { - $mappingValue = $mappingValueNode->getStringValue(); - switch ($mappingValue) { - case '#microsoft.graph.compliantNetworkNamedLocation': return new CompliantNetworkNamedLocation(); - case '#microsoft.graph.countryNamedLocation': return new CountryNamedLocation(); - case '#microsoft.graph.ipNamedLocation': return new IpNamedLocation(); - case '#microsoft.graph.privateLinkNamedLocation': return new PrivateLinkNamedLocation(); - case '#microsoft.graph.serviceTagNamedLocation': return new ServiceTagNamedLocation(); - } - } - return new NamedLocation(); - } - - /** - * Gets the createdDateTime property value. The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. - * @return DateTime|null - */ - public function getCreatedDateTime(): ?DateTime { - $val = $this->getBackingStore()->get('createdDateTime'); - if (is_null($val) || $val instanceof DateTime) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); - } - - /** - * Gets the displayName property value. Human-readable name of the location. - * @return string|null - */ - public function getDisplayName(): ?string { - $val = $this->getBackingStore()->get('displayName'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), - 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), - 'modifiedDateTime' => fn(ParseNode $n) => $o->setModifiedDateTime($n->getDateTimeValue()), - ]); - } - - /** - * Gets the modifiedDateTime property value. The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. - * @return DateTime|null - */ - public function getModifiedDateTime(): ?DateTime { - $val = $this->getBackingStore()->get('modifiedDateTime'); - if (is_null($val) || $val instanceof DateTime) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'modifiedDateTime'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); - $writer->writeStringValue('displayName', $this->getDisplayName()); - $writer->writeDateTimeValue('modifiedDateTime', $this->getModifiedDateTime()); - } - - /** - * Sets the createdDateTime property value. The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. - * @param DateTime|null $value Value to set for the createdDateTime property. - */ - public function setCreatedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('createdDateTime', $value); - } - - /** - * Sets the displayName property value. Human-readable name of the location. - * @param string|null $value Value to set for the displayName property. - */ - public function setDisplayName(?string $value): void { - $this->getBackingStore()->set('displayName', $value); - } - - /** - * Sets the modifiedDateTime property value. The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. - * @param DateTime|null $value Value to set for the modifiedDateTime property. - */ - public function setModifiedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('modifiedDateTime', $value); - } - -} diff --git a/src/Generated/Models/Networkaccess/Connection.php b/src/Generated/Models/Networkaccess/Connection.php new file mode 100644 index 00000000000..5194349b4d7 --- /dev/null +++ b/src/Generated/Models/Networkaccess/Connection.php @@ -0,0 +1,663 @@ +getBackingStore()->get('agentVersion'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'agentVersion'"); + } + + /** + * Gets the applicationSnapshot property value. The applicationSnapshot property + * @return ApplicationSnapshot|null + */ + public function getApplicationSnapshot(): ?ApplicationSnapshot { + $val = $this->getBackingStore()->get('applicationSnapshot'); + if (is_null($val) || $val instanceof ApplicationSnapshot) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applicationSnapshot'"); + } + + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the destinationFqdn property value. The destinationFqdn property + * @return string|null + */ + public function getDestinationFqdn(): ?string { + $val = $this->getBackingStore()->get('destinationFqdn'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'destinationFqdn'"); + } + + /** + * Gets the destinationIp property value. The destinationIp property + * @return string|null + */ + public function getDestinationIp(): ?string { + $val = $this->getBackingStore()->get('destinationIp'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'destinationIp'"); + } + + /** + * Gets the destinationPort property value. The destinationPort property + * @return int|null + */ + public function getDestinationPort(): ?int { + $val = $this->getBackingStore()->get('destinationPort'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'destinationPort'"); + } + + /** + * Gets the deviceCategory property value. The deviceCategory property + * @return DeviceCategory|null + */ + public function getDeviceCategory(): ?DeviceCategory { + $val = $this->getBackingStore()->get('deviceCategory'); + if (is_null($val) || $val instanceof DeviceCategory) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceCategory'"); + } + + /** + * Gets the deviceId property value. The deviceId property + * @return string|null + */ + public function getDeviceId(): ?string { + $val = $this->getBackingStore()->get('deviceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceId'"); + } + + /** + * Gets the deviceOperatingSystem property value. The deviceOperatingSystem property + * @return string|null + */ + public function getDeviceOperatingSystem(): ?string { + $val = $this->getBackingStore()->get('deviceOperatingSystem'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceOperatingSystem'"); + } + + /** + * Gets the deviceOperatingSystemVersion property value. The deviceOperatingSystemVersion property + * @return string|null + */ + public function getDeviceOperatingSystemVersion(): ?string { + $val = $this->getBackingStore()->get('deviceOperatingSystemVersion'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'deviceOperatingSystemVersion'"); + } + + /** + * Gets the endDateTime property value. The endDateTime property + * @return DateTime|null + */ + public function getEndDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('endDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'endDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'agentVersion' => fn(ParseNode $n) => $o->setAgentVersion($n->getStringValue()), + 'applicationSnapshot' => fn(ParseNode $n) => $o->setApplicationSnapshot($n->getObjectValue([ApplicationSnapshot::class, 'createFromDiscriminatorValue'])), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'destinationFqdn' => fn(ParseNode $n) => $o->setDestinationFqdn($n->getStringValue()), + 'destinationIp' => fn(ParseNode $n) => $o->setDestinationIp($n->getStringValue()), + 'destinationPort' => fn(ParseNode $n) => $o->setDestinationPort($n->getIntegerValue()), + 'deviceCategory' => fn(ParseNode $n) => $o->setDeviceCategory($n->getEnumValue(DeviceCategory::class)), + 'deviceId' => fn(ParseNode $n) => $o->setDeviceId($n->getStringValue()), + 'deviceOperatingSystem' => fn(ParseNode $n) => $o->setDeviceOperatingSystem($n->getStringValue()), + 'deviceOperatingSystemVersion' => fn(ParseNode $n) => $o->setDeviceOperatingSystemVersion($n->getStringValue()), + 'endDateTime' => fn(ParseNode $n) => $o->setEndDateTime($n->getDateTimeValue()), + 'initiatingProcessName' => fn(ParseNode $n) => $o->setInitiatingProcessName($n->getStringValue()), + 'lastUpdateDateTime' => fn(ParseNode $n) => $o->setLastUpdateDateTime($n->getDateTimeValue()), + 'networkProtocol' => fn(ParseNode $n) => $o->setNetworkProtocol($n->getEnumValue(NetworkingProtocol::class)), + 'popProcessingRegion' => fn(ParseNode $n) => $o->setPopProcessingRegion($n->getStringValue()), + 'privateAccessDetails' => fn(ParseNode $n) => $o->setPrivateAccessDetails($n->getObjectValue([PrivateAccessDetails::class, 'createFromDiscriminatorValue'])), + 'receivedBytes' => fn(ParseNode $n) => $o->setReceivedBytes($n->getIntegerValue()), + 'sentBytes' => fn(ParseNode $n) => $o->setSentBytes($n->getIntegerValue()), + 'sourceIp' => fn(ParseNode $n) => $o->setSourceIp($n->getStringValue()), + 'sourcePort' => fn(ParseNode $n) => $o->setSourcePort($n->getIntegerValue()), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(ConnectionStatus::class)), + 'tenantId' => fn(ParseNode $n) => $o->setTenantId($n->getStringValue()), + 'trafficType' => fn(ParseNode $n) => $o->setTrafficType($n->getEnumValue(TrafficType::class)), + 'transactionBlockCount' => fn(ParseNode $n) => $o->setTransactionBlockCount($n->getIntegerValue()), + 'transactionCount' => fn(ParseNode $n) => $o->setTransactionCount($n->getIntegerValue()), + 'transportProtocol' => fn(ParseNode $n) => $o->setTransportProtocol($n->getEnumValue(NetworkingProtocol::class)), + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + 'userPrincipalName' => fn(ParseNode $n) => $o->setUserPrincipalName($n->getStringValue()), + ]); + } + + /** + * Gets the initiatingProcessName property value. The initiatingProcessName property + * @return string|null + */ + public function getInitiatingProcessName(): ?string { + $val = $this->getBackingStore()->get('initiatingProcessName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'initiatingProcessName'"); + } + + /** + * Gets the lastUpdateDateTime property value. The lastUpdateDateTime property + * @return DateTime|null + */ + public function getLastUpdateDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastUpdateDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastUpdateDateTime'"); + } + + /** + * Gets the networkProtocol property value. The networkProtocol property + * @return NetworkingProtocol|null + */ + public function getNetworkProtocol(): ?NetworkingProtocol { + $val = $this->getBackingStore()->get('networkProtocol'); + if (is_null($val) || $val instanceof NetworkingProtocol) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'networkProtocol'"); + } + + /** + * Gets the popProcessingRegion property value. The popProcessingRegion property + * @return string|null + */ + public function getPopProcessingRegion(): ?string { + $val = $this->getBackingStore()->get('popProcessingRegion'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'popProcessingRegion'"); + } + + /** + * Gets the privateAccessDetails property value. The privateAccessDetails property + * @return PrivateAccessDetails|null + */ + public function getPrivateAccessDetails(): ?PrivateAccessDetails { + $val = $this->getBackingStore()->get('privateAccessDetails'); + if (is_null($val) || $val instanceof PrivateAccessDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'privateAccessDetails'"); + } + + /** + * Gets the receivedBytes property value. The receivedBytes property + * @return int|null + */ + public function getReceivedBytes(): ?int { + $val = $this->getBackingStore()->get('receivedBytes'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'receivedBytes'"); + } + + /** + * Gets the sentBytes property value. The sentBytes property + * @return int|null + */ + public function getSentBytes(): ?int { + $val = $this->getBackingStore()->get('sentBytes'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sentBytes'"); + } + + /** + * Gets the sourceIp property value. The sourceIp property + * @return string|null + */ + public function getSourceIp(): ?string { + $val = $this->getBackingStore()->get('sourceIp'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceIp'"); + } + + /** + * Gets the sourcePort property value. The sourcePort property + * @return int|null + */ + public function getSourcePort(): ?int { + $val = $this->getBackingStore()->get('sourcePort'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sourcePort'"); + } + + /** + * Gets the status property value. The status property + * @return ConnectionStatus|null + */ + public function getStatus(): ?ConnectionStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof ConnectionStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); + } + + /** + * Gets the tenantId property value. The tenantId property + * @return string|null + */ + public function getTenantId(): ?string { + $val = $this->getBackingStore()->get('tenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tenantId'"); + } + + /** + * Gets the trafficType property value. The trafficType property + * @return TrafficType|null + */ + public function getTrafficType(): ?TrafficType { + $val = $this->getBackingStore()->get('trafficType'); + if (is_null($val) || $val instanceof TrafficType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'trafficType'"); + } + + /** + * Gets the transactionBlockCount property value. The transactionBlockCount property + * @return int|null + */ + public function getTransactionBlockCount(): ?int { + $val = $this->getBackingStore()->get('transactionBlockCount'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'transactionBlockCount'"); + } + + /** + * Gets the transactionCount property value. The transactionCount property + * @return int|null + */ + public function getTransactionCount(): ?int { + $val = $this->getBackingStore()->get('transactionCount'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'transactionCount'"); + } + + /** + * Gets the transportProtocol property value. The transportProtocol property + * @return NetworkingProtocol|null + */ + public function getTransportProtocol(): ?NetworkingProtocol { + $val = $this->getBackingStore()->get('transportProtocol'); + if (is_null($val) || $val instanceof NetworkingProtocol) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'transportProtocol'"); + } + + /** + * Gets the userId property value. The userId property + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Gets the userPrincipalName property value. The userPrincipalName property + * @return string|null + */ + public function getUserPrincipalName(): ?string { + $val = $this->getBackingStore()->get('userPrincipalName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userPrincipalName'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('agentVersion', $this->getAgentVersion()); + $writer->writeObjectValue('applicationSnapshot', $this->getApplicationSnapshot()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeStringValue('destinationFqdn', $this->getDestinationFqdn()); + $writer->writeStringValue('destinationIp', $this->getDestinationIp()); + $writer->writeIntegerValue('destinationPort', $this->getDestinationPort()); + $writer->writeEnumValue('deviceCategory', $this->getDeviceCategory()); + $writer->writeStringValue('deviceId', $this->getDeviceId()); + $writer->writeStringValue('deviceOperatingSystem', $this->getDeviceOperatingSystem()); + $writer->writeStringValue('deviceOperatingSystemVersion', $this->getDeviceOperatingSystemVersion()); + $writer->writeDateTimeValue('endDateTime', $this->getEndDateTime()); + $writer->writeStringValue('initiatingProcessName', $this->getInitiatingProcessName()); + $writer->writeDateTimeValue('lastUpdateDateTime', $this->getLastUpdateDateTime()); + $writer->writeEnumValue('networkProtocol', $this->getNetworkProtocol()); + $writer->writeStringValue('popProcessingRegion', $this->getPopProcessingRegion()); + $writer->writeObjectValue('privateAccessDetails', $this->getPrivateAccessDetails()); + $writer->writeIntegerValue('receivedBytes', $this->getReceivedBytes()); + $writer->writeIntegerValue('sentBytes', $this->getSentBytes()); + $writer->writeStringValue('sourceIp', $this->getSourceIp()); + $writer->writeIntegerValue('sourcePort', $this->getSourcePort()); + $writer->writeEnumValue('status', $this->getStatus()); + $writer->writeStringValue('tenantId', $this->getTenantId()); + $writer->writeEnumValue('trafficType', $this->getTrafficType()); + $writer->writeIntegerValue('transactionBlockCount', $this->getTransactionBlockCount()); + $writer->writeIntegerValue('transactionCount', $this->getTransactionCount()); + $writer->writeEnumValue('transportProtocol', $this->getTransportProtocol()); + $writer->writeStringValue('userId', $this->getUserId()); + $writer->writeStringValue('userPrincipalName', $this->getUserPrincipalName()); + } + + /** + * Sets the agentVersion property value. The agentVersion property + * @param string|null $value Value to set for the agentVersion property. + */ + public function setAgentVersion(?string $value): void { + $this->getBackingStore()->set('agentVersion', $value); + } + + /** + * Sets the applicationSnapshot property value. The applicationSnapshot property + * @param ApplicationSnapshot|null $value Value to set for the applicationSnapshot property. + */ + public function setApplicationSnapshot(?ApplicationSnapshot $value): void { + $this->getBackingStore()->set('applicationSnapshot', $value); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the destinationFqdn property value. The destinationFqdn property + * @param string|null $value Value to set for the destinationFqdn property. + */ + public function setDestinationFqdn(?string $value): void { + $this->getBackingStore()->set('destinationFqdn', $value); + } + + /** + * Sets the destinationIp property value. The destinationIp property + * @param string|null $value Value to set for the destinationIp property. + */ + public function setDestinationIp(?string $value): void { + $this->getBackingStore()->set('destinationIp', $value); + } + + /** + * Sets the destinationPort property value. The destinationPort property + * @param int|null $value Value to set for the destinationPort property. + */ + public function setDestinationPort(?int $value): void { + $this->getBackingStore()->set('destinationPort', $value); + } + + /** + * Sets the deviceCategory property value. The deviceCategory property + * @param DeviceCategory|null $value Value to set for the deviceCategory property. + */ + public function setDeviceCategory(?DeviceCategory $value): void { + $this->getBackingStore()->set('deviceCategory', $value); + } + + /** + * Sets the deviceId property value. The deviceId property + * @param string|null $value Value to set for the deviceId property. + */ + public function setDeviceId(?string $value): void { + $this->getBackingStore()->set('deviceId', $value); + } + + /** + * Sets the deviceOperatingSystem property value. The deviceOperatingSystem property + * @param string|null $value Value to set for the deviceOperatingSystem property. + */ + public function setDeviceOperatingSystem(?string $value): void { + $this->getBackingStore()->set('deviceOperatingSystem', $value); + } + + /** + * Sets the deviceOperatingSystemVersion property value. The deviceOperatingSystemVersion property + * @param string|null $value Value to set for the deviceOperatingSystemVersion property. + */ + public function setDeviceOperatingSystemVersion(?string $value): void { + $this->getBackingStore()->set('deviceOperatingSystemVersion', $value); + } + + /** + * Sets the endDateTime property value. The endDateTime property + * @param DateTime|null $value Value to set for the endDateTime property. + */ + public function setEndDateTime(?DateTime $value): void { + $this->getBackingStore()->set('endDateTime', $value); + } + + /** + * Sets the initiatingProcessName property value. The initiatingProcessName property + * @param string|null $value Value to set for the initiatingProcessName property. + */ + public function setInitiatingProcessName(?string $value): void { + $this->getBackingStore()->set('initiatingProcessName', $value); + } + + /** + * Sets the lastUpdateDateTime property value. The lastUpdateDateTime property + * @param DateTime|null $value Value to set for the lastUpdateDateTime property. + */ + public function setLastUpdateDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastUpdateDateTime', $value); + } + + /** + * Sets the networkProtocol property value. The networkProtocol property + * @param NetworkingProtocol|null $value Value to set for the networkProtocol property. + */ + public function setNetworkProtocol(?NetworkingProtocol $value): void { + $this->getBackingStore()->set('networkProtocol', $value); + } + + /** + * Sets the popProcessingRegion property value. The popProcessingRegion property + * @param string|null $value Value to set for the popProcessingRegion property. + */ + public function setPopProcessingRegion(?string $value): void { + $this->getBackingStore()->set('popProcessingRegion', $value); + } + + /** + * Sets the privateAccessDetails property value. The privateAccessDetails property + * @param PrivateAccessDetails|null $value Value to set for the privateAccessDetails property. + */ + public function setPrivateAccessDetails(?PrivateAccessDetails $value): void { + $this->getBackingStore()->set('privateAccessDetails', $value); + } + + /** + * Sets the receivedBytes property value. The receivedBytes property + * @param int|null $value Value to set for the receivedBytes property. + */ + public function setReceivedBytes(?int $value): void { + $this->getBackingStore()->set('receivedBytes', $value); + } + + /** + * Sets the sentBytes property value. The sentBytes property + * @param int|null $value Value to set for the sentBytes property. + */ + public function setSentBytes(?int $value): void { + $this->getBackingStore()->set('sentBytes', $value); + } + + /** + * Sets the sourceIp property value. The sourceIp property + * @param string|null $value Value to set for the sourceIp property. + */ + public function setSourceIp(?string $value): void { + $this->getBackingStore()->set('sourceIp', $value); + } + + /** + * Sets the sourcePort property value. The sourcePort property + * @param int|null $value Value to set for the sourcePort property. + */ + public function setSourcePort(?int $value): void { + $this->getBackingStore()->set('sourcePort', $value); + } + + /** + * Sets the status property value. The status property + * @param ConnectionStatus|null $value Value to set for the status property. + */ + public function setStatus(?ConnectionStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + + /** + * Sets the tenantId property value. The tenantId property + * @param string|null $value Value to set for the tenantId property. + */ + public function setTenantId(?string $value): void { + $this->getBackingStore()->set('tenantId', $value); + } + + /** + * Sets the trafficType property value. The trafficType property + * @param TrafficType|null $value Value to set for the trafficType property. + */ + public function setTrafficType(?TrafficType $value): void { + $this->getBackingStore()->set('trafficType', $value); + } + + /** + * Sets the transactionBlockCount property value. The transactionBlockCount property + * @param int|null $value Value to set for the transactionBlockCount property. + */ + public function setTransactionBlockCount(?int $value): void { + $this->getBackingStore()->set('transactionBlockCount', $value); + } + + /** + * Sets the transactionCount property value. The transactionCount property + * @param int|null $value Value to set for the transactionCount property. + */ + public function setTransactionCount(?int $value): void { + $this->getBackingStore()->set('transactionCount', $value); + } + + /** + * Sets the transportProtocol property value. The transportProtocol property + * @param NetworkingProtocol|null $value Value to set for the transportProtocol property. + */ + public function setTransportProtocol(?NetworkingProtocol $value): void { + $this->getBackingStore()->set('transportProtocol', $value); + } + + /** + * Sets the userId property value. The userId property + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + + /** + * Sets the userPrincipalName property value. The userPrincipalName property + * @param string|null $value Value to set for the userPrincipalName property. + */ + public function setUserPrincipalName(?string $value): void { + $this->getBackingStore()->set('userPrincipalName', $value); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostResponse.php b/src/Generated/Models/Networkaccess/ConnectionCollectionResponse.php similarity index 69% rename from src/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostResponse.php rename to src/Generated/Models/Networkaccess/ConnectionCollectionResponse.php index 6660bba63d7..e5ca4030c23 100644 --- a/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluatePostResponse.php +++ b/src/Generated/Models/Networkaccess/ConnectionCollectionResponse.php @@ -1,18 +1,17 @@ fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ConditionalAccessWhatIfPolicy::class, 'createFromDiscriminatorValue'])), + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([Connection::class, 'createFromDiscriminatorValue'])), ]); } /** * Gets the value property value. The value property - * @return array|null + * @return array|null */ public function getValue(): ?array { $val = $this->getBackingStore()->get('value'); if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConditionalAccessWhatIfPolicy::class); - /** @var array|null $val */ + TypeUtils::validateCollectionValues($val, Connection::class); + /** @var array|null $val */ return $val; } throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); @@ -63,7 +62,7 @@ public function serialize(SerializationWriter $writer): void { /** * Sets the value property value. The value property - * @param array|null $value Value to set for the value property. + * @param array|null $value Value to set for the value property. */ public function setValue(?array $value): void { $this->getBackingStore()->set('value', $value); diff --git a/src/Generated/Models/Networkaccess/ConnectionSummary.php b/src/Generated/Models/Networkaccess/ConnectionSummary.php new file mode 100644 index 00000000000..70c4dd422fa --- /dev/null +++ b/src/Generated/Models/Networkaccess/ConnectionSummary.php @@ -0,0 +1,158 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ConnectionSummary + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ConnectionSummary { + return new ConnectionSummary(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'totalCount' => fn(ParseNode $n) => $o->setTotalCount($n->getIntegerValue()), + 'trafficType' => fn(ParseNode $n) => $o->setTrafficType($n->getEnumValue(TrafficType::class)), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the totalCount property value. The totalCount property + * @return int|null + */ + public function getTotalCount(): ?int { + $val = $this->getBackingStore()->get('totalCount'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'totalCount'"); + } + + /** + * Gets the trafficType property value. The trafficType property + * @return TrafficType|null + */ + public function getTrafficType(): ?TrafficType { + $val = $this->getBackingStore()->get('trafficType'); + if (is_null($val) || $val instanceof TrafficType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'trafficType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeIntegerValue('totalCount', $this->getTotalCount()); + $writer->writeEnumValue('trafficType', $this->getTrafficType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the totalCount property value. The totalCount property + * @param int|null $value Value to set for the totalCount property. + */ + public function setTotalCount(?int $value): void { + $this->getBackingStore()->set('totalCount', $value); + } + + /** + * Sets the trafficType property value. The trafficType property + * @param TrafficType|null $value Value to set for the trafficType property. + */ + public function setTrafficType(?TrafficType $value): void { + $this->getBackingStore()->set('trafficType', $value); + } + +} diff --git a/src/Generated/Models/Networkaccess/Logs.php b/src/Generated/Models/Networkaccess/Logs.php index e748952ed18..3473056be56 100644 --- a/src/Generated/Models/Networkaccess/Logs.php +++ b/src/Generated/Models/Networkaccess/Logs.php @@ -26,6 +26,20 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Logs return new Logs(); } + /** + * Gets the connections property value. The connections property + * @return array|null + */ + public function getConnections(): ?array { + $val = $this->getBackingStore()->get('connections'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, Connection::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'connections'"); + } + /** * The deserialization information for the current model * @return array @@ -33,6 +47,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Logs public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'connections' => fn(ParseNode $n) => $o->setConnections($n->getCollectionOfObjectValues([Connection::class, 'createFromDiscriminatorValue'])), 'remoteNetworks' => fn(ParseNode $n) => $o->setRemoteNetworks($n->getCollectionOfObjectValues([RemoteNetworkHealthEvent::class, 'createFromDiscriminatorValue'])), 'traffic' => fn(ParseNode $n) => $o->setTraffic($n->getCollectionOfObjectValues([NetworkAccessTraffic::class, 'createFromDiscriminatorValue'])), ]); @@ -72,10 +87,19 @@ public function getTraffic(): ?array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeCollectionOfObjectValues('connections', $this->getConnections()); $writer->writeCollectionOfObjectValues('remoteNetworks', $this->getRemoteNetworks()); $writer->writeCollectionOfObjectValues('traffic', $this->getTraffic()); } + /** + * Sets the connections property value. The connections property + * @param array|null $value Value to set for the connections property. + */ + public function setConnections(?array $value): void { + $this->getBackingStore()->set('connections', $value); + } + /** * Sets the remoteNetworks property value. A collection of remote network health events. * @param array|null $value Value to set for the remoteNetworks property. diff --git a/src/Generated/Models/Partners/Billing/BillingReconciliation.php b/src/Generated/Models/Partners/Billing/BillingReconciliation.php index 0ac0f6002ea..8c04036f40f 100644 --- a/src/Generated/Models/Partners/Billing/BillingReconciliation.php +++ b/src/Generated/Models/Partners/Billing/BillingReconciliation.php @@ -45,9 +45,22 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'billed' => fn(ParseNode $n) => $o->setBilled($n->getObjectValue([BilledReconciliation::class, 'createFromDiscriminatorValue'])), + 'unbilled' => fn(ParseNode $n) => $o->setUnbilled($n->getObjectValue([UnbilledReconciliation::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the unbilled property value. The unbilled property + * @return UnbilledReconciliation|null + */ + public function getUnbilled(): ?UnbilledReconciliation { + $val = $this->getBackingStore()->get('unbilled'); + if (is_null($val) || $val instanceof UnbilledReconciliation) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'unbilled'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -55,6 +68,7 @@ public function getFieldDeserializers(): array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('billed', $this->getBilled()); + $writer->writeObjectValue('unbilled', $this->getUnbilled()); } /** @@ -65,4 +79,12 @@ public function setBilled(?BilledReconciliation $value): void { $this->getBackingStore()->set('billed', $value); } + /** + * Sets the unbilled property value. The unbilled property + * @param UnbilledReconciliation|null $value Value to set for the unbilled property. + */ + public function setUnbilled(?UnbilledReconciliation $value): void { + $this->getBackingStore()->set('unbilled', $value); + } + } diff --git a/src/Generated/Models/Partners/Billing/UnbilledReconciliation.php b/src/Generated/Models/Partners/Billing/UnbilledReconciliation.php new file mode 100644 index 00000000000..9c9adc1b2e4 --- /dev/null +++ b/src/Generated/Models/Partners/Billing/UnbilledReconciliation.php @@ -0,0 +1,46 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/PasswordCredentialConfiguration.php b/src/Generated/Models/PasswordCredentialConfiguration.php index f8b5925ec25..3af46f5f26c 100644 --- a/src/Generated/Models/PasswordCredentialConfiguration.php +++ b/src/Generated/Models/PasswordCredentialConfiguration.php @@ -57,6 +57,18 @@ public function getBackingStore(): BackingStore { return $this->backingStore; } + /** + * Gets the excludeActors property value. The excludeActors property + * @return AppManagementPolicyActorExemptions|null + */ + public function getExcludeActors(): ?AppManagementPolicyActorExemptions { + $val = $this->getBackingStore()->get('excludeActors'); + if (is_null($val) || $val instanceof AppManagementPolicyActorExemptions) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'excludeActors'"); + } + /** * The deserialization information for the current model * @return array @@ -64,6 +76,7 @@ public function getBackingStore(): BackingStore { public function getFieldDeserializers(): array { $o = $this; return [ + 'excludeActors' => fn(ParseNode $n) => $o->setExcludeActors($n->getObjectValue([AppManagementPolicyActorExemptions::class, 'createFromDiscriminatorValue'])), 'maxLifetime' => fn(ParseNode $n) => $o->setMaxLifetime($n->getDateIntervalValue()), '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), 'restrictForAppsCreatedAfterDateTime' => fn(ParseNode $n) => $o->setRestrictForAppsCreatedAfterDateTime($n->getDateTimeValue()), @@ -137,6 +150,7 @@ public function getState(): ?AppManagementRestrictionState { * @param SerializationWriter $writer Serialization writer to use to serialize this model */ public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('excludeActors', $this->getExcludeActors()); $writer->writeDateIntervalValue('maxLifetime', $this->getMaxLifetime()); $writer->writeStringValue('@odata.type', $this->getOdataType()); $writer->writeDateTimeValue('restrictForAppsCreatedAfterDateTime', $this->getRestrictForAppsCreatedAfterDateTime()); @@ -161,6 +175,14 @@ public function setBackingStore(BackingStore $value): void { $this->backingStore = $value; } + /** + * Sets the excludeActors property value. The excludeActors property + * @param AppManagementPolicyActorExemptions|null $value Value to set for the excludeActors property. + */ + public function setExcludeActors(?AppManagementPolicyActorExemptions $value): void { + $this->getBackingStore()->set('excludeActors', $value); + } + /** * Sets the maxLifetime property value. String value that indicates the maximum lifetime for password expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to passwordLifetime. * @param DateInterval|null $value Value to set for the maxLifetime property. diff --git a/src/Generated/Models/Permission.php b/src/Generated/Models/Permission.php index 3e9dfebd055..0a827688e16 100644 --- a/src/Generated/Models/Permission.php +++ b/src/Generated/Models/Permission.php @@ -131,7 +131,7 @@ public function getHasPassword(): ?bool { } /** - * Gets the inheritedFrom property value. Provides a reference to the ancestor of the current permission, if it's inherited from an ancestor. Read-only. + * Gets the inheritedFrom property value. Provides a reference to the ancestor of the current permission, if inherited from an ancestor. Read-only. * @return ItemReference|null */ public function getInheritedFrom(): ?ItemReference { @@ -260,7 +260,7 @@ public function setHasPassword(?bool $value): void { } /** - * Sets the inheritedFrom property value. Provides a reference to the ancestor of the current permission, if it's inherited from an ancestor. Read-only. + * Sets the inheritedFrom property value. Provides a reference to the ancestor of the current permission, if inherited from an ancestor. Read-only. * @param ItemReference|null $value Value to set for the inheritedFrom property. */ public function setInheritedFrom(?ItemReference $value): void { diff --git a/src/Generated/Models/PlannerContainerType.php b/src/Generated/Models/PlannerContainerType.php index 670ec9ec17a..334def5dbbd 100644 --- a/src/Generated/Models/PlannerContainerType.php +++ b/src/Generated/Models/PlannerContainerType.php @@ -12,4 +12,5 @@ class PlannerContainerType extends Enum { public const DRIVE_ITEM = "driveItem"; public const USER = "user"; public const TEAMS_CHANNEL = "teamsChannel"; + public const PLANNER_TASK = "plannerTask"; } diff --git a/src/Generated/Models/PolicyLocation.php b/src/Generated/Models/PolicyLocation.php new file mode 100644 index 00000000000..9c78233958f --- /dev/null +++ b/src/Generated/Models/PolicyLocation.php @@ -0,0 +1,145 @@ +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 PolicyLocation + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyLocation { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.policyLocationApplication': return new PolicyLocationApplication(); + case '#microsoft.graph.policyLocationDomain': return new PolicyLocationDomain(); + case '#microsoft.graph.policyLocationUrl': return new PolicyLocationUrl(); + } + } + return new PolicyLocation(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'value' => fn(ParseNode $n) => $o->setValue($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the value property value. The value property + * @return string|null + */ + public function getValue(): ?string { + $val = $this->getBackingStore()->get('value'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('value', $this->getValue()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @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 value property value. The value property + * @param string|null $value Value to set for the value property. + */ + public function setValue(?string $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/PolicyLocationApplication.php b/src/Generated/Models/PolicyLocationApplication.php new file mode 100644 index 00000000000..3d0204b9495 --- /dev/null +++ b/src/Generated/Models/PolicyLocationApplication.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.policyLocationApplication'); + } + + /** + * 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 PolicyLocationApplication + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyLocationApplication { + return new PolicyLocationApplication(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/PolicyLocationDomain.php b/src/Generated/Models/PolicyLocationDomain.php new file mode 100644 index 00000000000..56fd998937e --- /dev/null +++ b/src/Generated/Models/PolicyLocationDomain.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.policyLocationDomain'); + } + + /** + * 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 PolicyLocationDomain + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyLocationDomain { + return new PolicyLocationDomain(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/PolicyLocationUrl.php b/src/Generated/Models/PolicyLocationUrl.php new file mode 100644 index 00000000000..fea056446ee --- /dev/null +++ b/src/Generated/Models/PolicyLocationUrl.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.policyLocationUrl'); + } + + /** + * 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 PolicyLocationUrl + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyLocationUrl { + return new PolicyLocationUrl(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/PolicyRoot.php b/src/Generated/Models/PolicyRoot.php index 7b02bba2825..5f7b55f0e5a 100644 --- a/src/Generated/Models/PolicyRoot.php +++ b/src/Generated/Models/PolicyRoot.php @@ -155,20 +155,6 @@ public function getClaimsMappingPolicies(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'claimsMappingPolicies'"); } - /** - * Gets the conditionalAccessPolicies property value. The custom rules that define an access scenario. - * @return array|null - */ - public function getConditionalAccessPolicies(): ?array { - $val = $this->getBackingStore()->get('conditionalAccessPolicies'); - if (is_array($val) || is_null($val)) { - TypeUtils::validateCollectionValues($val, ConditionalAccessPolicy::class); - /** @var array|null $val */ - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'conditionalAccessPolicies'"); - } - /** * Gets the crossTenantAccessPolicy property value. The custom rules that define an access scenario when interacting with external Microsoft Entra tenants. * @return CrossTenantAccessPolicy|null @@ -272,7 +258,6 @@ public function getFieldDeserializers(): array { 'authorizationPolicy' => fn(ParseNode $n) => $o->setAuthorizationPolicy($n->getCollectionOfObjectValues([AuthorizationPolicy::class, 'createFromDiscriminatorValue'])), 'b2cAuthenticationMethodsPolicy' => fn(ParseNode $n) => $o->setB2cAuthenticationMethodsPolicy($n->getObjectValue([B2cAuthenticationMethodsPolicy::class, 'createFromDiscriminatorValue'])), 'claimsMappingPolicies' => fn(ParseNode $n) => $o->setClaimsMappingPolicies($n->getCollectionOfObjectValues([ClaimsMappingPolicy::class, 'createFromDiscriminatorValue'])), - 'conditionalAccessPolicies' => fn(ParseNode $n) => $o->setConditionalAccessPolicies($n->getCollectionOfObjectValues([ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'])), 'crossTenantAccessPolicy' => fn(ParseNode $n) => $o->setCrossTenantAccessPolicy($n->getObjectValue([CrossTenantAccessPolicy::class, 'createFromDiscriminatorValue'])), 'defaultAppManagementPolicy' => fn(ParseNode $n) => $o->setDefaultAppManagementPolicy($n->getObjectValue([TenantAppManagementPolicy::class, 'createFromDiscriminatorValue'])), 'deviceRegistrationPolicy' => fn(ParseNode $n) => $o->setDeviceRegistrationPolicy($n->getObjectValue([DeviceRegistrationPolicy::class, 'createFromDiscriminatorValue'])), @@ -462,7 +447,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('authorizationPolicy', $this->getAuthorizationPolicy()); $writer->writeObjectValue('b2cAuthenticationMethodsPolicy', $this->getB2cAuthenticationMethodsPolicy()); $writer->writeCollectionOfObjectValues('claimsMappingPolicies', $this->getClaimsMappingPolicies()); - $writer->writeCollectionOfObjectValues('conditionalAccessPolicies', $this->getConditionalAccessPolicies()); $writer->writeObjectValue('crossTenantAccessPolicy', $this->getCrossTenantAccessPolicy()); $writer->writeObjectValue('defaultAppManagementPolicy', $this->getDefaultAppManagementPolicy()); $writer->writeObjectValue('deviceRegistrationPolicy', $this->getDeviceRegistrationPolicy()); @@ -563,14 +547,6 @@ public function setClaimsMappingPolicies(?array $value): void { $this->getBackingStore()->set('claimsMappingPolicies', $value); } - /** - * Sets the conditionalAccessPolicies property value. The custom rules that define an access scenario. - * @param array|null $value Value to set for the conditionalAccessPolicies property. - */ - public function setConditionalAccessPolicies(?array $value): void { - $this->getBackingStore()->set('conditionalAccessPolicies', $value); - } - /** * Sets the crossTenantAccessPolicy property value. The custom rules that define an access scenario when interacting with external Microsoft Entra tenants. * @param CrossTenantAccessPolicy|null $value Value to set for the crossTenantAccessPolicy property. diff --git a/src/Generated/Models/Presence.php b/src/Generated/Models/Presence.php index 13d699e41c6..e83653a4341 100644 --- a/src/Generated/Models/Presence.php +++ b/src/Generated/Models/Presence.php @@ -76,7 +76,7 @@ public function getOutOfOfficeSettings(): ?OutOfOfficeSettings { } /** - * Gets the sequenceNumber property value. The sequenceNumber property + * Gets the sequenceNumber property value. The lexicographically sortable String stamp that represents the version of a presence object. * @return string|null */ public function getSequenceNumber(): ?string { @@ -136,7 +136,7 @@ public function setOutOfOfficeSettings(?OutOfOfficeSettings $value): void { } /** - * Sets the sequenceNumber property value. The sequenceNumber property + * Sets the sequenceNumber property value. The lexicographically sortable String stamp that represents the version of a presence object. * @param string|null $value Value to set for the sequenceNumber property. */ public function setSequenceNumber(?string $value): void { diff --git a/src/Generated/Models/PrivateLinkNamedLocation.php b/src/Generated/Models/PrivateLinkNamedLocation.php deleted file mode 100644 index 4573c4a4852..00000000000 --- a/src/Generated/Models/PrivateLinkNamedLocation.php +++ /dev/null @@ -1,99 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'isTrusted' => fn(ParseNode $n) => $o->setIsTrusted($n->getBooleanValue()), - 'privateLinkResourcePolicyIds' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setPrivateLinkResourcePolicyIds($val); - }, - ]); - } - - /** - * Gets the isTrusted property value. The isTrusted property - * @return bool|null - */ - public function getIsTrusted(): ?bool { - $val = $this->getBackingStore()->get('isTrusted'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'isTrusted'"); - } - - /** - * Gets the privateLinkResourcePolicyIds property value. The privateLinkResourcePolicyIds property - * @return array|null - */ - public function getPrivateLinkResourcePolicyIds(): ?array { - $val = $this->getBackingStore()->get('privateLinkResourcePolicyIds'); - 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 'privateLinkResourcePolicyIds'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeBooleanValue('isTrusted', $this->getIsTrusted()); - $writer->writeCollectionOfPrimitiveValues('privateLinkResourcePolicyIds', $this->getPrivateLinkResourcePolicyIds()); - } - - /** - * Sets the isTrusted property value. The isTrusted property - * @param bool|null $value Value to set for the isTrusted property. - */ - public function setIsTrusted(?bool $value): void { - $this->getBackingStore()->set('isTrusted', $value); - } - - /** - * Sets the privateLinkResourcePolicyIds property value. The privateLinkResourcePolicyIds property - * @param array|null $value Value to set for the privateLinkResourcePolicyIds property. - */ - public function setPrivateLinkResourcePolicyIds(?array $value): void { - $this->getBackingStore()->set('privateLinkResourcePolicyIds', $value); - } - -} diff --git a/src/Generated/Models/ProcessContentBatchRequest.php b/src/Generated/Models/ProcessContentBatchRequest.php new file mode 100644 index 00000000000..ed94d73a1b8 --- /dev/null +++ b/src/Generated/Models/ProcessContentBatchRequest.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 ProcessContentBatchRequest + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentBatchRequest { + return new ProcessContentBatchRequest(); + } + + /** + * 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 contentToProcess property value. The contentToProcess property + * @return ProcessContentRequest|null + */ + public function getContentToProcess(): ?ProcessContentRequest { + $val = $this->getBackingStore()->get('contentToProcess'); + if (is_null($val) || $val instanceof ProcessContentRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentToProcess'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'contentToProcess' => fn(ParseNode $n) => $o->setContentToProcess($n->getObjectValue([ProcessContentRequest::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'requestId' => fn(ParseNode $n) => $o->setRequestId($n->getStringValue()), + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the requestId property value. The requestId property + * @return string|null + */ + public function getRequestId(): ?string { + $val = $this->getBackingStore()->get('requestId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestId'"); + } + + /** + * Gets the userId property value. The userId property + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('contentToProcess', $this->getContentToProcess()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('requestId', $this->getRequestId()); + $writer->writeStringValue('userId', $this->getUserId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the contentToProcess property value. The contentToProcess property + * @param ProcessContentRequest|null $value Value to set for the contentToProcess property. + */ + public function setContentToProcess(?ProcessContentRequest $value): void { + $this->getBackingStore()->set('contentToProcess', $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 requestId property value. The requestId property + * @param string|null $value Value to set for the requestId property. + */ + public function setRequestId(?string $value): void { + $this->getBackingStore()->set('requestId', $value); + } + + /** + * Sets the userId property value. The userId property + * @param string|null $value Value to set for the userId property. + */ + public function setUserId(?string $value): void { + $this->getBackingStore()->set('userId', $value); + } + +} diff --git a/src/Generated/Models/ProcessContentMetadataBase.php b/src/Generated/Models/ProcessContentMetadataBase.php new file mode 100644 index 00000000000..beb64245f5e --- /dev/null +++ b/src/Generated/Models/ProcessContentMetadataBase.php @@ -0,0 +1,321 @@ +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 ProcessContentMetadataBase + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentMetadataBase { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.processConversationMetadata': return new ProcessConversationMetadata(); + case '#microsoft.graph.processFileMetadata': return new ProcessFileMetadata(); + } + } + return new ProcessContentMetadataBase(); + } + + /** + * 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 content property value. The content property + * @return ContentBase|null + */ + public function getContent(): ?ContentBase { + $val = $this->getBackingStore()->get('content'); + if (is_null($val) || $val instanceof ContentBase) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'content'"); + } + + /** + * Gets the correlationId property value. The correlationId property + * @return string|null + */ + public function getCorrelationId(): ?string { + $val = $this->getBackingStore()->get('correlationId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'correlationId'"); + } + + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'content' => fn(ParseNode $n) => $o->setContent($n->getObjectValue([ContentBase::class, 'createFromDiscriminatorValue'])), + 'correlationId' => fn(ParseNode $n) => $o->setCorrelationId($n->getStringValue()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'identifier' => fn(ParseNode $n) => $o->setIdentifier($n->getStringValue()), + 'isTruncated' => fn(ParseNode $n) => $o->setIsTruncated($n->getBooleanValue()), + 'length' => fn(ParseNode $n) => $o->setLength($n->getIntegerValue()), + 'modifiedDateTime' => fn(ParseNode $n) => $o->setModifiedDateTime($n->getDateTimeValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'sequenceNumber' => fn(ParseNode $n) => $o->setSequenceNumber($n->getIntegerValue()), + ]; + } + + /** + * Gets the identifier property value. The identifier property + * @return string|null + */ + public function getIdentifier(): ?string { + $val = $this->getBackingStore()->get('identifier'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'identifier'"); + } + + /** + * Gets the isTruncated property value. The isTruncated property + * @return bool|null + */ + public function getIsTruncated(): ?bool { + $val = $this->getBackingStore()->get('isTruncated'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isTruncated'"); + } + + /** + * Gets the length property value. The length property + * @return int|null + */ + public function getLength(): ?int { + $val = $this->getBackingStore()->get('length'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'length'"); + } + + /** + * Gets the modifiedDateTime property value. The modifiedDateTime property + * @return DateTime|null + */ + public function getModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('modifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'modifiedDateTime'"); + } + + /** + * Gets the name property value. The name property + * @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 @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 sequenceNumber property value. The sequenceNumber property + * @return int|null + */ + public function getSequenceNumber(): ?int { + $val = $this->getBackingStore()->get('sequenceNumber'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sequenceNumber'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('content', $this->getContent()); + $writer->writeStringValue('correlationId', $this->getCorrelationId()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeStringValue('identifier', $this->getIdentifier()); + $writer->writeBooleanValue('isTruncated', $this->getIsTruncated()); + $writer->writeIntegerValue('length', $this->getLength()); + $writer->writeDateTimeValue('modifiedDateTime', $this->getModifiedDateTime()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeIntegerValue('sequenceNumber', $this->getSequenceNumber()); + $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 content property value. The content property + * @param ContentBase|null $value Value to set for the content property. + */ + public function setContent(?ContentBase $value): void { + $this->getBackingStore()->set('content', $value); + } + + /** + * Sets the correlationId property value. The correlationId property + * @param string|null $value Value to set for the correlationId property. + */ + public function setCorrelationId(?string $value): void { + $this->getBackingStore()->set('correlationId', $value); + } + + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the identifier property value. The identifier property + * @param string|null $value Value to set for the identifier property. + */ + public function setIdentifier(?string $value): void { + $this->getBackingStore()->set('identifier', $value); + } + + /** + * Sets the isTruncated property value. The isTruncated property + * @param bool|null $value Value to set for the isTruncated property. + */ + public function setIsTruncated(?bool $value): void { + $this->getBackingStore()->set('isTruncated', $value); + } + + /** + * Sets the length property value. The length property + * @param int|null $value Value to set for the length property. + */ + public function setLength(?int $value): void { + $this->getBackingStore()->set('length', $value); + } + + /** + * Sets the modifiedDateTime property value. The modifiedDateTime property + * @param DateTime|null $value Value to set for the modifiedDateTime property. + */ + public function setModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('modifiedDateTime', $value); + } + + /** + * Sets the name property value. The name property + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $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 sequenceNumber property value. The sequenceNumber property + * @param int|null $value Value to set for the sequenceNumber property. + */ + public function setSequenceNumber(?int $value): void { + $this->getBackingStore()->set('sequenceNumber', $value); + } + +} diff --git a/src/Generated/Models/ProcessContentRequest.php b/src/Generated/Models/ProcessContentRequest.php new file mode 100644 index 00000000000..0256d540626 --- /dev/null +++ b/src/Generated/Models/ProcessContentRequest.php @@ -0,0 +1,205 @@ +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 ProcessContentRequest + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentRequest { + return new ProcessContentRequest(); + } + + /** + * Gets the activityMetadata property value. The activityMetadata property + * @return ActivityMetadata|null + */ + public function getActivityMetadata(): ?ActivityMetadata { + $val = $this->getBackingStore()->get('activityMetadata'); + if (is_null($val) || $val instanceof ActivityMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activityMetadata'"); + } + + /** + * 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 contentEntries property value. The contentEntries property + * @return array|null + */ + public function getContentEntries(): ?array { + $val = $this->getBackingStore()->get('contentEntries'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProcessContentMetadataBase::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentEntries'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'activityMetadata' => fn(ParseNode $n) => $o->setActivityMetadata($n->getObjectValue([ActivityMetadata::class, 'createFromDiscriminatorValue'])), + 'contentEntries' => fn(ParseNode $n) => $o->setContentEntries($n->getCollectionOfObjectValues([ProcessContentMetadataBase::class, 'createFromDiscriminatorValue'])), + 'integratedAppMetadata' => fn(ParseNode $n) => $o->setIntegratedAppMetadata($n->getObjectValue([IntegratedApplicationMetadata::class, 'createFromDiscriminatorValue'])), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'protectedAppMetadata' => fn(ParseNode $n) => $o->setProtectedAppMetadata($n->getObjectValue([ProtectedApplicationMetadata::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the integratedAppMetadata property value. The integratedAppMetadata property + * @return IntegratedApplicationMetadata|null + */ + public function getIntegratedAppMetadata(): ?IntegratedApplicationMetadata { + $val = $this->getBackingStore()->get('integratedAppMetadata'); + if (is_null($val) || $val instanceof IntegratedApplicationMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'integratedAppMetadata'"); + } + + /** + * 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 protectedAppMetadata property value. The protectedAppMetadata property + * @return ProtectedApplicationMetadata|null + */ + public function getProtectedAppMetadata(): ?ProtectedApplicationMetadata { + $val = $this->getBackingStore()->get('protectedAppMetadata'); + if (is_null($val) || $val instanceof ProtectedApplicationMetadata) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectedAppMetadata'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('activityMetadata', $this->getActivityMetadata()); + $writer->writeCollectionOfObjectValues('contentEntries', $this->getContentEntries()); + $writer->writeObjectValue('integratedAppMetadata', $this->getIntegratedAppMetadata()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('protectedAppMetadata', $this->getProtectedAppMetadata()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the activityMetadata property value. The activityMetadata property + * @param ActivityMetadata|null $value Value to set for the activityMetadata property. + */ + public function setActivityMetadata(?ActivityMetadata $value): void { + $this->getBackingStore()->set('activityMetadata', $value); + } + + /** + * 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 contentEntries property value. The contentEntries property + * @param array|null $value Value to set for the contentEntries property. + */ + public function setContentEntries(?array $value): void { + $this->getBackingStore()->set('contentEntries', $value); + } + + /** + * Sets the integratedAppMetadata property value. The integratedAppMetadata property + * @param IntegratedApplicationMetadata|null $value Value to set for the integratedAppMetadata property. + */ + public function setIntegratedAppMetadata(?IntegratedApplicationMetadata $value): void { + $this->getBackingStore()->set('integratedAppMetadata', $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 protectedAppMetadata property value. The protectedAppMetadata property + * @param ProtectedApplicationMetadata|null $value Value to set for the protectedAppMetadata property. + */ + public function setProtectedAppMetadata(?ProtectedApplicationMetadata $value): void { + $this->getBackingStore()->set('protectedAppMetadata', $value); + } + +} diff --git a/src/Generated/Models/ProcessContentResponse.php b/src/Generated/Models/ProcessContentResponse.php new file mode 100644 index 00000000000..77153a55855 --- /dev/null +++ b/src/Generated/Models/ProcessContentResponse.php @@ -0,0 +1,185 @@ +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 ProcessContentResponse + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentResponse { + return new ProcessContentResponse(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'policyActions' => fn(ParseNode $n) => $o->setPolicyActions($n->getCollectionOfObjectValues([DlpActionInfo::class, 'createFromDiscriminatorValue'])), + 'processingErrors' => fn(ParseNode $n) => $o->setProcessingErrors($n->getCollectionOfObjectValues([ProcessingError::class, 'createFromDiscriminatorValue'])), + 'protectionScopeState' => fn(ParseNode $n) => $o->setProtectionScopeState($n->getEnumValue(ProtectionScopeState::class)), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the policyActions property value. The policyActions property + * @return array|null + */ + public function getPolicyActions(): ?array { + $val = $this->getBackingStore()->get('policyActions'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DlpActionInfo::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyActions'"); + } + + /** + * Gets the processingErrors property value. The processingErrors property + * @return array|null + */ + public function getProcessingErrors(): ?array { + $val = $this->getBackingStore()->get('processingErrors'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProcessingError::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'processingErrors'"); + } + + /** + * Gets the protectionScopeState property value. The protectionScopeState property + * @return ProtectionScopeState|null + */ + public function getProtectionScopeState(): ?ProtectionScopeState { + $val = $this->getBackingStore()->get('protectionScopeState'); + if (is_null($val) || $val instanceof ProtectionScopeState) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectionScopeState'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeCollectionOfObjectValues('policyActions', $this->getPolicyActions()); + $writer->writeCollectionOfObjectValues('processingErrors', $this->getProcessingErrors()); + $writer->writeEnumValue('protectionScopeState', $this->getProtectionScopeState()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the policyActions property value. The policyActions property + * @param array|null $value Value to set for the policyActions property. + */ + public function setPolicyActions(?array $value): void { + $this->getBackingStore()->set('policyActions', $value); + } + + /** + * Sets the processingErrors property value. The processingErrors property + * @param array|null $value Value to set for the processingErrors property. + */ + public function setProcessingErrors(?array $value): void { + $this->getBackingStore()->set('processingErrors', $value); + } + + /** + * Sets the protectionScopeState property value. The protectionScopeState property + * @param ProtectionScopeState|null $value Value to set for the protectionScopeState property. + */ + public function setProtectionScopeState(?ProtectionScopeState $value): void { + $this->getBackingStore()->set('protectionScopeState', $value); + } + +} diff --git a/src/Generated/Models/ProcessContentResponses.php b/src/Generated/Models/ProcessContentResponses.php new file mode 100644 index 00000000000..c027730a3f4 --- /dev/null +++ b/src/Generated/Models/ProcessContentResponses.php @@ -0,0 +1,158 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ProcessContentResponses + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentResponses { + return new ProcessContentResponses(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'requestId' => fn(ParseNode $n) => $o->setRequestId($n->getStringValue()), + 'results' => fn(ParseNode $n) => $o->setResults($n->getObjectValue([ProcessContentResponse::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * 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 requestId property value. The requestId property + * @return string|null + */ + public function getRequestId(): ?string { + $val = $this->getBackingStore()->get('requestId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'requestId'"); + } + + /** + * Gets the results property value. The results property + * @return ProcessContentResponse|null + */ + public function getResults(): ?ProcessContentResponse { + $val = $this->getBackingStore()->get('results'); + if (is_null($val) || $val instanceof ProcessContentResponse) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'results'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('requestId', $this->getRequestId()); + $writer->writeObjectValue('results', $this->getResults()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the requestId property value. The requestId property + * @param string|null $value Value to set for the requestId property. + */ + public function setRequestId(?string $value): void { + $this->getBackingStore()->set('requestId', $value); + } + + /** + * Sets the results property value. The results property + * @param ProcessContentResponse|null $value Value to set for the results property. + */ + public function setResults(?ProcessContentResponse $value): void { + $this->getBackingStore()->set('results', $value); + } + +} diff --git a/src/Generated/Models/ProcessConversationMetadata.php b/src/Generated/Models/ProcessConversationMetadata.php new file mode 100644 index 00000000000..950d87bfb52 --- /dev/null +++ b/src/Generated/Models/ProcessConversationMetadata.php @@ -0,0 +1,124 @@ +setOdataType('#microsoft.graph.processConversationMetadata'); + } + + /** + * 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 ProcessConversationMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessConversationMetadata { + return new ProcessConversationMetadata(); + } + + /** + * Gets the accessedResources property value. The accessedResources property + * @return array|null + */ + public function getAccessedResources(): ?array { + $val = $this->getBackingStore()->get('accessedResources'); + 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 'accessedResources'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'accessedResources' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setAccessedResources($val); + }, + 'parentMessageId' => fn(ParseNode $n) => $o->setParentMessageId($n->getStringValue()), + 'plugins' => fn(ParseNode $n) => $o->setPlugins($n->getCollectionOfObjectValues([AiInteractionPlugin::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the parentMessageId property value. The parentMessageId property + * @return string|null + */ + public function getParentMessageId(): ?string { + $val = $this->getBackingStore()->get('parentMessageId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'parentMessageId'"); + } + + /** + * Gets the plugins property value. The plugins property + * @return array|null + */ + public function getPlugins(): ?array { + $val = $this->getBackingStore()->get('plugins'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AiInteractionPlugin::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'plugins'"); + } + + /** + * 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->writeCollectionOfPrimitiveValues('accessedResources', $this->getAccessedResources()); + $writer->writeStringValue('parentMessageId', $this->getParentMessageId()); + $writer->writeCollectionOfObjectValues('plugins', $this->getPlugins()); + } + + /** + * Sets the accessedResources property value. The accessedResources property + * @param array|null $value Value to set for the accessedResources property. + */ + public function setAccessedResources(?array $value): void { + $this->getBackingStore()->set('accessedResources', $value); + } + + /** + * Sets the parentMessageId property value. The parentMessageId property + * @param string|null $value Value to set for the parentMessageId property. + */ + public function setParentMessageId(?string $value): void { + $this->getBackingStore()->set('parentMessageId', $value); + } + + /** + * Sets the plugins property value. The plugins property + * @param array|null $value Value to set for the plugins property. + */ + public function setPlugins(?array $value): void { + $this->getBackingStore()->set('plugins', $value); + } + +} diff --git a/src/Generated/Models/ProcessFileMetadata.php b/src/Generated/Models/ProcessFileMetadata.php new file mode 100644 index 00000000000..2b887153a06 --- /dev/null +++ b/src/Generated/Models/ProcessFileMetadata.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.processFileMetadata'); + } + + /** + * 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 ProcessFileMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessFileMetadata { + return new ProcessFileMetadata(); + } + + /** + * Gets the customProperties property value. The customProperties property + * @return CustomMetadataDictionary|null + */ + public function getCustomProperties(): ?CustomMetadataDictionary { + $val = $this->getBackingStore()->get('customProperties'); + if (is_null($val) || $val instanceof CustomMetadataDictionary) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'customProperties'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'customProperties' => fn(ParseNode $n) => $o->setCustomProperties($n->getObjectValue([CustomMetadataDictionary::class, 'createFromDiscriminatorValue'])), + 'ownerId' => fn(ParseNode $n) => $o->setOwnerId($n->getStringValue()), + ]); + } + + /** + * Gets the ownerId property value. The ownerId property + * @return string|null + */ + public function getOwnerId(): ?string { + $val = $this->getBackingStore()->get('ownerId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'ownerId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('customProperties', $this->getCustomProperties()); + $writer->writeStringValue('ownerId', $this->getOwnerId()); + } + + /** + * Sets the customProperties property value. The customProperties property + * @param CustomMetadataDictionary|null $value Value to set for the customProperties property. + */ + public function setCustomProperties(?CustomMetadataDictionary $value): void { + $this->getBackingStore()->set('customProperties', $value); + } + + /** + * Sets the ownerId property value. The ownerId property + * @param string|null $value Value to set for the ownerId property. + */ + public function setOwnerId(?string $value): void { + $this->getBackingStore()->set('ownerId', $value); + } + +} diff --git a/src/Generated/Models/WhatIfAuthenticationContext.php b/src/Generated/Models/ProcessingError.php similarity index 51% rename from src/Generated/Models/WhatIfAuthenticationContext.php rename to src/Generated/Models/ProcessingError.php index c85568fa206..91f8f7ed175 100644 --- a/src/Generated/Models/WhatIfAuthenticationContext.php +++ b/src/Generated/Models/ProcessingError.php @@ -6,35 +6,35 @@ use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; -class WhatIfAuthenticationContext extends ConditionalAccessContext implements Parsable +class ProcessingError extends ClassificationError implements Parsable { /** - * Instantiates a new WhatIfAuthenticationContext and sets the default values. + * Instantiates a new ProcessingError and sets the default values. */ public function __construct() { parent::__construct(); - $this->setOdataType('#microsoft.graph.whatIfAuthenticationContext'); + $this->setOdataType('#microsoft.graph.processingError'); } /** * 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 WhatIfAuthenticationContext + * @return ProcessingError */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): WhatIfAuthenticationContext { - return new WhatIfAuthenticationContext(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessingError { + return new ProcessingError(); } /** - * Gets the authenticationContext property value. The authenticationContext property - * @return string|null + * Gets the errorType property value. The errorType property + * @return ContentProcessingErrorType|null */ - public function getAuthenticationContext(): ?string { - $val = $this->getBackingStore()->get('authenticationContext'); - if (is_null($val) || is_string($val)) { + public function getErrorType(): ?ContentProcessingErrorType { + $val = $this->getBackingStore()->get('errorType'); + if (is_null($val) || $val instanceof ContentProcessingErrorType) { return $val; } - throw new \UnexpectedValueException("Invalid type found in backing store for 'authenticationContext'"); + throw new \UnexpectedValueException("Invalid type found in backing store for 'errorType'"); } /** @@ -44,7 +44,7 @@ public function getAuthenticationContext(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'authenticationContext' => fn(ParseNode $n) => $o->setAuthenticationContext($n->getStringValue()), + 'errorType' => fn(ParseNode $n) => $o->setErrorType($n->getEnumValue(ContentProcessingErrorType::class)), ]); } @@ -54,15 +54,15 @@ public function getFieldDeserializers(): array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeStringValue('authenticationContext', $this->getAuthenticationContext()); + $writer->writeEnumValue('errorType', $this->getErrorType()); } /** - * Sets the authenticationContext property value. The authenticationContext property - * @param string|null $value Value to set for the authenticationContext property. + * Sets the errorType property value. The errorType property + * @param ContentProcessingErrorType|null $value Value to set for the errorType property. */ - public function setAuthenticationContext(?string $value): void { - $this->getBackingStore()->set('authenticationContext', $value); + public function setErrorType(?ContentProcessingErrorType $value): void { + $this->getBackingStore()->set('errorType', $value); } } diff --git a/src/Generated/Models/ProfileSource.php b/src/Generated/Models/ProfileSource.php index ce06b634720..6a3f543cb2e 100644 --- a/src/Generated/Models/ProfileSource.php +++ b/src/Generated/Models/ProfileSource.php @@ -44,10 +44,36 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'kind' => fn(ParseNode $n) => $o->setKind($n->getStringValue()), + 'sourceId' => fn(ParseNode $n) => $o->setSourceId($n->getStringValue()), 'webUrl' => fn(ParseNode $n) => $o->setWebUrl($n->getStringValue()), ]); } + /** + * Gets the kind property value. The kind property + * @return string|null + */ + public function getKind(): ?string { + $val = $this->getBackingStore()->get('kind'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'kind'"); + } + + /** + * Gets the sourceId property value. The sourceId property + * @return string|null + */ + public function getSourceId(): ?string { + $val = $this->getBackingStore()->get('sourceId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sourceId'"); + } + /** * Gets the webUrl property value. The webUrl property * @return string|null @@ -67,6 +93,8 @@ public function getWebUrl(): ?string { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('kind', $this->getKind()); + $writer->writeStringValue('sourceId', $this->getSourceId()); $writer->writeStringValue('webUrl', $this->getWebUrl()); } @@ -78,6 +106,22 @@ public function setDisplayName(?string $value): void { $this->getBackingStore()->set('displayName', $value); } + /** + * Sets the kind property value. The kind property + * @param string|null $value Value to set for the kind property. + */ + public function setKind(?string $value): void { + $this->getBackingStore()->set('kind', $value); + } + + /** + * Sets the sourceId property value. The sourceId property + * @param string|null $value Value to set for the sourceId property. + */ + public function setSourceId(?string $value): void { + $this->getBackingStore()->set('sourceId', $value); + } + /** * Sets the webUrl property value. The webUrl property * @param string|null $value Value to set for the webUrl property. diff --git a/src/Generated/Models/ProtectedApplicationMetadata.php b/src/Generated/Models/ProtectedApplicationMetadata.php new file mode 100644 index 00000000000..eded07fc665 --- /dev/null +++ b/src/Generated/Models/ProtectedApplicationMetadata.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.protectedApplicationMetadata'); + } + + /** + * 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 ProtectedApplicationMetadata + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProtectedApplicationMetadata { + return new ProtectedApplicationMetadata(); + } + + /** + * Gets the applicationLocation property value. The applicationLocation property + * @return PolicyLocation|null + */ + public function getApplicationLocation(): ?PolicyLocation { + $val = $this->getBackingStore()->get('applicationLocation'); + if (is_null($val) || $val instanceof PolicyLocation) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'applicationLocation'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'applicationLocation' => fn(ParseNode $n) => $o->setApplicationLocation($n->getObjectValue([PolicyLocation::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('applicationLocation', $this->getApplicationLocation()); + } + + /** + * Sets the applicationLocation property value. The applicationLocation property + * @param PolicyLocation|null $value Value to set for the applicationLocation property. + */ + public function setApplicationLocation(?PolicyLocation $value): void { + $this->getBackingStore()->set('applicationLocation', $value); + } + +} diff --git a/src/Generated/Models/CompliantNetworkType.php b/src/Generated/Models/ProtectionScopeState.php similarity index 55% rename from src/Generated/Models/CompliantNetworkType.php rename to src/Generated/Models/ProtectionScopeState.php index 7a2e4e5613f..d5e0d33a2b2 100644 --- a/src/Generated/Models/CompliantNetworkType.php +++ b/src/Generated/Models/ProtectionScopeState.php @@ -4,7 +4,8 @@ use Microsoft\Kiota\Abstractions\Enum; -class CompliantNetworkType extends Enum { - public const ALL_TENANT_COMPLIANT_NETWORKS = "allTenantCompliantNetworks"; +class ProtectionScopeState extends Enum { + public const NOT_MODIFIED = "notModified"; + public const MODIFIED = "modified"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/ProtectionUnitsBulkJobBase.php b/src/Generated/Models/ProtectionUnitsBulkJobBase.php index 58120a74cc4..6db1dadfed8 100644 --- a/src/Generated/Models/ProtectionUnitsBulkJobBase.php +++ b/src/Generated/Models/ProtectionUnitsBulkJobBase.php @@ -124,7 +124,7 @@ public function getLastModifiedDateTime(): ?DateTime { } /** - * Gets the status property value. The status of the job. The possible values are: unknown, active, completed, completedWithErrors, and unknownFutureValue. + * Gets the status property value. The status property * @return ProtectionUnitsBulkJobStatus|null */ public function getStatus(): ?ProtectionUnitsBulkJobStatus { @@ -199,7 +199,7 @@ public function setLastModifiedDateTime(?DateTime $value): void { } /** - * Sets the status property value. The status of the job. The possible values are: unknown, active, completed, completedWithErrors, and unknownFutureValue. + * Sets the status property value. The status property * @param ProtectionUnitsBulkJobStatus|null $value Value to set for the status property. */ public function setStatus(?ProtectionUnitsBulkJobStatus $value): void { diff --git a/src/Generated/Models/QrCode.php b/src/Generated/Models/QrCode.php new file mode 100644 index 00000000000..61dd5dcf65d --- /dev/null +++ b/src/Generated/Models/QrCode.php @@ -0,0 +1,156 @@ +getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the expireDateTime property value. Temporary QR code lifetime is between 1-12 hours. Standard QR code lifetime is in days and max. is 395 days (13 months) and default value is 365 days (12 months). + * @return DateTime|null + */ + public function getExpireDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expireDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expireDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'expireDateTime' => fn(ParseNode $n) => $o->setExpireDateTime($n->getDateTimeValue()), + 'image' => fn(ParseNode $n) => $o->setImage($n->getObjectValue([QrCodeImageDetails::class, 'createFromDiscriminatorValue'])), + 'lastUsedDateTime' => fn(ParseNode $n) => $o->setLastUsedDateTime($n->getDateTimeValue()), + 'startDateTime' => fn(ParseNode $n) => $o->setStartDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the image property value. The QR code image's raw data that is returned when a standard or temporary QR code is created. + * @return QrCodeImageDetails|null + */ + public function getImage(): ?QrCodeImageDetails { + $val = $this->getBackingStore()->get('image'); + if (is_null($val) || $val instanceof QrCodeImageDetails) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'image'"); + } + + /** + * Gets the lastUsedDateTime property value. The date and time when the QR code was last used for a successful sign-in. + * @return DateTime|null + */ + public function getLastUsedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('lastUsedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'lastUsedDateTime'"); + } + + /** + * Gets the startDateTime property value. The date and time when the QR code becomes active and available to use. + * @return DateTime|null + */ + public function getStartDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('startDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'startDateTime'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeDateTimeValue('expireDateTime', $this->getExpireDateTime()); + $writer->writeObjectValue('image', $this->getImage()); + $writer->writeDateTimeValue('lastUsedDateTime', $this->getLastUsedDateTime()); + $writer->writeDateTimeValue('startDateTime', $this->getStartDateTime()); + } + + /** + * Sets the createdDateTime property value. The date and time when the QR code was created. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the expireDateTime property value. Temporary QR code lifetime is between 1-12 hours. Standard QR code lifetime is in days and max. is 395 days (13 months) and default value is 365 days (12 months). + * @param DateTime|null $value Value to set for the expireDateTime property. + */ + public function setExpireDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expireDateTime', $value); + } + + /** + * Sets the image property value. The QR code image's raw data that is returned when a standard or temporary QR code is created. + * @param QrCodeImageDetails|null $value Value to set for the image property. + */ + public function setImage(?QrCodeImageDetails $value): void { + $this->getBackingStore()->set('image', $value); + } + + /** + * Sets the lastUsedDateTime property value. The date and time when the QR code was last used for a successful sign-in. + * @param DateTime|null $value Value to set for the lastUsedDateTime property. + */ + public function setLastUsedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('lastUsedDateTime', $value); + } + + /** + * Sets the startDateTime property value. The date and time when the QR code becomes active and available to use. + * @param DateTime|null $value Value to set for the startDateTime property. + */ + public function setStartDateTime(?DateTime $value): void { + $this->getBackingStore()->set('startDateTime', $value); + } + +} diff --git a/src/Generated/Models/QrCodeImageDetails.php b/src/Generated/Models/QrCodeImageDetails.php new file mode 100644 index 00000000000..62ecacebe4c --- /dev/null +++ b/src/Generated/Models/QrCodeImageDetails.php @@ -0,0 +1,203 @@ +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 QrCodeImageDetails + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): QrCodeImageDetails { + return new QrCodeImageDetails(); + } + + /** + * 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 binaryValue property value. The binary representation of the QR code. + * @return StreamInterface|null + */ + public function getBinaryValue(): ?StreamInterface { + $val = $this->getBackingStore()->get('binaryValue'); + if (is_null($val) || $val instanceof StreamInterface) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'binaryValue'"); + } + + /** + * Gets the errorCorrectionLevel property value. Specifies how much of the QRCode can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. + * @return ErrorCorrectionLevel|null + */ + public function getErrorCorrectionLevel(): ?ErrorCorrectionLevel { + $val = $this->getBackingStore()->get('errorCorrectionLevel'); + if (is_null($val) || $val instanceof ErrorCorrectionLevel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'errorCorrectionLevel'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'binaryValue' => fn(ParseNode $n) => $o->setBinaryValue($n->getBinaryContent()), + 'errorCorrectionLevel' => fn(ParseNode $n) => $o->setErrorCorrectionLevel($n->getEnumValue(ErrorCorrectionLevel::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'rawContent' => fn(ParseNode $n) => $o->setRawContent($n->getBinaryContent()), + 'version' => fn(ParseNode $n) => $o->setVersion($n->getIntegerValue()), + ]; + } + + /** + * 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 rawContent property value. Base64-encoded raw content of the QR code. + * @return StreamInterface|null + */ + public function getRawContent(): ?StreamInterface { + $val = $this->getBackingStore()->get('rawContent'); + if (is_null($val) || $val instanceof StreamInterface) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'rawContent'"); + } + + /** + * Gets the version property value. Version to create QR code image. + * @return int|null + */ + public function getVersion(): ?int { + $val = $this->getBackingStore()->get('version'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'version'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeBinaryContent('binaryValue', $this->getBinaryValue()); + $writer->writeEnumValue('errorCorrectionLevel', $this->getErrorCorrectionLevel()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeBinaryContent('rawContent', $this->getRawContent()); + $writer->writeIntegerValue('version', $this->getVersion()); + $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 binaryValue property value. The binary representation of the QR code. + * @param StreamInterface|null $value Value to set for the binaryValue property. + */ + public function setBinaryValue(?StreamInterface $value): void { + $this->getBackingStore()->set('binaryValue', $value); + } + + /** + * Sets the errorCorrectionLevel property value. Specifies how much of the QRCode can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. + * @param ErrorCorrectionLevel|null $value Value to set for the errorCorrectionLevel property. + */ + public function setErrorCorrectionLevel(?ErrorCorrectionLevel $value): void { + $this->getBackingStore()->set('errorCorrectionLevel', $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 rawContent property value. Base64-encoded raw content of the QR code. + * @param StreamInterface|null $value Value to set for the rawContent property. + */ + public function setRawContent(?StreamInterface $value): void { + $this->getBackingStore()->set('rawContent', $value); + } + + /** + * Sets the version property value. Version to create QR code image. + * @param int|null $value Value to set for the version property. + */ + public function setVersion(?int $value): void { + $this->getBackingStore()->set('version', $value); + } + +} diff --git a/src/Generated/Models/QrCodePinAuthenticationMethod.php b/src/Generated/Models/QrCodePinAuthenticationMethod.php new file mode 100644 index 00000000000..db927a8dd36 --- /dev/null +++ b/src/Generated/Models/QrCodePinAuthenticationMethod.php @@ -0,0 +1,112 @@ +setOdataType('#microsoft.graph.qrCodePinAuthenticationMethod'); + } + + /** + * 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 QrCodePinAuthenticationMethod + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): QrCodePinAuthenticationMethod { + return new QrCodePinAuthenticationMethod(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'pin' => fn(ParseNode $n) => $o->setPin($n->getObjectValue([QrPin::class, 'createFromDiscriminatorValue'])), + 'standardQRCode' => fn(ParseNode $n) => $o->setStandardQRCode($n->getObjectValue([QrCode::class, 'createFromDiscriminatorValue'])), + 'temporaryQRCode' => fn(ParseNode $n) => $o->setTemporaryQRCode($n->getObjectValue([QrCode::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the pin property value. The PIN linked to the QR Code auth method of the user. + * @return QrPin|null + */ + public function getPin(): ?QrPin { + $val = $this->getBackingStore()->get('pin'); + if (is_null($val) || $val instanceof QrPin) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'pin'"); + } + + /** + * Gets the standardQRCode property value. Standard QR code is primary QR code of the user with lifetime upto 395 days (13 months). There can be only one active standard QR code for the user. + * @return QrCode|null + */ + public function getStandardQRCode(): ?QrCode { + $val = $this->getBackingStore()->get('standardQRCode'); + if (is_null($val) || $val instanceof QrCode) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'standardQRCode'"); + } + + /** + * Gets the temporaryQRCode property value. Temporary QR code has lifetime up to 12 hours. It can be issued when the user doesn't have access to their standard QR code. There can be only one active temporary QR code for the user. + * @return QrCode|null + */ + public function getTemporaryQRCode(): ?QrCode { + $val = $this->getBackingStore()->get('temporaryQRCode'); + if (is_null($val) || $val instanceof QrCode) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'temporaryQRCode'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('pin', $this->getPin()); + $writer->writeObjectValue('standardQRCode', $this->getStandardQRCode()); + $writer->writeObjectValue('temporaryQRCode', $this->getTemporaryQRCode()); + } + + /** + * Sets the pin property value. The PIN linked to the QR Code auth method of the user. + * @param QrPin|null $value Value to set for the pin property. + */ + public function setPin(?QrPin $value): void { + $this->getBackingStore()->set('pin', $value); + } + + /** + * Sets the standardQRCode property value. Standard QR code is primary QR code of the user with lifetime upto 395 days (13 months). There can be only one active standard QR code for the user. + * @param QrCode|null $value Value to set for the standardQRCode property. + */ + public function setStandardQRCode(?QrCode $value): void { + $this->getBackingStore()->set('standardQRCode', $value); + } + + /** + * Sets the temporaryQRCode property value. Temporary QR code has lifetime up to 12 hours. It can be issued when the user doesn't have access to their standard QR code. There can be only one active temporary QR code for the user. + * @param QrCode|null $value Value to set for the temporaryQRCode property. + */ + public function setTemporaryQRCode(?QrCode $value): void { + $this->getBackingStore()->set('temporaryQRCode', $value); + } + +} diff --git a/src/Generated/Models/QrCodePinAuthenticationMethodConfiguration.php b/src/Generated/Models/QrCodePinAuthenticationMethodConfiguration.php new file mode 100644 index 00000000000..a5fdda4c570 --- /dev/null +++ b/src/Generated/Models/QrCodePinAuthenticationMethodConfiguration.php @@ -0,0 +1,115 @@ +setOdataType('#microsoft.graph.qrCodePinAuthenticationMethodConfiguration'); + } + + /** + * 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 QrCodePinAuthenticationMethodConfiguration + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): QrCodePinAuthenticationMethodConfiguration { + return new QrCodePinAuthenticationMethodConfiguration(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'includeTargets' => fn(ParseNode $n) => $o->setIncludeTargets($n->getCollectionOfObjectValues([AuthenticationMethodTarget::class, 'createFromDiscriminatorValue'])), + 'pinLength' => fn(ParseNode $n) => $o->setPinLength($n->getIntegerValue()), + 'standardQRCodeLifetimeInDays' => fn(ParseNode $n) => $o->setStandardQRCodeLifetimeInDays($n->getIntegerValue()), + ]); + } + + /** + * Gets the includeTargets property value. A collection of groups that are enabled to use the authentication method. + * @return array|null + */ + public function getIncludeTargets(): ?array { + $val = $this->getBackingStore()->get('includeTargets'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AuthenticationMethodTarget::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'includeTargets'"); + } + + /** + * Gets the pinLength property value. A memorized alphanumeric secret code. Minimum length is 8 as per NIST 800-63B and can't be longer than 20 digits. + * @return int|null + */ + public function getPinLength(): ?int { + $val = $this->getBackingStore()->get('pinLength'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'pinLength'"); + } + + /** + * Gets the standardQRCodeLifetimeInDays property value. The maximum value is 395 days and the default value is 365 days. + * @return int|null + */ + public function getStandardQRCodeLifetimeInDays(): ?int { + $val = $this->getBackingStore()->get('standardQRCodeLifetimeInDays'); + if (is_null($val) || is_int($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'standardQRCodeLifetimeInDays'"); + } + + /** + * 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('includeTargets', $this->getIncludeTargets()); + $writer->writeIntegerValue('pinLength', $this->getPinLength()); + $writer->writeIntegerValue('standardQRCodeLifetimeInDays', $this->getStandardQRCodeLifetimeInDays()); + } + + /** + * Sets the includeTargets property value. A collection of groups that are enabled to use the authentication method. + * @param array|null $value Value to set for the includeTargets property. + */ + public function setIncludeTargets(?array $value): void { + $this->getBackingStore()->set('includeTargets', $value); + } + + /** + * Sets the pinLength property value. A memorized alphanumeric secret code. Minimum length is 8 as per NIST 800-63B and can't be longer than 20 digits. + * @param int|null $value Value to set for the pinLength property. + */ + public function setPinLength(?int $value): void { + $this->getBackingStore()->set('pinLength', $value); + } + + /** + * Sets the standardQRCodeLifetimeInDays property value. The maximum value is 395 days and the default value is 365 days. + * @param int|null $value Value to set for the standardQRCodeLifetimeInDays property. + */ + public function setStandardQRCodeLifetimeInDays(?int $value): void { + $this->getBackingStore()->set('standardQRCodeLifetimeInDays', $value); + } + +} diff --git a/src/Generated/Models/QrPin.php b/src/Generated/Models/QrPin.php new file mode 100644 index 00000000000..0bd207a4f3b --- /dev/null +++ b/src/Generated/Models/QrPin.php @@ -0,0 +1,134 @@ +getBackingStore()->get('code'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'code'"); + } + + /** + * Gets the createdDateTime property value. The date and time when the PIN was created. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'code' => fn(ParseNode $n) => $o->setCode($n->getStringValue()), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'forceChangePinNextSignIn' => fn(ParseNode $n) => $o->setForceChangePinNextSignIn($n->getBooleanValue()), + 'updatedDateTime' => fn(ParseNode $n) => $o->setUpdatedDateTime($n->getDateTimeValue()), + ]); + } + + /** + * Gets the forceChangePinNextSignIn property value. Defaults to true for a temporary PIN. + * @return bool|null + */ + public function getForceChangePinNextSignIn(): ?bool { + $val = $this->getBackingStore()->get('forceChangePinNextSignIn'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'forceChangePinNextSignIn'"); + } + + /** + * Gets the updatedDateTime property value. The date and time when the PIN was updated. + * @return DateTime|null + */ + public function getUpdatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('updatedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'updatedDateTime'"); + } + + /** + * 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('code', $this->getCode()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeBooleanValue('forceChangePinNextSignIn', $this->getForceChangePinNextSignIn()); + $writer->writeDateTimeValue('updatedDateTime', $this->getUpdatedDateTime()); + } + + /** + * Sets the code property value. PIN of the user. It is between 8-20 digits as configured in the QR code authentication method policy. The code is temporary when issued by admin but permanent after the user changes it at the first login attempt. This PIN can be reset by the admin but not the user. + * @param string|null $value Value to set for the code property. + */ + public function setCode(?string $value): void { + $this->getBackingStore()->set('code', $value); + } + + /** + * Sets the createdDateTime property value. The date and time when the PIN was created. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the forceChangePinNextSignIn property value. Defaults to true for a temporary PIN. + * @param bool|null $value Value to set for the forceChangePinNextSignIn property. + */ + public function setForceChangePinNextSignIn(?bool $value): void { + $this->getBackingStore()->set('forceChangePinNextSignIn', $value); + } + + /** + * Sets the updatedDateTime property value. The date and time when the PIN was updated. + * @param DateTime|null $value Value to set for the updatedDateTime property. + */ + public function setUpdatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('updatedDateTime', $value); + } + +} diff --git a/src/Generated/Models/Report.php b/src/Generated/Models/Report.php index 7623931e57d..c7e571db244 100644 --- a/src/Generated/Models/Report.php +++ b/src/Generated/Models/Report.php @@ -60,7 +60,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the content property value. The http content that has the data + * Gets the content property value. Report content; details vary by report type. * @return StreamInterface|null */ public function getContent(): ?StreamInterface { @@ -122,7 +122,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the content property value. The http content that has the data + * Sets the content property value. Report content; details vary by report type. * @param StreamInterface|null $value Value to set for the content property. */ public function setContent(?StreamInterface $value): void { diff --git a/src/Generated/Models/RestoreArtifactsBulkRequestBase.php b/src/Generated/Models/RestoreArtifactsBulkRequestBase.php index 22188f30a6f..d1ce9a38560 100644 --- a/src/Generated/Models/RestoreArtifactsBulkRequestBase.php +++ b/src/Generated/Models/RestoreArtifactsBulkRequestBase.php @@ -187,7 +187,7 @@ public function getRestorePointPreference(): ?RestorePointPreference { } /** - * Gets the status property value. Determines the status of the long-running operation. The possible values area: unknown, active, completed, completedWithErrors, unknownFutureValue. + * Gets the status property value. The status property * @return RestoreArtifactsBulkRequestStatus|null */ public function getStatus(): ?RestoreArtifactsBulkRequestStatus { @@ -311,7 +311,7 @@ public function setRestorePointPreference(?RestorePointPreference $value): void } /** - * Sets the status property value. Determines the status of the long-running operation. The possible values area: unknown, active, completed, completedWithErrors, unknownFutureValue. + * Sets the status property value. The status property * @param RestoreArtifactsBulkRequestStatus|null $value Value to set for the status property. */ public function setStatus(?RestoreArtifactsBulkRequestStatus $value): void { diff --git a/src/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.php b/src/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.php index 78fb0bf461f..c3411202c7d 100644 --- a/src/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.php +++ b/src/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.php @@ -25,7 +25,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Edisc } /** - * Gets the additionalDataOptions property value. The additionalDataOptions property + * Gets the additionalDataOptions property value. The options to add items to the review set. Possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. * @return AdditionalDataOptions|null */ public function getAdditionalDataOptions(): ?AdditionalDataOptions { @@ -37,7 +37,7 @@ public function getAdditionalDataOptions(): ?AdditionalDataOptions { } /** - * Gets the cloudAttachmentVersion property value. The cloudAttachmentVersion property + * Gets the cloudAttachmentVersion property value. Specifies the number of most recent versions of cloud attachments to collect. Possible values are: latest, recent10, recent100, all, unknownFutureValue. * @return CloudAttachmentVersion|null */ public function getCloudAttachmentVersion(): ?CloudAttachmentVersion { @@ -49,7 +49,7 @@ public function getCloudAttachmentVersion(): ?CloudAttachmentVersion { } /** - * Gets the documentVersion property value. The documentVersion property + * Gets the documentVersion property value. Specifies the number of most recent versions of SharePoint documents to collect. Possible values are: latest, recent10, recent100, all, unknownFutureValue. * @return DocumentVersion|null */ public function getDocumentVersion(): ?DocumentVersion { @@ -77,7 +77,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the itemsToInclude property value. The itemsToInclude property + * Gets the itemsToInclude property value. The items to include in the review set. Possible values are: searchHits, partiallyIndexed, unknownFutureValue. * @return ItemsToInclude|null */ public function getItemsToInclude(): ?ItemsToInclude { @@ -127,7 +127,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the additionalDataOptions property value. The additionalDataOptions property + * Sets the additionalDataOptions property value. The options to add items to the review set. Possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. * @param AdditionalDataOptions|null $value Value to set for the additionalDataOptions property. */ public function setAdditionalDataOptions(?AdditionalDataOptions $value): void { @@ -135,7 +135,7 @@ public function setAdditionalDataOptions(?AdditionalDataOptions $value): void { } /** - * Sets the cloudAttachmentVersion property value. The cloudAttachmentVersion property + * Sets the cloudAttachmentVersion property value. Specifies the number of most recent versions of cloud attachments to collect. Possible values are: latest, recent10, recent100, all, unknownFutureValue. * @param CloudAttachmentVersion|null $value Value to set for the cloudAttachmentVersion property. */ public function setCloudAttachmentVersion(?CloudAttachmentVersion $value): void { @@ -143,7 +143,7 @@ public function setCloudAttachmentVersion(?CloudAttachmentVersion $value): void } /** - * Sets the documentVersion property value. The documentVersion property + * Sets the documentVersion property value. Specifies the number of most recent versions of SharePoint documents to collect. Possible values are: latest, recent10, recent100, all, unknownFutureValue. * @param DocumentVersion|null $value Value to set for the documentVersion property. */ public function setDocumentVersion(?DocumentVersion $value): void { @@ -151,7 +151,7 @@ public function setDocumentVersion(?DocumentVersion $value): void { } /** - * Sets the itemsToInclude property value. The itemsToInclude property + * Sets the itemsToInclude property value. The items to include in the review set. Possible values are: searchHits, partiallyIndexed, unknownFutureValue. * @param ItemsToInclude|null $value Value to set for the itemsToInclude property. */ public function setItemsToInclude(?ItemsToInclude $value): void { diff --git a/src/Generated/Models/Security/EdiscoveryEstimateOperation.php b/src/Generated/Models/Security/EdiscoveryEstimateOperation.php index c6209090a1d..f8a3a825104 100644 --- a/src/Generated/Models/Security/EdiscoveryEstimateOperation.php +++ b/src/Generated/Models/Security/EdiscoveryEstimateOperation.php @@ -103,7 +103,7 @@ public function getSiteCount(): ?int { } /** - * Gets the statisticsOptions property value. The statisticsOptions property + * Gets the statisticsOptions property value. The options to generate statistics. Possible values are: includeRefiners, includeQueryStats, includeUnindexedStats, advancedIndexing, locationsWithoutHits, unknownFutureValue. * @return StatisticsOptions|null */ public function getStatisticsOptions(): ?StatisticsOptions { @@ -195,7 +195,7 @@ public function setSiteCount(?int $value): void { } /** - * Sets the statisticsOptions property value. The statisticsOptions property + * Sets the statisticsOptions property value. The options to generate statistics. Possible values are: includeRefiners, includeQueryStats, includeUnindexedStats, advancedIndexing, locationsWithoutHits, unknownFutureValue. * @param StatisticsOptions|null $value Value to set for the statisticsOptions property. */ public function setStatisticsOptions(?StatisticsOptions $value): void { diff --git a/src/Generated/Models/Security/EdiscoverySearchExportOperation.php b/src/Generated/Models/Security/EdiscoverySearchExportOperation.php index 5b81fa6a0be..98fa923e433 100644 --- a/src/Generated/Models/Security/EdiscoverySearchExportOperation.php +++ b/src/Generated/Models/Security/EdiscoverySearchExportOperation.php @@ -38,7 +38,7 @@ public function getAdditionalOptions(): ?AdditionalOptions { } /** - * Gets the cloudAttachmentVersion property value. The cloudAttachmentVersion property + * Gets the cloudAttachmentVersion property value. The versions of cloud attachments to include in messages. Possible values are: latest, recent10, recent100, all, unknownFutureValue. * @return CloudAttachmentVersion|null */ public function getCloudAttachmentVersion(): ?CloudAttachmentVersion { @@ -74,7 +74,7 @@ public function getDisplayName(): ?string { } /** - * Gets the documentVersion property value. The documentVersion property + * Gets the documentVersion property value. The versions of files in SharePoint to include. Possible values are: latest, recent10, recent100, all, unknownFutureValue. * @return DocumentVersion|null */ public function getDocumentVersion(): ?DocumentVersion { @@ -208,7 +208,7 @@ public function setAdditionalOptions(?AdditionalOptions $value): void { } /** - * Sets the cloudAttachmentVersion property value. The cloudAttachmentVersion property + * Sets the cloudAttachmentVersion property value. The versions of cloud attachments to include in messages. Possible values are: latest, recent10, recent100, all, unknownFutureValue. * @param CloudAttachmentVersion|null $value Value to set for the cloudAttachmentVersion property. */ public function setCloudAttachmentVersion(?CloudAttachmentVersion $value): void { @@ -232,7 +232,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the documentVersion property value. The documentVersion property + * Sets the documentVersion property value. The versions of files in SharePoint to include. Possible values are: latest, recent10, recent100, all, unknownFutureValue. * @param DocumentVersion|null $value Value to set for the documentVersion property. */ public function setDocumentVersion(?DocumentVersion $value): void { diff --git a/src/Generated/Models/SensitivityLabel.php b/src/Generated/Models/SensitivityLabel.php index 9b1feb9078b..56085576903 100644 --- a/src/Generated/Models/SensitivityLabel.php +++ b/src/Generated/Models/SensitivityLabel.php @@ -75,6 +75,18 @@ public function getAutoLabeling(): ?AutoLabeling { throw new \UnexpectedValueException("Invalid type found in backing store for 'autoLabeling'"); } + /** + * Gets the color property value. The color property + * @return string|null + */ + public function getColor(): ?string { + $val = $this->getBackingStore()->get('color'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'color'"); + } + /** * Gets the description property value. The description property * @return string|null @@ -110,9 +122,11 @@ public function getFieldDeserializers(): array { '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'])), + '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()), 'labelActions' => fn(ParseNode $n) => $o->setLabelActions($n->getCollectionOfObjectValues([LabelActionBase::class, 'createFromDiscriminatorValue'])), 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), @@ -134,6 +148,18 @@ public function getIsDefault(): ?bool { throw new \UnexpectedValueException("Invalid type found in backing store for 'isDefault'"); } + /** + * Gets the isEnabled property value. The isEnabled property + * @return bool|null + */ + public function getIsEnabled(): ?bool { + $val = $this->getBackingStore()->get('isEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEnabled'"); + } + /** * Gets the isEndpointProtectionEnabled property value. The isEndpointProtectionEnabled property * @return bool|null @@ -220,9 +246,11 @@ public function serialize(SerializationWriter $writer): void { $writer->writeEnumValue('applicationMode', $this->getApplicationMode()); $writer->writeCollectionOfObjectValues('assignedPolicies', $this->getAssignedPolicies()); $writer->writeObjectValue('autoLabeling', $this->getAutoLabeling()); + $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->writeCollectionOfObjectValues('labelActions', $this->getLabelActions()); $writer->writeStringValue('name', $this->getName()); @@ -263,6 +291,14 @@ public function setAutoLabeling(?AutoLabeling $value): void { $this->getBackingStore()->set('autoLabeling', $value); } + /** + * Sets the color property value. The color property + * @param string|null $value Value to set for the color property. + */ + public function setColor(?string $value): void { + $this->getBackingStore()->set('color', $value); + } + /** * Sets the description property value. The description property * @param string|null $value Value to set for the description property. @@ -287,6 +323,14 @@ public function setIsDefault(?bool $value): void { $this->getBackingStore()->set('isDefault', $value); } + /** + * Sets the isEnabled property value. The isEnabled property + * @param bool|null $value Value to set for the isEnabled property. + */ + public function setIsEnabled(?bool $value): void { + $this->getBackingStore()->set('isEnabled', $value); + } + /** * Sets the isEndpointProtectionEnabled property value. The isEndpointProtectionEnabled property * @param bool|null $value Value to set for the isEndpointProtectionEnabled property. diff --git a/src/Generated/Models/ServiceTagNamedLocation.php b/src/Generated/Models/ServiceTagNamedLocation.php deleted file mode 100644 index dcf282472d2..00000000000 --- a/src/Generated/Models/ServiceTagNamedLocation.php +++ /dev/null @@ -1,99 +0,0 @@ - - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'isTrusted' => fn(ParseNode $n) => $o->setIsTrusted($n->getBooleanValue()), - 'serviceTags' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setServiceTags($val); - }, - ]); - } - - /** - * Gets the isTrusted property value. The isTrusted property - * @return bool|null - */ - public function getIsTrusted(): ?bool { - $val = $this->getBackingStore()->get('isTrusted'); - if (is_null($val) || is_bool($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'isTrusted'"); - } - - /** - * Gets the serviceTags property value. The serviceTags property - * @return array|null - */ - public function getServiceTags(): ?array { - $val = $this->getBackingStore()->get('serviceTags'); - 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 'serviceTags'"); - } - - /** - * Serializes information the current object - * @param SerializationWriter $writer Serialization writer to use to serialize this model - */ - public function serialize(SerializationWriter $writer): void { - parent::serialize($writer); - $writer->writeBooleanValue('isTrusted', $this->getIsTrusted()); - $writer->writeCollectionOfPrimitiveValues('serviceTags', $this->getServiceTags()); - } - - /** - * Sets the isTrusted property value. The isTrusted property - * @param bool|null $value Value to set for the isTrusted property. - */ - public function setIsTrusted(?bool $value): void { - $this->getBackingStore()->set('isTrusted', $value); - } - - /** - * Sets the serviceTags property value. The serviceTags property - * @param array|null $value Value to set for the serviceTags property. - */ - public function setServiceTags(?array $value): void { - $this->getBackingStore()->set('serviceTags', $value); - } - -} diff --git a/src/Generated/Models/TeamsAdministration/AccountType.php b/src/Generated/Models/TeamsAdministration/AccountType.php new file mode 100644 index 00000000000..b3ddd925750 --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/AccountType.php @@ -0,0 +1,15 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return AssignedTelephoneNumber + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AssignedTelephoneNumber { + return new AssignedTelephoneNumber(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the assignmentCategory property value. The assignmentCategory property + * @return AssignmentCategory|null + */ + public function getAssignmentCategory(): ?AssignmentCategory { + $val = $this->getBackingStore()->get('assignmentCategory'); + if (is_null($val) || $val instanceof AssignmentCategory) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignmentCategory'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'assignmentCategory' => fn(ParseNode $n) => $o->setAssignmentCategory($n->getEnumValue(AssignmentCategory::class)), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'telephoneNumber' => fn(ParseNode $n) => $o->setTelephoneNumber($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the telephoneNumber property value. The assigned phone number. + * @return string|null + */ + public function getTelephoneNumber(): ?string { + $val = $this->getBackingStore()->get('telephoneNumber'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'telephoneNumber'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('assignmentCategory', $this->getAssignmentCategory()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('telephoneNumber', $this->getTelephoneNumber()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the assignmentCategory property value. The assignmentCategory property + * @param AssignmentCategory|null $value Value to set for the assignmentCategory property. + */ + public function setAssignmentCategory(?AssignmentCategory $value): void { + $this->getBackingStore()->set('assignmentCategory', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the telephoneNumber property value. The assigned phone number. + * @param string|null $value Value to set for the telephoneNumber property. + */ + public function setTelephoneNumber(?string $value): void { + $this->getBackingStore()->set('telephoneNumber', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/AssignmentCategory.php b/src/Generated/Models/TeamsAdministration/AssignmentCategory.php new file mode 100644 index 00000000000..72cb0b80afb --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/AssignmentCategory.php @@ -0,0 +1,12 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EffectivePolicyAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EffectivePolicyAssignment { + return new EffectivePolicyAssignment(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'policyAssignment' => fn(ParseNode $n) => $o->setPolicyAssignment($n->getObjectValue([PolicyAssignment::class, 'createFromDiscriminatorValue'])), + 'policyType' => fn(ParseNode $n) => $o->setPolicyType($n->getStringValue()), + ]; + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the policyAssignment property value. The policyAssignment property + * @return PolicyAssignment|null + */ + public function getPolicyAssignment(): ?PolicyAssignment { + $val = $this->getBackingStore()->get('policyAssignment'); + if (is_null($val) || $val instanceof PolicyAssignment) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyAssignment'"); + } + + /** + * Gets the policyType property value. The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy. + * @return string|null + */ + public function getPolicyType(): ?string { + $val = $this->getBackingStore()->get('policyType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyType'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeObjectValue('policyAssignment', $this->getPolicyAssignment()); + $writer->writeStringValue('policyType', $this->getPolicyType()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the policyAssignment property value. The policyAssignment property + * @param PolicyAssignment|null $value Value to set for the policyAssignment property. + */ + public function setPolicyAssignment(?PolicyAssignment $value): void { + $this->getBackingStore()->set('policyAssignment', $value); + } + + /** + * Sets the policyType property value. The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy. + * @param string|null $value Value to set for the policyType property. + */ + public function setPolicyType(?string $value): void { + $this->getBackingStore()->set('policyType', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/PolicyAssignment.php b/src/Generated/Models/TeamsAdministration/PolicyAssignment.php new file mode 100644 index 00000000000..20d804f07ef --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/PolicyAssignment.php @@ -0,0 +1,202 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return PolicyAssignment + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): PolicyAssignment { + return new PolicyAssignment(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the assignmentType property value. The assignmentType property + * @return AssignmentType|null + */ + public function getAssignmentType(): ?AssignmentType { + $val = $this->getBackingStore()->get('assignmentType'); + if (is_null($val) || $val instanceof AssignmentType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'assignmentType'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the displayName property value. Represents the name of the policy. + * @return string|null + */ + public function getDisplayName(): ?string { + $val = $this->getBackingStore()->get('displayName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'displayName'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'assignmentType' => fn(ParseNode $n) => $o->setAssignmentType($n->getEnumValue(AssignmentType::class)), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + 'groupId' => fn(ParseNode $n) => $o->setGroupId($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'policyId' => fn(ParseNode $n) => $o->setPolicyId($n->getStringValue()), + ]; + } + + /** + * Gets the groupId property value. Represents the group identifier. + * @return string|null + */ + public function getGroupId(): ?string { + $val = $this->getBackingStore()->get('groupId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'groupId'"); + } + + /** + * Gets the @odata.type property value. The OdataType property + * @return string|null + */ + public function getOdataType(): ?string { + $val = $this->getBackingStore()->get('odataType'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'odataType'"); + } + + /** + * Gets the policyId property value. Represents the unique identifier for the policy. + * @return string|null + */ + public function getPolicyId(): ?string { + $val = $this->getBackingStore()->get('policyId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'policyId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('assignmentType', $this->getAssignmentType()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + $writer->writeStringValue('groupId', $this->getGroupId()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('policyId', $this->getPolicyId()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the assignmentType property value. The assignmentType property + * @param AssignmentType|null $value Value to set for the assignmentType property. + */ + public function setAssignmentType(?AssignmentType $value): void { + $this->getBackingStore()->set('assignmentType', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the displayName property value. Represents the name of the policy. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + + /** + * Sets the groupId property value. Represents the group identifier. + * @param string|null $value Value to set for the groupId property. + */ + public function setGroupId(?string $value): void { + $this->getBackingStore()->set('groupId', $value); + } + + /** + * Sets the @odata.type property value. The OdataType property + * @param string|null $value Value to set for the @odata.type property. + */ + public function setOdataType(?string $value): void { + $this->getBackingStore()->set('odataType', $value); + } + + /** + * Sets the policyId property value. Represents the unique identifier for the policy. + * @param string|null $value Value to set for the policyId property. + */ + public function setPolicyId(?string $value): void { + $this->getBackingStore()->set('policyId', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php b/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php index e865f2ac848..5a6f64d41df 100644 --- a/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php +++ b/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php @@ -6,6 +6,7 @@ use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; class TeamsAdminRoot extends Entity implements Parsable { @@ -33,6 +34,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'policy' => fn(ParseNode $n) => $o->setPolicy($n->getObjectValue([TeamsPolicyAssignment::class, 'createFromDiscriminatorValue'])), + 'userConfigurations' => fn(ParseNode $n) => $o->setUserConfigurations($n->getCollectionOfObjectValues([TeamsUserConfiguration::class, 'createFromDiscriminatorValue'])), ]); } @@ -48,6 +50,20 @@ public function getPolicy(): ?TeamsPolicyAssignment { throw new \UnexpectedValueException("Invalid type found in backing store for 'policy'"); } + /** + * Gets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams. + * @return array|null + */ + public function getUserConfigurations(): ?array { + $val = $this->getBackingStore()->get('userConfigurations'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TeamsUserConfiguration::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userConfigurations'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -55,6 +71,7 @@ public function getPolicy(): ?TeamsPolicyAssignment { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeObjectValue('policy', $this->getPolicy()); + $writer->writeCollectionOfObjectValues('userConfigurations', $this->getUserConfigurations()); } /** @@ -65,4 +82,12 @@ public function setPolicy(?TeamsPolicyAssignment $value): void { $this->getBackingStore()->set('policy', $value); } + /** + * Sets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams. + * @param array|null $value Value to set for the userConfigurations property. + */ + public function setUserConfigurations(?array $value): void { + $this->getBackingStore()->set('userConfigurations', $value); + } + } diff --git a/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php b/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php new file mode 100644 index 00000000000..b5292e8863a --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/TeamsUserConfiguration.php @@ -0,0 +1,282 @@ +getBackingStore()->get('accountType'); + if (is_null($val) || $val instanceof AccountType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'accountType'"); + } + + /** + * Gets the createdDateTime property value. The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getCreatedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('createdDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'createdDateTime'"); + } + + /** + * Gets the effectivePolicyAssignments property value. Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details. + * @return array|null + */ + public function getEffectivePolicyAssignments(): ?array { + $val = $this->getBackingStore()->get('effectivePolicyAssignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, EffectivePolicyAssignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'effectivePolicyAssignments'"); + } + + /** + * Gets the featureTypes property value. The Teams features enabled for a given user based on licensing or service plan. + * @return array|null + */ + public function getFeatureTypes(): ?array { + $val = $this->getBackingStore()->get('featureTypes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'featureTypes'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'accountType' => fn(ParseNode $n) => $o->setAccountType($n->getEnumValue(AccountType::class)), + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), + 'effectivePolicyAssignments' => fn(ParseNode $n) => $o->setEffectivePolicyAssignments($n->getCollectionOfObjectValues([EffectivePolicyAssignment::class, 'createFromDiscriminatorValue'])), + 'featureTypes' => function (ParseNode $n) { + $val = $n->getCollectionOfPrimitiveValues(); + if (is_array($val)) { + TypeUtils::validateCollectionValues($val, 'string'); + } + /** @var array|null $val */ + $this->setFeatureTypes($val); + }, + 'isEnterpriseVoiceEnabled' => fn(ParseNode $n) => $o->setIsEnterpriseVoiceEnabled($n->getBooleanValue()), + 'modifiedDateTime' => fn(ParseNode $n) => $o->setModifiedDateTime($n->getDateTimeValue()), + 'telephoneNumbers' => fn(ParseNode $n) => $o->setTelephoneNumbers($n->getCollectionOfObjectValues([AssignedTelephoneNumber::class, 'createFromDiscriminatorValue'])), + 'tenantId' => fn(ParseNode $n) => $o->setTenantId($n->getStringValue()), + 'user' => fn(ParseNode $n) => $o->setUser($n->getObjectValue([User::class, 'createFromDiscriminatorValue'])), + 'userPrincipalName' => fn(ParseNode $n) => $o->setUserPrincipalName($n->getStringValue()), + ]); + } + + /** + * Gets the isEnterpriseVoiceEnabled property value. Indicates whether voice capability is enabled. + * @return bool|null + */ + public function getIsEnterpriseVoiceEnabled(): ?bool { + $val = $this->getBackingStore()->get('isEnterpriseVoiceEnabled'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEnterpriseVoiceEnabled'"); + } + + /** + * Gets the modifiedDateTime property value. The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return DateTime|null + */ + public function getModifiedDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('modifiedDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'modifiedDateTime'"); + } + + /** + * Gets the telephoneNumbers property value. Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate. + * @return array|null + */ + public function getTelephoneNumbers(): ?array { + $val = $this->getBackingStore()->get('telephoneNumbers'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AssignedTelephoneNumber::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'telephoneNumbers'"); + } + + /** + * Gets the tenantId property value. The unique identifier of the tenant in Entra to which this user is assigned. + * @return string|null + */ + public function getTenantId(): ?string { + $val = $this->getBackingStore()->get('tenantId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'tenantId'"); + } + + /** + * Gets the user property value. Represents an Entra user account. + * @return User|null + */ + public function getUser(): ?User { + $val = $this->getBackingStore()->get('user'); + if (is_null($val) || $val instanceof User) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'user'"); + } + + /** + * Gets the userPrincipalName property value. The sign-in address of the user. + * @return string|null + */ + public function getUserPrincipalName(): ?string { + $val = $this->getBackingStore()->get('userPrincipalName'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userPrincipalName'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeEnumValue('accountType', $this->getAccountType()); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + $writer->writeCollectionOfObjectValues('effectivePolicyAssignments', $this->getEffectivePolicyAssignments()); + $writer->writeCollectionOfPrimitiveValues('featureTypes', $this->getFeatureTypes()); + $writer->writeBooleanValue('isEnterpriseVoiceEnabled', $this->getIsEnterpriseVoiceEnabled()); + $writer->writeDateTimeValue('modifiedDateTime', $this->getModifiedDateTime()); + $writer->writeCollectionOfObjectValues('telephoneNumbers', $this->getTelephoneNumbers()); + $writer->writeStringValue('tenantId', $this->getTenantId()); + $writer->writeObjectValue('user', $this->getUser()); + $writer->writeStringValue('userPrincipalName', $this->getUserPrincipalName()); + } + + /** + * Sets the accountType property value. The type of the account in the Teams context. The possible values are: user, resourceAccount, guest, sfbOnPremUser, unknown, unknownFutureValue, ineligibleUser. Use the Prefer: include-unknown-enum-members request header to get the following value from this enum evolvable enum: ineligibleUser. + * @param AccountType|null $value Value to set for the accountType property. + */ + public function setAccountType(?AccountType $value): void { + $this->getBackingStore()->set('accountType', $value); + } + + /** + * Sets the createdDateTime property value. The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); + } + + /** + * Sets the effectivePolicyAssignments property value. Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details. + * @param array|null $value Value to set for the effectivePolicyAssignments property. + */ + public function setEffectivePolicyAssignments(?array $value): void { + $this->getBackingStore()->set('effectivePolicyAssignments', $value); + } + + /** + * Sets the featureTypes property value. The Teams features enabled for a given user based on licensing or service plan. + * @param array|null $value Value to set for the featureTypes property. + */ + public function setFeatureTypes(?array $value): void { + $this->getBackingStore()->set('featureTypes', $value); + } + + /** + * Sets the isEnterpriseVoiceEnabled property value. Indicates whether voice capability is enabled. + * @param bool|null $value Value to set for the isEnterpriseVoiceEnabled property. + */ + public function setIsEnterpriseVoiceEnabled(?bool $value): void { + $this->getBackingStore()->set('isEnterpriseVoiceEnabled', $value); + } + + /** + * Sets the modifiedDateTime property value. The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param DateTime|null $value Value to set for the modifiedDateTime property. + */ + public function setModifiedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('modifiedDateTime', $value); + } + + /** + * Sets the telephoneNumbers property value. Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate. + * @param array|null $value Value to set for the telephoneNumbers property. + */ + public function setTelephoneNumbers(?array $value): void { + $this->getBackingStore()->set('telephoneNumbers', $value); + } + + /** + * Sets the tenantId property value. The unique identifier of the tenant in Entra to which this user is assigned. + * @param string|null $value Value to set for the tenantId property. + */ + public function setTenantId(?string $value): void { + $this->getBackingStore()->set('tenantId', $value); + } + + /** + * Sets the user property value. Represents an Entra user account. + * @param User|null $value Value to set for the user property. + */ + public function setUser(?User $value): void { + $this->getBackingStore()->set('user', $value); + } + + /** + * Sets the userPrincipalName property value. The sign-in address of the user. + * @param string|null $value Value to set for the userPrincipalName property. + */ + public function setUserPrincipalName(?string $value): void { + $this->getBackingStore()->set('userPrincipalName', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/TeamsUserConfigurationCollectionResponse.php b/src/Generated/Models/TeamsAdministration/TeamsUserConfigurationCollectionResponse.php new file mode 100644 index 00000000000..fb6c5cffc30 --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/TeamsUserConfigurationCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([TeamsUserConfiguration::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the value property value. The value property + * @return array|null + */ + public function getValue(): ?array { + $val = $this->getBackingStore()->get('value'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TeamsUserConfiguration::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Models/TenantDataSecurityAndGovernance.php b/src/Generated/Models/TenantDataSecurityAndGovernance.php new file mode 100644 index 00000000000..f0cc7400f84 --- /dev/null +++ b/src/Generated/Models/TenantDataSecurityAndGovernance.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.tenantDataSecurityAndGovernance'); + } + + /** + * 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 TenantDataSecurityAndGovernance + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): TenantDataSecurityAndGovernance { + return new TenantDataSecurityAndGovernance(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'protectionScopes' => fn(ParseNode $n) => $o->setProtectionScopes($n->getObjectValue([TenantProtectionScopeContainer::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the protectionScopes property value. The protectionScopes property + * @return TenantProtectionScopeContainer|null + */ + public function getProtectionScopes(): ?TenantProtectionScopeContainer { + $val = $this->getBackingStore()->get('protectionScopes'); + if (is_null($val) || $val instanceof TenantProtectionScopeContainer) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectionScopes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('protectionScopes', $this->getProtectionScopes()); + } + + /** + * Sets the protectionScopes property value. The protectionScopes property + * @param TenantProtectionScopeContainer|null $value Value to set for the protectionScopes property. + */ + public function setProtectionScopes(?TenantProtectionScopeContainer $value): void { + $this->getBackingStore()->set('protectionScopes', $value); + } + +} diff --git a/src/Generated/Models/TenantProtectionScopeContainer.php b/src/Generated/Models/TenantProtectionScopeContainer.php new file mode 100644 index 00000000000..9b95b9f7b64 --- /dev/null +++ b/src/Generated/Models/TenantProtectionScopeContainer.php @@ -0,0 +1,45 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/ServicePrincipalSubject.php b/src/Generated/Models/TextContent.php similarity index 55% rename from src/Generated/Models/ServicePrincipalSubject.php rename to src/Generated/Models/TextContent.php index ddef274ef9a..128b0b4db2f 100644 --- a/src/Generated/Models/ServicePrincipalSubject.php +++ b/src/Generated/Models/TextContent.php @@ -6,23 +6,35 @@ use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; -class ServicePrincipalSubject extends ConditionalAccessWhatIfSubject implements Parsable +class TextContent extends ContentBase implements Parsable { /** - * Instantiates a new ServicePrincipalSubject and sets the default values. + * Instantiates a new TextContent and sets the default values. */ public function __construct() { parent::__construct(); - $this->setOdataType('#microsoft.graph.servicePrincipalSubject'); + $this->setOdataType('#microsoft.graph.textContent'); } /** * 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 ServicePrincipalSubject + * @return TextContent */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): ServicePrincipalSubject { - return new ServicePrincipalSubject(); + public static function createFromDiscriminatorValue(ParseNode $parseNode): TextContent { + return new TextContent(); + } + + /** + * Gets the data property value. The data property + * @return string|null + */ + public function getData(): ?string { + $val = $this->getBackingStore()->get('data'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'data'"); } /** @@ -32,37 +44,25 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Servi public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'servicePrincipalId' => fn(ParseNode $n) => $o->setServicePrincipalId($n->getStringValue()), + 'data' => fn(ParseNode $n) => $o->setData($n->getStringValue()), ]); } - /** - * Gets the servicePrincipalId property value. The servicePrincipalId property - * @return string|null - */ - public function getServicePrincipalId(): ?string { - $val = $this->getBackingStore()->get('servicePrincipalId'); - if (is_null($val) || is_string($val)) { - return $val; - } - throw new \UnexpectedValueException("Invalid type found in backing store for 'servicePrincipalId'"); - } - /** * 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('servicePrincipalId', $this->getServicePrincipalId()); + $writer->writeStringValue('data', $this->getData()); } /** - * Sets the servicePrincipalId property value. The servicePrincipalId property - * @param string|null $value Value to set for the servicePrincipalId property. + * Sets the data property value. The data property + * @param string|null $value Value to set for the data property. */ - public function setServicePrincipalId(?string $value): void { - $this->getBackingStore()->set('servicePrincipalId', $value); + public function setData(?string $value): void { + $this->getBackingStore()->set('data', $value); } } diff --git a/src/Generated/Models/User.php b/src/Generated/Models/User.php index e87c2a848ca..0ef01cd2336 100644 --- a/src/Generated/Models/User.php +++ b/src/Generated/Models/User.php @@ -369,6 +369,18 @@ public function getCloudRealtimeCommunicationInfo(): ?CloudRealtimeCommunication throw new \UnexpectedValueException("Invalid type found in backing store for 'cloudRealtimeCommunicationInfo'"); } + /** + * Gets the communications property value. The user's communications settings on Teams. + * @return UserCloudCommunication|null + */ + public function getCommunications(): ?UserCloudCommunication { + $val = $this->getBackingStore()->get('communications'); + if (is_null($val) || $val instanceof UserCloudCommunication) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'communications'"); + } + /** * Gets the companyName property value. The name of the company the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * @return string|null @@ -483,6 +495,18 @@ public function getCustomSecurityAttributes(): ?CustomSecurityAttributeValue { throw new \UnexpectedValueException("Invalid type found in backing store for 'customSecurityAttributes'"); } + /** + * Gets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property + * @return UserDataSecurityAndGovernance|null + */ + public function getDataSecurityAndGovernance(): ?UserDataSecurityAndGovernance { + $val = $this->getBackingStore()->get('dataSecurityAndGovernance'); + if (is_null($val) || $val instanceof UserDataSecurityAndGovernance) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'dataSecurityAndGovernance'"); + } + /** * Gets the department property value. The name of the department where the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). * @return string|null @@ -803,6 +827,7 @@ public function getFieldDeserializers(): array { 'cloudLicensing' => fn(ParseNode $n) => $o->setCloudLicensing($n->getObjectValue([UserCloudLicensing::class, 'createFromDiscriminatorValue'])), 'cloudPCs' => fn(ParseNode $n) => $o->setCloudPCs($n->getCollectionOfObjectValues([CloudPC::class, 'createFromDiscriminatorValue'])), 'cloudRealtimeCommunicationInfo' => fn(ParseNode $n) => $o->setCloudRealtimeCommunicationInfo($n->getObjectValue([CloudRealtimeCommunicationInfo::class, 'createFromDiscriminatorValue'])), + 'communications' => fn(ParseNode $n) => $o->setCommunications($n->getObjectValue([UserCloudCommunication::class, 'createFromDiscriminatorValue'])), 'companyName' => fn(ParseNode $n) => $o->setCompanyName($n->getStringValue()), 'consentProvidedForMinor' => fn(ParseNode $n) => $o->setConsentProvidedForMinor($n->getStringValue()), 'contactFolders' => fn(ParseNode $n) => $o->setContactFolders($n->getCollectionOfObjectValues([ContactFolder::class, 'createFromDiscriminatorValue'])), @@ -812,6 +837,7 @@ public function getFieldDeserializers(): array { 'createdObjects' => fn(ParseNode $n) => $o->setCreatedObjects($n->getCollectionOfObjectValues([DirectoryObject::class, 'createFromDiscriminatorValue'])), 'creationType' => fn(ParseNode $n) => $o->setCreationType($n->getStringValue()), 'customSecurityAttributes' => fn(ParseNode $n) => $o->setCustomSecurityAttributes($n->getObjectValue([CustomSecurityAttributeValue::class, 'createFromDiscriminatorValue'])), + 'dataSecurityAndGovernance' => fn(ParseNode $n) => $o->setDataSecurityAndGovernance($n->getObjectValue([UserDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'])), 'department' => fn(ParseNode $n) => $o->setDepartment($n->getStringValue()), 'deviceEnrollmentConfigurations' => fn(ParseNode $n) => $o->setDeviceEnrollmentConfigurations($n->getCollectionOfObjectValues([DeviceEnrollmentConfiguration::class, 'createFromDiscriminatorValue'])), 'deviceEnrollmentLimit' => fn(ParseNode $n) => $o->setDeviceEnrollmentLimit($n->getIntegerValue()), @@ -2316,6 +2342,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('cloudLicensing', $this->getCloudLicensing()); $writer->writeCollectionOfObjectValues('cloudPCs', $this->getCloudPCs()); $writer->writeObjectValue('cloudRealtimeCommunicationInfo', $this->getCloudRealtimeCommunicationInfo()); + $writer->writeObjectValue('communications', $this->getCommunications()); $writer->writeStringValue('companyName', $this->getCompanyName()); $writer->writeStringValue('consentProvidedForMinor', $this->getConsentProvidedForMinor()); $writer->writeCollectionOfObjectValues('contactFolders', $this->getContactFolders()); @@ -2325,6 +2352,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeCollectionOfObjectValues('createdObjects', $this->getCreatedObjects()); $writer->writeStringValue('creationType', $this->getCreationType()); $writer->writeObjectValue('customSecurityAttributes', $this->getCustomSecurityAttributes()); + $writer->writeObjectValue('dataSecurityAndGovernance', $this->getDataSecurityAndGovernance()); $writer->writeStringValue('department', $this->getDepartment()); $writer->writeCollectionOfObjectValues('deviceEnrollmentConfigurations', $this->getDeviceEnrollmentConfigurations()); $writer->writeIntegerValue('deviceEnrollmentLimit', $this->getDeviceEnrollmentLimit()); @@ -2657,6 +2685,14 @@ public function setCloudRealtimeCommunicationInfo(?CloudRealtimeCommunicationInf $this->getBackingStore()->set('cloudRealtimeCommunicationInfo', $value); } + /** + * Sets the communications property value. The user's communications settings on Teams. + * @param UserCloudCommunication|null $value Value to set for the communications property. + */ + public function setCommunications(?UserCloudCommunication $value): void { + $this->getBackingStore()->set('communications', $value); + } + /** * Sets the companyName property value. The name of the company the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). * @param string|null $value Value to set for the companyName property. @@ -2729,6 +2765,14 @@ public function setCustomSecurityAttributes(?CustomSecurityAttributeValue $value $this->getBackingStore()->set('customSecurityAttributes', $value); } + /** + * Sets the dataSecurityAndGovernance property value. The dataSecurityAndGovernance property + * @param UserDataSecurityAndGovernance|null $value Value to set for the dataSecurityAndGovernance property. + */ + public function setDataSecurityAndGovernance(?UserDataSecurityAndGovernance $value): void { + $this->getBackingStore()->set('dataSecurityAndGovernance', $value); + } + /** * Sets the department property value. The name of the department where the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). * @param string|null $value Value to set for the department property. diff --git a/src/Generated/Models/UserAction.php b/src/Generated/Models/UserAction.php deleted file mode 100644 index a82ce76af79..00000000000 --- a/src/Generated/Models/UserAction.php +++ /dev/null @@ -1,11 +0,0 @@ -getBackingStore()->get('callSettings'); + if (is_null($val) || $val instanceof CallSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'callSettings'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'callSettings' => fn(ParseNode $n) => $o->setCallSettings($n->getObjectValue([CallSettings::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('callSettings', $this->getCallSettings()); + } + + /** + * Sets the callSettings property value. The call settings assigned to the user. + * @param CallSettings|null $value Value to set for the callSettings property. + */ + public function setCallSettings(?CallSettings $value): void { + $this->getBackingStore()->set('callSettings', $value); + } + +} diff --git a/src/Generated/Models/UserDataSecurityAndGovernance.php b/src/Generated/Models/UserDataSecurityAndGovernance.php new file mode 100644 index 00000000000..67af5f4960c --- /dev/null +++ b/src/Generated/Models/UserDataSecurityAndGovernance.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.userDataSecurityAndGovernance'); + } + + /** + * 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 UserDataSecurityAndGovernance + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UserDataSecurityAndGovernance { + return new UserDataSecurityAndGovernance(); + } + + /** + * Gets the activities property value. The activities property + * @return ActivitiesContainer|null + */ + public function getActivities(): ?ActivitiesContainer { + $val = $this->getBackingStore()->get('activities'); + if (is_null($val) || $val instanceof ActivitiesContainer) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'activities'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'activities' => fn(ParseNode $n) => $o->setActivities($n->getObjectValue([ActivitiesContainer::class, 'createFromDiscriminatorValue'])), + 'protectionScopes' => fn(ParseNode $n) => $o->setProtectionScopes($n->getObjectValue([UserProtectionScopeContainer::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the protectionScopes property value. The protectionScopes property + * @return UserProtectionScopeContainer|null + */ + public function getProtectionScopes(): ?UserProtectionScopeContainer { + $val = $this->getBackingStore()->get('protectionScopes'); + if (is_null($val) || $val instanceof UserProtectionScopeContainer) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'protectionScopes'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeObjectValue('activities', $this->getActivities()); + $writer->writeObjectValue('protectionScopes', $this->getProtectionScopes()); + } + + /** + * Sets the activities property value. The activities property + * @param ActivitiesContainer|null $value Value to set for the activities property. + */ + public function setActivities(?ActivitiesContainer $value): void { + $this->getBackingStore()->set('activities', $value); + } + + /** + * Sets the protectionScopes property value. The protectionScopes property + * @param UserProtectionScopeContainer|null $value Value to set for the protectionScopes property. + */ + public function setProtectionScopes(?UserProtectionScopeContainer $value): void { + $this->getBackingStore()->set('protectionScopes', $value); + } + +} diff --git a/src/Generated/Models/UserProtectionScopeContainer.php b/src/Generated/Models/UserProtectionScopeContainer.php new file mode 100644 index 00000000000..4dd366c1e4a --- /dev/null +++ b/src/Generated/Models/UserProtectionScopeContainer.php @@ -0,0 +1,45 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Models/VirtualEventRegistration.php b/src/Generated/Models/VirtualEventRegistration.php index 6579afd8f2d..947bc807f58 100644 --- a/src/Generated/Models/VirtualEventRegistration.php +++ b/src/Generated/Models/VirtualEventRegistration.php @@ -146,7 +146,7 @@ public function getRegistrantVideoOnDemandWebUrl(): ?string { } /** - * Gets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Gets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @return DateTime|null */ public function getRegistrationDateTime(): ?DateTime { @@ -295,7 +295,7 @@ public function setRegistrantVideoOnDemandWebUrl(?string $value): void { } /** - * Sets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * Sets the registrationDateTime property value. Date and time when the registrant registers for the virtual event. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * @param DateTime|null $value Value to set for the registrationDateTime property. */ public function setRegistrationDateTime(?DateTime $value): void { diff --git a/src/Generated/Models/VirtualEventSession.php b/src/Generated/Models/VirtualEventSession.php index 2b6906cf1d8..95ae0e103be 100644 --- a/src/Generated/Models/VirtualEventSession.php +++ b/src/Generated/Models/VirtualEventSession.php @@ -94,7 +94,7 @@ public function getStartDateTime(): ?DateTimeTimeZone { } /** - * Gets the videoOnDemandWebUrl property value. The videoOnDemandWebUrl property + * Gets the videoOnDemandWebUrl property value. The URL of the video on demand (VOD) for Microsoft Teams events that allows webinar and town hall organizers to quickly publish and share event recordings. * @return string|null */ public function getVideoOnDemandWebUrl(): ?string { @@ -151,7 +151,7 @@ public function setStartDateTime(?DateTimeTimeZone $value): void { } /** - * Sets the videoOnDemandWebUrl property value. The videoOnDemandWebUrl property + * Sets the videoOnDemandWebUrl property value. The URL of the video on demand (VOD) for Microsoft Teams events that allows webinar and town hall organizers to quickly publish and share event recordings. * @param string|null $value Value to set for the videoOnDemandWebUrl property. */ public function setVideoOnDemandWebUrl(?string $value): void { diff --git a/src/Generated/Models/WhatIfApplicationContext.php b/src/Generated/Models/WhatIfApplicationContext.php deleted file mode 100644 index 23f8ac7a281..00000000000 --- a/src/Generated/Models/WhatIfApplicationContext.php +++ /dev/null @@ -1,78 +0,0 @@ -setOdataType('#microsoft.graph.whatIfApplicationContext'); - } - - /** - * 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 WhatIfApplicationContext - */ - public static function createFromDiscriminatorValue(ParseNode $parseNode): WhatIfApplicationContext { - return new WhatIfApplicationContext(); - } - - /** - * The deserialization information for the current model - * @return array - */ - public function getFieldDeserializers(): array { - $o = $this; - return array_merge(parent::getFieldDeserializers(), [ - 'includeApplications' => function (ParseNode $n) { - $val = $n->getCollectionOfPrimitiveValues(); - if (is_array($val)) { - TypeUtils::validateCollectionValues($val, 'string'); - } - /** @var array|null $val */ - $this->setIncludeApplications($val); - }, - ]); - } - - /** - * Gets the includeApplications property value. The includeApplications property - * @return array|null - */ - public function getIncludeApplications(): ?array { - $val = $this->getBackingStore()->get('includeApplications'); - 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 'includeApplications'"); - } - - /** - * 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->writeCollectionOfPrimitiveValues('includeApplications', $this->getIncludeApplications()); - } - - /** - * Sets the includeApplications property value. The includeApplications property - * @param array|null $value Value to set for the includeApplications property. - */ - public function setIncludeApplications(?array $value): void { - $this->getBackingStore()->set('includeApplications', $value); - } - -} diff --git a/src/Generated/Models/WindowsAppXAppAssignmentSettings.php b/src/Generated/Models/WindowsAppXAppAssignmentSettings.php index 3e36be4f9c5..79b77f0b678 100644 --- a/src/Generated/Models/WindowsAppXAppAssignmentSettings.php +++ b/src/Generated/Models/WindowsAppXAppAssignmentSettings.php @@ -40,7 +40,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. + * Gets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. * @return bool|null */ public function getUseDeviceContext(): ?bool { @@ -61,7 +61,7 @@ public function serialize(SerializationWriter $writer): void { } /** - * Sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. + * Sets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. * @param bool|null $value Value to set for the useDeviceContext property. */ public function setUseDeviceContext(?bool $value): void { 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/WindowsUpdates/ContentFilter.php b/src/Generated/Models/WindowsUpdates/ContentFilter.php index aecde9cb477..23f37f89ff5 100644 --- a/src/Generated/Models/WindowsUpdates/ContentFilter.php +++ b/src/Generated/Models/WindowsUpdates/ContentFilter.php @@ -37,6 +37,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Conte switch ($mappingValue) { case '#microsoft.graph.windowsUpdates.driverUpdateFilter': return new DriverUpdateFilter(); case '#microsoft.graph.windowsUpdates.qualityUpdateFilter': return new QualityUpdateFilter(); + case '#microsoft.graph.windowsUpdates.remediationUpdateFilter': return new RemediationUpdateFilter(); case '#microsoft.graph.windowsUpdates.softwareUpdateFilter': return new SoftwareUpdateFilter(); case '#microsoft.graph.windowsUpdates.windowsUpdateFilter': return new WindowsUpdateFilter(); } diff --git a/src/Generated/Models/WindowsUpdates/RemediationType.php b/src/Generated/Models/WindowsUpdates/RemediationType.php new file mode 100644 index 00000000000..98432c071a5 --- /dev/null +++ b/src/Generated/Models/WindowsUpdates/RemediationType.php @@ -0,0 +1,10 @@ +setOdataType('#microsoft.graph.windowsUpdates.remediationUpdateFilter'); + } + + /** + * 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 RemediationUpdateFilter + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemediationUpdateFilter { + return new RemediationUpdateFilter(); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'remediationType' => fn(ParseNode $n) => $o->setRemediationType($n->getEnumValue(RemediationType::class)), + ]); + } + + /** + * Gets the remediationType property value. The remediationType property + * @return RemediationType|null + */ + public function getRemediationType(): ?RemediationType { + $val = $this->getBackingStore()->get('remediationType'); + if (is_null($val) || $val instanceof RemediationType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'remediationType'"); + } + + /** + * 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('remediationType', $this->getRemediationType()); + } + + /** + * Sets the remediationType property value. The remediationType property + * @param RemediationType|null $value Value to set for the remediationType property. + */ + public function setRemediationType(?RemediationType $value): void { + $this->getBackingStore()->set('remediationType', $value); + } + +} diff --git a/src/Generated/Models/WindowsUpdates/SoftwareUpdateFilter.php b/src/Generated/Models/WindowsUpdates/SoftwareUpdateFilter.php index e435ea8b017..9fc9089dc4a 100644 --- a/src/Generated/Models/WindowsUpdates/SoftwareUpdateFilter.php +++ b/src/Generated/Models/WindowsUpdates/SoftwareUpdateFilter.php @@ -28,6 +28,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Softw switch ($mappingValue) { case '#microsoft.graph.windowsUpdates.driverUpdateFilter': return new DriverUpdateFilter(); case '#microsoft.graph.windowsUpdates.qualityUpdateFilter': return new QualityUpdateFilter(); + case '#microsoft.graph.windowsUpdates.remediationUpdateFilter': return new RemediationUpdateFilter(); case '#microsoft.graph.windowsUpdates.windowsUpdateFilter': return new WindowsUpdateFilter(); } } diff --git a/src/Generated/Models/WindowsUpdates/WindowsUpdateFilter.php b/src/Generated/Models/WindowsUpdates/WindowsUpdateFilter.php index e0e7b144cf8..44b6f0fda13 100644 --- a/src/Generated/Models/WindowsUpdates/WindowsUpdateFilter.php +++ b/src/Generated/Models/WindowsUpdates/WindowsUpdateFilter.php @@ -28,6 +28,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Windo switch ($mappingValue) { case '#microsoft.graph.windowsUpdates.driverUpdateFilter': return new DriverUpdateFilter(); case '#microsoft.graph.windowsUpdates.qualityUpdateFilter': return new QualityUpdateFilter(); + case '#microsoft.graph.windowsUpdates.remediationUpdateFilter': return new RemediationUpdateFilter(); } } return new WindowsUpdateFilter(); diff --git a/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilder.php b/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilder.php new file mode 100644 index 00000000000..6897e342daa --- /dev/null +++ b/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the connections property of the microsoft.graph.networkaccess.logs entity. + * @param string $connectionId The unique identifier of connection + * @return ConnectionItemRequestBuilder + */ + public function byConnectionId(string $connectionId): ConnectionItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['connection%2Did'] = $connectionId; + return new ConnectionItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ConnectionsRequestBuilder 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}/networkAccess/logs/connections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get connections from networkAccess + * @param ConnectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ConnectionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ConnectionCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to connections for networkAccess + * @param Connection $body The request body + * @param ConnectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(Connection $body, ?ConnectionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Connection::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get connections from networkAccess + * @param ConnectionsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ConnectionsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to connections for networkAccess + * @param Connection $body The request body + * @param ConnectionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(Connection $body, ?ConnectionsRequestBuilderPostRequestConfiguration $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 ConnectionsRequestBuilder + */ + public function withUrl(string $rawUrl): ConnectionsRequestBuilder { + return new ConnectionsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetQueryParameters.php b/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetQueryParameters.php rename to src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderGetQueryParameters.php index 5bb461699a6..e9969f74481 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderGetRequestConfiguration.php b/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..280497c2aff --- /dev/null +++ b/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ConnectionsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ConnectionsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ConnectionsRequestBuilderGetQueryParameters. + * @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 ConnectionsRequestBuilderGetQueryParameters + */ + 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): ConnectionsRequestBuilderGetQueryParameters { + return new ConnectionsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderPostRequestConfiguration.php b/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..2f3375b9e46 --- /dev/null +++ b/src/Generated/NetworkAccess/Logs/Connections/ConnectionsRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.php b/src/Generated/NetworkAccess/Logs/Connections/Count/CountRequestBuilder.php similarity index 94% rename from src/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.php rename to src/Generated/NetworkAccess/Logs/Connections/Count/CountRequestBuilder.php index f047158137b..8309f0b300c 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.php +++ b/src/Generated/NetworkAccess/Logs/Connections/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/NetworkAccess/Logs/Connections/Count/CountRequestBuilderGetQueryParameters.php similarity index 91% rename from src/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/NetworkAccess/Logs/Connections/Count/CountRequestBuilderGetQueryParameters.php index d2fb97f326a..acf8d12038e 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/NetworkAccess/Logs/Connections/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ |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}/policies/conditionalAccessPolicies/{conditionalAccessPolicy%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/networkAccess/logs/connections/{connection%2Did}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property conditionalAccessPolicies for policies - * @param ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property connections for networkAccess + * @param ConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception */ - public function delete(?ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?ConnectionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -45,40 +45,40 @@ public function delete(?ConditionalAccessPolicyItemRequestBuilderDeleteRequestCo } /** - * The custom rules that define an access scenario. - * @param ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get connections from networkAccess + * @param ConnectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function get(?ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?ConnectionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [Connection::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the navigation property conditionalAccessPolicies in policies - * @param ConditionalAccessPolicy $body The request body - * @param ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property connections in networkAccess + * @param Connection $body The request body + * @param ConnectionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise * @throws Exception */ - public function patch(ConditionalAccessPolicy $body, ?ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(Connection $body, ?ConnectionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [Connection::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete navigation property conditionalAccessPolicies for policies - * @param ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property connections for networkAccess + * @param ConnectionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?ConnectionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -91,11 +91,11 @@ public function toDeleteRequestInformation(?ConditionalAccessPolicyItemRequestBu } /** - * The custom rules that define an access scenario. - * @param ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get connections from networkAccess + * @param ConnectionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?ConnectionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -112,12 +112,12 @@ public function toGetRequestInformation(?ConditionalAccessPolicyItemRequestBuild } /** - * Update the navigation property conditionalAccessPolicies in policies - * @param ConditionalAccessPolicy $body The request body - * @param ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property connections in networkAccess + * @param Connection $body The request body + * @param ConnectionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(ConditionalAccessPolicy $body, ?ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(Connection $body, ?ConnectionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -134,10 +134,10 @@ public function toPatchRequestInformation(ConditionalAccessPolicy $body, ?Condit /** * 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 ConditionalAccessPolicyItemRequestBuilder + * @return ConnectionItemRequestBuilder */ - public function withUrl(string $rawUrl): ConditionalAccessPolicyItemRequestBuilder { - return new ConditionalAccessPolicyItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): ConnectionItemRequestBuilder { + return new ConnectionItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..6e0affeff2e --- /dev/null +++ b/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderDeleteRequestConfiguration.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/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderGetQueryParameters.php b/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..6c459c295ac --- /dev/null +++ b/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderGetQueryParameters.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 ConnectionItemRequestBuilderGetQueryParameters 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/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderGetRequestConfiguration.php b/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1f1221d4edd --- /dev/null +++ b/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ConnectionItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ConnectionItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ConnectionItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ConnectionItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ConnectionItemRequestBuilderGetQueryParameters { + return new ConnectionItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..fe6a820c4de --- /dev/null +++ b/src/Generated/NetworkAccess/Logs/Connections/Item/ConnectionItemRequestBuilderPatchRequestConfiguration.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/NetworkAccess/Logs/LogsRequestBuilder.php b/src/Generated/NetworkAccess/Logs/LogsRequestBuilder.php index 8fbaa910fcf..703de614e9a 100644 --- a/src/Generated/NetworkAccess/Logs/LogsRequestBuilder.php +++ b/src/Generated/NetworkAccess/Logs/LogsRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Beta\Generated\Models\Networkaccess\Logs; use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; +use Microsoft\Graph\Beta\Generated\NetworkAccess\Logs\Connections\ConnectionsRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Logs\RemoteNetworks\RemoteNetworksRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Logs\Traffic\TrafficRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -18,6 +19,13 @@ */ class LogsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the connections property of the microsoft.graph.networkaccess.logs entity. + */ + public function connections(): ConnectionsRequestBuilder { + return new ConnectionsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the remoteNetworks property of the microsoft.graph.networkaccess.logs entity. */ diff --git a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse.php b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse.php new file mode 100644 index 00000000000..d9c00cb4aac --- /dev/null +++ b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ConnectionSummary::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, ConnectionSummary::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/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.php b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.php new file mode 100644 index 00000000000..c105e7e91bd --- /dev/null +++ b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.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 DateTime|null $endDateTime Usage: endDateTime={endDateTime} + * @param DateTime|null $startDateTime Usage: startDateTime={startDateTime} + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?DateTime $endDateTime = null, ?DateTime $startDateTime = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.getConnectionSummaries(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['endDateTime'] = $endDateTime; + $urlTplParams['startDateTime'] = $startDateTime; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke function getConnectionSummaries + * @param MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke function getConnectionSummaries + * @param MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration $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 MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function withUrl(string $rawUrl): MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder { + return new MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..9c6a737faef --- /dev/null +++ b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters.php @@ -0,0 +1,58 @@ +count = $count; + $this->filter = $filter; + $this->search = $search; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..4e1a36495d5 --- /dev/null +++ b/src/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,42 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters. + * @param bool|null $count Include count of items + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?bool $count = null, ?string $filter = null, ?string $search = null, ?int $skip = null, ?int $top = null): MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters { + return new MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters($count, $filter, $search, $skip, $top); + } + +} diff --git a/src/Generated/NetworkAccess/Reports/ReportsRequestBuilder.php b/src/Generated/NetworkAccess/Reports/ReportsRequestBuilder.php index 9fdde02e599..2698bf12cf8 100644 --- a/src/Generated/NetworkAccess/Reports/ReportsRequestBuilder.php +++ b/src/Generated/NetworkAccess/Reports/ReportsRequestBuilder.php @@ -11,6 +11,7 @@ use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime\MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime\MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime\MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder; +use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime\MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime\MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedBy\MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder; use Microsoft\Graph\Beta\Generated\NetworkAccess\Reports\MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime\MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder; @@ -111,6 +112,16 @@ public function microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWit return new MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter, $endDateTime, $startDateTime); } + /** + * Provides operations to call the getConnectionSummaries method. + * @param DateTime $endDateTime Usage: endDateTime={endDateTime} + * @param DateTime $startDateTime Usage: startDateTime={startDateTime} + * @return MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder + */ + public function microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime(DateTime $endDateTime, DateTime $startDateTime): MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder { + return new MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder($this->pathParameters, $this->requestAdapter, $endDateTime, $startDateTime); + } + /** * Provides operations to call the getCrossTenantSummary method. * @param DateTime $discoveryPivotDateTime Usage: discoveryPivotDateTime={discoveryPivotDateTime} diff --git a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.php b/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.php deleted file mode 100644 index 31b2e0eef2f..00000000000 --- a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.php +++ /dev/null @@ -1,133 +0,0 @@ -pathParameters, $this->requestAdapter); - } - - /** - * Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity. - * @param string $conditionalAccessPolicyId The unique identifier of conditionalAccessPolicy - * @return ConditionalAccessPolicyItemRequestBuilder - */ - public function byConditionalAccessPolicyId(string $conditionalAccessPolicyId): ConditionalAccessPolicyItemRequestBuilder { - $urlTplParams = $this->pathParameters; - $urlTplParams['conditionalAccessPolicy%2Did'] = $conditionalAccessPolicyId; - return new ConditionalAccessPolicyItemRequestBuilder($urlTplParams, $this->requestAdapter); - } - - /** - * Instantiates a new ConditionalAccessPoliciesRequestBuilder 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}/policies/conditionalAccessPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); - if (is_array($pathParametersOrRawUrl)) { - $this->pathParameters = $pathParametersOrRawUrl; - } else { - $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; - } - } - - /** - * The custom rules that define an access scenario. - * @param ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function get(?ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toGetRequestInformation($requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConditionalAccessPolicyCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * Create new navigation property to conditionalAccessPolicies for policies - * @param ConditionalAccessPolicy $body The request body - * @param ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function post(ConditionalAccessPolicy $body, ?ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); - $errorMappings = [ - 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [ConditionalAccessPolicy::class, 'createFromDiscriminatorValue'], $errorMappings); - } - - /** - * The custom rules that define an access scenario. - * @param ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toGetRequestInformation(?ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::GET; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - if ($requestConfiguration->queryParameters !== null) { - $requestInfo->setQueryParameters($requestConfiguration->queryParameters); - } - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - return $requestInfo; - } - - /** - * Create new navigation property to conditionalAccessPolicies for policies - * @param ConditionalAccessPolicy $body The request body - * @param ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPostRequestInformation(ConditionalAccessPolicy $body, ?ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration $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 ConditionalAccessPoliciesRequestBuilder - */ - public function withUrl(string $rawUrl): ConditionalAccessPoliciesRequestBuilder { - return new ConditionalAccessPoliciesRequestBuilder($rawUrl, $this->requestAdapter); - } - -} diff --git a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration.php b/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration.php deleted file mode 100644 index 6b9577088a3..00000000000 --- a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|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/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration.php deleted file mode 100644 index 782e11ac3a0..00000000000 --- a/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration.php +++ /dev/null @@ -1,22 +0,0 @@ -|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/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration.php deleted file mode 100644 index fc1ae1dd27e..00000000000 --- a/src/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration.php +++ /dev/null @@ -1,39 +0,0 @@ -|string>|null $headers Request headers - * @param array|null $options Request options - * @param ConditionalAccessPolicyItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters - */ - public function __construct(?array $headers = null, ?array $options = null, ?ConditionalAccessPolicyItemRequestBuilderGetQueryParameters $queryParameters = null) { - parent::__construct($headers ?? [], $options ?? []); - $this->queryParameters = $queryParameters; - } - - /** - * Instantiates a new ConditionalAccessPolicyItemRequestBuilderGetQueryParameters. - * @param array|null $expand Expand related entities - * @param array|null $select Select properties to be returned - * @return ConditionalAccessPolicyItemRequestBuilderGetQueryParameters - */ - public static function createQueryParameters(?array $expand = null, ?array $select = null): ConditionalAccessPolicyItemRequestBuilderGetQueryParameters { - return new ConditionalAccessPolicyItemRequestBuilderGetQueryParameters($expand, $select); - } - -} 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/PoliciesRequestBuilder.php b/src/Generated/Policies/PoliciesRequestBuilder.php index 730155317dc..df2456b7d1e 100644 --- a/src/Generated/Policies/PoliciesRequestBuilder.php +++ b/src/Generated/Policies/PoliciesRequestBuilder.php @@ -16,7 +16,6 @@ use Microsoft\Graph\Beta\Generated\Policies\AuthorizationPolicy\AuthorizationPolicyRequestBuilder; use Microsoft\Graph\Beta\Generated\Policies\B2cAuthenticationMethodsPolicy\B2cAuthenticationMethodsPolicyRequestBuilder; use Microsoft\Graph\Beta\Generated\Policies\ClaimsMappingPolicies\ClaimsMappingPoliciesRequestBuilder; -use Microsoft\Graph\Beta\Generated\Policies\ConditionalAccessPolicies\ConditionalAccessPoliciesRequestBuilder; use Microsoft\Graph\Beta\Generated\Policies\CrossTenantAccessPolicy\CrossTenantAccessPolicyRequestBuilder; use Microsoft\Graph\Beta\Generated\Policies\DefaultAppManagementPolicy\DefaultAppManagementPolicyRequestBuilder; use Microsoft\Graph\Beta\Generated\Policies\DeviceRegistrationPolicy\DeviceRegistrationPolicyRequestBuilder; @@ -115,13 +114,6 @@ public function claimsMappingPolicies(): ClaimsMappingPoliciesRequestBuilder { return new ClaimsMappingPoliciesRequestBuilder($this->pathParameters, $this->requestAdapter); } - /** - * Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.policyRoot entity. - */ - public function conditionalAccessPolicies(): ConditionalAccessPoliciesRequestBuilder { - return new ConditionalAccessPoliciesRequestBuilder($this->pathParameters, $this->requestAdapter); - } - /** * Provides operations to manage the crossTenantAccessPolicy property of the microsoft.graph.policyRoot entity. */ diff --git a/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder.php b/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder.php new file mode 100644 index 00000000000..46378a9a80a --- /dev/null +++ b/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder.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}/reports/getApiUsage(serviceArea=\'@serviceArea\',period=\'@period\',appId=\'@appId\'){?appId*,period*,serviceArea*}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the tenant and app API usage for Microsoft Graph services. + * @param GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, StreamInterface::class, $errorMappings); + return $result; + } + + /** + * Get the tenant and app API usage for Microsoft Graph services. + * @param GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration $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/octet-stream"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder + */ + public function withUrl(string $rawUrl): GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder { + return new GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters.php b/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0e910aa41bd --- /dev/null +++ b/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters.php @@ -0,0 +1,37 @@ +appId = $appId; + $this->period = $period; + $this->serviceArea = $serviceArea; + } + +} diff --git a/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration.php b/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c6e94442436 --- /dev/null +++ b/src/Generated/Reports/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId/GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,40 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters. + * @param string|null $appId Usage: appId='@appId' + * @param string|null $period Usage: period='@period' + * @param string|null $serviceArea Usage: serviceArea='@serviceArea' + * @return GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $appId = null, ?string $period = null, ?string $serviceArea = null): GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters { + return new GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters($appId, $period, $serviceArea); + } + +} diff --git a/src/Generated/Reports/Partners/Billing/Reconciliation/ReconciliationRequestBuilder.php b/src/Generated/Reports/Partners/Billing/Reconciliation/ReconciliationRequestBuilder.php index 686582e049e..747c42d084d 100644 --- a/src/Generated/Reports/Partners/Billing/Reconciliation/ReconciliationRequestBuilder.php +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/ReconciliationRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Beta\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Beta\Generated\Models\Partners\Billing\BillingReconciliation; use Microsoft\Graph\Beta\Generated\Reports\Partners\Billing\Reconciliation\Billed\BilledRequestBuilder; +use Microsoft\Graph\Beta\Generated\Reports\Partners\Billing\Reconciliation\Unbilled\UnbilledRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -24,6 +25,13 @@ public function billed(): BilledRequestBuilder { return new BilledRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the unbilled property of the microsoft.graph.partners.billing.billingReconciliation entity. + */ + public function unbilled(): UnbilledRequestBuilder { + return new UnbilledRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new ReconciliationRequestBuilder 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/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.php b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.php new file mode 100644 index 00000000000..9998ae1e20d --- /dev/null +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.php @@ -0,0 +1,160 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ExportPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ExportPostRequestBody { + return new ExportPostRequestBody(); + } + + /** + * 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 attributeSet property value. The attributeSet property + * @return AttributeSet|null + */ + public function getAttributeSet(): ?AttributeSet { + $val = $this->getBackingStore()->get('attributeSet'); + if (is_null($val) || $val instanceof AttributeSet) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'attributeSet'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the billingPeriod property value. The billingPeriod property + * @return BillingPeriod|null + */ + public function getBillingPeriod(): ?BillingPeriod { + $val = $this->getBackingStore()->get('billingPeriod'); + if (is_null($val) || $val instanceof BillingPeriod) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'billingPeriod'"); + } + + /** + * Gets the currencyCode property value. The currencyCode property + * @return string|null + */ + public function getCurrencyCode(): ?string { + $val = $this->getBackingStore()->get('currencyCode'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'currencyCode'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'attributeSet' => fn(ParseNode $n) => $o->setAttributeSet($n->getEnumValue(AttributeSet::class)), + 'billingPeriod' => fn(ParseNode $n) => $o->setBillingPeriod($n->getEnumValue(BillingPeriod::class)), + 'currencyCode' => fn(ParseNode $n) => $o->setCurrencyCode($n->getStringValue()), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('attributeSet', $this->getAttributeSet()); + $writer->writeEnumValue('billingPeriod', $this->getBillingPeriod()); + $writer->writeStringValue('currencyCode', $this->getCurrencyCode()); + $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 attributeSet property value. The attributeSet property + * @param AttributeSet|null $value Value to set for the attributeSet property. + */ + public function setAttributeSet(?AttributeSet $value): void { + $this->getBackingStore()->set('attributeSet', $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 billingPeriod property value. The billingPeriod property + * @param BillingPeriod|null $value Value to set for the billingPeriod property. + */ + public function setBillingPeriod(?BillingPeriod $value): void { + $this->getBackingStore()->set('billingPeriod', $value); + } + + /** + * Sets the currencyCode property value. The currencyCode property + * @param string|null $value Value to set for the currencyCode property. + */ + public function setCurrencyCode(?string $value): void { + $this->getBackingStore()->set('currencyCode', $value); + } + +} diff --git a/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.php b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.php new file mode 100644 index 00000000000..58a738fc0f5 --- /dev/null +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.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}/reports/partners/billing/reconciliation/unbilled/microsoft.graph.partners.billing.export'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Export the unbilled invoice reconciliation data for a specific billing period and a given currency. + * @param ExportPostRequestBody $body The request body + * @param MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration|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/partners-billing-unbilledreconciliation-export?view=graph-rest-beta Find more info here + */ + public function post(ExportPostRequestBody $body, ?MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Operation::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Export the unbilled invoice reconciliation data for a specific billing period and a given currency. + * @param ExportPostRequestBody $body The request body + * @param MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ExportPostRequestBody $body, ?MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration $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 MicrosoftGraphPartnersBillingExportRequestBuilder + */ + public function withUrl(string $rawUrl): MicrosoftGraphPartnersBillingExportRequestBuilder { + return new MicrosoftGraphPartnersBillingExportRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration.php b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..218abc9a2aa --- /dev/null +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration.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/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilder.php b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilder.php new file mode 100644 index 00000000000..c35543ba91c --- /dev/null +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilder.php @@ -0,0 +1,151 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new UnbilledRequestBuilder 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}/reports/partners/billing/reconciliation/unbilled{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property unbilled for reports + * @param UnbilledRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?UnbilledRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents details for unbilled invoice reconciliation data. + * @param UnbilledRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?UnbilledRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UnbilledReconciliation::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property unbilled in reports + * @param UnbilledReconciliation $body The request body + * @param UnbilledRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(UnbilledReconciliation $body, ?UnbilledRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UnbilledReconciliation::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property unbilled for reports + * @param UnbilledRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?UnbilledRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Represents details for unbilled invoice reconciliation data. + * @param UnbilledRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UnbilledRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property unbilled in reports + * @param UnbilledReconciliation $body The request body + * @param UnbilledRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(UnbilledReconciliation $body, ?UnbilledRequestBuilderPatchRequestConfiguration $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 UnbilledRequestBuilder + */ + public function withUrl(string $rawUrl): UnbilledRequestBuilder { + return new UnbilledRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..9565a6dadea --- /dev/null +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderDeleteRequestConfiguration.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/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderGetQueryParameters.php b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..2e5cc353d69 --- /dev/null +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderGetQueryParameters.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 UnbilledRequestBuilderGetQueryParameters 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/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderGetRequestConfiguration.php b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..6d223399c7c --- /dev/null +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UnbilledRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UnbilledRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UnbilledRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return UnbilledRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): UnbilledRequestBuilderGetQueryParameters { + return new UnbilledRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderPatchRequestConfiguration.php b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..05d0a0d010b --- /dev/null +++ b/src/Generated/Reports/Partners/Billing/Reconciliation/Unbilled/UnbilledRequestBuilderPatchRequestConfiguration.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/Reports/ReportsRequestBuilder.php b/src/Generated/Reports/ReportsRequestBuilder.php index 5066d1e5d7d..fade7d032ff 100644 --- a/src/Generated/Reports/ReportsRequestBuilder.php +++ b/src/Generated/Reports/ReportsRequestBuilder.php @@ -18,6 +18,7 @@ use Microsoft\Graph\Beta\Generated\Reports\DailyPrintUsageSummariesByUser\DailyPrintUsageSummariesByUserRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\DeviceConfigurationDeviceActivity\DeviceConfigurationDeviceActivityRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\DeviceConfigurationUserActivity\DeviceConfigurationUserActivityRequestBuilder; +use Microsoft\Graph\Beta\Generated\Reports\GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId\GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\GetAttackSimulationRepeatOffenders\GetAttackSimulationRepeatOffendersRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\GetAttackSimulationSimulationUserCoverage\GetAttackSimulationSimulationUserCoverageRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\GetAttackSimulationTrainingUserCoverage\GetAttackSimulationTrainingUserCoverageRequestBuilder; @@ -244,6 +245,13 @@ public function deviceConfigurationUserActivity(): DeviceConfigurationUserActivi return new DeviceConfigurationUserActivityRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the getApiUsage method. + */ + public function getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId(): GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder { + return new GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the getAttackSimulationRepeatOffenders method. */ diff --git a/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.php b/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.php new file mode 100644 index 00000000000..bc8906d95a2 --- /dev/null +++ b/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ServiceActivityValueMetric::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, ServiceActivityValueMetric::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/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.php b/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.php new file mode 100644 index 00000000000..8074c214333 --- /dev/null +++ b/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.php @@ -0,0 +1,83 @@ +|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 DateTime|null $exclusiveIntervalEndDateTime Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + * @param DateTime|null $inclusiveIntervalStartDateTime Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?DateTime $exclusiveIntervalEndDateTime = null, ?DateTime $inclusiveIntervalStartDateTime = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/reports/serviceActivity/getMetricsForConditionalAccessBlockedSignIn(inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime},exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime},aggregationIntervalInMinutes=@aggregationIntervalInMinutes){?%24count,%24filter,%24search,%24skip,%24top,aggregationIntervalInMinutes*}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['exclusiveIntervalEndDateTime'] = $exclusiveIntervalEndDateTime; + $urlTplParams['inclusiveIntervalStartDateTime'] = $inclusiveIntervalStartDateTime; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Retrieve the number of user sign-in attempts that were blocked by a Conditional Access policy during a specific period. + * @param GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration|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/serviceactivity-getmetricsforconditionalaccessblockedsignin?view=graph-rest-beta Find more info here + */ + public function get(?GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Retrieve the number of user sign-in attempts that were blocked by a Conditional Access policy during a specific period. + * @param GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration $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 GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + */ + public function withUrl(string $rawUrl): GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder { + return new GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters.php b/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..ad69d47d072 --- /dev/null +++ b/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters.php @@ -0,0 +1,65 @@ +aggregationIntervalInMinutes = $aggregationIntervalInMinutes; + $this->count = $count; + $this->filter = $filter; + $this->search = $search; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration.php b/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f3a0794edeb --- /dev/null +++ b/src/Generated/Reports/ServiceActivity/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,43 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters. + * @param int|null $aggregationIntervalInMinutes Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes + * @param bool|null $count Include count of items + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + * @return GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?int $aggregationIntervalInMinutes = null, ?bool $count = null, ?string $filter = null, ?string $search = null, ?int $skip = null, ?int $top = null): GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters { + return new GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters($aggregationIntervalInMinutes, $count, $filter, $search, $skip, $top); + } + +} diff --git a/src/Generated/Reports/ServiceActivity/ServiceActivityRequestBuilder.php b/src/Generated/Reports/ServiceActivity/ServiceActivityRequestBuilder.php index 9c08d2ee4cf..f068fa6bce3 100644 --- a/src/Generated/Reports/ServiceActivity/ServiceActivityRequestBuilder.php +++ b/src/Generated/Reports/ServiceActivity/ServiceActivityRequestBuilder.php @@ -24,6 +24,7 @@ use Microsoft\Graph\Beta\Generated\Reports\ServiceActivity\GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes\GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\ServiceActivity\GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes\GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\ServiceActivity\GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes\GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder; +use Microsoft\Graph\Beta\Generated\Reports\ServiceActivity\GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes\GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\ServiceActivity\GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes\GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\ServiceActivity\GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes\GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder; use Microsoft\Graph\Beta\Generated\Reports\ServiceActivity\GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes\GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder; @@ -253,6 +254,16 @@ public function getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDat return new GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder($this->pathParameters, $this->requestAdapter, $exclusiveIntervalEndDateTime, $inclusiveIntervalStartDateTime); } + /** + * Provides operations to call the getMetricsForConditionalAccessBlockedSignIn method. + * @param DateTime $exclusiveIntervalEndDateTime Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + * @param DateTime $inclusiveIntervalStartDateTime Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + * @return GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + */ + public function getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes(DateTime $exclusiveIntervalEndDateTime, DateTime $inclusiveIntervalStartDateTime): GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder { + return new GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder($this->pathParameters, $this->requestAdapter, $exclusiveIntervalEndDateTime, $inclusiveIntervalStartDateTime); + } + /** * Provides operations to call the getMetricsForConditionalAccessCompliantDevicesSignInSuccess method. * @param DateTime $exclusiveIntervalEndDateTime Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} diff --git a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php index a7971864f14..2416f0a1cd6 100644 --- a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php +++ b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta Find more info here */ public function get(?RoleAssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(UnifiedRoleAssignmentMultiple $body, ?RoleAssignmentsReques } /** - * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param RoleAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php index 845a0fd3c5f..3cc9cd7841d 100644 --- a/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. */ class RoleAssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php new file mode 100644 index 00000000000..5c4f325f24f --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php @@ -0,0 +1,167 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity. + */ + public function protectionScopes(): ProtectionScopesRequestBuilder { + return new ProtectionScopesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. + */ + public function sensitivityLabels(): SensitivityLabelsRequestBuilder { + return new SensitivityLabelsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new DataSecurityAndGovernanceRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property dataSecurityAndGovernance for security + * @param DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get dataSecurityAndGovernance from security + * @param DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property dataSecurityAndGovernance in security + * @param TenantDataSecurityAndGovernance $body The request body + * @param DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TenantDataSecurityAndGovernance $body, ?DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property dataSecurityAndGovernance for security + * @param DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get dataSecurityAndGovernance from security + * @param DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property dataSecurityAndGovernance in security + * @param TenantDataSecurityAndGovernance $body The request body + * @param DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TenantDataSecurityAndGovernance $body, ?DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration $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 DataSecurityAndGovernanceRequestBuilder + */ + public function withUrl(string $rawUrl): DataSecurityAndGovernanceRequestBuilder { + return new DataSecurityAndGovernanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..61c1a392d3b --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.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/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a34643cbc5f --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.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 DataSecurityAndGovernanceRequestBuilderGetQueryParameters 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/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c817af1d45c --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DataSecurityAndGovernanceRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DataSecurityAndGovernanceRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DataSecurityAndGovernanceRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DataSecurityAndGovernanceRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DataSecurityAndGovernanceRequestBuilderGetQueryParameters { + return new DataSecurityAndGovernanceRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..ae5c4a8f4e6 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.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/ProcessContentAsync/ProcessContentAsyncPostRequestBody.php b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostRequestBody.php new file mode 100644 index 00000000000..56a3e38ff1b --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostRequestBody.php @@ -0,0 +1,118 @@ +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 ProcessContentAsyncPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentAsyncPostRequestBody { + return new ProcessContentAsyncPostRequestBody(); + } + + /** + * 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 [ + 'processContentRequests' => fn(ParseNode $n) => $o->setProcessContentRequests($n->getCollectionOfObjectValues([ProcessContentBatchRequest::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the processContentRequests property value. The processContentRequests property + * @return array|null + */ + public function getProcessContentRequests(): ?array { + $val = $this->getBackingStore()->get('processContentRequests'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ProcessContentBatchRequest::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'processContentRequests'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('processContentRequests', $this->getProcessContentRequests()); + $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 processContentRequests property value. The processContentRequests property + * @param array|null $value Value to set for the processContentRequests property. + */ + public function setProcessContentRequests(?array $value): void { + $this->getBackingStore()->set('processContentRequests', $value); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.php b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.php new file mode 100644 index 00000000000..91c7c94a5c0 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncPostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ProcessContentResponses::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, ProcessContentResponses::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/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.php new file mode 100644 index 00000000000..563342f1bf2 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilder.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}/security/dataSecurityAndGovernance/processContentAsync'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action processContentAsync + * @param ProcessContentAsyncPostRequestBody $body The request body + * @param ProcessContentAsyncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ProcessContentAsyncPostRequestBody $body, ?ProcessContentAsyncRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProcessContentAsyncPostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action processContentAsync + * @param ProcessContentAsyncPostRequestBody $body The request body + * @param ProcessContentAsyncRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ProcessContentAsyncPostRequestBody $body, ?ProcessContentAsyncRequestBuilderPostRequestConfiguration $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 ProcessContentAsyncRequestBuilder + */ + public function withUrl(string $rawUrl): ProcessContentAsyncRequestBuilder { + return new ProcessContentAsyncRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilderPostRequestConfiguration.php similarity index 73% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderDeleteRequestConfiguration.php rename to src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilderPostRequestConfiguration.php index 25913a64830..42bae5ee47b 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderDeleteRequestConfiguration.php +++ b/src/Generated/Security/DataSecurityAndGovernance/ProcessContentAsync/ProcessContentAsyncRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php new file mode 100644 index 00000000000..940574c60cb --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php @@ -0,0 +1,143 @@ +|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/protectionScopes{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property protectionScopes for security + * @param ProtectionScopesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ProtectionScopesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get protectionScopes from security + * @param ProtectionScopesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ProtectionScopesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantProtectionScopeContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property protectionScopes in security + * @param TenantProtectionScopeContainer $body The request body + * @param ProtectionScopesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TenantProtectionScopeContainer $body, ?ProtectionScopesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TenantProtectionScopeContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property protectionScopes for security + * @param ProtectionScopesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ProtectionScopesRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get protectionScopes from security + * @param ProtectionScopesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ProtectionScopesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property protectionScopes in security + * @param TenantProtectionScopeContainer $body The request body + * @param ProtectionScopesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TenantProtectionScopeContainer $body, ?ProtectionScopesRequestBuilderPatchRequestConfiguration $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 ProtectionScopesRequestBuilder + */ + public function withUrl(string $rawUrl): ProtectionScopesRequestBuilder { + return new ProtectionScopesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..198ac096c7a --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.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/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a388af4cba7 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.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 ProtectionScopesRequestBuilderGetQueryParameters 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/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..9648ff52460 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ProtectionScopesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ProtectionScopesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ProtectionScopesRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ProtectionScopesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProtectionScopesRequestBuilderGetQueryParameters { + return new ProtectionScopesRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..8cd630361f4 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.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/Count/CountRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..4c10e572719 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c3933b4329c --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e4f31958ed7 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluatePostRequestBody.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluatePostRequestBody.php new file mode 100644 index 00000000000..24674035cb0 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluatePostRequestBody.php @@ -0,0 +1,141 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EvaluatePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EvaluatePostRequestBody { + return new EvaluatePostRequestBody(); + } + + /** + * 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 currentLabel property value. The currentLabel property + * @return CurrentLabel|null + */ + public function getCurrentLabel(): ?CurrentLabel { + $val = $this->getBackingStore()->get('currentLabel'); + if (is_null($val) || $val instanceof CurrentLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'currentLabel'"); + } + + /** + * Gets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property + * @return array|null + */ + public function getDiscoveredSensitiveTypes(): ?array { + $val = $this->getBackingStore()->get('discoveredSensitiveTypes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DiscoveredSensitiveType::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'discoveredSensitiveTypes'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'currentLabel' => fn(ParseNode $n) => $o->setCurrentLabel($n->getObjectValue([CurrentLabel::class, 'createFromDiscriminatorValue'])), + 'discoveredSensitiveTypes' => fn(ParseNode $n) => $o->setDiscoveredSensitiveTypes($n->getCollectionOfObjectValues([DiscoveredSensitiveType::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('currentLabel', $this->getCurrentLabel()); + $writer->writeCollectionOfObjectValues('discoveredSensitiveTypes', $this->getDiscoveredSensitiveTypes()); + $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 currentLabel property value. The currentLabel property + * @param CurrentLabel|null $value Value to set for the currentLabel property. + */ + public function setCurrentLabel(?CurrentLabel $value): void { + $this->getBackingStore()->set('currentLabel', $value); + } + + /** + * Sets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property + * @param array|null $value Value to set for the discoveredSensitiveTypes property. + */ + public function setDiscoveredSensitiveTypes(?array $value): void { + $this->getBackingStore()->set('discoveredSensitiveTypes', $value); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilder.php similarity index 82% rename from src/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.php rename to src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilder.php index 5b1e9f19224..f9359942fbc 100644 --- a/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilder.php @@ -1,9 +1,10 @@ pathParameters = $pathParametersOrRawUrl; } else { @@ -30,23 +31,22 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Evaluates the applicability of Conditional Access Policies in your tenant based on the provided sign-in properties. + * Invoke action evaluate * @param EvaluatePostRequestBody $body The request body * @param EvaluateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conditionalaccessroot-evaluate?view=graph-rest-beta Find more info here */ public function post(EvaluatePostRequestBody $body, ?EvaluateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [EvaluatePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [EvaluateLabelJobResponse::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Evaluates the applicability of Conditional Access Policies in your tenant based on the provided sign-in properties. + * Invoke action evaluate * @param EvaluatePostRequestBody $body The request body * @param EvaluateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php similarity index 87% rename from src/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php rename to src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php index 54e9e2f9797..6d82399a3c2 100644 --- a/src/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php @@ -1,6 +1,6 @@ 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. + * @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}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property sensitivityLabels for security + * @param SensitivityLabelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?SensitivityLabelItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get sensitivityLabels from security + * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property sensitivityLabels in security + * @param SensitivityLabel $body The request body + * @param SensitivityLabelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(SensitivityLabel $body, ?SensitivityLabelItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property sensitivityLabels for security + * @param SensitivityLabelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?SensitivityLabelItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get sensitivityLabels from security + * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property sensitivityLabels in security + * @param SensitivityLabel $body The request body + * @param SensitivityLabelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(SensitivityLabel $body, ?SensitivityLabelItemRequestBuilderPatchRequestConfiguration $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 SensitivityLabelItemRequestBuilder + */ + public function withUrl(string $rawUrl): SensitivityLabelItemRequestBuilder { + return new SensitivityLabelItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..17aabe9abf0 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.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/SensitivityLabelItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..105cc279e44 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.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 SensitivityLabelItemRequestBuilderGetQueryParameters 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/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..19b3839d2e6 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SensitivityLabelItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SensitivityLabelItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SensitivityLabelItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return SensitivityLabelItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): SensitivityLabelItemRequestBuilderGetQueryParameters { + return new SensitivityLabelItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..37232778bad --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.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/Count/CountRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..2ad657212ab --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e1b7ee6b0c1 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7d3f272d4e6 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluatePostRequestBody.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluatePostRequestBody.php new file mode 100644 index 00000000000..e0ac63b10df --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluatePostRequestBody.php @@ -0,0 +1,141 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EvaluatePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EvaluatePostRequestBody { + return new EvaluatePostRequestBody(); + } + + /** + * 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 currentLabel property value. The currentLabel property + * @return CurrentLabel|null + */ + public function getCurrentLabel(): ?CurrentLabel { + $val = $this->getBackingStore()->get('currentLabel'); + if (is_null($val) || $val instanceof CurrentLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'currentLabel'"); + } + + /** + * Gets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property + * @return array|null + */ + public function getDiscoveredSensitiveTypes(): ?array { + $val = $this->getBackingStore()->get('discoveredSensitiveTypes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DiscoveredSensitiveType::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'discoveredSensitiveTypes'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'currentLabel' => fn(ParseNode $n) => $o->setCurrentLabel($n->getObjectValue([CurrentLabel::class, 'createFromDiscriminatorValue'])), + 'discoveredSensitiveTypes' => fn(ParseNode $n) => $o->setDiscoveredSensitiveTypes($n->getCollectionOfObjectValues([DiscoveredSensitiveType::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('currentLabel', $this->getCurrentLabel()); + $writer->writeCollectionOfObjectValues('discoveredSensitiveTypes', $this->getDiscoveredSensitiveTypes()); + $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 currentLabel property value. The currentLabel property + * @param CurrentLabel|null $value Value to set for the currentLabel property. + */ + public function setCurrentLabel(?CurrentLabel $value): void { + $this->getBackingStore()->set('currentLabel', $value); + } + + /** + * Sets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property + * @param array|null $value Value to set for the discoveredSensitiveTypes property. + */ + public function setDiscoveredSensitiveTypes(?array $value): void { + $this->getBackingStore()->set('discoveredSensitiveTypes', $value); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilder.php new file mode 100644 index 00000000000..966a4f3dc7f --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilder.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/evaluate'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action evaluate + * @param EvaluatePostRequestBody $body The request body + * @param EvaluateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EvaluatePostRequestBody $body, ?EvaluateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EvaluateLabelJobResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action evaluate + * @param EvaluatePostRequestBody $body The request body + * @param EvaluateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EvaluatePostRequestBody $body, ?EvaluateRequestBuilderPostRequestConfiguration $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 EvaluateRequestBuilder + */ + public function withUrl(string $rawUrl): EvaluateRequestBuilder { + return new EvaluateRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..4813696725b --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php similarity index 52% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php rename to src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php index 9e149fe4e26..eddc535ec83 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -1,28 +1,28 @@ |string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. */ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { - parent::__construct($requestAdapter, [], '{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}{?%24expand,%24select}'); + parent::__construct($requestAdapter, [], '{+baseurl}/security/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}{?%24expand,%24select}'); if (is_array($pathParametersOrRawUrl)) { $this->pathParameters = $pathParametersOrRawUrl; } else { @@ -31,13 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an ipNamedLocation object. - * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property sublabels for security + * @param SensitivityLabelItemRequestBuilderDeleteRequestConfiguration|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/ipnamedlocation-delete?view=graph-rest-beta Find more info here */ - public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + public function delete(?SensitivityLabelItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -46,42 +45,40 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Read the properties and relationships of a compliantNetworkNamedLocation object. - * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Get sublabels from security + * @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/compliantnetworknamedlocation-get?view=graph-rest-beta Find more info here */ - public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + public function get(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [NamedLocation::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Update the properties of an ipNamedLocation object. - * @param NamedLocation $body The request body - * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise + * Update the navigation property sublabels in security + * @param SensitivityLabel $body The request body + * @param SensitivityLabelItemRequestBuilderPatchRequestConfiguration|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/ipnamedlocation-update?view=graph-rest-beta Find more info here */ - public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + public function patch(SensitivityLabel $body, ?SensitivityLabelItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); $errorMappings = [ 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], ]; - return $this->requestAdapter->sendAsync($requestInfo, [NamedLocation::class, 'createFromDiscriminatorValue'], $errorMappings); + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); } /** - * Delete an ipNamedLocation object. - * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Delete navigation property sublabels for security + * @param SensitivityLabelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toDeleteRequestInformation(?SensitivityLabelItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -94,11 +91,11 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet } /** - * Read the properties and relationships of a compliantNetworkNamedLocation object. - * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Get sublabels from security + * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toGetRequestInformation(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toGetRequestInformation(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -115,12 +112,12 @@ public function toGetRequestInformation(?NamedLocationItemRequestBuilderGetReque } /** - * Update the properties of an ipNamedLocation object. - * @param NamedLocation $body The request body - * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * Update the navigation property sublabels in security + * @param SensitivityLabel $body The request body + * @param SensitivityLabelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(NamedLocation $body, ?NamedLocationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPatchRequestInformation(SensitivityLabel $body, ?SensitivityLabelItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; @@ -137,10 +134,10 @@ public function toPatchRequestInformation(NamedLocation $body, ?NamedLocationIte /** * 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 NamedLocationItemRequestBuilder + * @return SensitivityLabelItemRequestBuilder */ - public function withUrl(string $rawUrl): NamedLocationItemRequestBuilder { - return new NamedLocationItemRequestBuilder($rawUrl, $this->requestAdapter); + public function withUrl(string $rawUrl): SensitivityLabelItemRequestBuilder { + return new SensitivityLabelItemRequestBuilder($rawUrl, $this->requestAdapter); } } diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..89455fcdcca --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.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/SensitivityLabelItemRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3f2edd2aee4 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.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 SensitivityLabelItemRequestBuilderGetQueryParameters 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/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..43877e1b554 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SensitivityLabelItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SensitivityLabelItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SensitivityLabelItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return SensitivityLabelItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): SensitivityLabelItemRequestBuilderGetQueryParameters { + return new SensitivityLabelItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..9991d5d328b --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.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/SublabelsRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php new file mode 100644 index 00000000000..d0ba4dd299e --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the evaluate method. + */ + public function evaluate(): EvaluateRequestBuilder { + return new EvaluateRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. + * @param string $sensitivityLabelId1 The unique identifier of sensitivityLabel + * @return SensitivityLabelItemRequestBuilder + */ + public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityLabelItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['sensitivityLabel%2Did1'] = $sensitivityLabelId1; + return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * 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. + * @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{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get sublabels from security + * @param SublabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SublabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabelCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to sublabels for security + * @param SensitivityLabel $body The request body + * @param SublabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(SensitivityLabel $body, ?SublabelsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get sublabels from security + * @param SublabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SublabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to sublabels for security + * @param SensitivityLabel $body The request body + * @param SublabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SensitivityLabel $body, ?SublabelsRequestBuilderPostRequestConfiguration $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 SublabelsRequestBuilder + */ + public function withUrl(string $rawUrl): SublabelsRequestBuilder { + return new SublabelsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderGetQueryParameters.php rename to src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetQueryParameters.php index 77fb5fddc73..2af0303cc2c 100644 --- a/src/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d5f5e79855c --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SublabelsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SublabelsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SublabelsRequestBuilderGetQueryParameters. + * @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 SublabelsRequestBuilderGetQueryParameters + */ + 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): SublabelsRequestBuilderGetQueryParameters { + return new SublabelsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..08c28d641de --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderPostRequestConfiguration.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/SensitivityLabelsRequestBuilder.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php new file mode 100644 index 00000000000..551ba127bf7 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the evaluate method. + */ + public function evaluate(): EvaluateRequestBuilder { + return new EvaluateRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. + * @param string $sensitivityLabelId The unique identifier of sensitivityLabel + * @return SensitivityLabelItemRequestBuilder + */ + public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLabelItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['sensitivityLabel%2Did'] = $sensitivityLabelId; + return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * 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. + * @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{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get sensitivityLabels from security + * @param SensitivityLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SensitivityLabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabelCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to sensitivityLabels for security + * @param SensitivityLabel $body The request body + * @param SensitivityLabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(SensitivityLabel $body, ?SensitivityLabelsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get sensitivityLabels from security + * @param SensitivityLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SensitivityLabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to sensitivityLabels for security + * @param SensitivityLabel $body The request body + * @param SensitivityLabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SensitivityLabel $body, ?SensitivityLabelsRequestBuilderPostRequestConfiguration $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 SensitivityLabelsRequestBuilder + */ + public function withUrl(string $rawUrl): SensitivityLabelsRequestBuilder { + return new SensitivityLabelsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e83f0c7cbf4 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.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 SensitivityLabelsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a892b2af9c6 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SensitivityLabelsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SensitivityLabelsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SensitivityLabelsRequestBuilderGetQueryParameters. + * @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 SensitivityLabelsRequestBuilderGetQueryParameters + */ + 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): SensitivityLabelsRequestBuilderGetQueryParameters { + return new SensitivityLabelsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderPostRequestConfiguration.php b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..8d16c049038 --- /dev/null +++ b/src/Generated/Security/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderPostRequestConfiguration.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/SecurityRequestBuilder.php b/src/Generated/Security/SecurityRequestBuilder.php index a027110b8f9..c39688ea604 100644 --- a/src/Generated/Security/SecurityRequestBuilder.php +++ b/src/Generated/Security/SecurityRequestBuilder.php @@ -14,6 +14,7 @@ use Microsoft\Graph\Beta\Generated\Security\CloudAppSecurityProfiles\CloudAppSecurityProfilesRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\Collaboration\CollaborationRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DataDiscovery\DataDiscoveryRequestBuilder; +use Microsoft\Graph\Beta\Generated\Security\DataSecurityAndGovernance\DataSecurityAndGovernanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\DomainSecurityProfiles\DomainSecurityProfilesRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\FileSecurityProfiles\FileSecurityProfilesRequestBuilder; use Microsoft\Graph\Beta\Generated\Security\HostSecurityProfiles\HostSecurityProfilesRequestBuilder; @@ -102,6 +103,13 @@ public function dataDiscovery(): DataDiscoveryRequestBuilder { return new DataDiscoveryRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. + */ + public function dataSecurityAndGovernance(): DataSecurityAndGovernanceRequestBuilder { + return new DataSecurityAndGovernanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the domainSecurityProfiles property of the microsoft.graph.security entity. */ diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index 51d2ca764a9..634f6db908c 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -125,11 +125,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-beta Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -172,7 +172,7 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC } /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index 183d8b067e0..33f5af44dc0 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Return the metadata for a list. + * Get the list of richLongRunningOperations associated with a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Pages/PagesRequestBuilder.php b/src/Generated/Sites/Item/Pages/PagesRequestBuilder.php index 889bc2e9733..6d3f6bee76d 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 sitePage in the site pages list in a site. + * Create a new newsLinkPage in the site pages list of 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/sitepage-create?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/newslinkpage-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 sitePage in the site pages list in a site. + * Create a new newsLinkPage in the site pages list of 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/TeamTemplateDefinition/Item/TeamDefinition/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/SendActivityNotification/SendActivityNotificationPostRequestBody.php index dd8641377e7..590b98223d8 100644 --- a/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/TeamTemplateDefinition/Item/TeamDefinition/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index c390f2afbdb..5e6fe5f58e3 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -61,12 +61,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a team.or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|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/conversationmember-update?view=graph-rest-beta Find more info here + * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-beta Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a team.or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php index 78dac25bbc8..dbb90348c43 100644 --- a/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.php b/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.php index e2d50951892..f474bf31e9f 100644 --- a/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.php +++ b/src/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipients' => fn(ParseNode $n) => $o->setRecipients($n->getCollectionOfObjectValues([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -172,6 +185,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -212,6 +226,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/SendActivityNotification/SendActivityNotificationPostRequestBody.php index cc6c2fa5943..82f43e02b58 100644 --- a/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php b/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php index 9eaedab0f16..a3f1f5e5491 100644 --- a/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php @@ -16,6 +16,7 @@ use Microsoft\Graph\Beta\Generated\Users\Item\Authentication\PasswordMethods\PasswordMethodsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Authentication\PhoneMethods\PhoneMethodsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Authentication\PlatformCredentialMethods\PlatformCredentialMethodsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\Authentication\QrCodePinMethod\QrCodePinMethodRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Authentication\Requirements\RequirementsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Authentication\SignInPreferences\SignInPreferencesRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Authentication\SoftwareOathMethods\SoftwareOathMethodsRequestBuilder; @@ -101,6 +102,13 @@ public function platformCredentialMethods(): PlatformCredentialMethodsRequestBui return new PlatformCredentialMethodsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the qrCodePinMethod property of the microsoft.graph.authentication entity. + */ + public function qrCodePinMethod(): QrCodePinMethodRequestBuilder { + return new QrCodePinMethodRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * The requirements property */ diff --git a/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilder.php index 481ba305056..0c00d8f2e52 100644 --- a/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilder.php @@ -54,7 +54,7 @@ public function delete(?PlatformCredentialAuthenticationMethodItemRequestBuilder } /** - * Get platformCredentialMethods from users + * Represents a platform credential instance registered to a user on Mac OS. * @param PlatformCredentialAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -85,7 +85,7 @@ public function toDeleteRequestInformation(?PlatformCredentialAuthenticationMeth } /** - * Get platformCredentialMethods from users + * Represents a platform credential instance registered to a user on Mac OS. * @param PlatformCredentialAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters.php index 1eb8d9bcbe1..fdfb41d409c 100644 --- a/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/Item/PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get platformCredentialMethods from users + * Represents a platform credential instance registered to a user on Mac OS. */ class PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilder.php index 3ebf16583d9..094776421bd 100644 --- a/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get platformCredentialMethods from users + * Represents a platform credential instance registered to a user on Mac OS. * @param PlatformCredentialMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -65,7 +65,7 @@ public function get(?PlatformCredentialMethodsRequestBuilderGetRequestConfigurat } /** - * Get platformCredentialMethods from users + * Represents a platform credential instance registered to a user on Mac OS. * @param PlatformCredentialMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilderGetQueryParameters.php index 0ca82691a7b..e6b4130f5fc 100644 --- a/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Authentication/PlatformCredentialMethods/PlatformCredentialMethodsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get platformCredentialMethods from users + * Represents a platform credential instance registered to a user on Mac OS. */ class PlatformCredentialMethodsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilder.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilder.php new file mode 100644 index 00000000000..8e28a6b95be --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilder.php @@ -0,0 +1,152 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new PinRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/authentication/qrCodePinMethod/pin{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property pin for users + * @param PinRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?PinRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The PIN linked to the QR Code auth method of the user. + * @param PinRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?PinRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [QrPin::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Reset a user's PIN and generate a new temporary PIN that's represented by a qrPin object and is linked to the user's QR Code authentication method object. + * @param QrPin $body The request body + * @param PinRequestBuilderPatchRequestConfiguration|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/qrpin-update?view=graph-rest-beta Find more info here + */ + public function patch(QrPin $body, ?PinRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [QrPin::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property pin for users + * @param PinRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?PinRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * The PIN linked to the QR Code auth method of the user. + * @param PinRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?PinRequestBuilderGetRequestConfiguration $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; + } + + /** + * Reset a user's PIN and generate a new temporary PIN that's represented by a qrPin object and is linked to the user's QR Code authentication method object. + * @param QrPin $body The request body + * @param PinRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(QrPin $body, ?PinRequestBuilderPatchRequestConfiguration $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 PinRequestBuilder + */ + public function withUrl(string $rawUrl): PinRequestBuilder { + return new PinRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..31b0bacd667 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderDeleteRequestConfiguration.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/Authentication/QrCodePinMethod/Pin/PinRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f584493faa8 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderGetQueryParameters.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 PinRequestBuilderGetQueryParameters 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/Authentication/QrCodePinMethod/Pin/PinRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..fae9955b9b9 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param PinRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?PinRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new PinRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return PinRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): PinRequestBuilderGetQueryParameters { + return new PinRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..d75790142e9 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/PinRequestBuilderPatchRequestConfiguration.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/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinPostRequestBody.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinPostRequestBody.php new file mode 100644 index 00000000000..1c37dbe1428 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinPostRequestBody.php @@ -0,0 +1,136 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return UpdatePinPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UpdatePinPostRequestBody { + return new UpdatePinPostRequestBody(); + } + + /** + * 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 currentPin property value. The currentPin property + * @return string|null + */ + public function getCurrentPin(): ?string { + $val = $this->getBackingStore()->get('currentPin'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'currentPin'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'currentPin' => fn(ParseNode $n) => $o->setCurrentPin($n->getStringValue()), + 'newPin' => fn(ParseNode $n) => $o->setNewPin($n->getStringValue()), + ]; + } + + /** + * Gets the newPin property value. The newPin property + * @return string|null + */ + public function getNewPin(): ?string { + $val = $this->getBackingStore()->get('newPin'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'newPin'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('currentPin', $this->getCurrentPin()); + $writer->writeStringValue('newPin', $this->getNewPin()); + $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 currentPin property value. The currentPin property + * @param string|null $value Value to set for the currentPin property. + */ + public function setCurrentPin(?string $value): void { + $this->getBackingStore()->set('currentPin', $value); + } + + /** + * Sets the newPin property value. The newPin property + * @param string|null $value Value to set for the newPin property. + */ + public function setNewPin(?string $value): void { + $this->getBackingStore()->set('newPin', $value); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinRequestBuilder.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinRequestBuilder.php new file mode 100644 index 00000000000..a027facb6db --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinRequestBuilder.php @@ -0,0 +1,76 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/authentication/qrCodePinMethod/pin/updatePin'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action updatePin + * @param UpdatePinPostRequestBody $body The request body + * @param UpdatePinRequestBuilderPostRequestConfiguration|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/qrpin-updatepin?view=graph-rest-beta Find more info here + */ + public function post(UpdatePinPostRequestBody $body, ?UpdatePinRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Invoke action updatePin + * @param UpdatePinPostRequestBody $body The request body + * @param UpdatePinRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(UpdatePinPostRequestBody $body, ?UpdatePinRequestBuilderPostRequestConfiguration $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 UpdatePinRequestBuilder + */ + public function withUrl(string $rawUrl): UpdatePinRequestBuilder { + return new UpdatePinRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e5b0a4d77ca --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/Pin/UpdatePin/UpdatePinRequestBuilderPostRequestConfiguration.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/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilder.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilder.php new file mode 100644 index 00000000000..9db5d23e120 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the standardQRCode property of the microsoft.graph.qrCodePinAuthenticationMethod entity. + */ + public function standardQRCode(): StandardQRCodeRequestBuilder { + return new StandardQRCodeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the temporaryQRCode property of the microsoft.graph.qrCodePinAuthenticationMethod entity. + */ + public function temporaryQRCode(): TemporaryQRCodeRequestBuilder { + return new TemporaryQRCodeRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new QrCodePinMethodRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/authentication/qrCodePinMethod{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Deletes user's qrCodePinAuthenticationMethod object. Once the object is deleted, it can't be retrieved. The user won't be able to sign-in with any QR codes associated with the deleted object. + * @param QrCodePinMethodRequestBuilderDeleteRequestConfiguration|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/authentication-delete-qrcodepinmethod?view=graph-rest-beta Find more info here + */ + public function delete(?QrCodePinMethodRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Retrieve a user's qrCodePinAuthenticationMethod object. + * @param QrCodePinMethodRequestBuilderGetRequestConfiguration|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/qrcodepinauthenticationmethod-get?view=graph-rest-beta Find more info here + */ + public function get(?QrCodePinMethodRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [QrCodePinAuthenticationMethod::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Deletes user's qrCodePinAuthenticationMethod object. Once the object is deleted, it can't be retrieved. The user won't be able to sign-in with any QR codes associated with the deleted object. + * @param QrCodePinMethodRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?QrCodePinMethodRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Retrieve a user's qrCodePinAuthenticationMethod object. + * @param QrCodePinMethodRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?QrCodePinMethodRequestBuilderGetRequestConfiguration $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 QrCodePinMethodRequestBuilder + */ + public function withUrl(string $rawUrl): QrCodePinMethodRequestBuilder { + return new QrCodePinMethodRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..3ebd049dbc6 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderDeleteRequestConfiguration.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/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..23cf3f3bc16 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderGetQueryParameters.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 QrCodePinMethodRequestBuilderGetQueryParameters 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/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..d7d54d3b562 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/QrCodePinMethodRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param QrCodePinMethodRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?QrCodePinMethodRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new QrCodePinMethodRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return QrCodePinMethodRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): QrCodePinMethodRequestBuilderGetQueryParameters { + return new QrCodePinMethodRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilder.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilder.php new file mode 100644 index 00000000000..6302c942ec1 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilder.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}/users/{user%2Did}/authentication/qrCodePinMethod/standardQRCode{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete a standard or temporary qrCode object. + * @param StandardQRCodeRequestBuilderDeleteRequestConfiguration|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/qrcode-delete?view=graph-rest-beta Find more info here + */ + public function delete(?StandardQRCodeRequestBuilderDeleteRequestConfiguration $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 qrCode object. + * @param StandardQRCodeRequestBuilderGetRequestConfiguration|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/qrcode-get?view=graph-rest-beta Find more info here + */ + public function get(?StandardQRCodeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [QrCode::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a standard or temporary QR code, if there is no active QR code, or update a standard QR code. Only the expireDateTime property can be updated for a standard QR code. + * @param QrCode $body The request body + * @param StandardQRCodeRequestBuilderPatchRequestConfiguration|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/qrcode-update?view=graph-rest-beta Find more info here + */ + public function patch(QrCode $body, ?StandardQRCodeRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [QrCode::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete a standard or temporary qrCode object. + * @param StandardQRCodeRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?StandardQRCodeRequestBuilderDeleteRequestConfiguration $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 qrCode object. + * @param StandardQRCodeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?StandardQRCodeRequestBuilderGetRequestConfiguration $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 standard or temporary QR code, if there is no active QR code, or update a standard QR code. Only the expireDateTime property can be updated for a standard QR code. + * @param QrCode $body The request body + * @param StandardQRCodeRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(QrCode $body, ?StandardQRCodeRequestBuilderPatchRequestConfiguration $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 StandardQRCodeRequestBuilder + */ + public function withUrl(string $rawUrl): StandardQRCodeRequestBuilder { + return new StandardQRCodeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..f340b18751e --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderDeleteRequestConfiguration.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/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d0bb7038671 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderGetQueryParameters.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 StandardQRCodeRequestBuilderGetQueryParameters 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/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a46ee41300e --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param StandardQRCodeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?StandardQRCodeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new StandardQRCodeRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return StandardQRCodeRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): StandardQRCodeRequestBuilderGetQueryParameters { + return new StandardQRCodeRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..0d7a073e3df --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/StandardQRCode/StandardQRCodeRequestBuilderPatchRequestConfiguration.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/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilder.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilder.php new file mode 100644 index 00000000000..36ac2a0997a --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilder.php @@ -0,0 +1,143 @@ +|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}/authentication/qrCodePinMethod/temporaryQRCode{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property temporaryQRCode for users + * @param TemporaryQRCodeRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TemporaryQRCodeRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Temporary QR code has lifetime up to 12 hours. It can be issued when the user doesn't have access to their standard QR code. There can be only one active temporary QR code for the user. + * @param TemporaryQRCodeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TemporaryQRCodeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [QrCode::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property temporaryQRCode in users + * @param QrCode $body The request body + * @param TemporaryQRCodeRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(QrCode $body, ?TemporaryQRCodeRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [QrCode::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property temporaryQRCode for users + * @param TemporaryQRCodeRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TemporaryQRCodeRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Temporary QR code has lifetime up to 12 hours. It can be issued when the user doesn't have access to their standard QR code. There can be only one active temporary QR code for the user. + * @param TemporaryQRCodeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TemporaryQRCodeRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property temporaryQRCode in users + * @param QrCode $body The request body + * @param TemporaryQRCodeRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(QrCode $body, ?TemporaryQRCodeRequestBuilderPatchRequestConfiguration $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 TemporaryQRCodeRequestBuilder + */ + public function withUrl(string $rawUrl): TemporaryQRCodeRequestBuilder { + return new TemporaryQRCodeRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..65d7b12b896 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderDeleteRequestConfiguration.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/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..fdf615615ef --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderGetQueryParameters.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 TemporaryQRCodeRequestBuilderGetQueryParameters 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/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..88f153d7732 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TemporaryQRCodeRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TemporaryQRCodeRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TemporaryQRCodeRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TemporaryQRCodeRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TemporaryQRCodeRequestBuilderGetQueryParameters { + return new TemporaryQRCodeRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..ca1c794e97b --- /dev/null +++ b/src/Generated/Users/Item/Authentication/QrCodePinMethod/TemporaryQRCode/TemporaryQRCodeRequestBuilderPatchRequestConfiguration.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/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php index 6a5158cc02e..230dec15309 100644 --- a/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -93,6 +93,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'recipient' => fn(ParseNode $n) => $o->setRecipient($n->getObjectValue([TeamworkNotificationRecipient::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), @@ -101,6 +102,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -170,6 +183,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeObjectValue('recipient', $this->getRecipient()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); @@ -210,6 +224,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilder.php b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilder.php new file mode 100644 index 00000000000..af2554a4f59 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilder.php @@ -0,0 +1,159 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the delegators property of the microsoft.graph.callSettings entity. + */ + public function delegators(): DelegatorsRequestBuilder { + return new DelegatorsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CallSettingsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/communications/callSettings{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property callSettings for users + * @param CallSettingsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CallSettingsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The call settings assigned to the user. + * @param CallSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CallSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property callSettings in users + * @param CallSettings $body The request body + * @param CallSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(CallSettings $body, ?CallSettingsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [CallSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property callSettings for users + * @param CallSettingsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CallSettingsRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * The call settings assigned to the user. + * @param CallSettingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CallSettingsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property callSettings in users + * @param CallSettings $body The request body + * @param CallSettingsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(CallSettings $body, ?CallSettingsRequestBuilderPatchRequestConfiguration $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 CallSettingsRequestBuilder + */ + public function withUrl(string $rawUrl): CallSettingsRequestBuilder { + return new CallSettingsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderDeleteRequestConfiguration.php similarity index 73% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderPostRequestConfiguration.php rename to src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderDeleteRequestConfiguration.php index 9591acad5d1..8634a8aafba 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderPostRequestConfiguration.php +++ b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderDeleteRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..cbd1ea7a100 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderGetQueryParameters.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 CallSettingsRequestBuilderGetQueryParameters 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/Communications/CallSettings/CallSettingsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1b904ac2dba --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CallSettingsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CallSettingsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CallSettingsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CallSettingsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CallSettingsRequestBuilderGetQueryParameters { + return new CallSettingsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..2be8879c2b2 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/CallSettingsRequestBuilderPatchRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Count/CountRequestBuilder.php similarity index 93% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.php rename to src/Generated/Users/Item/Communications/CallSettings/Delegates/Count/CountRequestBuilder.php index 0e162a19944..d553e56741a 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.php +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Count/CountRequestBuilder.php @@ -1,6 +1,6 @@ pathParameters = $pathParametersOrRawUrl; } else { diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Count/CountRequestBuilderGetQueryParameters.php similarity index 89% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilderGetQueryParameters.php rename to src/Generated/Users/Item/Communications/CallSettings/Delegates/Count/CountRequestBuilderGetQueryParameters.php index 0519edcb405..a1ac245a4d4 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Count/CountRequestBuilderGetQueryParameters.php @@ -1,6 +1,6 @@ pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the delegates property of the microsoft.graph.callSettings entity. + * @param string $delegationSettingsId The unique identifier of delegationSettings + * @return DelegationSettingsItemRequestBuilder + */ + public function byDelegationSettingsId(string $delegationSettingsId): DelegationSettingsItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['delegationSettings%2Did'] = $delegationSettingsId; + return new DelegationSettingsItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new DelegatesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/communications/callSettings/delegates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Represents the delegate settings. + * @param DelegatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DelegatesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DelegationSettingsCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to delegates for users + * @param DelegationSettings $body The request body + * @param DelegatesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DelegationSettings $body, ?DelegatesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DelegationSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Represents the delegate settings. + * @param DelegatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DelegatesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to delegates for users + * @param DelegationSettings $body The request body + * @param DelegatesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DelegationSettings $body, ?DelegatesRequestBuilderPostRequestConfiguration $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 DelegatesRequestBuilder + */ + public function withUrl(string $rawUrl): DelegatesRequestBuilder { + return new DelegatesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderGetQueryParameters.php similarity index 88% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetQueryParameters.php rename to src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderGetQueryParameters.php index 3071442bf87..751086dadd5 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderGetQueryParameters.php @@ -1,13 +1,13 @@ |null $expand Expand related entities * @param string|null $filter Filter items by property values diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderGetRequestConfiguration.php similarity index 58% rename from src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetRequestConfiguration.php rename to src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderGetRequestConfiguration.php index fc08ebec51f..5bec3d263a4 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param NamedLocationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param DelegatesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?NamedLocationsRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?DelegatesRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new NamedLocationsRequestBuilderGetQueryParameters. + * Instantiates a new DelegatesRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Nam * @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 NamedLocationsRequestBuilderGetQueryParameters + * @return DelegatesRequestBuilderGetQueryParameters */ - 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): NamedLocationsRequestBuilderGetQueryParameters { - return new NamedLocationsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DelegatesRequestBuilderGetQueryParameters { + return new DelegatesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..37abc50e667 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/DelegatesRequestBuilderPostRequestConfiguration.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/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilder.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilder.php new file mode 100644 index 00000000000..6ab74aab32b --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilder.php @@ -0,0 +1,143 @@ +|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}/communications/callSettings/delegates/{delegationSettings%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property delegates for users + * @param DelegationSettingsItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?DelegationSettingsItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents the delegate settings. + * @param DelegationSettingsItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DelegationSettingsItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DelegationSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property delegates in users + * @param DelegationSettings $body The request body + * @param DelegationSettingsItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(DelegationSettings $body, ?DelegationSettingsItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DelegationSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property delegates for users + * @param DelegationSettingsItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?DelegationSettingsItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Represents the delegate settings. + * @param DelegationSettingsItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DelegationSettingsItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property delegates in users + * @param DelegationSettings $body The request body + * @param DelegationSettingsItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(DelegationSettings $body, ?DelegationSettingsItemRequestBuilderPatchRequestConfiguration $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 DelegationSettingsItemRequestBuilder + */ + public function withUrl(string $rawUrl): DelegationSettingsItemRequestBuilder { + return new DelegationSettingsItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..5af14c71285 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderDeleteRequestConfiguration.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/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f5b2bbd1072 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderGetQueryParameters.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 DelegationSettingsItemRequestBuilderGetQueryParameters 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/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..1e8a349a50d --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DelegationSettingsItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DelegationSettingsItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DelegationSettingsItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DelegationSettingsItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DelegationSettingsItemRequestBuilderGetQueryParameters { + return new DelegationSettingsItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..f1cdc8b8cc6 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegates/Item/DelegationSettingsItemRequestBuilderPatchRequestConfiguration.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/Communications/CallSettings/Delegators/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..3817e1dd800 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/communications/callSettings/delegators/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegators/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..20f9f8e1c31 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegators/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3909e04fe03 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilder.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilder.php new file mode 100644 index 00000000000..94e6e353234 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the delegators property of the microsoft.graph.callSettings entity. + * @param string $delegationSettingsId The unique identifier of delegationSettings + * @return DelegationSettingsItemRequestBuilder + */ + public function byDelegationSettingsId(string $delegationSettingsId): DelegationSettingsItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['delegationSettings%2Did'] = $delegationSettingsId; + return new DelegationSettingsItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new DelegatorsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/communications/callSettings/delegators{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Represents the delegator settings. + * @param DelegatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DelegatorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DelegationSettingsCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to delegators for users + * @param DelegationSettings $body The request body + * @param DelegatorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(DelegationSettings $body, ?DelegatorsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DelegationSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Represents the delegator settings. + * @param DelegatorsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DelegatorsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to delegators for users + * @param DelegationSettings $body The request body + * @param DelegatorsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(DelegationSettings $body, ?DelegatorsRequestBuilderPostRequestConfiguration $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 DelegatorsRequestBuilder + */ + public function withUrl(string $rawUrl): DelegatorsRequestBuilder { + return new DelegatorsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..d3e4cb838bd --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderGetQueryParameters.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 DelegatorsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderGetRequestConfiguration.php similarity index 58% rename from src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetRequestConfiguration.php rename to src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderGetRequestConfiguration.php index 5aa9f942015..49ea01879a0 100644 --- a/src/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilderGetRequestConfiguration.php +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderGetRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options - * @param PoliciesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + * @param DelegatorsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters */ - public function __construct(?array $headers = null, ?array $options = null, ?PoliciesRequestBuilderGetQueryParameters $queryParameters = null) { + public function __construct(?array $headers = null, ?array $options = null, ?DelegatorsRequestBuilderGetQueryParameters $queryParameters = null) { parent::__construct($headers ?? [], $options ?? []); $this->queryParameters = $queryParameters; } /** - * Instantiates a new PoliciesRequestBuilderGetQueryParameters. + * Instantiates a new DelegatorsRequestBuilderGetQueryParameters. * @param bool|null $count Include count of items * @param array|null $expand Expand related entities * @param string|null $filter Filter items by property values @@ -36,10 +36,10 @@ public function __construct(?array $headers = null, ?array $options = null, ?Pol * @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 PoliciesRequestBuilderGetQueryParameters + * @return DelegatorsRequestBuilderGetQueryParameters */ - 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): PoliciesRequestBuilderGetQueryParameters { - return new PoliciesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + public static function createQueryParameters(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null): DelegatorsRequestBuilderGetQueryParameters { + return new DelegatorsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); } } diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5de581fe25b --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/DelegatorsRequestBuilderPostRequestConfiguration.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/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilder.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilder.php new file mode 100644 index 00000000000..89075d20448 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilder.php @@ -0,0 +1,143 @@ +|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}/communications/callSettings/delegators/{delegationSettings%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property delegators for users + * @param DelegationSettingsItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?DelegationSettingsItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents the delegator settings. + * @param DelegationSettingsItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DelegationSettingsItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DelegationSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property delegators in users + * @param DelegationSettings $body The request body + * @param DelegationSettingsItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(DelegationSettings $body, ?DelegationSettingsItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [DelegationSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property delegators for users + * @param DelegationSettingsItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?DelegationSettingsItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + return $requestInfo; + } + + /** + * Represents the delegator settings. + * @param DelegationSettingsItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DelegationSettingsItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property delegators in users + * @param DelegationSettings $body The request body + * @param DelegationSettingsItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(DelegationSettings $body, ?DelegationSettingsItemRequestBuilderPatchRequestConfiguration $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 DelegationSettingsItemRequestBuilder + */ + public function withUrl(string $rawUrl): DelegationSettingsItemRequestBuilder { + return new DelegationSettingsItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..23dcc0b7ffd --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderDeleteRequestConfiguration.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/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a461e41ca47 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderGetQueryParameters.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 DelegationSettingsItemRequestBuilderGetQueryParameters 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/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8c26121df3f --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DelegationSettingsItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DelegationSettingsItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DelegationSettingsItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DelegationSettingsItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DelegationSettingsItemRequestBuilderGetQueryParameters { + return new DelegationSettingsItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..7104e86efed --- /dev/null +++ b/src/Generated/Users/Item/Communications/CallSettings/Delegators/Item/DelegationSettingsItemRequestBuilderPatchRequestConfiguration.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/Communications/CommunicationsRequestBuilder.php b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilder.php new file mode 100644 index 00000000000..cd04687fe7a --- /dev/null +++ b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilder.php @@ -0,0 +1,151 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new CommunicationsRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/communications{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property communications for users + * @param CommunicationsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?CommunicationsRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The user's communications settings on Teams. + * @param CommunicationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CommunicationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserCloudCommunication::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property communications in users + * @param UserCloudCommunication $body The request body + * @param CommunicationsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(UserCloudCommunication $body, ?CommunicationsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserCloudCommunication::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property communications for users + * @param CommunicationsRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?CommunicationsRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * The user's communications settings on Teams. + * @param CommunicationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CommunicationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property communications in users + * @param UserCloudCommunication $body The request body + * @param CommunicationsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(UserCloudCommunication $body, ?CommunicationsRequestBuilderPatchRequestConfiguration $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 CommunicationsRequestBuilder + */ + public function withUrl(string $rawUrl): CommunicationsRequestBuilder { + return new CommunicationsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..78e573b2228 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderDeleteRequestConfiguration.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/Communications/CommunicationsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c2d1779aea9 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderGetQueryParameters.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 CommunicationsRequestBuilderGetQueryParameters 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/Communications/CommunicationsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..c6229563a52 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CommunicationsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CommunicationsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CommunicationsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return CommunicationsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): CommunicationsRequestBuilderGetQueryParameters { + return new CommunicationsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..eab42c00e85 --- /dev/null +++ b/src/Generated/Users/Item/Communications/CommunicationsRequestBuilderPatchRequestConfiguration.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/Activities/ActivitiesRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.php new file mode 100644 index 00000000000..843c3a7fe0b --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilder.php @@ -0,0 +1,151 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new ActivitiesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property activities for users + * @param ActivitiesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ActivitiesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get activities from users + * @param ActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ActivitiesContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property activities in users + * @param ActivitiesContainer $body The request body + * @param ActivitiesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ActivitiesContainer $body, ?ActivitiesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ActivitiesContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property activities for users + * @param ActivitiesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ActivitiesRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get activities from users + * @param ActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property activities in users + * @param ActivitiesContainer $body The request body + * @param ActivitiesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ActivitiesContainer $body, ?ActivitiesRequestBuilderPatchRequestConfiguration $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 ActivitiesRequestBuilder + */ + public function withUrl(string $rawUrl): ActivitiesRequestBuilder { + return new ActivitiesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..b870d07fe6c --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderDeleteRequestConfiguration.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/Activities/ActivitiesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..a0cd4278928 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetQueryParameters.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 ActivitiesRequestBuilderGetQueryParameters 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/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..7e6c0c3afc5 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ActivitiesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ActivitiesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ActivitiesRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ActivitiesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ActivitiesRequestBuilderGetQueryParameters { + return new ActivitiesRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..70d297fd9a4 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ActivitiesRequestBuilderPatchRequestConfiguration.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/Activities/ContentActivities/ContentActivitiesRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.php new file mode 100644 index 00000000000..85fa3492526 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilder.php @@ -0,0 +1,133 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the contentActivities property of the microsoft.graph.activitiesContainer entity. + * @param string $contentActivityId The unique identifier of contentActivity + * @return ContentActivityItemRequestBuilder + */ + public function byContentActivityId(string $contentActivityId): ContentActivityItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['contentActivity%2Did'] = $contentActivityId; + return new ContentActivityItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ContentActivitiesRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get contentActivities from users + * @param ContentActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ContentActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ContentActivityCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to contentActivities for users + * @param ContentActivity $body The request body + * @param ContentActivitiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ContentActivity $body, ?ContentActivitiesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ContentActivity::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get contentActivities from users + * @param ContentActivitiesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContentActivitiesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to contentActivities for users + * @param ContentActivity $body The request body + * @param ContentActivitiesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ContentActivity $body, ?ContentActivitiesRequestBuilderPostRequestConfiguration $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 ContentActivitiesRequestBuilder + */ + public function withUrl(string $rawUrl): ContentActivitiesRequestBuilder { + return new ContentActivitiesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..35b19187a46 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetQueryParameters.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 ContentActivitiesRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..04fa4a0eb01 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ContentActivitiesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ContentActivitiesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ContentActivitiesRequestBuilderGetQueryParameters. + * @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 ContentActivitiesRequestBuilderGetQueryParameters + */ + 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): ContentActivitiesRequestBuilderGetQueryParameters { + return new ContentActivitiesRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e3da22ba07c --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/ContentActivitiesRequestBuilderPostRequestConfiguration.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/Activities/ContentActivities/Count/CountRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..dba6561537b --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/activities/contentActivities/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..cf8d508c3be --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..44c22c2045b --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.php new file mode 100644 index 00000000000..5dba7b60f36 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilder.php @@ -0,0 +1,143 @@ +|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/activities/contentActivities/{contentActivity%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property contentActivities for users + * @param ContentActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ContentActivityItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get contentActivities from users + * @param ContentActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ContentActivityItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ContentActivity::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property contentActivities in users + * @param ContentActivity $body The request body + * @param ContentActivityItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ContentActivity $body, ?ContentActivityItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ContentActivity::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property contentActivities for users + * @param ContentActivityItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ContentActivityItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get contentActivities from users + * @param ContentActivityItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ContentActivityItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property contentActivities in users + * @param ContentActivity $body The request body + * @param ContentActivityItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ContentActivity $body, ?ContentActivityItemRequestBuilderPatchRequestConfiguration $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 ContentActivityItemRequestBuilder + */ + public function withUrl(string $rawUrl): ContentActivityItemRequestBuilder { + return new ContentActivityItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..98420de0a76 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderDeleteRequestConfiguration.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/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1c8ab6c6f03 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetQueryParameters.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 ContentActivityItemRequestBuilderGetQueryParameters 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/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..8e87f38492e --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ContentActivityItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ContentActivityItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ContentActivityItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ContentActivityItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ContentActivityItemRequestBuilderGetQueryParameters { + return new ContentActivityItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..2d5f0c707ed --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/Activities/ContentActivities/Item/ContentActivityItemRequestBuilderPatchRequestConfiguration.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/DataSecurityAndGovernanceRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php new file mode 100644 index 00000000000..fe69ea3c27d --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilder.php @@ -0,0 +1,175 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the processContent method. + */ + public function processContent(): ProcessContentRequestBuilder { + return new ProcessContentRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. + */ + public function protectionScopes(): ProtectionScopesRequestBuilder { + return new ProtectionScopesRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. + */ + public function sensitivityLabels(): SensitivityLabelsRequestBuilder { + return new SensitivityLabelsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new DataSecurityAndGovernanceRequestBuilder and sets the default values. + * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property dataSecurityAndGovernance for users + * @param DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get dataSecurityAndGovernance from users + * @param DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property dataSecurityAndGovernance in users + * @param UserDataSecurityAndGovernance $body The request body + * @param DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(UserDataSecurityAndGovernance $body, ?DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserDataSecurityAndGovernance::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property dataSecurityAndGovernance for users + * @param DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get dataSecurityAndGovernance from users + * @param DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property dataSecurityAndGovernance in users + * @param UserDataSecurityAndGovernance $body The request body + * @param DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(UserDataSecurityAndGovernance $body, ?DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration $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 DataSecurityAndGovernanceRequestBuilder + */ + public function withUrl(string $rawUrl): DataSecurityAndGovernanceRequestBuilder { + return new DataSecurityAndGovernanceRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..6c845af8e95 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration.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/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..60c600a6ae0 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetQueryParameters.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 DataSecurityAndGovernanceRequestBuilderGetQueryParameters 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/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..f9c92938054 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param DataSecurityAndGovernanceRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?DataSecurityAndGovernanceRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new DataSecurityAndGovernanceRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return DataSecurityAndGovernanceRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): DataSecurityAndGovernanceRequestBuilderGetQueryParameters { + return new DataSecurityAndGovernanceRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..c1c5625fabb --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration.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/ProcessContent/ProcessContentPostRequestBody.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.php new file mode 100644 index 00000000000..115b9145f06 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentPostRequestBody.php @@ -0,0 +1,115 @@ +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 ProcessContentPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ProcessContentPostRequestBody { + return new ProcessContentPostRequestBody(); + } + + /** + * 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 contentToProcess property value. The contentToProcess property + * @return ProcessContentRequest|null + */ + public function getContentToProcess(): ?ProcessContentRequest { + $val = $this->getBackingStore()->get('contentToProcess'); + if (is_null($val) || $val instanceof ProcessContentRequest) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'contentToProcess'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'contentToProcess' => fn(ParseNode $n) => $o->setContentToProcess($n->getObjectValue([ProcessContentRequest::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('contentToProcess', $this->getContentToProcess()); + $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 contentToProcess property value. The contentToProcess property + * @param ProcessContentRequest|null $value Value to set for the contentToProcess property. + */ + public function setContentToProcess(?ProcessContentRequest $value): void { + $this->getBackingStore()->set('contentToProcess', $value); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.php new file mode 100644 index 00000000000..5d1d1f694ba --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilder.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/processContent'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action processContent + * @param ProcessContentPostRequestBody $body The request body + * @param ProcessContentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(ProcessContentPostRequestBody $body, ?ProcessContentRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ProcessContentResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action processContent + * @param ProcessContentPostRequestBody $body The request body + * @param ProcessContentRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ProcessContentPostRequestBody $body, ?ProcessContentRequestBuilderPostRequestConfiguration $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 ProcessContentRequestBuilder + */ + public function withUrl(string $rawUrl): ProcessContentRequestBuilder { + return new ProcessContentRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..f063199dc0a --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProcessContent/ProcessContentRequestBuilderPostRequestConfiguration.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/ProtectionScopes/ProtectionScopesRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php new file mode 100644 index 00000000000..1347e05ebc0 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilder.php @@ -0,0 +1,143 @@ +|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/protectionScopes{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property protectionScopes for users + * @param ProtectionScopesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?ProtectionScopesRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get protectionScopes from users + * @param ProtectionScopesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ProtectionScopesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserProtectionScopeContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property protectionScopes in users + * @param UserProtectionScopeContainer $body The request body + * @param ProtectionScopesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(UserProtectionScopeContainer $body, ?ProtectionScopesRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [UserProtectionScopeContainer::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property protectionScopes for users + * @param ProtectionScopesRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ProtectionScopesRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get protectionScopes from users + * @param ProtectionScopesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ProtectionScopesRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property protectionScopes in users + * @param UserProtectionScopeContainer $body The request body + * @param ProtectionScopesRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(UserProtectionScopeContainer $body, ?ProtectionScopesRequestBuilderPatchRequestConfiguration $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 ProtectionScopesRequestBuilder + */ + public function withUrl(string $rawUrl): ProtectionScopesRequestBuilder { + return new ProtectionScopesRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..b437d37cf06 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderDeleteRequestConfiguration.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/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..e0bb88122af --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetQueryParameters.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 ProtectionScopesRequestBuilderGetQueryParameters 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/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..2b23e00a1df --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ProtectionScopesRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ProtectionScopesRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ProtectionScopesRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ProtectionScopesRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ProtectionScopesRequestBuilderGetQueryParameters { + return new ProtectionScopesRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..038de63dded --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/ProtectionScopes/ProtectionScopesRequestBuilderPatchRequestConfiguration.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/Count/CountRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..e453568d4e8 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..96b1c7546b3 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..5ace07ef680 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluatePostRequestBody.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluatePostRequestBody.php new file mode 100644 index 00000000000..af89b22c345 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluatePostRequestBody.php @@ -0,0 +1,141 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EvaluatePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EvaluatePostRequestBody { + return new EvaluatePostRequestBody(); + } + + /** + * 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 currentLabel property value. The currentLabel property + * @return CurrentLabel|null + */ + public function getCurrentLabel(): ?CurrentLabel { + $val = $this->getBackingStore()->get('currentLabel'); + if (is_null($val) || $val instanceof CurrentLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'currentLabel'"); + } + + /** + * Gets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property + * @return array|null + */ + public function getDiscoveredSensitiveTypes(): ?array { + $val = $this->getBackingStore()->get('discoveredSensitiveTypes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DiscoveredSensitiveType::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'discoveredSensitiveTypes'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'currentLabel' => fn(ParseNode $n) => $o->setCurrentLabel($n->getObjectValue([CurrentLabel::class, 'createFromDiscriminatorValue'])), + 'discoveredSensitiveTypes' => fn(ParseNode $n) => $o->setDiscoveredSensitiveTypes($n->getCollectionOfObjectValues([DiscoveredSensitiveType::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('currentLabel', $this->getCurrentLabel()); + $writer->writeCollectionOfObjectValues('discoveredSensitiveTypes', $this->getDiscoveredSensitiveTypes()); + $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 currentLabel property value. The currentLabel property + * @param CurrentLabel|null $value Value to set for the currentLabel property. + */ + public function setCurrentLabel(?CurrentLabel $value): void { + $this->getBackingStore()->set('currentLabel', $value); + } + + /** + * Sets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property + * @param array|null $value Value to set for the discoveredSensitiveTypes property. + */ + public function setDiscoveredSensitiveTypes(?array $value): void { + $this->getBackingStore()->set('discoveredSensitiveTypes', $value); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilder.php new file mode 100644 index 00000000000..ca69fb5a2ba --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilder.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/evaluate'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action evaluate + * @param EvaluatePostRequestBody $body The request body + * @param EvaluateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EvaluatePostRequestBody $body, ?EvaluateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EvaluateLabelJobResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action evaluate + * @param EvaluatePostRequestBody $body The request body + * @param EvaluateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EvaluatePostRequestBody $body, ?EvaluateRequestBuilderPostRequestConfiguration $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 EvaluateRequestBuilder + */ + public function withUrl(string $rawUrl): EvaluateRequestBuilder { + return new EvaluateRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..6f61269a973 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.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/SensitivityLabelItemRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php new file mode 100644 index 00000000000..00302da5510 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilder.php @@ -0,0 +1,151 @@ +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. + * @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}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property sensitivityLabels for users + * @param SensitivityLabelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?SensitivityLabelItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get sensitivityLabels from users + * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property sensitivityLabels in users + * @param SensitivityLabel $body The request body + * @param SensitivityLabelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(SensitivityLabel $body, ?SensitivityLabelItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property sensitivityLabels for users + * @param SensitivityLabelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?SensitivityLabelItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get sensitivityLabels from users + * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property sensitivityLabels in users + * @param SensitivityLabel $body The request body + * @param SensitivityLabelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(SensitivityLabel $body, ?SensitivityLabelItemRequestBuilderPatchRequestConfiguration $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 SensitivityLabelItemRequestBuilder + */ + public function withUrl(string $rawUrl): SensitivityLabelItemRequestBuilder { + return new SensitivityLabelItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..c70f13259d6 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.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/SensitivityLabelItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..08a9a04af78 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.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 SensitivityLabelItemRequestBuilderGetQueryParameters 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/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..95490589a8b --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SensitivityLabelItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SensitivityLabelItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SensitivityLabelItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return SensitivityLabelItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): SensitivityLabelItemRequestBuilderGetQueryParameters { + return new SensitivityLabelItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..86682aaaeb3 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.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/Count/CountRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..32ffec57b59 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/$count{?%24filter,%24search}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + /** @var Promise $result */ + $result = $this->requestAdapter->sendPrimitiveAsync($requestInfo, 'int', $errorMappings); + return $result; + } + + /** + * Get the number of the resource + * @param CountRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?CountRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "text/plain;q=0.9"); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return CountRequestBuilder + */ + public function withUrl(string $rawUrl): CountRequestBuilder { + return new CountRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3db9cde7bae --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..cea7003bc9c --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Count/CountRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param CountRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?CountRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new CountRequestBuilderGetQueryParameters. + * @param string|null $filter Filter items by property values + * @param string|null $search Search items by search phrases + * @return CountRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?string $filter = null, ?string $search = null): CountRequestBuilderGetQueryParameters { + return new CountRequestBuilderGetQueryParameters($filter, $search); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluatePostRequestBody.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluatePostRequestBody.php new file mode 100644 index 00000000000..905a0e4f1ef --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluatePostRequestBody.php @@ -0,0 +1,141 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return EvaluatePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): EvaluatePostRequestBody { + return new EvaluatePostRequestBody(); + } + + /** + * 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 currentLabel property value. The currentLabel property + * @return CurrentLabel|null + */ + public function getCurrentLabel(): ?CurrentLabel { + $val = $this->getBackingStore()->get('currentLabel'); + if (is_null($val) || $val instanceof CurrentLabel) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'currentLabel'"); + } + + /** + * Gets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property + * @return array|null + */ + public function getDiscoveredSensitiveTypes(): ?array { + $val = $this->getBackingStore()->get('discoveredSensitiveTypes'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DiscoveredSensitiveType::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'discoveredSensitiveTypes'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'currentLabel' => fn(ParseNode $n) => $o->setCurrentLabel($n->getObjectValue([CurrentLabel::class, 'createFromDiscriminatorValue'])), + 'discoveredSensitiveTypes' => fn(ParseNode $n) => $o->setDiscoveredSensitiveTypes($n->getCollectionOfObjectValues([DiscoveredSensitiveType::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('currentLabel', $this->getCurrentLabel()); + $writer->writeCollectionOfObjectValues('discoveredSensitiveTypes', $this->getDiscoveredSensitiveTypes()); + $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 currentLabel property value. The currentLabel property + * @param CurrentLabel|null $value Value to set for the currentLabel property. + */ + public function setCurrentLabel(?CurrentLabel $value): void { + $this->getBackingStore()->set('currentLabel', $value); + } + + /** + * Sets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property + * @param array|null $value Value to set for the discoveredSensitiveTypes property. + */ + public function setDiscoveredSensitiveTypes(?array $value): void { + $this->getBackingStore()->set('discoveredSensitiveTypes', $value); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilder.php new file mode 100644 index 00000000000..9e27e04534c --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilder.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/evaluate'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action evaluate + * @param EvaluatePostRequestBody $body The request body + * @param EvaluateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(EvaluatePostRequestBody $body, ?EvaluateRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [EvaluateLabelJobResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action evaluate + * @param EvaluatePostRequestBody $body The request body + * @param EvaluateRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(EvaluatePostRequestBody $body, ?EvaluateRequestBuilderPostRequestConfiguration $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 EvaluateRequestBuilder + */ + public function withUrl(string $rawUrl): EvaluateRequestBuilder { + return new EvaluateRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1f3f3870f7f --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Evaluate/EvaluateRequestBuilderPostRequestConfiguration.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/SensitivityLabelItemRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php new file mode 100644 index 00000000000..6ac683205b9 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilder.php @@ -0,0 +1,143 @@ +|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}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property sublabels for users + * @param SensitivityLabelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?SensitivityLabelItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get sublabels from users + * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property sublabels in users + * @param SensitivityLabel $body The request body + * @param SensitivityLabelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(SensitivityLabel $body, ?SensitivityLabelItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property sublabels for users + * @param SensitivityLabelItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?SensitivityLabelItemRequestBuilderDeleteRequestConfiguration $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; + } + + /** + * Get sublabels from users + * @param SensitivityLabelItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SensitivityLabelItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property sublabels in users + * @param SensitivityLabel $body The request body + * @param SensitivityLabelItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(SensitivityLabel $body, ?SensitivityLabelItemRequestBuilderPatchRequestConfiguration $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 SensitivityLabelItemRequestBuilder + */ + public function withUrl(string $rawUrl): SensitivityLabelItemRequestBuilder { + return new SensitivityLabelItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..69ff5e85125 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderDeleteRequestConfiguration.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/SensitivityLabelItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..af22a7f7ff6 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderGetQueryParameters.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 SensitivityLabelItemRequestBuilderGetQueryParameters 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/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..cdc1f13dcc8 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SensitivityLabelItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SensitivityLabelItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SensitivityLabelItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return SensitivityLabelItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): SensitivityLabelItemRequestBuilderGetQueryParameters { + return new SensitivityLabelItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..745fec32966 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/Item/SensitivityLabelItemRequestBuilderPatchRequestConfiguration.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/SublabelsRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php new file mode 100644 index 00000000000..3f112dcc7d0 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the evaluate method. + */ + public function evaluate(): EvaluateRequestBuilder { + return new EvaluateRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sublabels property of the microsoft.graph.sensitivityLabel entity. + * @param string $sensitivityLabelId1 The unique identifier of sensitivityLabel + * @return SensitivityLabelItemRequestBuilder + */ + public function bySensitivityLabelId1(string $sensitivityLabelId1): SensitivityLabelItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['sensitivityLabel%2Did1'] = $sensitivityLabelId1; + return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * 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. + * @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{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get sublabels from users + * @param SublabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SublabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabelCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to sublabels for users + * @param SensitivityLabel $body The request body + * @param SublabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(SensitivityLabel $body, ?SublabelsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get sublabels from users + * @param SublabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SublabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to sublabels for users + * @param SensitivityLabel $body The request body + * @param SublabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SensitivityLabel $body, ?SublabelsRequestBuilderPostRequestConfiguration $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 SublabelsRequestBuilder + */ + public function withUrl(string $rawUrl): SublabelsRequestBuilder { + return new SublabelsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..31cc844c4e7 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetQueryParameters.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 SublabelsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..0ebb87eea23 --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SublabelsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SublabelsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SublabelsRequestBuilderGetQueryParameters. + * @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 SublabelsRequestBuilderGetQueryParameters + */ + 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): SublabelsRequestBuilderGetQueryParameters { + return new SublabelsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ca03de4948b --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/Item/Sublabels/SublabelsRequestBuilderPostRequestConfiguration.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/SensitivityLabelsRequestBuilder.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php new file mode 100644 index 00000000000..439a9f69d5a --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilder.php @@ -0,0 +1,141 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the evaluate method. + */ + public function evaluate(): EvaluateRequestBuilder { + return new EvaluateRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. + * @param string $sensitivityLabelId The unique identifier of sensitivityLabel + * @return SensitivityLabelItemRequestBuilder + */ + public function bySensitivityLabelId(string $sensitivityLabelId): SensitivityLabelItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['sensitivityLabel%2Did'] = $sensitivityLabelId; + return new SensitivityLabelItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * 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. + * @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{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get sensitivityLabels from users + * @param SensitivityLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?SensitivityLabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabelCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to sensitivityLabels for users + * @param SensitivityLabel $body The request body + * @param SensitivityLabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(SensitivityLabel $body, ?SensitivityLabelsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [SensitivityLabel::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get sensitivityLabels from users + * @param SensitivityLabelsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?SensitivityLabelsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Create new navigation property to sensitivityLabels for users + * @param SensitivityLabel $body The request body + * @param SensitivityLabelsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(SensitivityLabel $body, ?SensitivityLabelsRequestBuilderPostRequestConfiguration $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 SensitivityLabelsRequestBuilder + */ + public function withUrl(string $rawUrl): SensitivityLabelsRequestBuilder { + return new SensitivityLabelsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..0a06b5ed28c --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetQueryParameters.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 SensitivityLabelsRequestBuilderGetQueryParameters and sets the default values. + * @param bool|null $count Include count of items + * @param array|null $expand Expand related entities + * @param string|null $filter Filter items by property values + * @param array|null $orderby Order items by property values + * @param string|null $search Search items by search phrases + * @param array|null $select Select properties to be returned + * @param int|null $skip Skip the first n items + * @param int|null $top Show only the first n items + */ + public function __construct(?bool $count = null, ?array $expand = null, ?string $filter = null, ?array $orderby = null, ?string $search = null, ?array $select = null, ?int $skip = null, ?int $top = null) { + $this->count = $count; + $this->expand = $expand; + $this->filter = $filter; + $this->orderby = $orderby; + $this->search = $search; + $this->select = $select; + $this->skip = $skip; + $this->top = $top; + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..31da513dade --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param SensitivityLabelsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?SensitivityLabelsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new SensitivityLabelsRequestBuilderGetQueryParameters. + * @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 SensitivityLabelsRequestBuilderGetQueryParameters + */ + 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): SensitivityLabelsRequestBuilderGetQueryParameters { + return new SensitivityLabelsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..5f3f06add2a --- /dev/null +++ b/src/Generated/Users/Item/DataSecurityAndGovernance/SensitivityLabels/SensitivityLabelsRequestBuilderPostRequestConfiguration.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/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/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php index 12ad94f00d2..76cfa57d004 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilder.php @@ -53,7 +53,7 @@ public function delete(?CallRecordingItemRequestBuilderDeleteRequestConfiguratio } /** - * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +100,7 @@ public function toDeleteRequestInformation(?CallRecordingItemRequestBuilderDelet } /** - * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param CallRecordingItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php index 5ed13fda762..6f1d615f949 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/CallRecordingItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. */ class CallRecordingItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php index e6286960240..c585211fcf4 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/Item/Content/ContentRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php index c21fd7d8e26..c5761bb99e6 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -89,7 +89,7 @@ public function post(CallRecording $body, ?RecordingsRequestBuilderPostRequestCo } /** - * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. * @param RecordingsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php index 8bcb6f7682f..1a63260dd32 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Recordings/RecordingsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. + * Get a callRecording object associated with a scheduled onlineMeeting. This API supports the retrieval of call recordings from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. */ class RecordingsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php index bcfb006ebee..95f3b66726b 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilder.php @@ -61,7 +61,7 @@ public function delete(?CallTranscriptItemRequestBuilderDeleteRequestConfigurati } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -108,7 +108,7 @@ public function toDeleteRequestInformation(?CallTranscriptItemRequestBuilderDele } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param CallTranscriptItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php index 59dba4e5ff8..bb17257cf03 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/CallTranscriptItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. */ class CallTranscriptItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php index 53971e6bcf9..03679faacd7 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/Content/ContentRequestBuilder.php @@ -46,7 +46,7 @@ public function delete(?ContentRequestBuilderDeleteRequestConfiguration $request } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ContentRequestBuilderDeleteRequestCo } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php index b8990220c97..0c8ae25afe0 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/Item/MetadataContent/MetadataContentRequestBuilder.php @@ -45,7 +45,7 @@ public function delete(?MetadataContentRequestBuilderDeleteRequestConfiguration } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param MetadataContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -96,7 +96,7 @@ public function toDeleteRequestInformation(?MetadataContentRequestBuilderDeleteR } /** - * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. + * Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. * @param MetadataContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php index d1850ef4b91..3025b60fbb1 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.php @@ -60,7 +60,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -90,7 +90,7 @@ public function post(CallTranscript $body, ?TranscriptsRequestBuilderPostRequest } /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. * @param TranscriptsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php index 3203121f841..64126c5e253 100644 --- a/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. + * Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from private chat meetings and channel meetings. However, private channel meetings are not supported at this time. */ class TranscriptsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.php b/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.php index fee7af5b45b..78e9eb1ab0b 100644 --- a/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.php +++ b/src/Generated/Users/Item/Settings/Windows/Item/WindowsSettingItemRequestBuilder.php @@ -39,10 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property windows for users + * Delete all windowsSetting objects of a user. * @param WindowsSettingItemRequestBuilderDeleteRequestConfiguration|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/windowssetting-delete?view=graph-rest-beta Find more info here */ public function delete(?WindowsSettingItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -82,7 +83,7 @@ public function patch(WindowsSetting $body, ?WindowsSettingItemRequestBuilderPat } /** - * Delete navigation property windows for users + * Delete all windowsSetting objects of a user. * @param WindowsSettingItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.php b/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.php index fddb28fbd2e..3be5dd0e3de 100644 --- a/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.php +++ b/src/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationPostRequestBody.php @@ -92,6 +92,7 @@ public function getFieldDeserializers(): array { return [ 'activityType' => fn(ParseNode $n) => $o->setActivityType($n->getStringValue()), 'chainId' => fn(ParseNode $n) => $o->setChainId($n->getIntegerValue()), + 'iconId' => fn(ParseNode $n) => $o->setIconId($n->getStringValue()), 'previewText' => fn(ParseNode $n) => $o->setPreviewText($n->getObjectValue([ItemBody::class, 'createFromDiscriminatorValue'])), 'teamsAppId' => fn(ParseNode $n) => $o->setTeamsAppId($n->getStringValue()), 'templateParameters' => fn(ParseNode $n) => $o->setTemplateParameters($n->getCollectionOfObjectValues([KeyValuePair::class, 'createFromDiscriminatorValue'])), @@ -99,6 +100,18 @@ public function getFieldDeserializers(): array { ]; } + /** + * Gets the iconId property value. The iconId property + * @return string|null + */ + public function getIconId(): ?string { + $val = $this->getBackingStore()->get('iconId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'iconId'"); + } + /** * Gets the previewText property value. The previewText property * @return ItemBody|null @@ -156,6 +169,7 @@ public function getTopic(): ?TeamworkActivityTopic { public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('activityType', $this->getActivityType()); $writer->writeIntegerValue('chainId', $this->getChainId()); + $writer->writeStringValue('iconId', $this->getIconId()); $writer->writeObjectValue('previewText', $this->getPreviewText()); $writer->writeStringValue('teamsAppId', $this->getTeamsAppId()); $writer->writeCollectionOfObjectValues('templateParameters', $this->getTemplateParameters()); @@ -195,6 +209,14 @@ public function setChainId(?int $value): void { $this->getBackingStore()->set('chainId', $value); } + /** + * Sets the iconId property value. The iconId property + * @param string|null $value Value to set for the iconId property. + */ + public function setIconId(?string $value): void { + $this->getBackingStore()->set('iconId', $value); + } + /** * Sets the previewText property value. The previewText property * @param ItemBody|null $value Value to set for the previewText property. diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index cb413572d3e..e1a2dcaec34 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -26,10 +26,12 @@ use Microsoft\Graph\Beta\Generated\Users\Item\CheckMemberObjects\CheckMemberObjectsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\CloudClipboard\CloudClipboardRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\CloudPCs\CloudPCsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\Communications\CommunicationsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\ContactFolders\ContactFoldersRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\Contacts\ContactsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\ConvertExternalToInternalMemberUser\ConvertExternalToInternalMemberUserRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\CreatedObjects\CreatedObjectsRequestBuilder; +use Microsoft\Graph\Beta\Generated\Users\Item\DataSecurityAndGovernance\DataSecurityAndGovernanceRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DeletePasswordSingleSignOnCredentials\DeletePasswordSingleSignOnCredentialsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DeviceEnrollmentConfigurations\DeviceEnrollmentConfigurationsRequestBuilder; use Microsoft\Graph\Beta\Generated\Users\Item\DeviceManagementTroubleshootingEvents\DeviceManagementTroubleshootingEventsRequestBuilder; @@ -265,6 +267,13 @@ public function cloudPCs(): CloudPCsRequestBuilder { return new CloudPCsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the communications property of the microsoft.graph.user entity. + */ + public function communications(): CommunicationsRequestBuilder { + return new CommunicationsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the contactFolders property of the microsoft.graph.user entity. */ @@ -293,6 +302,13 @@ public function createdObjects(): CreatedObjectsRequestBuilder { return new CreatedObjectsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. + */ + public function dataSecurityAndGovernance(): DataSecurityAndGovernanceRequestBuilder { + return new DataSecurityAndGovernanceRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to call the deletePasswordSingleSignOnCredentials method. */ diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index a25180d29d5..8f3181c108e 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -759,6 +759,7 @@ Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|reportSettings Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|serviceAnnouncement:ServiceAnnouncementRequestBuilder Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|sharepoint:SharepointRequestBuilder +Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|teams:TeamsRequestBuilder Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|todo:TodoRequestBuilder Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:AdminRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.admin.AdminRequestBuilder::|public|ToPatchRequestInformation(body:Admin; requestConfiguration?:AdminRequestBuilderPatchRequestConfiguration):RequestInformation @@ -2709,6 +2710,193 @@ Microsoft\Graph\Beta\Generated.admin.sharepoint.sharepointRequestBuilderGetReque Microsoft\Graph\Beta\Generated.admin.sharepoint.sharepointRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SharepointRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.admin.sharepoint.sharepointRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.admin.sharepoint.sharepointRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|Delete(requestConfiguration?:PolicyRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|Get(requestConfiguration?:PolicyRequestBuilderGetRequestConfiguration):TeamsPolicyAssignment +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|Patch(body:TeamsPolicyAssignment; requestConfiguration?:PolicyRequestBuilderPatchRequestConfiguration):TeamsPolicyAssignment +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PolicyRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PolicyRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|ToPatchRequestInformation(body:TeamsPolicyAssignment; requestConfiguration?:PolicyRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.policy.PolicyRequestBuilder::|public|WithUrl(rawUrl:string):PolicyRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:PolicyRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderGetRequestConfiguration::|public|queryParameters:PolicyRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PolicyRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.policy.policyRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|Delete(requestConfiguration?:TeamsRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|Get(requestConfiguration?:TeamsRequestBuilderGetRequestConfiguration):TeamsAdminRoot +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|Patch(body:TeamsAdminRoot; requestConfiguration?:TeamsRequestBuilderPatchRequestConfiguration):TeamsAdminRoot +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|policy:PolicyRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TeamsRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TeamsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|ToPatchRequestInformation(body:TeamsAdminRoot; requestConfiguration?:TeamsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|userConfigurations:UserConfigurationsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.TeamsRequestBuilder::|public|WithUrl(rawUrl:string):TeamsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TeamsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderGetRequestConfiguration::|public|queryParameters:TeamsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TeamsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.teamsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|Delete(requestConfiguration?:TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|Get(requestConfiguration?:TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration):TeamsUserConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|Patch(body:TeamsUserConfiguration; requestConfiguration?:TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration):TeamsUserConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:TeamsUserConfiguration; requestConfiguration?:TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|user:UserRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):TeamsUserConfigurationItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TeamsUserConfigurationItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:TeamsUserConfigurationItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TeamsUserConfigurationItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.TeamsUserConfigurationItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|Get(requestConfiguration?:MailboxSettingsRequestBuilderGetRequestConfiguration):MailboxSettings +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|Patch(body:MailboxSettings; requestConfiguration?:MailboxSettingsRequestBuilderPatchRequestConfiguration):MailboxSettings +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MailboxSettingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:MailboxSettings; requestConfiguration?:MailboxSettingsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.MailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):MailboxSettingsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MailboxSettingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:MailboxSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):MailboxSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.mailboxSettings.mailboxSettingsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|Get(requestConfiguration?:ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):ServiceProvisioningErrorCollectionResponse +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):ServiceProvisioningErrorsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ServiceProvisioningErrorsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:ServiceProvisioningErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.serviceProvisioningErrors.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ServiceProvisioningErrorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|Get(requestConfiguration?:UserRequestBuilderGetRequestConfiguration):User +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|mailboxSettings:MailboxSettingsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|serviceProvisioningErrors:ServiceProvisioningErrorsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UserRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.UserRequestBuilder::|public|WithUrl(rawUrl:string):UserRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UserRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetRequestConfiguration::|public|queryParameters:UserRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.item.user.userRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):UserRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|ByTeamsUserConfigurationId(teamsUserConfigurationId:string):TeamsUserConfigurationItemRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|Get(requestConfiguration?:UserConfigurationsRequestBuilderGetRequestConfiguration):TeamsUserConfigurationCollectionResponse +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|Post(body:TeamsUserConfiguration; requestConfiguration?:UserConfigurationsRequestBuilderPostRequestConfiguration):TeamsUserConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UserConfigurationsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:TeamsUserConfiguration; requestConfiguration?:UserConfigurationsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.UserConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):UserConfigurationsRequestBuilder +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UserConfigurationsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetRequestConfiguration::|public|queryParameters:UserConfigurationsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):UserConfigurationsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.admin.teams.userConfigurations.userConfigurationsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.admin.todo.TodoRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.admin.todo.TodoRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.admin.todo.TodoRequestBuilder::|public|Delete(requestConfiguration?:TodoRequestBuilderDeleteRequestConfiguration):void @@ -15796,6 +15984,7 @@ Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityN Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -15806,6 +15995,7 @@ Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityN Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Beta\Generated.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -67065,6 +67255,7 @@ Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieve Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|getFilter():string +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|getGroupBy():array Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|getOrderBy():array Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|getReportName():CloudPCTroubleshootReportType Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|getSearch():string @@ -67075,6 +67266,7 @@ Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieve Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|setFilter(value?:string):void +Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|setGroupBy(value?:array):void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|setOrderBy(value?:array):void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|setReportName(value?:CloudPCTroubleshootReportType):void Microsoft\Graph\Beta\Generated.deviceManagement.virtualEndpoint.reports.retrieveCloudPcTroubleshootReports.retrieveCloudPcTroubleshootReportsPostRequestBody::|public|setSearch(value?:string):void @@ -156943,6 +157135,7 @@ Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendAct Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -156953,6 +157146,7 @@ Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendAct Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Beta\Generated.groups.item.team.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -161110,177 +161304,10 @@ Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessReque Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|authenticationStrength:AuthenticationStrengthRequestBuilder Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|authenticationStrengths:AuthenticationStrengthsRequestBuilder Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|evaluate:EvaluateRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|namedLocations:NamedLocationsRequestBuilder Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|policies:PoliciesRequestBuilder Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|templates:TemplatesRequestBuilder Microsoft\Graph\Beta\Generated.identity.conditionalAccess.ConditionalAccessRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|constructor():void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|getAppliedPoliciesOnly():bool -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|getConditionalAccessContext():ConditionalAccessContext -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|getConditionalAccessWhatIfConditions():ConditionalAccessWhatIfConditions -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|getConditionalAccessWhatIfSubject():ConditionalAccessWhatIfSubject -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|setAppliedPoliciesOnly(value?:bool):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|setConditionalAccessContext(value?:ConditionalAccessContext):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|setConditionalAccessWhatIfConditions(value?:ConditionalAccessWhatIfConditions):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|public|setConditionalAccessWhatIfSubject(value?:ConditionalAccessWhatIfSubject):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EvaluatePostRequestBody -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostResponse-->BaseCollectionPaginationCountResponse -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostResponse::|public|constructor():void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostResponse::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostResponse::|public|getValue():array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostResponse::|public|setValue(value?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluatePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EvaluatePostResponse -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.EvaluateRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.EvaluateRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.EvaluateRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.EvaluateRequestBuilder::|public|Post(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):EvaluatePostResponse -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.EvaluateRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.EvaluateRequestBuilder::|public|ToPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.EvaluateRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.EvaluateRequestBuilder::|public|WithUrl(rawUrl:string):EvaluateRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluateRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.evaluate.evaluateRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|Delete(requestConfiguration?:NamedLocationItemRequestBuilderDeleteRequestConfiguration):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|Get(requestConfiguration?:NamedLocationItemRequestBuilderGetRequestConfiguration):NamedLocation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|Patch(body:NamedLocation; requestConfiguration?:NamedLocationItemRequestBuilderPatchRequestConfiguration):NamedLocation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:NamedLocationItemRequestBuilderDeleteRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:NamedLocationItemRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|ToPatchRequestInformation(body:NamedLocation; requestConfiguration?:NamedLocationItemRequestBuilderPatchRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilder::|public|WithUrl(rawUrl:string):NamedLocationItemRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:NamedLocationItemRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:NamedLocationItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):NamedLocationItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.item.NamedLocationItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|ByNamedLocationId(namedLocationId:string):NamedLocationItemRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|Count:CountRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|Get(requestConfiguration?:NamedLocationsRequestBuilderGetRequestConfiguration):NamedLocationCollectionResponse -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|Post(body:NamedLocation; requestConfiguration?:NamedLocationsRequestBuilderPostRequestConfiguration):NamedLocation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:NamedLocationsRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|ToPostRequestInformation(body:NamedLocation; requestConfiguration?:NamedLocationsRequestBuilderPostRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.NamedLocationsRequestBuilder::|public|WithUrl(rawUrl:string):NamedLocationsRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|count:bool -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|orderby:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|skip:int -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetQueryParameters::|public|top:int -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:NamedLocationsRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetRequestConfiguration::|public|queryParameters:NamedLocationsRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):NamedLocationsRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.namedLocations.namedLocationsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|Delete(requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|Get(requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration):ConditionalAccessPolicy -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|Patch(body:ConditionalAccessPolicy; requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration):ConditionalAccessPolicy -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:ConditionalAccessPolicy; requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):ConditionalAccessPolicyItemRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ConditionalAccessPolicyItemRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ConditionalAccessPolicyItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ConditionalAccessPolicyItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.item.ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|ByConditionalAccessPolicyId(conditionalAccessPolicyId:string):ConditionalAccessPolicyItemRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|Count:CountRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|Get(requestConfiguration?:PoliciesRequestBuilderGetRequestConfiguration):ConditionalAccessPolicyCollectionResponse -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|Post(body:ConditionalAccessPolicy; requestConfiguration?:PoliciesRequestBuilderPostRequestConfiguration):ConditionalAccessPolicy -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PoliciesRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|ToPostRequestInformation(body:ConditionalAccessPolicy; requestConfiguration?:PoliciesRequestBuilderPostRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.PoliciesRequestBuilder::|public|WithUrl(rawUrl:string):PoliciesRequestBuilder -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|count:bool -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|orderby:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|skip:int -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetQueryParameters::|public|top:int -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:PoliciesRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetRequestConfiguration::|public|queryParameters:PoliciesRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):PoliciesRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.identity.conditionalAccess.policies.policiesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.identity.conditionalAccess.templates.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.identity.conditionalAccess.templates.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.identity.conditionalAccess.templates.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -186337,6 +186364,14 @@ Microsoft\Graph\Beta\Generated.models.activeUsersMetricCollectionResponse::|publ Microsoft\Graph\Beta\Generated.models.activeUsersMetricCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.activeUsersMetricCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.activeUsersMetricCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActiveUsersMetricCollectionResponse +Microsoft\Graph\Beta\Generated.models.activitiesContainer-->Entity +Microsoft\Graph\Beta\Generated.models.activitiesContainer::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.activitiesContainer::|public|getContentActivities():array +Microsoft\Graph\Beta\Generated.models.activitiesContainer::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.activitiesContainer::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.activitiesContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.activitiesContainer::|public|setContentActivities(value?:array):void +Microsoft\Graph\Beta\Generated.models.activitiesContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActivitiesContainer Microsoft\Graph\Beta\Generated.models.activityBasedTimeoutPolicy-->StsPolicy Microsoft\Graph\Beta\Generated.models.activityBasedTimeoutPolicy::|public|constructor():void Microsoft\Graph\Beta\Generated.models.activityBasedTimeoutPolicy::|public|GetFieldDeserializers():array @@ -186385,6 +186420,19 @@ Microsoft\Graph\Beta\Generated.models.activityHistoryItemCollectionResponse::|pu Microsoft\Graph\Beta\Generated.models.activityHistoryItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.activityHistoryItemCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.activityHistoryItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActivityHistoryItemCollectionResponse +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|getActivity():UserActivityType +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|setActivity(value?:UserActivityType):void +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.activityMetadata::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.activityMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ActivityMetadata +Microsoft\Graph\Beta\Generated.models.activityMetadata~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.activityStatistics-->Entity Microsoft\Graph\Beta\Generated.models.activityStatistics::|public|constructor():void Microsoft\Graph\Beta\Generated.models.activityStatistics::|public|getActivity():AnalyticsActivityType @@ -186545,6 +186593,7 @@ Microsoft\Graph\Beta\Generated.models.admin::|public|getPeople():PeopleAdminSett Microsoft\Graph\Beta\Generated.models.admin::|public|getReportSettings():AdminReportSettings Microsoft\Graph\Beta\Generated.models.admin::|public|getServiceAnnouncement():ServiceAnnouncement Microsoft\Graph\Beta\Generated.models.admin::|public|getSharepoint():Sharepoint +Microsoft\Graph\Beta\Generated.models.admin::|public|getTeams():TeamsAdminRoot Microsoft\Graph\Beta\Generated.models.admin::|public|getTodo():AdminTodo Microsoft\Graph\Beta\Generated.models.admin::|public|getWindows():AdminWindows Microsoft\Graph\Beta\Generated.models.admin::|public|Serialize(writer:ISerializationWriter):void @@ -186562,6 +186611,7 @@ Microsoft\Graph\Beta\Generated.models.admin::|public|setPeople(value?:PeopleAdmi Microsoft\Graph\Beta\Generated.models.admin::|public|setReportSettings(value?:AdminReportSettings):void Microsoft\Graph\Beta\Generated.models.admin::|public|setServiceAnnouncement(value?:ServiceAnnouncement):void Microsoft\Graph\Beta\Generated.models.admin::|public|setSharepoint(value?:Sharepoint):void +Microsoft\Graph\Beta\Generated.models.admin::|public|setTeams(value?:TeamsAdminRoot):void Microsoft\Graph\Beta\Generated.models.admin::|public|setTodo(value?:AdminTodo):void Microsoft\Graph\Beta\Generated.models.admin::|public|setWindows(value?:AdminWindows):void Microsoft\Graph\Beta\Generated.models.admin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Admin @@ -187142,9 +187192,34 @@ Microsoft\Graph\Beta\Generated.models.aiInteractionMentionedIdentitySet::|public Microsoft\Graph\Beta\Generated.models.aiInteractionMentionedIdentitySet::|public|setConversation(value?:TeamworkConversationIdentity):void Microsoft\Graph\Beta\Generated.models.aiInteractionMentionedIdentitySet::|public|setTag(value?:TeamworkTagIdentity):void Microsoft\Graph\Beta\Generated.models.aiInteractionMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionMentionedIdentitySet +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|getIdentifier():string +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|getName():string +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|getVersion():string +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|setIdentifier(value?:string):void +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|setName(value?:string):void +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|public|setVersion(value?:string):void +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionPlugin +Microsoft\Graph\Beta\Generated.models.aiInteractionPlugin~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.aiInteractionType::0000-userPrompt Microsoft\Graph\Beta\Generated.models.aiInteractionType::0001-aiResponse Microsoft\Graph\Beta\Generated.models.aiInteractionType::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.aiOnlineMeeting-->Entity +Microsoft\Graph\Beta\Generated.models.aiOnlineMeeting::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.aiOnlineMeeting::|public|getAiInsights():array +Microsoft\Graph\Beta\Generated.models.aiOnlineMeeting::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.aiOnlineMeeting::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.aiOnlineMeeting::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.aiOnlineMeeting::|public|setAiInsights(value?:array):void +Microsoft\Graph\Beta\Generated.models.aiOnlineMeeting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiOnlineMeeting Microsoft\Graph\Beta\Generated.models.airPrintDestination::|public|constructor():void Microsoft\Graph\Beta\Generated.models.airPrintDestination::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.airPrintDestination::|public|getBackingStore():BackingStore @@ -187181,9 +187256,11 @@ Microsoft\Graph\Beta\Generated.models.aiUser-->Entity Microsoft\Graph\Beta\Generated.models.aiUser::|public|constructor():void Microsoft\Graph\Beta\Generated.models.aiUser::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.aiUser::|public|getInteractionHistory():AiInteractionHistory +Microsoft\Graph\Beta\Generated.models.aiUser::|public|getOnlineMeetings():array Microsoft\Graph\Beta\Generated.models.aiUser::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.aiUser::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.aiUser::|public|setInteractionHistory(value?:AiInteractionHistory):void +Microsoft\Graph\Beta\Generated.models.aiUser::|public|setOnlineMeetings(value?:array):void Microsoft\Graph\Beta\Generated.models.aiUser::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiUser Microsoft\Graph\Beta\Generated.models.album::|public|constructor():void Microsoft\Graph\Beta\Generated.models.album::|public|getAdditionalData():array @@ -192998,6 +193075,7 @@ Microsoft\Graph\Beta\Generated.models.authentication::|public|getPasswordlessMic Microsoft\Graph\Beta\Generated.models.authentication::|public|getPasswordMethods():array Microsoft\Graph\Beta\Generated.models.authentication::|public|getPhoneMethods():array Microsoft\Graph\Beta\Generated.models.authentication::|public|getPlatformCredentialMethods():array +Microsoft\Graph\Beta\Generated.models.authentication::|public|getQrCodePinMethod():QrCodePinAuthenticationMethod Microsoft\Graph\Beta\Generated.models.authentication::|public|getRequirements():StrongAuthenticationRequirements Microsoft\Graph\Beta\Generated.models.authentication::|public|getSignInPreferences():SignInPreferences Microsoft\Graph\Beta\Generated.models.authentication::|public|getSoftwareOathMethods():array @@ -193015,6 +193093,7 @@ Microsoft\Graph\Beta\Generated.models.authentication::|public|setPasswordlessMic Microsoft\Graph\Beta\Generated.models.authentication::|public|setPasswordMethods(value?:array):void Microsoft\Graph\Beta\Generated.models.authentication::|public|setPhoneMethods(value?:array):void Microsoft\Graph\Beta\Generated.models.authentication::|public|setPlatformCredentialMethods(value?:array):void +Microsoft\Graph\Beta\Generated.models.authentication::|public|setQrCodePinMethod(value?:QrCodePinAuthenticationMethod):void Microsoft\Graph\Beta\Generated.models.authentication::|public|setRequirements(value?:StrongAuthenticationRequirements):void Microsoft\Graph\Beta\Generated.models.authentication::|public|setSignInPreferences(value?:SignInPreferences):void Microsoft\Graph\Beta\Generated.models.authentication::|public|setSoftwareOathMethods(value?:array):void @@ -193408,18 +193487,6 @@ Microsoft\Graph\Beta\Generated.models.authenticationFailureReasonCode::0004-othe Microsoft\Graph\Beta\Generated.models.authenticationFailureReasonCode::0005-unknownFutureValue Microsoft\Graph\Beta\Generated.models.authenticationFailureReasonCode::0006-userError Microsoft\Graph\Beta\Generated.models.authenticationFailureReasonCode::0007-configError -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|getBackingStore():BackingStore -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|getOdataType():string -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|getTransferMethod():ConditionalAccessTransferMethods -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|setOdataType(value?:string):void -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|public|setTransferMethod(value?:ConditionalAccessTransferMethods):void -Microsoft\Graph\Beta\Generated.models.authenticationFlow::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AuthenticationFlow Microsoft\Graph\Beta\Generated.models.authenticationFlowsPolicy-->Entity Microsoft\Graph\Beta\Generated.models.authenticationFlowsPolicy::|public|constructor():void Microsoft\Graph\Beta\Generated.models.authenticationFlowsPolicy::|public|getDescription():string @@ -193432,7 +193499,6 @@ Microsoft\Graph\Beta\Generated.models.authenticationFlowsPolicy::|public|setDesc Microsoft\Graph\Beta\Generated.models.authenticationFlowsPolicy::|public|setDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.authenticationFlowsPolicy::|public|setSelfServiceSignUp(value?:SelfServiceSignUpAuthenticationFlowConfiguration):void Microsoft\Graph\Beta\Generated.models.authenticationFlowsPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AuthenticationFlowsPolicy -Microsoft\Graph\Beta\Generated.models.authenticationFlow~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.authenticationListener-->Entity Microsoft\Graph\Beta\Generated.models.authenticationListener::|public|constructor():void Microsoft\Graph\Beta\Generated.models.authenticationListener::|public|GetFieldDeserializers():array @@ -193552,6 +193618,7 @@ Microsoft\Graph\Beta\Generated.models.authenticationMethodModes::0013-x509Certif Microsoft\Graph\Beta\Generated.models.authenticationMethodModes::0014-federatedSingleFactor Microsoft\Graph\Beta\Generated.models.authenticationMethodModes::0015-federatedMultiFactor Microsoft\Graph\Beta\Generated.models.authenticationMethodModes::0016-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.authenticationMethodModes::0017-qrCodePin Microsoft\Graph\Beta\Generated.models.authenticationMethodPlatform::0000-unknown Microsoft\Graph\Beta\Generated.models.authenticationMethodPlatform::0001-windows Microsoft\Graph\Beta\Generated.models.authenticationMethodPlatform::0002-macOS @@ -193808,14 +193875,10 @@ Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|const Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|getMfa():array -Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|getNone():array Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|getOdataType():string Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|setMfa(value?:array):void -Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|setNone(value?:array):void Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AuthenticationStrengthUsage Microsoft\Graph\Beta\Generated.models.authenticationStrengthUsage~~>AdditionalDataHolder; BackedModel; Parsable @@ -194833,6 +194896,7 @@ Microsoft\Graph\Beta\Generated.models.baseAuthenticationMethod::0009-email Microsoft\Graph\Beta\Generated.models.baseAuthenticationMethod::0010-x509Certificate Microsoft\Graph\Beta\Generated.models.baseAuthenticationMethod::0011-federation Microsoft\Graph\Beta\Generated.models.baseAuthenticationMethod::0012-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.baseAuthenticationMethod::0013-qrCodePin Microsoft\Graph\Beta\Generated.models.BaseCollectionPaginationCountResponse::|public|constructor():void Microsoft\Graph\Beta\Generated.models.BaseCollectionPaginationCountResponse::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.BaseCollectionPaginationCountResponse::|public|getBackingStore():BackingStore @@ -194950,6 +195014,14 @@ Microsoft\Graph\Beta\Generated.models.basicAuthentication::|public|Serialize(wri Microsoft\Graph\Beta\Generated.models.basicAuthentication::|public|setPassword(value?:string):void Microsoft\Graph\Beta\Generated.models.basicAuthentication::|public|setUsername(value?:string):void Microsoft\Graph\Beta\Generated.models.basicAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BasicAuthentication +Microsoft\Graph\Beta\Generated.models.binaryContent-->ContentBase +Microsoft\Graph\Beta\Generated.models.binaryContent::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.binaryContent::|public|getData():StreamInterface +Microsoft\Graph\Beta\Generated.models.binaryContent::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.binaryContent::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.binaryContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.binaryContent::|public|setData(value?:StreamInterface):void +Microsoft\Graph\Beta\Generated.models.binaryContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BinaryContent Microsoft\Graph\Beta\Generated.models.binaryOperator::0000-or Microsoft\Graph\Beta\Generated.models.binaryOperator::0001-and Microsoft\Graph\Beta\Generated.models.bitlocker-->Entity @@ -196558,6 +196630,7 @@ Microsoft\Graph\Beta\Generated.models.callOptions::|public|GetFieldDeserializers Microsoft\Graph\Beta\Generated.models.callOptions::|public|getHideBotAfterEscalation():bool Microsoft\Graph\Beta\Generated.models.callOptions::|public|getIsContentSharingNotificationEnabled():bool Microsoft\Graph\Beta\Generated.models.callOptions::|public|getIsDeltaRosterEnabled():bool +Microsoft\Graph\Beta\Generated.models.callOptions::|public|getIsInteractiveRosterEnabled():bool Microsoft\Graph\Beta\Generated.models.callOptions::|public|getOdataType():string Microsoft\Graph\Beta\Generated.models.callOptions::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.callOptions::|public|setAdditionalData(value?:array):void @@ -196565,6 +196638,7 @@ Microsoft\Graph\Beta\Generated.models.callOptions::|public|setBackingStore(value Microsoft\Graph\Beta\Generated.models.callOptions::|public|setHideBotAfterEscalation(value?:bool):void Microsoft\Graph\Beta\Generated.models.callOptions::|public|setIsContentSharingNotificationEnabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.callOptions::|public|setIsDeltaRosterEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.callOptions::|public|setIsInteractiveRosterEnabled(value?:bool):void Microsoft\Graph\Beta\Generated.models.callOptions::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.callOptions::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CallOptions Microsoft\Graph\Beta\Generated.models.callOptions~~>AdditionalDataHolder; BackedModel; Parsable @@ -199527,6 +199601,16 @@ Microsoft\Graph\Beta\Generated.models.cloudPcBulkCreateSnapshot::|public|Seriali Microsoft\Graph\Beta\Generated.models.cloudPcBulkCreateSnapshot::|public|setAccessTier(value?:CloudPcBlobAccessTier):void Microsoft\Graph\Beta\Generated.models.cloudPcBulkCreateSnapshot::|public|setStorageAccountId(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcBulkCreateSnapshot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcBulkCreateSnapshot +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery-->CloudPcBulkAction +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|public|getCapabilityType():CloudPcDisasterRecoveryCapabilityType +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|public|getLicenseType():CloudPcDisasterRecoveryLicenseType +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|public|setCapabilityType(value?:CloudPcDisasterRecoveryCapabilityType):void +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|public|setLicenseType(value?:CloudPcDisasterRecoveryLicenseType):void +Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecovery::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcBulkDisasterRecovery Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecoveryFailback-->CloudPcBulkAction Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecoveryFailback::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcBulkDisasterRecoveryFailback::|public|GetFieldDeserializers():array @@ -199565,6 +199649,12 @@ Microsoft\Graph\Beta\Generated.models.cloudPcBulkPowerOn::|public|GetFieldDeseri Microsoft\Graph\Beta\Generated.models.cloudPcBulkPowerOn::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.cloudPcBulkPowerOn::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudPcBulkPowerOn::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcBulkPowerOn +Microsoft\Graph\Beta\Generated.models.cloudPcBulkReinstallAgent-->CloudPcBulkAction +Microsoft\Graph\Beta\Generated.models.cloudPcBulkReinstallAgent::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudPcBulkReinstallAgent::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudPcBulkReinstallAgent::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.cloudPcBulkReinstallAgent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudPcBulkReinstallAgent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcBulkReinstallAgent Microsoft\Graph\Beta\Generated.models.cloudPcBulkRemoteActionResult::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcBulkRemoteActionResult::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.cloudPcBulkRemoteActionResult::|public|getBackingStore():BackingStore @@ -199607,10 +199697,12 @@ Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestart::|static|public|CreateF Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore-->CloudPcBulkAction Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|getIgnoreUnhealthySnapshots():bool Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|getRestorePointDateTime():DateTime Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|getTimeRange():RestoreTimeRange Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|setIgnoreUnhealthySnapshots(value?:bool):void Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|setRestorePointDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|public|setTimeRange(value?:RestoreTimeRange):void Microsoft\Graph\Beta\Generated.models.cloudPcBulkRestore::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcBulkRestore @@ -199787,6 +199879,7 @@ Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getOsBuildNumb Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getOsStatus():CloudPcDeviceImageOsStatus Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getOsVersionNumber():string Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getScopeIds():array +Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getSizeInGB():int Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getSourceImageResourceId():string Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getStatus():CloudPcDeviceImageStatus Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|getStatusDetails():CloudPcDeviceImageStatusDetails @@ -199802,6 +199895,7 @@ Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setOsBuildNumb Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setOsStatus(value?:CloudPcDeviceImageOsStatus):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setOsVersionNumber(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setScopeIds(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setSizeInGB(value?:int):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setSourceImageResourceId(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setStatus(value?:CloudPcDeviceImageStatus):void Microsoft\Graph\Beta\Generated.models.cloudPcDeviceImage::|public|setStatusDetails(value?:CloudPcDeviceImageStatusDetails):void @@ -199879,6 +199973,7 @@ Microsoft\Graph\Beta\Generated.models.cloudPcDisasterRecoveryCapability~~>Additi Microsoft\Graph\Beta\Generated.models.cloudPcDisasterRecoveryLicenseType::0000-none Microsoft\Graph\Beta\Generated.models.cloudPcDisasterRecoveryLicenseType::0001-standard Microsoft\Graph\Beta\Generated.models.cloudPcDisasterRecoveryLicenseType::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.cloudPcDisasterRecoveryLicenseType::0003-plus Microsoft\Graph\Beta\Generated.models.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting-->CloudPcDisasterRecoveryNetworkSetting Microsoft\Graph\Beta\Generated.models.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting::|public|constructor():void Microsoft\Graph\Beta\Generated.models.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting::|public|GetFieldDeserializers():array @@ -200818,6 +200913,7 @@ Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|getCloudPcId():st Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|getCreatedDateTime():DateTime Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|getExpirationDateTime():DateTime Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|getHealthCheckStatus():CloudPcSnapshotHealthCheckStatus Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|getLastRestoredDateTime():DateTime Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|getSnapshotType():CloudPcSnapshotType Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|getStatus():CloudPcSnapshotStatus @@ -200826,6 +200922,7 @@ Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|Serialize(writer: Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|setCloudPcId(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|setExpirationDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|setHealthCheckStatus(value?:CloudPcSnapshotHealthCheckStatus):void Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|setLastRestoredDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|setSnapshotType(value?:CloudPcSnapshotType):void Microsoft\Graph\Beta\Generated.models.cloudPcSnapshot::|public|setStatus(value?:CloudPcSnapshotStatus):void @@ -200837,6 +200934,10 @@ Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotCollectionResponse::|public Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcSnapshotCollectionResponse +Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotHealthCheckStatus::0000-unknown +Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotHealthCheckStatus::0001-healthy +Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotHealthCheckStatus::0002-unhealthy +Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotHealthCheckStatus::0003-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotStatus::0000-ready Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotStatus::0001-unknownFutureValue Microsoft\Graph\Beta\Generated.models.cloudPcSnapshotType::0000-automatic @@ -200933,12 +201034,14 @@ Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|constructo Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|getDisplayName():string Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|getRegionGroup():CloudPcRegionGroup +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|getRegionRestrictionDetail():CloudPcSupportedRegionRestrictionDetail Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|getRegionStatus():CloudPcSupportedRegionStatus Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|getSupportedSolution():CloudPcManagementService Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|setDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|setRegionGroup(value?:CloudPcRegionGroup):void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|setRegionRestrictionDetail(value?:CloudPcSupportedRegionRestrictionDetail):void Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|setRegionStatus(value?:CloudPcSupportedRegionStatus):void Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|public|setSupportedSolution(value?:CloudPcManagementService):void Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegion::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcSupportedRegion @@ -200949,6 +201052,23 @@ Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionCollectionResponse:: Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcSupportedRegionCollectionResponse +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|getCPURestricted():bool +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|getGPURestricted():bool +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|getNestedVirtualizationRestricted():bool +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|setCPURestricted(value?:bool):void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|setGPURestricted(value?:bool):void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|setNestedVirtualizationRestricted(value?:bool):void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CloudPcSupportedRegionRestrictionDetail +Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionRestrictionDetail~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionStatus::0000-available Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionStatus::0001-restricted Microsoft\Graph\Beta\Generated.models.cloudPcSupportedRegionStatus::0002-unavailable @@ -201891,18 +202011,6 @@ 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.compliantNetworkNamedLocation-->NamedLocation -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|public|getCompliantNetworkType():CompliantNetworkType -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|public|getIsTrusted():bool -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|public|setCompliantNetworkType(value?:CompliantNetworkType):void -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|public|setIsTrusted(value?:bool):void -Microsoft\Graph\Beta\Generated.models.compliantNetworkNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CompliantNetworkNamedLocation -Microsoft\Graph\Beta\Generated.models.compliantNetworkType::0000-allTenantCompliantNetworks -Microsoft\Graph\Beta\Generated.models.compliantNetworkType::0001-unknownFutureValue 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 @@ -201915,18 +202023,22 @@ Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|get Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|getExcludeApplications():array Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|getGlobalSecureAccess():ConditionalAccessGlobalSecureAccess Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|getIncludeApplications():array Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|getIncludeAuthenticationContextClassReferences():array Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|getIncludeUserActions():array +Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|getNetworkAccess():ConditionalAccessNetworkAccess Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|getOdataType():string Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setApplicationFilter(value?:ConditionalAccessFilter):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setExcludeApplications(value?:array):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setGlobalSecureAccess(value?:ConditionalAccessGlobalSecureAccess):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setIncludeApplications(value?:array):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setIncludeAuthenticationContextClassReferences(value?:array):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setIncludeUserActions(value?:array):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setNetworkAccess(value?:ConditionalAccessNetworkAccess):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessApplications Microsoft\Graph\Beta\Generated.models.conditionalAccessApplications~~>AdditionalDataHolder; BackedModel; Parsable @@ -202022,17 +202134,6 @@ Microsoft\Graph\Beta\Generated.models.conditionalAccessConditionSet::|public|set Microsoft\Graph\Beta\Generated.models.conditionalAccessConditionSet::|public|setUsers(value?:ConditionalAccessUsers):void Microsoft\Graph\Beta\Generated.models.conditionalAccessConditionSet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessConditionSet Microsoft\Graph\Beta\Generated.models.conditionalAccessConditionSet~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|getBackingStore():BackingStore -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|getOdataType():string -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|public|setOdataType(value?:string):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessContext -Microsoft\Graph\Beta\Generated.models.conditionalAccessContext~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.conditionalAccessDevicePlatform::0000-android Microsoft\Graph\Beta\Generated.models.conditionalAccessDevicePlatform::0001-iOS Microsoft\Graph\Beta\Generated.models.conditionalAccessDevicePlatform::0002-windows @@ -202116,6 +202217,17 @@ Microsoft\Graph\Beta\Generated.models.conditionalAccessFilter::|public|setOdataT Microsoft\Graph\Beta\Generated.models.conditionalAccessFilter::|public|setRule(value?:string):void Microsoft\Graph\Beta\Generated.models.conditionalAccessFilter::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessFilter Microsoft\Graph\Beta\Generated.models.conditionalAccessFilter~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessGlobalSecureAccess +Microsoft\Graph\Beta\Generated.models.conditionalAccessGlobalSecureAccess~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.conditionalAccessGrantControl::0000-block Microsoft\Graph\Beta\Generated.models.conditionalAccessGrantControl::0001-mfa Microsoft\Graph\Beta\Generated.models.conditionalAccessGrantControl::0002-compliantDevice @@ -202187,6 +202299,17 @@ Microsoft\Graph\Beta\Generated.models.conditionalAccessLocations::|public|setInc Microsoft\Graph\Beta\Generated.models.conditionalAccessLocations::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.conditionalAccessLocations::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessLocations Microsoft\Graph\Beta\Generated.models.conditionalAccessLocations~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessNetworkAccess +Microsoft\Graph\Beta\Generated.models.conditionalAccessNetworkAccess~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.conditionalAccessPlatforms::|public|constructor():void Microsoft\Graph\Beta\Generated.models.conditionalAccessPlatforms::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.conditionalAccessPlatforms::|public|getBackingStore():BackingStore @@ -202202,35 +202325,6 @@ Microsoft\Graph\Beta\Generated.models.conditionalAccessPlatforms::|public|setInc Microsoft\Graph\Beta\Generated.models.conditionalAccessPlatforms::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.conditionalAccessPlatforms::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessPlatforms Microsoft\Graph\Beta\Generated.models.conditionalAccessPlatforms~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy-->Entity -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|getConditions():ConditionalAccessConditionSet -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|getCreatedDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|getDescription():string -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|getDisplayName():string -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|getGrantControls():ConditionalAccessGrantControls -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|getModifiedDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|getSessionControls():ConditionalAccessSessionControls -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|getState():ConditionalAccessPolicyState -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|setConditions(value?:ConditionalAccessConditionSet):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|setCreatedDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|setDescription(value?:string):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|setDisplayName(value?:string):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|setGrantControls(value?:ConditionalAccessGrantControls):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|setModifiedDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|setSessionControls(value?:ConditionalAccessSessionControls):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|public|setState(value?:ConditionalAccessPolicyState):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessPolicy -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyCollectionResponse-->BaseCollectionPaginationCountResponse -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyCollectionResponse::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyCollectionResponse::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyCollectionResponse::|public|getValue():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyCollectionResponse::|public|setValue(value?:array):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessPolicyCollectionResponse Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyDetail::|public|constructor():void Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyDetail::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyDetail::|public|getBackingStore():BackingStore @@ -202248,25 +202342,18 @@ Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyDetail::|public|set Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyDetail::|public|setSessionControls(value?:ConditionalAccessSessionControls):void Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessPolicyDetail Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyDetail~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyState::0000-enabled -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyState::0001-disabled -Microsoft\Graph\Beta\Generated.models.conditionalAccessPolicyState::0002-enabledForReportingButNotEnforced Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot-->Entity Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|constructor():void Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|getAuthenticationContextClassReferences():array Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|getAuthenticationStrength():AuthenticationStrengthRoot Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|getAuthenticationStrengths():AuthenticationStrengthRoot Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|getNamedLocations():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|getPolicies():array Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|getTemplates():array Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|setAuthenticationContextClassReferences(value?:array):void Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|setAuthenticationStrength(value?:AuthenticationStrengthRoot):void Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|setAuthenticationStrengths(value?:AuthenticationStrengthRoot):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|setNamedLocations(value?:array):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|setPolicies(value?:array):void Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|public|setTemplates(value?:array):void Microsoft\Graph\Beta\Generated.models.conditionalAccessRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessRoot Microsoft\Graph\Beta\Generated.models.conditionalAccessRule::0000-allApps @@ -202417,79 +202504,6 @@ Microsoft\Graph\Beta\Generated.models.conditionalAccessUsers::|public|setInclude Microsoft\Graph\Beta\Generated.models.conditionalAccessUsers::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.conditionalAccessUsers::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessUsers Microsoft\Graph\Beta\Generated.models.conditionalAccessUsers~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getAuthenticationFlow():AuthenticationFlow -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getBackingStore():BackingStore -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getClientAppType():ConditionalAccessClientApp -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getCountry():string -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getDeviceInfo():DeviceInfo -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getDevicePlatform():ConditionalAccessDevicePlatform -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getInsiderRiskLevel():InsiderRiskLevel -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getIpAddress():string -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getOdataType():string -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getServicePrincipalRiskLevel():RiskLevel -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getSignInRiskLevel():RiskLevel -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|getUserRiskLevel():RiskLevel -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setAuthenticationFlow(value?:AuthenticationFlow):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setClientAppType(value?:ConditionalAccessClientApp):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setCountry(value?:string):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setDeviceInfo(value?:DeviceInfo):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setDevicePlatform(value?:ConditionalAccessDevicePlatform):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setInsiderRiskLevel(value?:InsiderRiskLevel):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setIpAddress(value?:string):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setOdataType(value?:string):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setServicePrincipalRiskLevel(value?:RiskLevel):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setSignInRiskLevel(value?:RiskLevel):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|public|setUserRiskLevel(value?:RiskLevel):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessWhatIfConditions -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfConditions~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy-->ConditionalAccessPolicy -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|public|getPolicyApplies():bool -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|public|getReasons():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|public|setPolicyApplies(value?:bool):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|public|setReasons(value?:array):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessWhatIfPolicy -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0000-notSet -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0001-notEnoughInformation -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0002-invalidCondition -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0003-users -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0004-workloadIdentities -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0005-application -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0006-userActions -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0007-authenticationContext -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0008-devicePlatform -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0009-devices -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0010-clientApps -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0011-location -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0012-signInRisk -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0013-emptyPolicy -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0014-invalidPolicy -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0015-policyNotEnabled -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0016-userRisk -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0017-time -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0018-insiderRisk -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0019-authenticationFlow -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfReasons::0020-unknownFutureValue -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|getBackingStore():BackingStore -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|getOdataType():string -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|public|setOdataType(value?:string):void -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessWhatIfSubject -Microsoft\Graph\Beta\Generated.models.conditionalAccessWhatIfSubject~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.configManagerCollection-->Entity Microsoft\Graph\Beta\Generated.models.configManagerCollection::|public|constructor():void Microsoft\Graph\Beta\Generated.models.configManagerCollection::|public|getCollectionIdentifier():string @@ -203029,6 +203043,25 @@ Microsoft\Graph\Beta\Generated.models.containsTransformation::|public|Serialize( Microsoft\Graph\Beta\Generated.models.containsTransformation::|public|setOutput(value?:TransformationAttribute):void Microsoft\Graph\Beta\Generated.models.containsTransformation::|public|setValue(value?:string):void Microsoft\Graph\Beta\Generated.models.containsTransformation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContainsTransformation +Microsoft\Graph\Beta\Generated.models.contentActivity-->Entity +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|getContentMetadata():ProcessContentRequest +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|getScopeIdentifier():string +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|getUserId():string +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|setContentMetadata(value?:ProcessContentRequest):void +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|setScopeIdentifier(value?:string):void +Microsoft\Graph\Beta\Generated.models.contentActivity::|public|setUserId(value?:string):void +Microsoft\Graph\Beta\Generated.models.contentActivity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentActivity +Microsoft\Graph\Beta\Generated.models.contentActivityCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.contentActivityCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.contentActivityCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.contentActivityCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.contentActivityCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.contentActivityCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.contentActivityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentActivityCollectionResponse Microsoft\Graph\Beta\Generated.models.contentAlignment::0000-left Microsoft\Graph\Beta\Generated.models.contentAlignment::0001-right Microsoft\Graph\Beta\Generated.models.contentAlignment::0002-center @@ -203043,6 +203076,17 @@ Microsoft\Graph\Beta\Generated.models.contentApprovalStatusColumn::|public|setBa Microsoft\Graph\Beta\Generated.models.contentApprovalStatusColumn::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.contentApprovalStatusColumn::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentApprovalStatusColumn Microsoft\Graph\Beta\Generated.models.contentApprovalStatusColumn~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.contentBase::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.contentBase::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.contentBase::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.contentBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.contentBase::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.contentBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.contentBase::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.contentBase::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.contentBase::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.contentBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentBase +Microsoft\Graph\Beta\Generated.models.contentBase~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.contentClassification::|public|constructor():void Microsoft\Graph\Beta\Generated.models.contentClassification::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.contentClassification::|public|getBackingStore():BackingStore @@ -203170,6 +203214,9 @@ Microsoft\Graph\Beta\Generated.models.contentModelUsage::|public|setModelVersion Microsoft\Graph\Beta\Generated.models.contentModelUsage::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.contentModelUsage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ContentModelUsage Microsoft\Graph\Beta\Generated.models.contentModelUsage~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.contentProcessingErrorType::0000-transient +Microsoft\Graph\Beta\Generated.models.contentProcessingErrorType::0001-permanent +Microsoft\Graph\Beta\Generated.models.contentProcessingErrorType::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.contentProperties::|public|constructor():void Microsoft\Graph\Beta\Generated.models.contentProperties::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.contentProperties::|public|getBackingStore():BackingStore @@ -203516,9 +203563,11 @@ Microsoft\Graph\Beta\Generated.models.copilotAdminSetting::|public|setLimitedMod Microsoft\Graph\Beta\Generated.models.copilotAdminSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotAdminSetting Microsoft\Graph\Beta\Generated.models.copilotPeopleAdminSetting-->Entity Microsoft\Graph\Beta\Generated.models.copilotPeopleAdminSetting::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.copilotPeopleAdminSetting::|public|getEnhancedPersonalization():EnhancedPersonalizationSetting Microsoft\Graph\Beta\Generated.models.copilotPeopleAdminSetting::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.copilotPeopleAdminSetting::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.copilotPeopleAdminSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.copilotPeopleAdminSetting::|public|setEnhancedPersonalization(value?:EnhancedPersonalizationSetting):void Microsoft\Graph\Beta\Generated.models.copilotPeopleAdminSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CopilotPeopleAdminSetting Microsoft\Graph\Beta\Generated.models.copilotSetting-->Entity Microsoft\Graph\Beta\Generated.models.copilotSetting::|public|constructor():void @@ -203606,21 +203655,6 @@ Microsoft\Graph\Beta\Generated.models.corsConfiguration_v2::|public|setMaxAgeInS Microsoft\Graph\Beta\Generated.models.corsConfiguration_v2::|public|setResource(value?:string):void Microsoft\Graph\Beta\Generated.models.corsConfiguration_v2::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CorsConfiguration_v2 Microsoft\Graph\Beta\Generated.models.corsConfiguration~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.countryLookupMethodType::0000-clientIpAddress -Microsoft\Graph\Beta\Generated.models.countryLookupMethodType::0001-authenticatorAppGps -Microsoft\Graph\Beta\Generated.models.countryLookupMethodType::0002-unknownFutureValue -Microsoft\Graph\Beta\Generated.models.countryNamedLocation-->NamedLocation -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|getCountriesAndRegions():array -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|getCountryLookupMethod():CountryLookupMethodType -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|getIncludeUnknownCountriesAndRegions():bool -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|setCountriesAndRegions(value?:array):void -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|setCountryLookupMethod(value?:CountryLookupMethodType):void -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|public|setIncludeUnknownCountriesAndRegions(value?:bool):void -Microsoft\Graph\Beta\Generated.models.countryNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CountryNamedLocation Microsoft\Graph\Beta\Generated.models.countryRegion::|public|constructor():void Microsoft\Graph\Beta\Generated.models.countryRegion::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.countryRegion::|public|getAddressFormat():string @@ -204603,6 +204637,12 @@ Microsoft\Graph\Beta\Generated.models.customExtensionStageSettingCollectionRespo Microsoft\Graph\Beta\Generated.models.customExtensionStageSettingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.customExtensionStageSettingCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.customExtensionStageSettingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomExtensionStageSettingCollectionResponse +Microsoft\Graph\Beta\Generated.models.customMetadataDictionary-->Dictionary +Microsoft\Graph\Beta\Generated.models.customMetadataDictionary::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.customMetadataDictionary::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.customMetadataDictionary::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.customMetadataDictionary::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.customMetadataDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):CustomMetadataDictionary Microsoft\Graph\Beta\Generated.models.customQuestionAnswer-->Entity Microsoft\Graph\Beta\Generated.models.customQuestionAnswer::|public|constructor():void Microsoft\Graph\Beta\Generated.models.customQuestionAnswer::|public|getDisplayName():string @@ -204923,6 +204963,14 @@ Microsoft\Graph\Beta\Generated.models.dataProcessorServiceForWindowsFeaturesOnbo Microsoft\Graph\Beta\Generated.models.dataProcessorServiceForWindowsFeaturesOnboarding::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.dataProcessorServiceForWindowsFeaturesOnboarding::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DataProcessorServiceForWindowsFeaturesOnboarding Microsoft\Graph\Beta\Generated.models.dataProcessorServiceForWindowsFeaturesOnboarding~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.dataSecurityAndGovernance-->Entity +Microsoft\Graph\Beta\Generated.models.dataSecurityAndGovernance::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.dataSecurityAndGovernance::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.dataSecurityAndGovernance::|public|getSensitivityLabels():array +Microsoft\Graph\Beta\Generated.models.dataSecurityAndGovernance::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.dataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.dataSecurityAndGovernance::|public|setSensitivityLabels(value?:array):void +Microsoft\Graph\Beta\Generated.models.dataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DataSecurityAndGovernance Microsoft\Graph\Beta\Generated.models.dataSharingConsent-->Entity Microsoft\Graph\Beta\Generated.models.dataSharingConsent::|public|constructor():void Microsoft\Graph\Beta\Generated.models.dataSharingConsent::|public|GetFieldDeserializers():array @@ -205634,6 +205682,13 @@ Microsoft\Graph\Beta\Generated.models.delegationSettings::|public|setAllowedActi Microsoft\Graph\Beta\Generated.models.delegationSettings::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Beta\Generated.models.delegationSettings::|public|setIsActive(value?:bool):void Microsoft\Graph\Beta\Generated.models.delegationSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DelegationSettings +Microsoft\Graph\Beta\Generated.models.delegationSettingsCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.delegationSettingsCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.delegationSettingsCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.delegationSettingsCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.delegationSettingsCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.delegationSettingsCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.delegationSettingsCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DelegationSettingsCollectionResponse Microsoft\Graph\Beta\Generated.models.deleteAction::|public|constructor():void Microsoft\Graph\Beta\Generated.models.deleteAction::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.deleteAction::|public|getBackingStore():BackingStore @@ -208415,75 +208470,6 @@ Microsoft\Graph\Beta\Generated.models.deviceHealthScriptTimeSchedule::|static|pu Microsoft\Graph\Beta\Generated.models.deviceHealthScriptType::0000-deviceHealthScript Microsoft\Graph\Beta\Generated.models.deviceHealthScriptType::0001-managedInstallerScript Microsoft\Graph\Beta\Generated.models.deviceHealth~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getAdditionalData():array -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getBackingStore():BackingStore -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getDeviceId():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getDisplayName():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getEnrollmentProfileName():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute1():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute10():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute11():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute12():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute13():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute14():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute15():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute2():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute3():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute4():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute5():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute6():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute7():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute8():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getExtensionAttribute9():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getIsCompliant():bool -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getManufacturer():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getMdmAppId():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getModel():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getOdataType():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getOperatingSystem():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getOperatingSystemVersion():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getOwnership():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getPhysicalIds():array -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getProfileType():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getSystemLabels():array -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|getTrustType():string -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setDeviceId(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setDisplayName(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setEnrollmentProfileName(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute1(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute10(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute11(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute12(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute13(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute14(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute15(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute2(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute3(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute4(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute5(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute6(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute7(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute8(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setExtensionAttribute9(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setIsCompliant(value?:bool):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setManufacturer(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setMdmAppId(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setModel(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setOdataType(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setOperatingSystem(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setOperatingSystemVersion(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setOwnership(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setPhysicalIds(value?:array):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setProfileType(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setSystemLabels(value?:array):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|public|setTrustType(value?:string):void -Microsoft\Graph\Beta\Generated.models.deviceInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):DeviceInfo -Microsoft\Graph\Beta\Generated.models.deviceInfo~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.deviceInstallState-->Entity Microsoft\Graph\Beta\Generated.models.deviceInstallState::|public|constructor():void Microsoft\Graph\Beta\Generated.models.deviceInstallState::|public|getDeviceId():string @@ -214132,6 +214118,89 @@ Microsoft\Graph\Beta\Generated.models.educationAddToCalendarOptions::0001-studen Microsoft\Graph\Beta\Generated.models.educationAddToCalendarOptions::0002-studentsAndTeamOwners Microsoft\Graph\Beta\Generated.models.educationAddToCalendarOptions::0003-unknownFutureValue Microsoft\Graph\Beta\Generated.models.educationAddToCalendarOptions::0004-studentsOnly +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|getAreEngagementStrategiesEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|getIsCallToActionEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|getIsEmotionalAndIntellectualAppealEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|setAreEngagementStrategiesEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|setIsCallToActionEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|setIsEmotionalAndIntellectualAppealEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAiFeedbackAudienceEngagementSettings +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackAudienceEngagementSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|getIsMessageClarityEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|getIsQualityOfInformationEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|getIsSpeechOrganizationEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|setIsMessageClarityEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|setIsQualityOfInformationEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|setIsSpeechOrganizationEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAiFeedbackContentSettings +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackContentSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|getAiFeedbackSettings():EducationAiFeedbackSettings +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|getSpeechType():EducationSpeechType +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|setAiFeedbackSettings(value?:EducationAiFeedbackSettings):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|public|setSpeechType(value?:EducationSpeechType):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAiFeedbackCriteria +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackCriteria~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|getAreRhetoricalTechniquesEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|getIsLanguageUseEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|getIsStyleEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|setAreRhetoricalTechniquesEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|setIsLanguageUseEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|setIsStyleEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAiFeedbackDeliverySettings +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackDeliverySettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|getAudienceEngagementSettings():EducationAiFeedbackAudienceEngagementSettings +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|getContentSettings():EducationAiFeedbackContentSettings +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|getDeliverySettings():EducationAiFeedbackDeliverySettings +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|setAudienceEngagementSettings(value?:EducationAiFeedbackAudienceEngagementSettings):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|setContentSettings(value?:EducationAiFeedbackContentSettings):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|setDeliverySettings(value?:EducationAiFeedbackDeliverySettings):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationAiFeedbackSettings +Microsoft\Graph\Beta\Generated.models.educationAiFeedbackSettings~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.educationalActivity-->ItemFacet Microsoft\Graph\Beta\Generated.models.educationalActivity::|public|constructor():void Microsoft\Graph\Beta\Generated.models.educationalActivity::|public|getCompletionMonthYear():Date @@ -214886,6 +214955,98 @@ Microsoft\Graph\Beta\Generated.models.educationSchoolCollectionResponse::|public Microsoft\Graph\Beta\Generated.models.educationSchoolCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.educationSchoolCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.educationSchoolCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationSchoolCollectionResponse +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|getIsBodyLanguageEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|setIsBodyLanguageEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationSpeakerCoachAudienceEngagementSettings +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachAudienceEngagementSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|getIsInclusivenessEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|getIsRepetitiveLanguageEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|setIsInclusivenessEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|setIsRepetitiveLanguageEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationSpeakerCoachContentSettings +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachContentSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|getAreFillerWordsEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|getIsPaceEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|getIsPitchEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|getIsPronunciationEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|setAreFillerWordsEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|setIsPaceEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|setIsPitchEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|setIsPronunciationEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationSpeakerCoachDeliverySettings +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachDeliverySettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|getAudienceEngagementSettings():EducationSpeakerCoachAudienceEngagementSettings +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|getContentSettings():EducationSpeakerCoachContentSettings +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|getDeliverySettings():EducationSpeakerCoachDeliverySettings +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|setAudienceEngagementSettings(value?:EducationSpeakerCoachAudienceEngagementSettings):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|setContentSettings(value?:EducationSpeakerCoachContentSettings):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|setDeliverySettings(value?:EducationSpeakerCoachDeliverySettings):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationSpeakerCoachSettings +Microsoft\Graph\Beta\Generated.models.educationSpeakerCoachSettings~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource-->EducationResource +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getAiFeedbackCriteria():EducationAiFeedbackCriteria +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getIsAiFeedbackEnabled():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getIsVideoRequired():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getMaxRecordingAttempts():int +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getPresentationTitle():string +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getRecordingTimeLimitInMinutes():int +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getShowRehearsalReportToStudentBeforeMediaUpload():bool +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getSpeakerCoachSettings():EducationSpeakerCoachSettings +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|getSpokenLanguageLocale():string +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setAiFeedbackCriteria(value?:EducationAiFeedbackCriteria):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setIsAiFeedbackEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setIsVideoRequired(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setMaxRecordingAttempts(value?:int):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setPresentationTitle(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setRecordingTimeLimitInMinutes(value?:int):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setShowRehearsalReportToStudentBeforeMediaUpload(value?:bool):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setSpeakerCoachSettings(value?:EducationSpeakerCoachSettings):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|public|setSpokenLanguageLocale(value?:string):void +Microsoft\Graph\Beta\Generated.models.educationSpeakerProgressResource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EducationSpeakerProgressResource +Microsoft\Graph\Beta\Generated.models.educationSpeechType::0000-informative +Microsoft\Graph\Beta\Generated.models.educationSpeechType::0001-personal +Microsoft\Graph\Beta\Generated.models.educationSpeechType::0002-persuasive +Microsoft\Graph\Beta\Generated.models.educationSpeechType::0003-unknownFutureValue Microsoft\Graph\Beta\Generated.models.educationStudent::|public|constructor():void Microsoft\Graph\Beta\Generated.models.educationStudent::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.educationStudent::|public|getBackingStore():BackingStore @@ -215849,6 +216010,16 @@ Microsoft\Graph\Beta\Generated.models.engagementUploadSession::|public|OdataType Microsoft\Graph\Beta\Generated.models.engagementUploadSession::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.engagementUploadSession::|public|setId(value?:string):void Microsoft\Graph\Beta\Generated.models.engagementUploadSession::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EngagementUploadSession +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting-->Entity +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|public|getDisabledForGroup():string +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|public|getIsEnabledInOrganization():bool +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|public|setDisabledForGroup(value?:string):void +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|public|setIsEnabledInOrganization(value?:bool):void +Microsoft\Graph\Beta\Generated.models.enhancedPersonalizationSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EnhancedPersonalizationSetting Microsoft\Graph\Beta\Generated.models.enrollmentAvailabilityOptions::0000-availableWithPrompts Microsoft\Graph\Beta\Generated.models.enrollmentAvailabilityOptions::0001-availableWithoutPrompts Microsoft\Graph\Beta\Generated.models.enrollmentAvailabilityOptions::0002-unavailable @@ -216197,6 +216368,11 @@ Microsoft\Graph\Beta\Generated.models.errorCode::0000-noError Microsoft\Graph\Beta\Generated.models.errorCode::0001-unauthorized Microsoft\Graph\Beta\Generated.models.errorCode::0002-notFound Microsoft\Graph\Beta\Generated.models.errorCode::0003-deleted +Microsoft\Graph\Beta\Generated.models.errorCorrectionLevel::0000-l +Microsoft\Graph\Beta\Generated.models.errorCorrectionLevel::0001-m +Microsoft\Graph\Beta\Generated.models.errorCorrectionLevel::0002-q +Microsoft\Graph\Beta\Generated.models.errorCorrectionLevel::0003-h +Microsoft\Graph\Beta\Generated.models.errorCorrectionLevel::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.EscapedList-->BaseItem Microsoft\Graph\Beta\Generated.models.EscapedList::|public|constructor():void Microsoft\Graph\Beta\Generated.models.EscapedList::|public|getActivities():array @@ -220438,6 +220614,7 @@ Microsoft\Graph\Beta\Generated.models.healthMonitoring.alertType::0001-mfaSignIn Microsoft\Graph\Beta\Generated.models.healthMonitoring.alertType::0002-managedDeviceSignInFailure Microsoft\Graph\Beta\Generated.models.healthMonitoring.alertType::0003-compliantDeviceSignInFailure Microsoft\Graph\Beta\Generated.models.healthMonitoring.alertType::0004-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.healthMonitoring.alertType::0005-conditionalAccessBlockedSignIn Microsoft\Graph\Beta\Generated.models.healthMonitoring.applicationImpactSummary-->DirectoryObjectImpactSummary Microsoft\Graph\Beta\Generated.models.healthMonitoring.applicationImpactSummary::|public|constructor():void Microsoft\Graph\Beta\Generated.models.healthMonitoring.applicationImpactSummary::|public|GetFieldDeserializers():array @@ -220557,6 +220734,7 @@ Microsoft\Graph\Beta\Generated.models.healthMonitoring.scenario::0000-unknown Microsoft\Graph\Beta\Generated.models.healthMonitoring.scenario::0001-mfa Microsoft\Graph\Beta\Generated.models.healthMonitoring.scenario::0002-devices Microsoft\Graph\Beta\Generated.models.healthMonitoring.scenario::0003-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.healthMonitoring.scenario::0004-conditionalAccess Microsoft\Graph\Beta\Generated.models.healthMonitoring.servicePrincipalImpactSummary-->DirectoryObjectImpactSummary Microsoft\Graph\Beta\Generated.models.healthMonitoring.servicePrincipalImpactSummary::|public|constructor():void Microsoft\Graph\Beta\Generated.models.healthMonitoring.servicePrincipalImpactSummary::|public|GetFieldDeserializers():array @@ -223301,11 +223479,6 @@ Microsoft\Graph\Beta\Generated.models.initiatorType::0003-unknownFutureValue Microsoft\Graph\Beta\Generated.models.inkAccessSetting::0000-notConfigured Microsoft\Graph\Beta\Generated.models.inkAccessSetting::0001-enabled Microsoft\Graph\Beta\Generated.models.inkAccessSetting::0002-disabled -Microsoft\Graph\Beta\Generated.models.insiderRiskLevel::0000-none -Microsoft\Graph\Beta\Generated.models.insiderRiskLevel::0001-minor -Microsoft\Graph\Beta\Generated.models.insiderRiskLevel::0002-moderate -Microsoft\Graph\Beta\Generated.models.insiderRiskLevel::0003-elevated -Microsoft\Graph\Beta\Generated.models.insiderRiskLevel::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.insightIdentity::|public|constructor():void Microsoft\Graph\Beta\Generated.models.insightIdentity::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.insightIdentity::|public|getAddress():string @@ -223430,6 +223603,21 @@ Microsoft\Graph\Beta\Generated.models.integerRange::|public|setOdataType(value?: Microsoft\Graph\Beta\Generated.models.integerRange::|public|setStart(value?:int):void Microsoft\Graph\Beta\Generated.models.integerRange::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IntegerRange Microsoft\Graph\Beta\Generated.models.integerRange~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|getName():string +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|getVersion():string +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|setName(value?:string):void +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|public|setVersion(value?:string):void +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IntegratedApplicationMetadata +Microsoft\Graph\Beta\Generated.models.integratedApplicationMetadata~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.intendedPurpose::0000-unassigned Microsoft\Graph\Beta\Generated.models.intendedPurpose::0001-smimeEncryption Microsoft\Graph\Beta\Generated.models.intendedPurpose::0002-smimeSigning @@ -225513,16 +225701,6 @@ Microsoft\Graph\Beta\Generated.models.ipCategory::|public|setOdataType(value?:st Microsoft\Graph\Beta\Generated.models.ipCategory::|public|setVendor(value?:string):void Microsoft\Graph\Beta\Generated.models.ipCategory::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IpCategory Microsoft\Graph\Beta\Generated.models.ipCategory~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.ipNamedLocation-->NamedLocation -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|public|getIpRanges():array -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|public|getIsTrusted():bool -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|public|setIpRanges(value?:array):void -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|public|setIsTrusted(value?:bool):void -Microsoft\Graph\Beta\Generated.models.ipNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):IpNamedLocation Microsoft\Graph\Beta\Generated.models.ipRange::|public|constructor():void Microsoft\Graph\Beta\Generated.models.ipRange::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.ipRange::|public|getBackingStore():BackingStore @@ -226357,6 +226535,7 @@ Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|constr Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|getCertificateBasedApplicationConfigurationIds():array +Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|getExcludeActors():AppManagementPolicyActorExemptions Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|getMaxLifetime():DateInterval Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|getOdataType():string @@ -226367,6 +226546,7 @@ Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|Serial Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|setCertificateBasedApplicationConfigurationIds(value?:array):void +Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|setExcludeActors(value?:AppManagementPolicyActorExemptions):void Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|setMaxLifetime(value?:DateInterval):void Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.keyCredentialConfiguration::|public|setRestrictForAppsCreatedAfterDateTime(value?:DateTime):void @@ -235236,25 +235416,6 @@ Microsoft\Graph\Beta\Generated.models.mutualTlsOauthConfigurationCollectionRespo Microsoft\Graph\Beta\Generated.models.mutualTlsOauthConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.mutualTlsOauthConfigurationCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.mutualTlsOauthConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MutualTlsOauthConfigurationCollectionResponse -Microsoft\Graph\Beta\Generated.models.namedLocation-->Entity -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|getCreatedDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|getDisplayName():string -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|getModifiedDateTime():DateTime -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|setCreatedDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|setDisplayName(value?:string):void -Microsoft\Graph\Beta\Generated.models.namedLocation::|public|setModifiedDateTime(value?:DateTime):void -Microsoft\Graph\Beta\Generated.models.namedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NamedLocation -Microsoft\Graph\Beta\Generated.models.namedLocationCollectionResponse-->BaseCollectionPaginationCountResponse -Microsoft\Graph\Beta\Generated.models.namedLocationCollectionResponse::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.namedLocationCollectionResponse::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.namedLocationCollectionResponse::|public|getValue():array -Microsoft\Graph\Beta\Generated.models.namedLocationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.namedLocationCollectionResponse::|public|setValue(value?:array):void -Microsoft\Graph\Beta\Generated.models.namedLocationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):NamedLocationCollectionResponse Microsoft\Graph\Beta\Generated.models.namePronunciationSettings-->Entity Microsoft\Graph\Beta\Generated.models.namePronunciationSettings::|public|constructor():void Microsoft\Graph\Beta\Generated.models.namePronunciationSettings::|public|GetFieldDeserializers():array @@ -235567,10 +235728,94 @@ Microsoft\Graph\Beta\Generated.models.networkaccess.conditionalAccessSettings::| Microsoft\Graph\Beta\Generated.models.networkaccess.conditionalAccessSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.networkaccess.conditionalAccessSettings::|public|setSignalingStatus(value?:Status):void Microsoft\Graph\Beta\Generated.models.networkaccess.conditionalAccessSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConditionalAccessSettings +Microsoft\Graph\Beta\Generated.models.networkaccess.connection-->Entity +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getAgentVersion():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getApplicationSnapshot():ApplicationSnapshot +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getDestinationFqdn():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getDestinationIp():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getDestinationPort():int +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getDeviceCategory():DeviceCategory +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getDeviceId():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getDeviceOperatingSystem():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getDeviceOperatingSystemVersion():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getEndDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getInitiatingProcessName():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getLastUpdateDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getNetworkProtocol():NetworkingProtocol +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getPopProcessingRegion():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getPrivateAccessDetails():PrivateAccessDetails +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getReceivedBytes():int +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getSentBytes():int +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getSourceIp():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getSourcePort():int +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getStatus():ConnectionStatus +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getTenantId():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getTrafficType():TrafficType +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getTransactionBlockCount():int +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getTransactionCount():int +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getTransportProtocol():NetworkingProtocol +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getUserId():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|getUserPrincipalName():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setAgentVersion(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setApplicationSnapshot(value?:ApplicationSnapshot):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setDestinationFqdn(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setDestinationIp(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setDestinationPort(value?:int):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setDeviceCategory(value?:DeviceCategory):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setDeviceId(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setDeviceOperatingSystem(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setDeviceOperatingSystemVersion(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setEndDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setInitiatingProcessName(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setLastUpdateDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setNetworkProtocol(value?:NetworkingProtocol):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setPopProcessingRegion(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setPrivateAccessDetails(value?:PrivateAccessDetails):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setReceivedBytes(value?:int):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setSentBytes(value?:int):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setSourceIp(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setSourcePort(value?:int):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setStatus(value?:ConnectionStatus):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setTenantId(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setTrafficType(value?:TrafficType):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setTransactionBlockCount(value?:int):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setTransactionCount(value?:int):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setTransportProtocol(value?:NetworkingProtocol):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setUserId(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|public|setUserPrincipalName(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connection::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Connection +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConnectionCollectionResponse Microsoft\Graph\Beta\Generated.models.networkaccess.connectionStatus::0000-open Microsoft\Graph\Beta\Generated.models.networkaccess.connectionStatus::0001-active Microsoft\Graph\Beta\Generated.models.networkaccess.connectionStatus::0002-closed Microsoft\Graph\Beta\Generated.models.networkaccess.connectionStatus::0003-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|getTotalCount():int +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|getTrafficType():TrafficType +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|setTotalCount(value?:int):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|public|setTrafficType(value?:TrafficType):void +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ConnectionSummary +Microsoft\Graph\Beta\Generated.models.networkaccess.connectionSummary~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.networkaccess.connectivity-->Entity Microsoft\Graph\Beta\Generated.models.networkaccess.connectivity::|public|constructor():void Microsoft\Graph\Beta\Generated.models.networkaccess.connectivity::|public|getBranches():array @@ -236149,11 +236394,13 @@ Microsoft\Graph\Beta\Generated.models.networkaccess.localConnectivityConfigurati Microsoft\Graph\Beta\Generated.models.networkaccess.localConnectivityConfiguration~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.networkaccess.logs-->Entity Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|getConnections():array Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|getRemoteNetworks():array Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|getTraffic():array Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|setConnections(value?:array):void Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|setRemoteNetworks(value?:array):void Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|public|setTraffic(value?:array):void Microsoft\Graph\Beta\Generated.models.networkaccess.logs::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Logs @@ -240829,9 +241076,11 @@ Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation-->E Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|public|constructor():void Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|public|getBilled():BilledReconciliation Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|public|getUnbilled():UnbilledReconciliation Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|public|setBilled(value?:BilledReconciliation):void +Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|public|setUnbilled(value?:UnbilledReconciliation):void Microsoft\Graph\Beta\Generated.models.partners.billing.billingReconciliation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):BillingReconciliation Microsoft\Graph\Beta\Generated.models.partners.billing.blob::|public|constructor():void Microsoft\Graph\Beta\Generated.models.partners.billing.blob::|public|getAdditionalData():array @@ -240922,6 +241171,12 @@ Microsoft\Graph\Beta\Generated.models.partners.billing.runningOperation::|public Microsoft\Graph\Beta\Generated.models.partners.billing.runningOperation::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.partners.billing.runningOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.partners.billing.runningOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RunningOperation +Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledReconciliation-->Entity +Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledReconciliation::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledReconciliation::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledReconciliation::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledReconciliation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledReconciliation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UnbilledReconciliation Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledUsage-->Entity Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledUsage::|public|constructor():void Microsoft\Graph\Beta\Generated.models.partners.billing.unbilledUsage::|public|GetFieldDeserializers():array @@ -240991,6 +241246,7 @@ Microsoft\Graph\Beta\Generated.models.passwordCredential::|static|public|CreateF Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|constructor():void Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|getExcludeActors():AppManagementPolicyActorExemptions Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|getMaxLifetime():DateInterval Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|getOdataType():string @@ -241000,6 +241256,7 @@ Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|g Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|setExcludeActors(value?:AppManagementPolicyActorExemptions):void Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|setMaxLifetime(value?:DateInterval):void Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.passwordCredentialConfiguration::|public|setRestrictForAppsCreatedAfterDateTime(value?:DateTime):void @@ -242679,6 +242936,7 @@ Microsoft\Graph\Beta\Generated.models.plannerContainerType::0003-project Microsoft\Graph\Beta\Generated.models.plannerContainerType::0004-driveItem Microsoft\Graph\Beta\Generated.models.plannerContainerType::0005-user Microsoft\Graph\Beta\Generated.models.plannerContainerType::0006-teamsChannel +Microsoft\Graph\Beta\Generated.models.plannerContainerType::0007-plannerTask Microsoft\Graph\Beta\Generated.models.plannerCreationSourceKind::0000-none Microsoft\Graph\Beta\Generated.models.plannerCreationSourceKind::0001-external Microsoft\Graph\Beta\Generated.models.plannerCreationSourceKind::0002-publication @@ -243490,6 +243748,37 @@ Microsoft\Graph\Beta\Generated.models.policyBase::|public|Serialize(writer:ISeri Microsoft\Graph\Beta\Generated.models.policyBase::|public|setDescription(value?:string):void Microsoft\Graph\Beta\Generated.models.policyBase::|public|setDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.policyBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyBase +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|getValue():string +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.policyLocation::|public|setValue(value?:string):void +Microsoft\Graph\Beta\Generated.models.policyLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyLocation +Microsoft\Graph\Beta\Generated.models.policyLocationApplication-->PolicyLocation +Microsoft\Graph\Beta\Generated.models.policyLocationApplication::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.policyLocationApplication::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.policyLocationApplication::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.policyLocationApplication::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.policyLocationApplication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyLocationApplication +Microsoft\Graph\Beta\Generated.models.policyLocationDomain-->PolicyLocation +Microsoft\Graph\Beta\Generated.models.policyLocationDomain::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.policyLocationDomain::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.policyLocationDomain::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.policyLocationDomain::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.policyLocationDomain::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyLocationDomain +Microsoft\Graph\Beta\Generated.models.policyLocationUrl-->PolicyLocation +Microsoft\Graph\Beta\Generated.models.policyLocationUrl::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.policyLocationUrl::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.policyLocationUrl::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.policyLocationUrl::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.policyLocationUrl::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyLocationUrl +Microsoft\Graph\Beta\Generated.models.policyLocation~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.policyPlatformType::0000-android Microsoft\Graph\Beta\Generated.models.policyPlatformType::0001-androidForWork Microsoft\Graph\Beta\Generated.models.policyPlatformType::0002-iOS @@ -243513,7 +243802,6 @@ Microsoft\Graph\Beta\Generated.models.policyRoot::|public|getAuthenticationStren Microsoft\Graph\Beta\Generated.models.policyRoot::|public|getAuthorizationPolicy():array Microsoft\Graph\Beta\Generated.models.policyRoot::|public|getB2cAuthenticationMethodsPolicy():B2cAuthenticationMethodsPolicy Microsoft\Graph\Beta\Generated.models.policyRoot::|public|getClaimsMappingPolicies():array -Microsoft\Graph\Beta\Generated.models.policyRoot::|public|getConditionalAccessPolicies():array Microsoft\Graph\Beta\Generated.models.policyRoot::|public|getCrossTenantAccessPolicy():CrossTenantAccessPolicy Microsoft\Graph\Beta\Generated.models.policyRoot::|public|getDefaultAppManagementPolicy():TenantAppManagementPolicy Microsoft\Graph\Beta\Generated.models.policyRoot::|public|getDeviceRegistrationPolicy():DeviceRegistrationPolicy @@ -243545,7 +243833,6 @@ Microsoft\Graph\Beta\Generated.models.policyRoot::|public|setAuthenticationStren Microsoft\Graph\Beta\Generated.models.policyRoot::|public|setAuthorizationPolicy(value?:array):void Microsoft\Graph\Beta\Generated.models.policyRoot::|public|setB2cAuthenticationMethodsPolicy(value?:B2cAuthenticationMethodsPolicy):void Microsoft\Graph\Beta\Generated.models.policyRoot::|public|setClaimsMappingPolicies(value?:array):void -Microsoft\Graph\Beta\Generated.models.policyRoot::|public|setConditionalAccessPolicies(value?:array):void Microsoft\Graph\Beta\Generated.models.policyRoot::|public|setCrossTenantAccessPolicy(value?:CrossTenantAccessPolicy):void Microsoft\Graph\Beta\Generated.models.policyRoot::|public|setDefaultAppManagementPolicy(value?:TenantAppManagementPolicy):void Microsoft\Graph\Beta\Generated.models.policyRoot::|public|setDeviceRegistrationPolicy(value?:DeviceRegistrationPolicy):void @@ -245872,16 +246159,6 @@ Microsoft\Graph\Beta\Generated.models.privateLinkDetails::|public|setPolicyTenan Microsoft\Graph\Beta\Generated.models.privateLinkDetails::|public|setResourceId(value?:string):void Microsoft\Graph\Beta\Generated.models.privateLinkDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PrivateLinkDetails Microsoft\Graph\Beta\Generated.models.privateLinkDetails~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation-->NamedLocation -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|public|getIsTrusted():bool -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|public|getPrivateLinkResourcePolicyIds():array -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|public|setIsTrusted(value?:bool):void -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|public|setPrivateLinkResourcePolicyIds(value?:array):void -Microsoft\Graph\Beta\Generated.models.privateLinkNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PrivateLinkNamedLocation Microsoft\Graph\Beta\Generated.models.privateNetworkDestinationType::0000-ipAddress Microsoft\Graph\Beta\Generated.models.privateNetworkDestinationType::0001-ipRange Microsoft\Graph\Beta\Generated.models.privateNetworkDestinationType::0002-ipRangeCidr @@ -246580,6 +246857,133 @@ Microsoft\Graph\Beta\Generated.models.process::|public|setParentProcessName(valu Microsoft\Graph\Beta\Generated.models.process::|public|setPath(value?:string):void Microsoft\Graph\Beta\Generated.models.process::|public|setProcessId(value?:int):void Microsoft\Graph\Beta\Generated.models.process::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Process +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|getContentToProcess():ProcessContentRequest +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|getRequestId():string +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|getUserId():string +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|setContentToProcess(value?:ProcessContentRequest):void +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|setRequestId(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|public|setUserId(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentBatchRequest +Microsoft\Graph\Beta\Generated.models.processContentBatchRequest~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getContent():ContentBase +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getCorrelationId():string +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getIdentifier():string +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getIsTruncated():bool +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getLength():int +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getModifiedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getName():string +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|getSequenceNumber():int +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setContent(value?:ContentBase):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setCorrelationId(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setIdentifier(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setIsTruncated(value?:bool):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setLength(value?:int):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setName(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|public|setSequenceNumber(value?:int):void +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentMetadataBase +Microsoft\Graph\Beta\Generated.models.processContentMetadataBase~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|getActivityMetadata():ActivityMetadata +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|getContentEntries():array +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|getIntegratedAppMetadata():IntegratedApplicationMetadata +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|getProtectedAppMetadata():ProtectedApplicationMetadata +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|setActivityMetadata(value?:ActivityMetadata):void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|setContentEntries(value?:array):void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|setIntegratedAppMetadata(value?:IntegratedApplicationMetadata):void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|public|setProtectedAppMetadata(value?:ProtectedApplicationMetadata):void +Microsoft\Graph\Beta\Generated.models.processContentRequest::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentRequest +Microsoft\Graph\Beta\Generated.models.processContentRequest~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|getPolicyActions():array +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|getProcessingErrors():array +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|getProtectionScopeState():ProtectionScopeState +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|setPolicyActions(value?:array):void +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|setProcessingErrors(value?:array):void +Microsoft\Graph\Beta\Generated.models.processContentResponse::|public|setProtectionScopeState(value?:ProtectionScopeState):void +Microsoft\Graph\Beta\Generated.models.processContentResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentResponse +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|getRequestId():string +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|getResults():ProcessContentResponse +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|setRequestId(value?:string):void +Microsoft\Graph\Beta\Generated.models.processContentResponses::|public|setResults(value?:ProcessContentResponse):void +Microsoft\Graph\Beta\Generated.models.processContentResponses::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentResponses +Microsoft\Graph\Beta\Generated.models.processContentResponses~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.processContentResponse~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.processConversationMetadata-->ProcessContentMetadataBase +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|getAccessedResources():array +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|getParentMessageId():string +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|getPlugins():array +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|setAccessedResources(value?:array):void +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|setParentMessageId(value?:string):void +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|public|setPlugins(value?:array):void +Microsoft\Graph\Beta\Generated.models.processConversationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessConversationMetadata +Microsoft\Graph\Beta\Generated.models.processFileMetadata-->ProcessContentMetadataBase +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|public|getCustomProperties():CustomMetadataDictionary +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|public|getOwnerId():string +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|public|setCustomProperties(value?:CustomMetadataDictionary):void +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|public|setOwnerId(value?:string):void +Microsoft\Graph\Beta\Generated.models.processFileMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessFileMetadata +Microsoft\Graph\Beta\Generated.models.processingError-->ClassificationError +Microsoft\Graph\Beta\Generated.models.processingError::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.processingError::|public|getErrorType():ContentProcessingErrorType +Microsoft\Graph\Beta\Generated.models.processingError::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.processingError::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.processingError::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.processingError::|public|setErrorType(value?:ContentProcessingErrorType):void +Microsoft\Graph\Beta\Generated.models.processingError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessingError Microsoft\Graph\Beta\Generated.models.processIntegrityLevel::0000-unknown Microsoft\Graph\Beta\Generated.models.processIntegrityLevel::0001-untrusted Microsoft\Graph\Beta\Generated.models.processIntegrityLevel::0002-low @@ -246685,10 +247089,14 @@ 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 Microsoft\Graph\Beta\Generated.models.profileSource::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.profileSource::|public|getKind():string +Microsoft\Graph\Beta\Generated.models.profileSource::|public|getSourceId():string Microsoft\Graph\Beta\Generated.models.profileSource::|public|getWebUrl():string Microsoft\Graph\Beta\Generated.models.profileSource::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.profileSource::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.profileSource::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.profileSource::|public|setKind(value?:string):void +Microsoft\Graph\Beta\Generated.models.profileSource::|public|setSourceId(value?:string):void Microsoft\Graph\Beta\Generated.models.profileSource::|public|setWebUrl(value?:string):void Microsoft\Graph\Beta\Generated.models.profileSource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProfileSource Microsoft\Graph\Beta\Generated.models.profileSourceAnnotation::|public|constructor():void @@ -246917,6 +247325,14 @@ Microsoft\Graph\Beta\Generated.models.protectDoNotForwardAction::|public|GetFiel Microsoft\Graph\Beta\Generated.models.protectDoNotForwardAction::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.protectDoNotForwardAction::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.protectDoNotForwardAction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProtectDoNotForwardAction +Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata-->IntegratedApplicationMetadata +Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata::|public|getApplicationLocation():PolicyLocation +Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.protectedApplicationMetadata::|public|OdataType:string +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.protectGroup-->LabelActionBase Microsoft\Graph\Beta\Generated.models.protectGroup::|public|constructor():void Microsoft\Graph\Beta\Generated.models.protectGroup::|public|getAllowEmailFromGuestUsers():bool @@ -246988,6 +247404,9 @@ Microsoft\Graph\Beta\Generated.models.protectionRuleStatus::0003-completedWithEr Microsoft\Graph\Beta\Generated.models.protectionRuleStatus::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.protectionRuleStatus::0005-updateRequested Microsoft\Graph\Beta\Generated.models.protectionRuleStatus::0006-deleteRequested +Microsoft\Graph\Beta\Generated.models.protectionScopeState::0000-notModified +Microsoft\Graph\Beta\Generated.models.protectionScopeState::0001-modified +Microsoft\Graph\Beta\Generated.models.protectionScopeState::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.protectionSource::0000-none Microsoft\Graph\Beta\Generated.models.protectionSource::0001-manual Microsoft\Graph\Beta\Generated.models.protectionSource::0002-dynamicRule @@ -247583,6 +248002,79 @@ Microsoft\Graph\Beta\Generated.models.purchaseInvoiceLineCollectionResponse::|pu Microsoft\Graph\Beta\Generated.models.purchaseInvoiceLineCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.purchaseInvoiceLineCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PurchaseInvoiceLineCollectionResponse Microsoft\Graph\Beta\Generated.models.purchaseInvoice~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.qrCode-->Entity +Microsoft\Graph\Beta\Generated.models.qrCode::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.qrCode::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.qrCode::|public|getExpireDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.qrCode::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.qrCode::|public|getImage():QrCodeImageDetails +Microsoft\Graph\Beta\Generated.models.qrCode::|public|getLastUsedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.qrCode::|public|getStartDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.qrCode::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.qrCode::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.qrCode::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.qrCode::|public|setExpireDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.qrCode::|public|setImage(value?:QrCodeImageDetails):void +Microsoft\Graph\Beta\Generated.models.qrCode::|public|setLastUsedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.qrCode::|public|setStartDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.qrCode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QrCode +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|getBinaryValue():StreamInterface +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|getErrorCorrectionLevel():ErrorCorrectionLevel +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|getRawContent():StreamInterface +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|getVersion():int +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|setBinaryValue(value?:StreamInterface):void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|setErrorCorrectionLevel(value?:ErrorCorrectionLevel):void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|setRawContent(value?:StreamInterface):void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|public|setVersion(value?:int):void +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QrCodeImageDetails +Microsoft\Graph\Beta\Generated.models.qrCodeImageDetails~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod-->AuthenticationMethod +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|getPin():QrPin +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|getStandardQRCode():QrCode +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|getTemporaryQRCode():QrCode +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|setPin(value?:QrPin):void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|setStandardQRCode(value?:QrCode):void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|public|setTemporaryQRCode(value?:QrCode):void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QrCodePinAuthenticationMethod +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|getIncludeTargets():array +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|getPinLength():int +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|getStandardQRCodeLifetimeInDays():int +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|setIncludeTargets(value?:array):void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|setPinLength(value?:int):void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|public|setStandardQRCodeLifetimeInDays(value?:int):void +Microsoft\Graph\Beta\Generated.models.qrCodePinAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QrCodePinAuthenticationMethodConfiguration +Microsoft\Graph\Beta\Generated.models.qrPin-->Entity +Microsoft\Graph\Beta\Generated.models.qrPin::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.qrPin::|public|getCode():string +Microsoft\Graph\Beta\Generated.models.qrPin::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.qrPin::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.qrPin::|public|getForceChangePinNextSignIn():bool +Microsoft\Graph\Beta\Generated.models.qrPin::|public|getUpdatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.qrPin::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.qrPin::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.qrPin::|public|setCode(value?:string):void +Microsoft\Graph\Beta\Generated.models.qrPin::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.qrPin::|public|setForceChangePinNextSignIn(value?:bool):void +Microsoft\Graph\Beta\Generated.models.qrPin::|public|setUpdatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.qrPin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):QrPin Microsoft\Graph\Beta\Generated.models.quarantineReason::0000-EncounteredBaseEscrowThreshold Microsoft\Graph\Beta\Generated.models.quarantineReason::0001-EncounteredTotalEscrowThreshold Microsoft\Graph\Beta\Generated.models.quarantineReason::0002-EncounteredEscrowProportionThreshold @@ -260559,10 +261051,12 @@ Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getApplicableTo( 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|getColor():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getDescription():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getDisplayName():string Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|GetFieldDeserializers():array 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|getLabelActions():array Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|getName():string @@ -260575,9 +261069,11 @@ Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setApplicableTo( 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|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|setLabelActions(value?:array):void Microsoft\Graph\Beta\Generated.models.sensitivityLabel::|public|setName(value?:string):void @@ -261298,14 +261794,6 @@ Microsoft\Graph\Beta\Generated.models.servicePrincipalSignInActivityCollectionRe Microsoft\Graph\Beta\Generated.models.servicePrincipalSignInActivityCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.servicePrincipalSignInActivityCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.servicePrincipalSignInActivityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ServicePrincipalSignInActivityCollectionResponse -Microsoft\Graph\Beta\Generated.models.servicePrincipalSubject-->ConditionalAccessWhatIfSubject -Microsoft\Graph\Beta\Generated.models.servicePrincipalSubject::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.servicePrincipalSubject::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.servicePrincipalSubject::|public|getServicePrincipalId():string -Microsoft\Graph\Beta\Generated.models.servicePrincipalSubject::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.servicePrincipalSubject::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.servicePrincipalSubject::|public|setServicePrincipalId(value?:string):void -Microsoft\Graph\Beta\Generated.models.servicePrincipalSubject::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ServicePrincipalSubject Microsoft\Graph\Beta\Generated.models.serviceProvisioningError::|public|constructor():void Microsoft\Graph\Beta\Generated.models.serviceProvisioningError::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.serviceProvisioningError::|public|getBackingStore():BackingStore @@ -261414,16 +261902,6 @@ Microsoft\Graph\Beta\Generated.models.serviceStorageQuotaBreakdownCollectionResp Microsoft\Graph\Beta\Generated.models.serviceStorageQuotaBreakdownCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.serviceStorageQuotaBreakdownCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.serviceStorageQuotaBreakdownCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ServiceStorageQuotaBreakdownCollectionResponse -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation-->NamedLocation -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|public|getIsTrusted():bool -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|public|getServiceTags():array -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|public|setIsTrusted(value?:bool):void -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|public|setServiceTags(value?:array):void -Microsoft\Graph\Beta\Generated.models.serviceTagNamedLocation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ServiceTagNamedLocation Microsoft\Graph\Beta\Generated.models.serviceUpdateCategory::0000-preventOrFixIssue Microsoft\Graph\Beta\Generated.models.serviceUpdateCategory::0001-planForChange Microsoft\Graph\Beta\Generated.models.serviceUpdateCategory::0002-stayInformed @@ -265227,13 +265705,78 @@ Microsoft\Graph\Beta\Generated.models.teamRenamedEventMessageDetail::|public|set Microsoft\Graph\Beta\Generated.models.teamRenamedEventMessageDetail::|public|setTeamDisplayName(value?:string):void Microsoft\Graph\Beta\Generated.models.teamRenamedEventMessageDetail::|public|setTeamId(value?:string):void Microsoft\Graph\Beta\Generated.models.teamRenamedEventMessageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamRenamedEventMessageDetail +Microsoft\Graph\Beta\Generated.models.teamsAdministration.accountType::0000-user +Microsoft\Graph\Beta\Generated.models.teamsAdministration.accountType::0001-resourceAccount +Microsoft\Graph\Beta\Generated.models.teamsAdministration.accountType::0002-guest +Microsoft\Graph\Beta\Generated.models.teamsAdministration.accountType::0003-sfbOnPremUser +Microsoft\Graph\Beta\Generated.models.teamsAdministration.accountType::0004-unknown +Microsoft\Graph\Beta\Generated.models.teamsAdministration.accountType::0005-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.teamsAdministration.accountType::0006-ineligibleUser +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getAssignmentCategory():AssignmentCategory +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|getTelephoneNumber():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setAssignmentCategory(value?:AssignmentCategory):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|public|setTelephoneNumber(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AssignedTelephoneNumber +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignedTelephoneNumber~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignmentCategory::0000-primary +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignmentCategory::0001-private +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignmentCategory::0002-alternate +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignmentCategory::0003-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignmentType::0000-direct +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignmentType::0001-group +Microsoft\Graph\Beta\Generated.models.teamsAdministration.assignmentType::0002-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getPolicyAssignment():PolicyAssignment +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|getPolicyType():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setPolicyAssignment(value?:PolicyAssignment):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|public|setPolicyType(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EffectivePolicyAssignment +Microsoft\Graph\Beta\Generated.models.teamsAdministration.effectivePolicyAssignment~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|getAssignmentType():AssignmentType +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|getDisplayName():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|getGroupId():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|getOdataType():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|getPolicyId():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|setAssignmentType(value?:AssignmentType):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|setDisplayName(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|setGroupId(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|setOdataType(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|public|setPolicyId(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyAssignment +Microsoft\Graph\Beta\Generated.models.teamsAdministration.policyAssignment~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot-->Entity Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|public|constructor():void Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|public|GetFieldDeserializers():array Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|public|getPolicy():TeamsPolicyAssignment +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|public|getUserConfigurations():array Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|public|setPolicy(value?:TeamsPolicyAssignment):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|public|setUserConfigurations(value?:array):void Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsAdminRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsAdminRoot Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsPolicyAssignment-->Entity Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|constructor():void @@ -265241,6 +265784,39 @@ Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsPolicyAssignment: Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsPolicyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsPolicyAssignment +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration-->Entity +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getAccountType():AccountType +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getCreatedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getEffectivePolicyAssignments():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getFeatureTypes():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getIsEnterpriseVoiceEnabled():bool +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getModifiedDateTime():DateTime +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getTelephoneNumbers():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getTenantId():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getUser():User +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getUserPrincipalName():string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setAccountType(value?:AccountType):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setCreatedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setEffectivePolicyAssignments(value?:array):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setFeatureTypes(value?:array):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setIsEnterpriseVoiceEnabled(value?:bool):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setModifiedDateTime(value?:DateTime):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setTelephoneNumbers(value?:array):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setTenantId(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setUser(value?:User):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|public|setUserPrincipalName(value?:string):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsUserConfiguration +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.models.teamsAdministration.teamsUserConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsUserConfigurationCollectionResponse Microsoft\Graph\Beta\Generated.models.teamsApp-->Entity Microsoft\Graph\Beta\Generated.models.teamsApp::|public|constructor():void Microsoft\Graph\Beta\Generated.models.teamsApp::|public|getAppDefinitions():array @@ -266857,6 +267433,14 @@ Microsoft\Graph\Beta\Generated.models.tenantAttachRBACState::|public|setEnabled( Microsoft\Graph\Beta\Generated.models.tenantAttachRBACState::|public|setOdataType(value?:string):void Microsoft\Graph\Beta\Generated.models.tenantAttachRBACState::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantAttachRBACState Microsoft\Graph\Beta\Generated.models.tenantAttachRBACState~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance-->DataSecurityAndGovernance +Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|getProtectionScopes():TenantProtectionScopeContainer +Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|public|setProtectionScopes(value?:TenantProtectionScopeContainer):void +Microsoft\Graph\Beta\Generated.models.tenantDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantDataSecurityAndGovernance Microsoft\Graph\Beta\Generated.models.tenantInformation::|public|constructor():void Microsoft\Graph\Beta\Generated.models.tenantInformation::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.tenantInformation::|public|getBackingStore():BackingStore @@ -266876,6 +267460,12 @@ Microsoft\Graph\Beta\Generated.models.tenantInformation::|public|setOdataType(va Microsoft\Graph\Beta\Generated.models.tenantInformation::|public|setTenantId(value?:string):void Microsoft\Graph\Beta\Generated.models.tenantInformation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantInformation Microsoft\Graph\Beta\Generated.models.tenantInformation~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.tenantProtectionScopeContainer-->Entity +Microsoft\Graph\Beta\Generated.models.tenantProtectionScopeContainer::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.tenantProtectionScopeContainer::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.tenantProtectionScopeContainer::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.tenantProtectionScopeContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.tenantProtectionScopeContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TenantProtectionScopeContainer Microsoft\Graph\Beta\Generated.models.tenantReference::|public|constructor():void Microsoft\Graph\Beta\Generated.models.tenantReference::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.models.tenantReference::|public|getBackingStore():BackingStore @@ -267288,6 +267878,14 @@ Microsoft\Graph\Beta\Generated.models.textColumn::|public|setOdataType(value?:st Microsoft\Graph\Beta\Generated.models.textColumn::|public|setTextType(value?:string):void Microsoft\Graph\Beta\Generated.models.textColumn::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TextColumn Microsoft\Graph\Beta\Generated.models.textColumn~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.textContent-->ContentBase +Microsoft\Graph\Beta\Generated.models.textContent::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.textContent::|public|getData():string +Microsoft\Graph\Beta\Generated.models.textContent::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.textContent::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.textContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.textContent::|public|setData(value?:string):void +Microsoft\Graph\Beta\Generated.models.textContent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TextContent Microsoft\Graph\Beta\Generated.models.textWebPart-->WebPart Microsoft\Graph\Beta\Generated.models.textWebPart::|public|constructor():void Microsoft\Graph\Beta\Generated.models.textWebPart::|public|GetFieldDeserializers():array @@ -269751,6 +270349,7 @@ Microsoft\Graph\Beta\Generated.models.user::|public|getCloudClipboard():CloudCli Microsoft\Graph\Beta\Generated.models.user::|public|getCloudLicensing():UserCloudLicensing Microsoft\Graph\Beta\Generated.models.user::|public|getCloudPCs():array Microsoft\Graph\Beta\Generated.models.user::|public|getCloudRealtimeCommunicationInfo():CloudRealtimeCommunicationInfo +Microsoft\Graph\Beta\Generated.models.user::|public|getCommunications():UserCloudCommunication Microsoft\Graph\Beta\Generated.models.user::|public|getCompanyName():string Microsoft\Graph\Beta\Generated.models.user::|public|getConsentProvidedForMinor():string Microsoft\Graph\Beta\Generated.models.user::|public|getContactFolders():array @@ -269760,6 +270359,7 @@ Microsoft\Graph\Beta\Generated.models.user::|public|getCreatedDateTime():DateTim Microsoft\Graph\Beta\Generated.models.user::|public|getCreatedObjects():array Microsoft\Graph\Beta\Generated.models.user::|public|getCreationType():string Microsoft\Graph\Beta\Generated.models.user::|public|getCustomSecurityAttributes():CustomSecurityAttributeValue +Microsoft\Graph\Beta\Generated.models.user::|public|getDataSecurityAndGovernance():UserDataSecurityAndGovernance Microsoft\Graph\Beta\Generated.models.user::|public|getDepartment():string Microsoft\Graph\Beta\Generated.models.user::|public|getDeviceEnrollmentConfigurations():array Microsoft\Graph\Beta\Generated.models.user::|public|getDeviceEnrollmentLimit():int @@ -269911,6 +270511,7 @@ Microsoft\Graph\Beta\Generated.models.user::|public|setCloudClipboard(value?:Clo Microsoft\Graph\Beta\Generated.models.user::|public|setCloudLicensing(value?:UserCloudLicensing):void Microsoft\Graph\Beta\Generated.models.user::|public|setCloudPCs(value?:array):void Microsoft\Graph\Beta\Generated.models.user::|public|setCloudRealtimeCommunicationInfo(value?:CloudRealtimeCommunicationInfo):void +Microsoft\Graph\Beta\Generated.models.user::|public|setCommunications(value?:UserCloudCommunication):void Microsoft\Graph\Beta\Generated.models.user::|public|setCompanyName(value?:string):void Microsoft\Graph\Beta\Generated.models.user::|public|setConsentProvidedForMinor(value?:string):void Microsoft\Graph\Beta\Generated.models.user::|public|setContactFolders(value?:array):void @@ -269920,6 +270521,7 @@ Microsoft\Graph\Beta\Generated.models.user::|public|setCreatedDateTime(value?:Da Microsoft\Graph\Beta\Generated.models.user::|public|setCreatedObjects(value?:array):void Microsoft\Graph\Beta\Generated.models.user::|public|setCreationType(value?:string):void Microsoft\Graph\Beta\Generated.models.user::|public|setCustomSecurityAttributes(value?:CustomSecurityAttributeValue):void +Microsoft\Graph\Beta\Generated.models.user::|public|setDataSecurityAndGovernance(value?:UserDataSecurityAndGovernance):void Microsoft\Graph\Beta\Generated.models.user::|public|setDepartment(value?:string):void Microsoft\Graph\Beta\Generated.models.user::|public|setDeviceEnrollmentConfigurations(value?:array):void Microsoft\Graph\Beta\Generated.models.user::|public|setDeviceEnrollmentLimit(value?:int):void @@ -270092,9 +270694,6 @@ Microsoft\Graph\Beta\Generated.models.userAccountSecurityType::0002-power Microsoft\Graph\Beta\Generated.models.userAccountSecurityType::0003-administrator Microsoft\Graph\Beta\Generated.models.userAccountSecurityType::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.userAccount~~>AdditionalDataHolder; BackedModel; Parsable -Microsoft\Graph\Beta\Generated.models.userAction::0000-registerSecurityInformation -Microsoft\Graph\Beta\Generated.models.userAction::0001-registerOrJoinDevices -Microsoft\Graph\Beta\Generated.models.userAction::0002-unknownFutureValue Microsoft\Graph\Beta\Generated.models.userActivity-->Entity Microsoft\Graph\Beta\Generated.models.userActivity::|public|constructor():void Microsoft\Graph\Beta\Generated.models.userActivity::|public|getActivationUrl():string @@ -270134,6 +270733,11 @@ Microsoft\Graph\Beta\Generated.models.userActivityCollectionResponse::|public|ge Microsoft\Graph\Beta\Generated.models.userActivityCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.userActivityCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.userActivityCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserActivityCollectionResponse +Microsoft\Graph\Beta\Generated.models.userActivityType::0000-uploadText +Microsoft\Graph\Beta\Generated.models.userActivityType::0001-uploadFile +Microsoft\Graph\Beta\Generated.models.userActivityType::0002-downloadText +Microsoft\Graph\Beta\Generated.models.userActivityType::0003-downloadFile +Microsoft\Graph\Beta\Generated.models.userActivityType::0004-unknownFutureValue Microsoft\Graph\Beta\Generated.models.userAnalytics-->Entity Microsoft\Graph\Beta\Generated.models.userAnalytics::|public|constructor():void Microsoft\Graph\Beta\Generated.models.userAnalytics::|public|getActivityStatistics():array @@ -270181,6 +270785,14 @@ Microsoft\Graph\Beta\Generated.models.userAttributeValuesItem::|public|setOdataT Microsoft\Graph\Beta\Generated.models.userAttributeValuesItem::|public|setValue(value?:string):void Microsoft\Graph\Beta\Generated.models.userAttributeValuesItem::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserAttributeValuesItem Microsoft\Graph\Beta\Generated.models.userAttributeValuesItem~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.userCloudCommunication-->Entity +Microsoft\Graph\Beta\Generated.models.userCloudCommunication::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.userCloudCommunication::|public|getCallSettings():CallSettings +Microsoft\Graph\Beta\Generated.models.userCloudCommunication::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.userCloudCommunication::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.userCloudCommunication::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.userCloudCommunication::|public|setCallSettings(value?:CallSettings):void +Microsoft\Graph\Beta\Generated.models.userCloudCommunication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserCloudCommunication Microsoft\Graph\Beta\Generated.models.userCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Beta\Generated.models.userCollectionResponse::|public|constructor():void Microsoft\Graph\Beta\Generated.models.userCollectionResponse::|public|GetFieldDeserializers():array @@ -270266,6 +270878,16 @@ Microsoft\Graph\Beta\Generated.models.userCredentialUsageDetailsCollectionRespon Microsoft\Graph\Beta\Generated.models.userCredentialUsageDetailsCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.userCredentialUsageDetailsCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Beta\Generated.models.userCredentialUsageDetailsCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserCredentialUsageDetailsCollectionResponse +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance-->DataSecurityAndGovernance +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|public|getActivities():ActivitiesContainer +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|public|getProtectionScopes():UserProtectionScopeContainer +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|public|setActivities(value?:ActivitiesContainer):void +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|public|setProtectionScopes(value?:UserProtectionScopeContainer):void +Microsoft\Graph\Beta\Generated.models.userDataSecurityAndGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserDataSecurityAndGovernance Microsoft\Graph\Beta\Generated.models.userDefaultAuthenticationMethod::0000-push Microsoft\Graph\Beta\Generated.models.userDefaultAuthenticationMethod::0001-oath Microsoft\Graph\Beta\Generated.models.userDefaultAuthenticationMethod::0002-voiceMobile @@ -272033,6 +272655,12 @@ Microsoft\Graph\Beta\Generated.models.userPrint::|public|setOdataType(value?:str Microsoft\Graph\Beta\Generated.models.userPrint::|public|setRecentPrinterShares(value?:array):void Microsoft\Graph\Beta\Generated.models.userPrint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserPrint Microsoft\Graph\Beta\Generated.models.userPrint~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.models.userProtectionScopeContainer-->Entity +Microsoft\Graph\Beta\Generated.models.userProtectionScopeContainer::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.userProtectionScopeContainer::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.userProtectionScopeContainer::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.userProtectionScopeContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.userProtectionScopeContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserProtectionScopeContainer Microsoft\Graph\Beta\Generated.models.userPurpose::0000-unknown Microsoft\Graph\Beta\Generated.models.userPurpose::0001-user Microsoft\Graph\Beta\Generated.models.userPurpose::0002-linked @@ -272430,18 +273058,6 @@ Microsoft\Graph\Beta\Generated.models.userStorage::|public|OdataType:string Microsoft\Graph\Beta\Generated.models.userStorage::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.userStorage::|public|setQuota(value?:UnifiedStorageQuota):void Microsoft\Graph\Beta\Generated.models.userStorage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserStorage -Microsoft\Graph\Beta\Generated.models.userSubject-->ConditionalAccessWhatIfSubject -Microsoft\Graph\Beta\Generated.models.userSubject::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.userSubject::|public|getExternalTenantId():string -Microsoft\Graph\Beta\Generated.models.userSubject::|public|getExternalUserType():ConditionalAccessGuestOrExternalUserTypes -Microsoft\Graph\Beta\Generated.models.userSubject::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.userSubject::|public|getUserId():string -Microsoft\Graph\Beta\Generated.models.userSubject::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.userSubject::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.userSubject::|public|setExternalTenantId(value?:string):void -Microsoft\Graph\Beta\Generated.models.userSubject::|public|setExternalUserType(value?:ConditionalAccessGuestOrExternalUserTypes):void -Microsoft\Graph\Beta\Generated.models.userSubject::|public|setUserId(value?:string):void -Microsoft\Graph\Beta\Generated.models.userSubject::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UserSubject Microsoft\Graph\Beta\Generated.models.userTeamwork-->Entity Microsoft\Graph\Beta\Generated.models.userTeamwork::|public|constructor():void Microsoft\Graph\Beta\Generated.models.userTeamwork::|public|getAssociatedTeams():array @@ -274115,30 +274731,6 @@ Microsoft\Graph\Beta\Generated.models.wellknownListName::0000-none Microsoft\Graph\Beta\Generated.models.wellknownListName::0001-defaultList Microsoft\Graph\Beta\Generated.models.wellknownListName::0002-flaggedEmails Microsoft\Graph\Beta\Generated.models.wellknownListName::0003-unknownFutureValue -Microsoft\Graph\Beta\Generated.models.whatIfApplicationContext-->ConditionalAccessContext -Microsoft\Graph\Beta\Generated.models.whatIfApplicationContext::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.whatIfApplicationContext::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.whatIfApplicationContext::|public|getIncludeApplications():array -Microsoft\Graph\Beta\Generated.models.whatIfApplicationContext::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.whatIfApplicationContext::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.whatIfApplicationContext::|public|setIncludeApplications(value?:array):void -Microsoft\Graph\Beta\Generated.models.whatIfApplicationContext::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WhatIfApplicationContext -Microsoft\Graph\Beta\Generated.models.whatIfAuthenticationContext-->ConditionalAccessContext -Microsoft\Graph\Beta\Generated.models.whatIfAuthenticationContext::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.whatIfAuthenticationContext::|public|getAuthenticationContext():string -Microsoft\Graph\Beta\Generated.models.whatIfAuthenticationContext::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.whatIfAuthenticationContext::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.whatIfAuthenticationContext::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.whatIfAuthenticationContext::|public|setAuthenticationContext(value?:string):void -Microsoft\Graph\Beta\Generated.models.whatIfAuthenticationContext::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WhatIfAuthenticationContext -Microsoft\Graph\Beta\Generated.models.whatIfUserActionContext-->ConditionalAccessContext -Microsoft\Graph\Beta\Generated.models.whatIfUserActionContext::|public|constructor():void -Microsoft\Graph\Beta\Generated.models.whatIfUserActionContext::|public|GetFieldDeserializers():array -Microsoft\Graph\Beta\Generated.models.whatIfUserActionContext::|public|getUserAction():UserAction -Microsoft\Graph\Beta\Generated.models.whatIfUserActionContext::|public|OdataType:string -Microsoft\Graph\Beta\Generated.models.whatIfUserActionContext::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Beta\Generated.models.whatIfUserActionContext::|public|setUserAction(value?:UserAction):void -Microsoft\Graph\Beta\Generated.models.whatIfUserActionContext::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):WhatIfUserActionContext Microsoft\Graph\Beta\Generated.models.wiFiAuthenticationMethod::0000-certificate Microsoft\Graph\Beta\Generated.models.wiFiAuthenticationMethod::0001-usernameAndPassword Microsoft\Graph\Beta\Generated.models.wiFiAuthenticationMethod::0002-derivedCredential @@ -279962,6 +280554,16 @@ Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings:: Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings::|public|setDevicesPerOffer(value?:int):void Microsoft\Graph\Beta\Generated.models.windowsUpdates.rateDrivenRolloutSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RateDrivenRolloutSettings +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationType::0000-inPlaceUpgrade +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationType::0001-unknownFutureValue +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter-->WindowsUpdateFilter +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter::|public|constructor():void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter::|public|getRemediationType():RemediationType +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter::|public|OdataType:string +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter::|public|setRemediationType(value?:RemediationType):void +Microsoft\Graph\Beta\Generated.models.windowsUpdates.remediationUpdateFilter::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemediationUpdateFilter Microsoft\Graph\Beta\Generated.models.windowsUpdates.requestedDeploymentStateValue::0000-none Microsoft\Graph\Beta\Generated.models.windowsUpdates.requestedDeploymentStateValue::0001-paused Microsoft\Graph\Beta\Generated.models.windowsUpdates.requestedDeploymentStateValue::0002-archived @@ -283836,7 +284438,73 @@ Microsoft\Graph\Beta\Generated.networkAccess.forwardingProfiles.item.servicePrin Microsoft\Graph\Beta\Generated.networkAccess.forwardingProfiles.item.servicePrincipal.servicePrincipalRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ServicePrincipalRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.networkAccess.forwardingProfiles.item.servicePrincipal.servicePrincipalRequestBuilderGetRequestConfiguration::|public|queryParameters:ServicePrincipalRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.networkAccess.forwardingProfiles.item.servicePrincipal.servicePrincipalRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ServicePrincipalRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|ByConnectionId(connectionId:string):ConnectionItemRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|Get(requestConfiguration?:ConnectionsRequestBuilderGetRequestConfiguration):ConnectionCollectionResponse +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|Post(body:Connection; requestConfiguration?:ConnectionsRequestBuilderPostRequestConfiguration):Connection +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ConnectionsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|ToPostRequestInformation(body:Connection; requestConfiguration?:ConnectionsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.ConnectionsRequestBuilder::|public|WithUrl(rawUrl:string):ConnectionsRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ConnectionsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetRequestConfiguration::|public|queryParameters:ConnectionsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ConnectionsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.connectionsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|Delete(requestConfiguration?:ConnectionItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|Get(requestConfiguration?:ConnectionItemRequestBuilderGetRequestConfiguration):Connection +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|Patch(body:Connection; requestConfiguration?:ConnectionItemRequestBuilderPatchRequestConfiguration):Connection +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ConnectionItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ConnectionItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|ToPatchRequestInformation(body:Connection; requestConfiguration?:ConnectionItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilder::|public|WithUrl(rawUrl:string):ConnectionItemRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ConnectionItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ConnectionItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ConnectionItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.networkAccess.logs.connections.item.ConnectionItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.networkAccess.logs.LogsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.logs.LogsRequestBuilder::|public|connections:ConnectionsRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.logs.LogsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.networkAccess.logs.LogsRequestBuilder::|public|Delete(requestConfiguration?:LogsRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Beta\Generated.networkAccess.logs.LogsRequestBuilder::|public|Get(requestConfiguration?:LogsRequestBuilderGetRequestConfiguration):Logs @@ -284221,6 +284889,31 @@ Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccess Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; filter?:string; search?:string; skip?:int; top?:int):MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.getConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.getConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.getConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.getConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.getConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.getConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.getConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; endDateTime?:DateTime; startDateTime?:DateTime):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(requestConfiguration?:MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|constructor(count?:bool; filter?:string; search?:string; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; filter?:string; search?:string; skip?:int; top?:int):MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime.microsoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime.microsoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; discoveryPivotDateTime?:DateTime; endDateTime?:DateTime; startDateTime?:DateTime):void Microsoft\Graph\Beta\Generated.networkAccess.reports.microsoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime.microsoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder::|public|Get(requestConfiguration?:MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilderGetRequestConfiguration):CrossTenantSummary @@ -284404,6 +285097,7 @@ Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|pub Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime(discoveryPivotDateTime:DateTime; endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedBy(aggregatedBy:string; endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder Microsoft\Graph\Beta\Generated.networkAccess.reports.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime(activityPivotDateTime:DateTime; endDateTime:DateTime; startDateTime:DateTime):MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder @@ -289758,71 +290452,6 @@ Microsoft\Graph\Beta\Generated.policies.claimsMappingPolicies.item.ClaimsMapping Microsoft\Graph\Beta\Generated.policies.claimsMappingPolicies.item.ClaimsMappingPolicyItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ClaimsMappingPolicyItemRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.policies.claimsMappingPolicies.item.ClaimsMappingPolicyItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.policies.claimsMappingPolicies.item.ClaimsMappingPolicyItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|ByConditionalAccessPolicyId(conditionalAccessPolicyId:string):ConditionalAccessPolicyItemRequestBuilder -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|Count:CountRequestBuilder -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|Get(requestConfiguration?:ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration):ConditionalAccessPolicyCollectionResponse -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|Post(body:ConditionalAccessPolicy; requestConfiguration?:ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration):ConditionalAccessPolicy -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|ToPostRequestInformation(body:ConditionalAccessPolicy; requestConfiguration?:ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.ConditionalAccessPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):ConditionalAccessPoliciesRequestBuilder -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|count:bool -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|orderby:array -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|skip:int -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetQueryParameters::|public|top:int -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ConditionalAccessPoliciesRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetRequestConfiguration::|public|queryParameters:ConditionalAccessPoliciesRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ConditionalAccessPoliciesRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.conditionalAccessPoliciesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilderGetQueryParameters::|public|filter:string -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilderGetQueryParameters::|public|search:string -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder-->BaseRequestBuilder -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|Delete(requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|Get(requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration):ConditionalAccessPolicy -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|Patch(body:ConditionalAccessPolicy; requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration):ConditionalAccessPolicy -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|pathParameters:array -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|requestAdapter:RequestAdapter -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:ConditionalAccessPolicy; requestConfiguration?:ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration):RequestInformation -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|urlTemplate:string -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):ConditionalAccessPolicyItemRequestBuilder -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|expand:array -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters::|public|select:array -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ConditionalAccessPolicyItemRequestBuilderGetQueryParameters):void -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ConditionalAccessPolicyItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ConditionalAccessPolicyItemRequestBuilderGetQueryParameters -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration -Microsoft\Graph\Beta\Generated.policies.conditionalAccessPolicies.item.ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.policies.crossTenantAccessPolicy.CrossTenantAccessPolicyRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.policies.crossTenantAccessPolicy.CrossTenantAccessPolicyRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.policies.crossTenantAccessPolicy.CrossTenantAccessPolicyRequestBuilder::|public|Delete(requestConfiguration?:CrossTenantAccessPolicyRequestBuilderDeleteRequestConfiguration):void @@ -291123,7 +291752,6 @@ Microsoft\Graph\Beta\Generated.policies.PoliciesRequestBuilder::|public|authenti Microsoft\Graph\Beta\Generated.policies.PoliciesRequestBuilder::|public|authorizationPolicy:AuthorizationPolicyRequestBuilder Microsoft\Graph\Beta\Generated.policies.PoliciesRequestBuilder::|public|b2cAuthenticationMethodsPolicy:B2cAuthenticationMethodsPolicyRequestBuilder Microsoft\Graph\Beta\Generated.policies.PoliciesRequestBuilder::|public|claimsMappingPolicies:ClaimsMappingPoliciesRequestBuilder -Microsoft\Graph\Beta\Generated.policies.PoliciesRequestBuilder::|public|conditionalAccessPolicies:ConditionalAccessPoliciesRequestBuilder Microsoft\Graph\Beta\Generated.policies.PoliciesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.policies.PoliciesRequestBuilder::|public|crossTenantAccessPolicy:CrossTenantAccessPolicyRequestBuilder Microsoft\Graph\Beta\Generated.policies.PoliciesRequestBuilder::|public|defaultAppManagementPolicy:DefaultAppManagementPolicyRequestBuilder @@ -296078,6 +296706,22 @@ Microsoft\Graph\Beta\Generated.reports.deviceConfigurationUserActivity.DeviceCon Microsoft\Graph\Beta\Generated.reports.deviceConfigurationUserActivity.DeviceConfigurationUserActivityRequestBuilder::|public|WithUrl(rawUrl:string):DeviceConfigurationUserActivityRequestBuilder Microsoft\Graph\Beta\Generated.reports.deviceConfigurationUserActivity.deviceConfigurationUserActivityRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.reports.deviceConfigurationUserActivity.deviceConfigurationUserActivityRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder::|public|Get(requestConfiguration?:GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration):StreamInterface +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder::|public|WithUrl(rawUrl:string):GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters::|public|appId:string +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters::|public|constructor(appId?:string; period?:string; serviceArea?:string):void +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters::|public|period:string +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters::|public|serviceArea:string +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration::|public|queryParameters:GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.reports.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId.getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(appId?:string; period?:string; serviceArea?:string):GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.reports.getAttackSimulationRepeatOffenders.getAttackSimulationRepeatOffendersGetResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Beta\Generated.reports.getAttackSimulationRepeatOffenders.getAttackSimulationRepeatOffendersGetResponse::|public|constructor():void Microsoft\Graph\Beta\Generated.reports.getAttackSimulationRepeatOffenders.getAttackSimulationRepeatOffendersGetResponse::|public|GetFieldDeserializers():array @@ -298310,6 +298954,7 @@ Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.Reconcili Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ReconciliationRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ReconciliationRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|ToPatchRequestInformation(body:BillingReconciliation; requestConfiguration?:ReconciliationRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|unbilled:UnbilledRequestBuilder Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|urlTemplate:string Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.ReconciliationRequestBuilder::|public|WithUrl(rawUrl:string):ReconciliationRequestBuilder Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.reconciliationRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration @@ -298323,6 +298968,55 @@ Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.reconcili Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.reconciliationRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ReconciliationRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.reconciliationRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.reconciliationRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|getAttributeSet():AttributeSet +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|getBillingPeriod():BillingPeriod +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|getCurrencyCode():string +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|setAttributeSet(value?:AttributeSet):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|setBillingPeriod(value?:BillingPeriod):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|public|setCurrencyCode(value?:string):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExportPostRequestBody +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.exportPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|Post(body:ExportPostRequestBody; requestConfiguration?:MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration):Operation +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|ToPostRequestInformation(body:ExportPostRequestBody; requestConfiguration?:MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder::|public|WithUrl(rawUrl:string):MicrosoftGraphPartnersBillingExportRequestBuilder +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.microsoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|Delete(requestConfiguration?:UnbilledRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|Get(requestConfiguration?:UnbilledRequestBuilderGetRequestConfiguration):UnbilledReconciliation +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|microsoftGraphPartnersBillingExport:MicrosoftGraphPartnersBillingExportRequestBuilder +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|Patch(body:UnbilledReconciliation; requestConfiguration?:UnbilledRequestBuilderPatchRequestConfiguration):UnbilledReconciliation +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:UnbilledRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UnbilledRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|ToPatchRequestInformation(body:UnbilledReconciliation; requestConfiguration?:UnbilledRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.UnbilledRequestBuilder::|public|WithUrl(rawUrl:string):UnbilledRequestBuilder +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UnbilledRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderGetRequestConfiguration::|public|queryParameters:UnbilledRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):UnbilledRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.reports.partners.billing.reconciliation.unbilled.unbilledRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.reports.partners.billing.usage.billed.BilledRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.reports.partners.billing.usage.billed.BilledRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.reports.partners.billing.usage.billed.BilledRequestBuilder::|public|Delete(requestConfiguration?:BilledRequestBuilderDeleteRequestConfiguration):void @@ -298482,6 +299176,7 @@ Microsoft\Graph\Beta\Generated.reports.ReportsRequestBuilder::|public|dailyPrint Microsoft\Graph\Beta\Generated.reports.ReportsRequestBuilder::|public|deviceConfigurationDeviceActivity:DeviceConfigurationDeviceActivityRequestBuilder Microsoft\Graph\Beta\Generated.reports.ReportsRequestBuilder::|public|deviceConfigurationUserActivity:DeviceConfigurationUserActivityRequestBuilder Microsoft\Graph\Beta\Generated.reports.ReportsRequestBuilder::|public|Get(requestConfiguration?:ReportsRequestBuilderGetRequestConfiguration):ReportRoot +Microsoft\Graph\Beta\Generated.reports.ReportsRequestBuilder::|public|getApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppId:GetApiUsageserviceAreaServiceAreaPeriodPeriodAppIdAppIdRequestBuilder Microsoft\Graph\Beta\Generated.reports.ReportsRequestBuilder::|public|getAttackSimulationRepeatOffenders:GetAttackSimulationRepeatOffendersRequestBuilder Microsoft\Graph\Beta\Generated.reports.ReportsRequestBuilder::|public|getAttackSimulationSimulationUserCoverage:GetAttackSimulationSimulationUserCoverageRequestBuilder Microsoft\Graph\Beta\Generated.reports.ReportsRequestBuilder::|public|getAttackSimulationTrainingUserCoverage:GetAttackSimulationTrainingUserCoverageRequestBuilder @@ -299179,6 +299874,32 @@ Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMessageVolumeMetricsFo Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration::|public|queryParameters:GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(aggregationIntervalInMinutes?:int; count?:bool; filter?:string; search?:string; skip?:int; top?:int):GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; exclusiveIntervalEndDateTime?:DateTime; inclusiveIntervalStartDateTime?:DateTime):void +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder::|public|Get(requestConfiguration?:GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration):GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder::|public|WithUrl(rawUrl:string):GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters::|public|aggregationIntervalInMinutes:int +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters::|public|constructor(aggregationIntervalInMinutes?:int; count?:bool; filter?:string; search?:string; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration::|public|queryParameters:GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(aggregationIntervalInMinutes?:int; count?:bool; filter?:string; search?:string; skip?:int; top?:int):GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::|public|constructor():void Microsoft\Graph\Beta\Generated.reports.serviceActivity.getMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.getMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse::|public|GetFieldDeserializers():array @@ -299382,6 +300103,7 @@ Microsoft\Graph\Beta\Generated.reports.serviceActivity.ServiceActivityRequestBui Microsoft\Graph\Beta\Generated.reports.serviceActivity.ServiceActivityRequestBuilder::|public|getConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes(exclusiveIntervalEndDateTime:DateTime; inclusiveIntervalStartDateTime:DateTime):GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder Microsoft\Graph\Beta\Generated.reports.serviceActivity.ServiceActivityRequestBuilder::|public|getMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes(exclusiveIntervalEndDateTime:DateTime; inclusiveIntervalStartDateTime:DateTime):GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder Microsoft\Graph\Beta\Generated.reports.serviceActivity.ServiceActivityRequestBuilder::|public|getMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes(exclusiveIntervalEndDateTime:DateTime; inclusiveIntervalStartDateTime:DateTime):GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder +Microsoft\Graph\Beta\Generated.reports.serviceActivity.ServiceActivityRequestBuilder::|public|getMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes(exclusiveIntervalEndDateTime:DateTime; inclusiveIntervalStartDateTime:DateTime):GetMetricsForConditionalAccessBlockedSignInWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder Microsoft\Graph\Beta\Generated.reports.serviceActivity.ServiceActivityRequestBuilder::|public|getMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes(exclusiveIntervalEndDateTime:DateTime; inclusiveIntervalStartDateTime:DateTime):GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder Microsoft\Graph\Beta\Generated.reports.serviceActivity.ServiceActivityRequestBuilder::|public|getMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes(exclusiveIntervalEndDateTime:DateTime; inclusiveIntervalStartDateTime:DateTime):GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder Microsoft\Graph\Beta\Generated.reports.serviceActivity.ServiceActivityRequestBuilder::|public|getMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes(exclusiveIntervalEndDateTime:DateTime; inclusiveIntervalStartDateTime:DateTime):GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder @@ -313796,6 +314518,262 @@ Microsoft\Graph\Beta\Generated.security.dataDiscovery.dataDiscoveryRequestBuilde Microsoft\Graph\Beta\Generated.security.dataDiscovery.dataDiscoveryRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DataDiscoveryRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.security.dataDiscovery.dataDiscoveryRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.security.dataDiscovery.dataDiscoveryRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Delete(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Get(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):TenantDataSecurityAndGovernance +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Patch(body:TenantDataSecurityAndGovernance; requestConfiguration?:DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):TenantDataSecurityAndGovernance +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|processContentAsync:ProcessContentAsyncRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|protectionScopes:ProtectionScopesRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|sensitivityLabels:SensitivityLabelsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:TenantDataSecurityAndGovernance; requestConfiguration?:DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):DataSecurityAndGovernanceRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DataSecurityAndGovernanceRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|queryParameters:DataSecurityAndGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DataSecurityAndGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|getProcessContentRequests():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|public|setProcessContentRequests(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentAsyncPostRequestBody +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|constructor():void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|getValue():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentAsyncPostResponse +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|Post(body:ProcessContentAsyncPostRequestBody; requestConfiguration?:ProcessContentAsyncRequestBuilderPostRequestConfiguration):ProcessContentAsyncPostResponse +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|ToPostRequestInformation(body:ProcessContentAsyncPostRequestBody; requestConfiguration?:ProcessContentAsyncRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.ProcessContentAsyncRequestBuilder::|public|WithUrl(rawUrl:string):ProcessContentAsyncRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.processContentAsync.processContentAsyncRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Delete(requestConfiguration?:ProtectionScopesRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Get(requestConfiguration?:ProtectionScopesRequestBuilderGetRequestConfiguration):TenantProtectionScopeContainer +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Patch(body:TenantProtectionScopeContainer; requestConfiguration?:ProtectionScopesRequestBuilderPatchRequestConfiguration):TenantProtectionScopeContainer +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ProtectionScopesRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProtectionScopesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:TenantProtectionScopeContainer; requestConfiguration?:ProtectionScopesRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):ProtectionScopesRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProtectionScopesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|public|queryParameters:ProtectionScopesRequestBuilderGetQueryParameters +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.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 +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|getCurrentLabel():CurrentLabel +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|getDiscoveredSensitiveTypes():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|setCurrentLabel(value?:CurrentLabel):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|setDiscoveredSensitiveTypes(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EvaluatePostRequestBody +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|Post(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):EvaluateLabelJobResponse +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|ToPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|urlTemplate:string +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.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 +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Get(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):SensitivityLabel +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|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 +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SensitivityLabelItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|public|queryParameters:SensitivityLabelItemRequestBuilderGetQueryParameters +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.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 +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|getCurrentLabel():CurrentLabel +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|getDiscoveredSensitiveTypes():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|setCurrentLabel(value?:CurrentLabel):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|setDiscoveredSensitiveTypes(value?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EvaluatePostRequestBody +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|Post(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):EvaluateLabelJobResponse +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|ToPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|urlTemplate:string +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.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 +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Get(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):SensitivityLabel +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|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 +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SensitivityLabelItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|public|queryParameters:SensitivityLabelItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +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|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 +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Get(requestConfiguration?:SublabelsRequestBuilderGetRequestConfiguration):SensitivityLabelCollectionResponse +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Post(body:SensitivityLabel; requestConfiguration?:SublabelsRequestBuilderPostRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SublabelsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|ToPostRequestInformation(body:SensitivityLabel; requestConfiguration?:SublabelsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|WithUrl(rawUrl:string):SublabelsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SublabelsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetRequestConfiguration::|public|queryParameters:SublabelsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SublabelsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +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|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 +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Get(requestConfiguration?:SensitivityLabelsRequestBuilderGetRequestConfiguration):SensitivityLabelCollectionResponse +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Post(body:SensitivityLabel; requestConfiguration?:SensitivityLabelsRequestBuilderPostRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|ToPostRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|WithUrl(rawUrl:string):SensitivityLabelsRequestBuilder +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SensitivityLabelsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetRequestConfiguration::|public|queryParameters:SensitivityLabelsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SensitivityLabelsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.security.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.security.domainSecurityProfiles.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.security.domainSecurityProfiles.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.domainSecurityProfiles.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -316071,6 +317049,7 @@ Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|cloudApp Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|collaboration:CollaborationRequestBuilder Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|dataDiscovery:DataDiscoveryRequestBuilder +Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|dataSecurityAndGovernance:DataSecurityAndGovernanceRequestBuilder Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|domainSecurityProfiles:DomainSecurityProfilesRequestBuilder Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|fileSecurityProfiles:FileSecurityProfilesRequestBuilder Microsoft\Graph\Beta\Generated.security.SecurityRequestBuilder::|public|Get(requestConfiguration?:SecurityRequestBuilderGetRequestConfiguration):Security @@ -351906,6 +352885,7 @@ Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityN Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -351916,6 +352896,7 @@ Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityN Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Beta\Generated.teams.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -357977,6 +358958,7 @@ Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendAc Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -357987,6 +358969,7 @@ Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendAc Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Beta\Generated.teamTemplateDefinition.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -360760,6 +361743,7 @@ Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sen Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getChainId():int Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getIconId():string Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getRecipients():array Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|getTeamsAppId():string @@ -360770,6 +361754,7 @@ Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sen Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setRecipients(value?:array):void Microsoft\Graph\Beta\Generated.teamwork.sendActivityNotificationToRecipients.sendActivityNotificationToRecipientsPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -366584,6 +367569,7 @@ Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.team Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -366594,6 +367580,7 @@ Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.team Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Beta\Generated.teamwork.teamTemplates.item.definitions.item.teamDefinition.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -375856,6 +376843,7 @@ Microsoft\Graph\Beta\Generated.users.item.authentication.AuthenticationRequestBu Microsoft\Graph\Beta\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|pathParameters:array Microsoft\Graph\Beta\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|phoneMethods:PhoneMethodsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|platformCredentialMethods:PlatformCredentialMethodsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|qrCodePinMethod:QrCodePinMethodRequestBuilder Microsoft\Graph\Beta\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Beta\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|requirements:RequirementsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|signInPreferences:SignInPreferencesRequestBuilder @@ -376912,6 +377900,121 @@ Microsoft\Graph\Beta\Generated.users.item.authentication.platformCredentialMetho Microsoft\Graph\Beta\Generated.users.item.authentication.platformCredentialMethods.platformCredentialMethodsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:PlatformCredentialMethodsRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.users.item.authentication.platformCredentialMethods.platformCredentialMethodsRequestBuilderGetRequestConfiguration::|public|queryParameters:PlatformCredentialMethodsRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.authentication.platformCredentialMethods.platformCredentialMethodsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):PlatformCredentialMethodsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|Delete(requestConfiguration?:PinRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|Get(requestConfiguration?:PinRequestBuilderGetRequestConfiguration):QrPin +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|Patch(body:QrPin; requestConfiguration?:PinRequestBuilderPatchRequestConfiguration):QrPin +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PinRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PinRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|ToPatchRequestInformation(body:QrPin; requestConfiguration?:PinRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|updatePin:UpdatePinRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.PinRequestBuilder::|public|WithUrl(rawUrl:string):PinRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:PinRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderGetRequestConfiguration::|public|queryParameters:PinRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PinRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.pinRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|getCurrentPin():string +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|getNewPin():string +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|setCurrentPin(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|public|setNewPin(value?:string):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UpdatePinPostRequestBody +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.UpdatePinRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.UpdatePinRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.UpdatePinRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.UpdatePinRequestBuilder::|public|Post(body:UpdatePinPostRequestBody; requestConfiguration?:UpdatePinRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.UpdatePinRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.UpdatePinRequestBuilder::|public|ToPostRequestInformation(body:UpdatePinPostRequestBody; requestConfiguration?:UpdatePinRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.UpdatePinRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.UpdatePinRequestBuilder::|public|WithUrl(rawUrl:string):UpdatePinRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.pin.updatePin.updatePinRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|Delete(requestConfiguration?:QrCodePinMethodRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|Get(requestConfiguration?:QrCodePinMethodRequestBuilderGetRequestConfiguration):QrCodePinAuthenticationMethod +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|pin:PinRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|standardQRCode:StandardQRCodeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|temporaryQRCode:TemporaryQRCodeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:QrCodePinMethodRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:QrCodePinMethodRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.QrCodePinMethodRequestBuilder::|public|WithUrl(rawUrl:string):QrCodePinMethodRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:QrCodePinMethodRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderGetRequestConfiguration::|public|queryParameters:QrCodePinMethodRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.qrCodePinMethodRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):QrCodePinMethodRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|Delete(requestConfiguration?:StandardQRCodeRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|Get(requestConfiguration?:StandardQRCodeRequestBuilderGetRequestConfiguration):QrCode +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|Patch(body:QrCode; requestConfiguration?:StandardQRCodeRequestBuilderPatchRequestConfiguration):QrCode +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:StandardQRCodeRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:StandardQRCodeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|ToPatchRequestInformation(body:QrCode; requestConfiguration?:StandardQRCodeRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.StandardQRCodeRequestBuilder::|public|WithUrl(rawUrl:string):StandardQRCodeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:StandardQRCodeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderGetRequestConfiguration::|public|queryParameters:StandardQRCodeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):StandardQRCodeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.standardQRCode.standardQRCodeRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|Delete(requestConfiguration?:TemporaryQRCodeRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|Get(requestConfiguration?:TemporaryQRCodeRequestBuilderGetRequestConfiguration):QrCode +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|Patch(body:QrCode; requestConfiguration?:TemporaryQRCodeRequestBuilderPatchRequestConfiguration):QrCode +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TemporaryQRCodeRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TemporaryQRCodeRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|ToPatchRequestInformation(body:QrCode; requestConfiguration?:TemporaryQRCodeRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.TemporaryQRCodeRequestBuilder::|public|WithUrl(rawUrl:string):TemporaryQRCodeRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TemporaryQRCodeRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderGetRequestConfiguration::|public|queryParameters:TemporaryQRCodeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TemporaryQRCodeRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.authentication.qrCodePinMethod.temporaryQRCode.temporaryQRCodeRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.authentication.requirements.RequirementsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.authentication.requirements.RequirementsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.authentication.requirements.RequirementsRequestBuilder::|public|Get(requestConfiguration?:RequirementsRequestBuilderGetRequestConfiguration):StrongAuthenticationRequirements @@ -393852,6 +394955,7 @@ Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.se Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getRecipient():TeamworkNotificationRecipient Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string @@ -393862,6 +394966,7 @@ Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.se Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setRecipient(value?:TeamworkNotificationRecipient):void Microsoft\Graph\Beta\Generated.users.item.chats.item.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void @@ -394670,6 +395775,185 @@ Microsoft\Graph\Beta\Generated.users.item.cloudPCs.validateBulkResize.ValidateBu Microsoft\Graph\Beta\Generated.users.item.cloudPCs.validateBulkResize.ValidateBulkResizeRequestBuilder::|public|WithUrl(rawUrl:string):ValidateBulkResizeRequestBuilder Microsoft\Graph\Beta\Generated.users.item.cloudPCs.validateBulkResize.validateBulkResizeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Beta\Generated.users.item.cloudPCs.validateBulkResize.validateBulkResizeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|delegates:DelegatesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|delegators:DelegatorsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|Delete(requestConfiguration?:CallSettingsRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|Get(requestConfiguration?:CallSettingsRequestBuilderGetRequestConfiguration):CallSettings +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|Patch(body:CallSettings; requestConfiguration?:CallSettingsRequestBuilderPatchRequestConfiguration):CallSettings +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CallSettingsRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CallSettingsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|ToPatchRequestInformation(body:CallSettings; requestConfiguration?:CallSettingsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.CallSettingsRequestBuilder::|public|WithUrl(rawUrl:string):CallSettingsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CallSettingsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:CallSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CallSettingsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.callSettingsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|ByDelegationSettingsId(delegationSettingsId:string):DelegationSettingsItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|Get(requestConfiguration?:DelegatesRequestBuilderGetRequestConfiguration):DelegationSettingsCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|Post(body:DelegationSettings; requestConfiguration?:DelegatesRequestBuilderPostRequestConfiguration):DelegationSettings +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DelegatesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|ToPostRequestInformation(body:DelegationSettings; requestConfiguration?:DelegatesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.DelegatesRequestBuilder::|public|WithUrl(rawUrl:string):DelegatesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DelegatesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetRequestConfiguration::|public|queryParameters:DelegatesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DelegatesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.delegatesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|Delete(requestConfiguration?:DelegationSettingsItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|Get(requestConfiguration?:DelegationSettingsItemRequestBuilderGetRequestConfiguration):DelegationSettings +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|Patch(body:DelegationSettings; requestConfiguration?:DelegationSettingsItemRequestBuilderPatchRequestConfiguration):DelegationSettings +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DelegationSettingsItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DelegationSettingsItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|ToPatchRequestInformation(body:DelegationSettings; requestConfiguration?:DelegationSettingsItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilder::|public|WithUrl(rawUrl:string):DelegationSettingsItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DelegationSettingsItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderGetRequestConfiguration::|public|queryParameters:DelegationSettingsItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DelegationSettingsItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegates.item.DelegationSettingsItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|ByDelegationSettingsId(delegationSettingsId:string):DelegationSettingsItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|Get(requestConfiguration?:DelegatorsRequestBuilderGetRequestConfiguration):DelegationSettingsCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|Post(body:DelegationSettings; requestConfiguration?:DelegatorsRequestBuilderPostRequestConfiguration):DelegationSettings +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DelegatorsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|ToPostRequestInformation(body:DelegationSettings; requestConfiguration?:DelegatorsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.DelegatorsRequestBuilder::|public|WithUrl(rawUrl:string):DelegatorsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DelegatorsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetRequestConfiguration::|public|queryParameters:DelegatorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):DelegatorsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.delegatorsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|Delete(requestConfiguration?:DelegationSettingsItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|Get(requestConfiguration?:DelegationSettingsItemRequestBuilderGetRequestConfiguration):DelegationSettings +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|Patch(body:DelegationSettings; requestConfiguration?:DelegationSettingsItemRequestBuilderPatchRequestConfiguration):DelegationSettings +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DelegationSettingsItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DelegationSettingsItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|ToPatchRequestInformation(body:DelegationSettings; requestConfiguration?:DelegationSettingsItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilder::|public|WithUrl(rawUrl:string):DelegationSettingsItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DelegationSettingsItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderGetRequestConfiguration::|public|queryParameters:DelegationSettingsItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DelegationSettingsItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.callSettings.delegators.item.DelegationSettingsItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|callSettings:CallSettingsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|Delete(requestConfiguration?:CommunicationsRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|Get(requestConfiguration?:CommunicationsRequestBuilderGetRequestConfiguration):UserCloudCommunication +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|Patch(body:UserCloudCommunication; requestConfiguration?:CommunicationsRequestBuilderPatchRequestConfiguration):UserCloudCommunication +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:CommunicationsRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CommunicationsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|ToPatchRequestInformation(body:UserCloudCommunication; requestConfiguration?:CommunicationsRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.communications.CommunicationsRequestBuilder::|public|WithUrl(rawUrl:string):CommunicationsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CommunicationsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderGetRequestConfiguration::|public|queryParameters:CommunicationsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):CommunicationsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.communications.communicationsRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.contactFolders.ContactFoldersRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Beta\Generated.users.item.contactFolders.ContactFoldersRequestBuilder::|public|ByContactFolderId(contactFolderId:string):ContactFolderItemRequestBuilder Microsoft\Graph\Beta\Generated.users.item.contactFolders.ContactFoldersRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void @@ -395645,6 +396929,345 @@ Microsoft\Graph\Beta\Generated.users.item.createdObjects.item.graphServicePrinci Microsoft\Graph\Beta\Generated.users.item.createdObjects.item.graphServicePrincipal.graphServicePrincipalRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:GraphServicePrincipalRequestBuilderGetQueryParameters):void Microsoft\Graph\Beta\Generated.users.item.createdObjects.item.graphServicePrincipal.graphServicePrincipalRequestBuilderGetRequestConfiguration::|public|queryParameters:GraphServicePrincipalRequestBuilderGetQueryParameters Microsoft\Graph\Beta\Generated.users.item.createdObjects.item.graphServicePrincipal.graphServicePrincipalRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):GraphServicePrincipalRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|contentActivities:ContentActivitiesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|Delete(requestConfiguration?:ActivitiesRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|Get(requestConfiguration?:ActivitiesRequestBuilderGetRequestConfiguration):ActivitiesContainer +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|Patch(body:ActivitiesContainer; requestConfiguration?:ActivitiesRequestBuilderPatchRequestConfiguration):ActivitiesContainer +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ActivitiesRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ActivitiesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|ToPatchRequestInformation(body:ActivitiesContainer; requestConfiguration?:ActivitiesRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.ActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):ActivitiesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ActivitiesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetRequestConfiguration::|public|queryParameters:ActivitiesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ActivitiesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.activitiesRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|ByContentActivityId(contentActivityId:string):ContentActivityItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|Get(requestConfiguration?:ContentActivitiesRequestBuilderGetRequestConfiguration):ContentActivityCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|Post(body:ContentActivity; requestConfiguration?:ContentActivitiesRequestBuilderPostRequestConfiguration):ContentActivity +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContentActivitiesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|ToPostRequestInformation(body:ContentActivity; requestConfiguration?:ContentActivitiesRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.ContentActivitiesRequestBuilder::|public|WithUrl(rawUrl:string):ContentActivitiesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ContentActivitiesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetRequestConfiguration::|public|queryParameters:ContentActivitiesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ContentActivitiesRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.contentActivitiesRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|Delete(requestConfiguration?:ContentActivityItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|Get(requestConfiguration?:ContentActivityItemRequestBuilderGetRequestConfiguration):ContentActivity +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|Patch(body:ContentActivity; requestConfiguration?:ContentActivityItemRequestBuilderPatchRequestConfiguration):ContentActivity +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ContentActivityItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ContentActivityItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|ToPatchRequestInformation(body:ContentActivity; requestConfiguration?:ContentActivityItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilder::|public|WithUrl(rawUrl:string):ContentActivityItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ContentActivityItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ContentActivityItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ContentActivityItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.activities.contentActivities.item.ContentActivityItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|activities:ActivitiesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Delete(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Get(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):UserDataSecurityAndGovernance +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|Patch(body:UserDataSecurityAndGovernance; requestConfiguration?:DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):UserDataSecurityAndGovernance +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|processContent:ProcessContentRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|protectionScopes:ProtectionScopesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|sensitivityLabels:SensitivityLabelsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:DataSecurityAndGovernanceRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|ToPatchRequestInformation(body:UserDataSecurityAndGovernance; requestConfiguration?:DataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder::|public|WithUrl(rawUrl:string):DataSecurityAndGovernanceRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:DataSecurityAndGovernanceRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|public|queryParameters:DataSecurityAndGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):DataSecurityAndGovernanceRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|getContentToProcess():ProcessContentRequest +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|public|setContentToProcess(value?:ProcessContentRequest):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessContentPostRequestBody +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|Post(body:ProcessContentPostRequestBody; requestConfiguration?:ProcessContentRequestBuilderPostRequestConfiguration):ProcessContentResponse +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|ToPostRequestInformation(body:ProcessContentPostRequestBody; requestConfiguration?:ProcessContentRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.ProcessContentRequestBuilder::|public|WithUrl(rawUrl:string):ProcessContentRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.processContent.processContentRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Delete(requestConfiguration?:ProtectionScopesRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Get(requestConfiguration?:ProtectionScopesRequestBuilderGetRequestConfiguration):UserProtectionScopeContainer +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|Patch(body:UserProtectionScopeContainer; requestConfiguration?:ProtectionScopesRequestBuilderPatchRequestConfiguration):UserProtectionScopeContainer +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ProtectionScopesRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ProtectionScopesRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|ToPatchRequestInformation(body:UserProtectionScopeContainer; requestConfiguration?:ProtectionScopesRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.ProtectionScopesRequestBuilder::|public|WithUrl(rawUrl:string):ProtectionScopesRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ProtectionScopesRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.protectionScopes.protectionScopesRequestBuilderGetRequestConfiguration::|public|queryParameters:ProtectionScopesRequestBuilderGetQueryParameters +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.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 +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|getCurrentLabel():CurrentLabel +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|getDiscoveredSensitiveTypes():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|setCurrentLabel(value?:CurrentLabel):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|public|setDiscoveredSensitiveTypes(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EvaluatePostRequestBody +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.evaluatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|Post(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):EvaluateLabelJobResponse +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|ToPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.evaluate.EvaluateRequestBuilder::|public|urlTemplate:string +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.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 +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|Get(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):SensitivityLabel +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|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 +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|ToPatchRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SensitivityLabelItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|public|queryParameters:SensitivityLabelItemRequestBuilderGetQueryParameters +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.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 +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|constructor():void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|getCurrentLabel():CurrentLabel +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|getDiscoveredSensitiveTypes():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|setCurrentLabel(value?:CurrentLabel):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|public|setDiscoveredSensitiveTypes(value?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EvaluatePostRequestBody +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.evaluatePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|Post(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):EvaluateLabelJobResponse +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|ToPostRequestInformation(body:EvaluatePostRequestBody; requestConfiguration?:EvaluateRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.evaluate.EvaluateRequestBuilder::|public|urlTemplate:string +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.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 +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|Get(requestConfiguration?:SensitivityLabelItemRequestBuilderGetRequestConfiguration):SensitivityLabel +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|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 +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilder::|public|WithUrl(rawUrl:string):SensitivityLabelItemRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SensitivityLabelItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|public|queryParameters:SensitivityLabelItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SensitivityLabelItemRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.item.SensitivityLabelItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +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|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 +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Get(requestConfiguration?:SublabelsRequestBuilderGetRequestConfiguration):SensitivityLabelCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|Post(body:SensitivityLabel; requestConfiguration?:SublabelsRequestBuilderPostRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SublabelsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|ToPostRequestInformation(body:SensitivityLabel; requestConfiguration?:SublabelsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.SublabelsRequestBuilder::|public|WithUrl(rawUrl:string):SublabelsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SublabelsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetRequestConfiguration::|public|queryParameters:SublabelsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SublabelsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.item.sublabels.sublabelsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +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|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 +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Get(requestConfiguration?:SensitivityLabelsRequestBuilderGetRequestConfiguration):SensitivityLabelCollectionResponse +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|Post(body:SensitivityLabel; requestConfiguration?:SensitivityLabelsRequestBuilderPostRequestConfiguration):SensitivityLabel +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:SensitivityLabelsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|ToPostRequestInformation(body:SensitivityLabel; requestConfiguration?:SensitivityLabelsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.SensitivityLabelsRequestBuilder::|public|WithUrl(rawUrl:string):SensitivityLabelsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:SensitivityLabelsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetRequestConfiguration::|public|queryParameters:SensitivityLabelsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):SensitivityLabelsRequestBuilderGetQueryParameters +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Beta\Generated.users.item.dataSecurityAndGovernance.sensitivityLabels.sensitivityLabelsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Beta\Generated.users.item.deletePasswordSingleSignOnCredentials.deletePasswordSingleSignOnCredentialsPostRequestBody::|public|constructor():void Microsoft\Graph\Beta\Generated.users.item.deletePasswordSingleSignOnCredentials.deletePasswordSingleSignOnCredentialsPostRequestBody::|public|getAdditionalData():array Microsoft\Graph\Beta\Generated.users.item.deletePasswordSingleSignOnCredentials.deletePasswordSingleSignOnCredentialsPostRequestBody::|public|getBackingStore():BackingStore @@ -417209,6 +418832,7 @@ Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.send Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getBackingStore():BackingStore Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getChainId():int Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getIconId():string Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getPreviewText():ItemBody Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTeamsAppId():string Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|getTemplateParameters():array @@ -417218,6 +418842,7 @@ Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.send Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setAdditionalData(value?:array):void Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setBackingStore(value:BackingStore):void Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setChainId(value?:int):void +Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setIconId(value?:string):void Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setPreviewText(value?:ItemBody):void Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTeamsAppId(value?:string):void Microsoft\Graph\Beta\Generated.users.item.teamwork.sendActivityNotification.sendActivityNotificationPostRequestBody::|public|setTemplateParameters(value?:array):void @@ -418317,11 +419942,13 @@ Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|checkM Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|checkMemberObjects:CheckMemberObjectsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|cloudClipboard:CloudClipboardRequestBuilder Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|cloudPCs:CloudPCsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|communications:CommunicationsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|contactFolders:ContactFoldersRequestBuilder Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|contacts:ContactsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|convertExternalToInternalMemberUser:ConvertExternalToInternalMemberUserRequestBuilder Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|createdObjects:CreatedObjectsRequestBuilder +Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|dataSecurityAndGovernance:DataSecurityAndGovernanceRequestBuilder Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|Delete(requestConfiguration?:UserItemRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|deletePasswordSingleSignOnCredentials:DeletePasswordSingleSignOnCredentialsRequestBuilder Microsoft\Graph\Beta\Generated.users.item.UserItemRequestBuilder::|public|deviceEnrollmentConfigurations:DeviceEnrollmentConfigurationsRequestBuilder diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 497af9f19bf..e8cde0e20cd 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "1DF5735F8F441D1132015705C320D592647B32AF64E176421EB1D8D4592D0E33EBD0FB85EA0566277E2B37E26CDF20C1494A2DB10B22B6635EACDEDA39598AEC", + "descriptionHash": "5CE7921A01946C1E1792D0719BDEA42D3C6A63D790C632FBB39CDE5BE9A939666A862ED398175F4E6278FC3652868D478E55020702254F00DEF34AB60891C89F", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.25.1",