diff --git a/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/GetPolicyIdWithTypeWithNameGetResponse.php b/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/GetPolicyIdWithTypeWithNameGetResponse.php new file mode 100644 index 00000000000..780e34f7d7b --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/GetPolicyIdWithTypeWithNameGetResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([PolicyIdentifierDetail::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, PolicyIdentifierDetail::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/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.php b/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.php new file mode 100644 index 00000000000..82eb9688644 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder.php @@ -0,0 +1,82 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + * @param string|null $name Usage: name='{name}' + * @param string|null $type Usage: type='{type}' + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter, ?string $name = null, ?string $type = null) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type=\'{type}\',name=\'{name}\'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $urlTplParams = $pathParametersOrRawUrl; + $urlTplParams['name'] = $name; + $urlTplParams['type'] = $type; + $this->pathParameters = $urlTplParams; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the policy ID for a given policy name and policy type within Teams administration. + * @param MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration|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-teamspolicyassignment-getpolicyid?view=graph-rest-1.0 Find more info here + */ + public function get(?MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [GetPolicyIdWithTypeWithNameGetResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get the policy ID for a given policy name and policy type within Teams administration. + * @param MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration $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 MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder + */ + public function withUrl(string $rawUrl): MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder { + return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5949904919b --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters.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 MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters 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/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..b97541702cc --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName/MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters. + * @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 MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters + */ + 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): MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters { + return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/PolicyRequestBuilder.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilder.php new file mode 100644 index 00000000000..5dfe1b62508 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilder.php @@ -0,0 +1,163 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Instantiates a new PolicyRequestBuilder 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/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); + } + + /** + * Represents a navigation property to the Teams policy assignment object. + * @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); + } + + /** + * Provides operations to call the getPolicyId method. + * @param string $name Usage: name='{name}' + * @param string $type Usage: type='{type}' + * @return MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder + */ + public function microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(string $name, string $type): MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder { + return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder($this->pathParameters, $this->requestAdapter, $name, $type); + } + + /** + * 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); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Represents a navigation property to the Teams policy assignment object. + * @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/Admin/Teams/Policy/PolicyRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..db2553d0c03 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderDeleteRequestConfiguration.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/Policy/PolicyRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..01e0e384aca --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetQueryParameters.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 PolicyRequestBuilderGetQueryParameters 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/Policy/PolicyRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/PolicyRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..774de0fcfbc --- /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..02a011c74dc --- /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/Policy/UserAssignments/Count/CountRequestBuilder.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..13cf0f68b56 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/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/policy/userAssignments/$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/Policy/UserAssignments/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..3de644c6546 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..a9117dbd27d --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/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/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.php new file mode 100644 index 00000000000..2d3175d5b7d --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilder.php @@ -0,0 +1,144 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/teams/policy/userAssignments/{teamsPolicyUserAssignment%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property userAssignments for admin + * @param TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * The collection of user policy assignments. + * @param TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsPolicyUserAssignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property userAssignments in admin + * @param TeamsPolicyUserAssignment $body The request body + * @param TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(TeamsPolicyUserAssignment $body, ?TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsPolicyUserAssignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property userAssignments for admin + * @param TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * The collection of user policy assignments. + * @param TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration $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 userAssignments in admin + * @param TeamsPolicyUserAssignment $body The request body + * @param TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(TeamsPolicyUserAssignment $body, ?TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration $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 TeamsPolicyUserAssignmentItemRequestBuilder + */ + public function withUrl(string $rawUrl): TeamsPolicyUserAssignmentItemRequestBuilder { + return new TeamsPolicyUserAssignmentItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..4c38c36a397 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration.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/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..c5825ccb8c8 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters.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 TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters 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/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..02e69a4d56b --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters { + return new TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..41d5221466d --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/Item/TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration.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/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/AssignPostRequestBody.php b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/AssignPostRequestBody.php new file mode 100644 index 00000000000..5054857ddd9 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/AssignPostRequestBody.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 AssignPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AssignPostRequestBody { + return new AssignPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([TeamsPolicyUserAssignment::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, TeamsPolicyUserAssignment::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 { + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the value property value. The value property + * @param 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/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/MicrosoftGraphTeamsAdministrationAssignRequestBuilder.php b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/MicrosoftGraphTeamsAdministrationAssignRequestBuilder.php new file mode 100644 index 00000000000..37e564ce74b --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/MicrosoftGraphTeamsAdministrationAssignRequestBuilder.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}/admin/teams/policy/userAssignments/microsoft.graph.teamsAdministration.assign'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Assign a Teams policy to a user using the user ID, policy type, and policy ID. + * @param AssignPostRequestBody $body The request body + * @param MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration|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-teamspolicyuserassignment-assign?view=graph-rest-1.0 Find more info here + */ + public function post(AssignPostRequestBody $body, ?MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Assign a Teams policy to a user using the user ID, policy type, and policy ID. + * @param AssignPostRequestBody $body The request body + * @param MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(AssignPostRequestBody $body, ?MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration $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 MicrosoftGraphTeamsAdministrationAssignRequestBuilder + */ + public function withUrl(string $rawUrl): MicrosoftGraphTeamsAdministrationAssignRequestBuilder { + return new MicrosoftGraphTeamsAdministrationAssignRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e6b083683e0 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationAssign/MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration.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/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/MicrosoftGraphTeamsAdministrationUnassignRequestBuilder.php b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/MicrosoftGraphTeamsAdministrationUnassignRequestBuilder.php new file mode 100644 index 00000000000..2d41b44d244 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/MicrosoftGraphTeamsAdministrationUnassignRequestBuilder.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}/admin/teams/policy/userAssignments/microsoft.graph.teamsAdministration.unassign'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Unassign a Teams policy from a user using the user ID and policy type. + * @param UnassignPostRequestBody $body The request body + * @param MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration|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-teamspolicyuserassignment-unassign?view=graph-rest-1.0 Find more info here + */ + public function post(UnassignPostRequestBody $body, ?MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Unassign a Teams policy from a user using the user ID and policy type. + * @param UnassignPostRequestBody $body The request body + * @param MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(UnassignPostRequestBody $body, ?MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration $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 MicrosoftGraphTeamsAdministrationUnassignRequestBuilder + */ + public function withUrl(string $rawUrl): MicrosoftGraphTeamsAdministrationUnassignRequestBuilder { + return new MicrosoftGraphTeamsAdministrationUnassignRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..f65161f68f9 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration.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/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/UnassignPostRequestBody.php b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/UnassignPostRequestBody.php new file mode 100644 index 00000000000..48bc2176884 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/MicrosoftGraphTeamsAdministrationUnassign/UnassignPostRequestBody.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 UnassignPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): UnassignPostRequestBody { + return new UnassignPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([TeamsPolicyUserAssignment::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, TeamsPolicyUserAssignment::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 { + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param array $value Value to set for the AdditionalData property. + */ + public function setAdditionalData(?array $value): void { + $this->getBackingStore()->set('additionalData', $value); + } + + /** + * Sets the BackingStore property value. Stores model information. + * @param BackingStore $value Value to set for the BackingStore property. + */ + public function setBackingStore(BackingStore $value): void { + $this->backingStore = $value; + } + + /** + * Sets the value property value. The value property + * @param 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/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.php b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.php new file mode 100644 index 00000000000..0c6c7f73c4e --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilder.php @@ -0,0 +1,149 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the assign method. + */ + public function microsoftGraphTeamsAdministrationAssign(): MicrosoftGraphTeamsAdministrationAssignRequestBuilder { + return new MicrosoftGraphTeamsAdministrationAssignRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to call the unassign method. + */ + public function microsoftGraphTeamsAdministrationUnassign(): MicrosoftGraphTeamsAdministrationUnassignRequestBuilder { + return new MicrosoftGraphTeamsAdministrationUnassignRequestBuilder($this->pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the userAssignments property of the microsoft.graph.teamsAdministration.teamsPolicyAssignment entity. + * @param string $teamsPolicyUserAssignmentId The unique identifier of teamsPolicyUserAssignment + * @return TeamsPolicyUserAssignmentItemRequestBuilder + */ + public function byTeamsPolicyUserAssignmentId(string $teamsPolicyUserAssignmentId): TeamsPolicyUserAssignmentItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['teamsPolicyUserAssignment%2Did'] = $teamsPolicyUserAssignmentId; + return new TeamsPolicyUserAssignmentItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new UserAssignmentsRequestBuilder 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/policy/userAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * The collection of user policy assignments. + * @param UserAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?UserAssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsPolicyUserAssignmentCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create new navigation property to userAssignments for admin + * @param TeamsPolicyUserAssignment $body The request body + * @param UserAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(TeamsPolicyUserAssignment $body, ?UserAssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [TeamsPolicyUserAssignment::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * The collection of user policy assignments. + * @param UserAssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?UserAssignmentsRequestBuilderGetRequestConfiguration $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 userAssignments for admin + * @param TeamsPolicyUserAssignment $body The request body + * @param UserAssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(TeamsPolicyUserAssignment $body, ?UserAssignmentsRequestBuilderPostRequestConfiguration $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 UserAssignmentsRequestBuilder + */ + public function withUrl(string $rawUrl): UserAssignmentsRequestBuilder { + return new UserAssignmentsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..fd62e5d4d76 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetQueryParameters.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 UserAssignmentsRequestBuilderGetQueryParameters 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/Policy/UserAssignments/UserAssignmentsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..e962a2ef3e9 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param UserAssignmentsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?UserAssignmentsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new UserAssignmentsRequestBuilderGetQueryParameters. + * @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 UserAssignmentsRequestBuilderGetQueryParameters + */ + 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): UserAssignmentsRequestBuilderGetQueryParameters { + return new UserAssignmentsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderPostRequestConfiguration.php b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1208ef18378 --- /dev/null +++ b/src/Generated/Admin/Teams/Policy/UserAssignments/UserAssignmentsRequestBuilderPostRequestConfiguration.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 index edb35b1e631..b6ca388c149 100644 --- a/src/Generated/Admin/Teams/TeamsRequestBuilder.php +++ b/src/Generated/Admin/Teams/TeamsRequestBuilder.php @@ -4,6 +4,7 @@ use Exception; use Http\Promise\Promise; +use Microsoft\Graph\Generated\Admin\Teams\Policy\PolicyRequestBuilder; use Microsoft\Graph\Generated\Admin\Teams\UserConfigurations\UserConfigurationsRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\TeamsAdministration\TeamsAdminRoot; @@ -17,6 +18,13 @@ */ class TeamsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the policy property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. + */ + public function policy(): PolicyRequestBuilder { + return new PolicyRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. */ @@ -53,7 +61,7 @@ public function delete(?TeamsRequestBuilderDeleteRequestConfiguration $requestCo } /** - * Represents a collection of user configurations. + * A container for Teams administration functionalities, such as user configurations and policy assignments. * @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception @@ -100,7 +108,7 @@ public function toDeleteRequestInformation(?TeamsRequestBuilderDeleteRequestConf } /** - * Represents a collection of user configurations. + * A container for Teams administration functionalities, such as user configurations and policy assignments. * @param TeamsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php index 11b2e52fe0d..311e6040828 100644 --- a/src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Admin/Teams/TeamsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents a collection of user configurations. + * A container for Teams administration functionalities, such as user configurations and policy assignments. */ class TeamsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/Admin.php b/src/Generated/Models/Admin.php index 0d19f8d2566..06720845a39 100644 --- a/src/Generated/Models/Admin.php +++ b/src/Generated/Models/Admin.php @@ -159,7 +159,7 @@ public function getSharepoint(): ?Sharepoint { } /** - * Gets the teams property value. Represents a collection of user configurations. + * Gets the teams property value. A container for Teams administration functionalities, such as user configurations and policy assignments. * @return TeamsAdminRoot|null */ public function getTeams(): ?TeamsAdminRoot { @@ -259,7 +259,7 @@ public function setSharepoint(?Sharepoint $value): void { } /** - * Sets the teams property value. Represents a collection of user configurations. + * Sets the teams property value. A container for Teams administration functionalities, such as user configurations and policy assignments. * @param TeamsAdminRoot|null $value Value to set for the teams property. */ public function setTeams(?TeamsAdminRoot $value): void { diff --git a/src/Generated/Models/AiAgentInfo.php b/src/Generated/Models/AiAgentInfo.php new file mode 100644 index 00000000000..26925b48d3b --- /dev/null +++ b/src/Generated/Models/AiAgentInfo.php @@ -0,0 +1,67 @@ +getBackingStore()->get('blueprintId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'blueprintId'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'blueprintId' => fn(ParseNode $n) => $o->setBlueprintId($n->getStringValue()), + ]); + } + + /** + * 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('blueprintId', $this->getBlueprintId()); + } + + /** + * Sets the blueprintId property value. The blueprintId property + * @param string|null $value Value to set for the blueprintId property. + */ + public function setBlueprintId(?string $value): void { + $this->getBackingStore()->set('blueprintId', $value); + } + +} diff --git a/src/Generated/Models/AiInteractionEntity.php b/src/Generated/Models/AiInteractionEntity.php new file mode 100644 index 00000000000..510a19d2b09 --- /dev/null +++ b/src/Generated/Models/AiInteractionEntity.php @@ -0,0 +1,188 @@ +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 AiInteractionEntity + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInteractionEntity { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.aiAgentInfo': return new AiAgentInfo(); + case '#microsoft.graph.aiInteractionPlugin': return new AiInteractionPlugin(); + } + } + return new AiInteractionEntity(); + } + + /** + * 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/AiInteractionPlugin.php b/src/Generated/Models/AiInteractionPlugin.php index 2661aa8891c..b2b993ea143 100644 --- a/src/Generated/Models/AiInteractionPlugin.php +++ b/src/Generated/Models/AiInteractionPlugin.php @@ -2,27 +2,17 @@ namespace Microsoft\Graph\Generated\Models; -use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; -use Microsoft\Kiota\Abstractions\Store\BackedModel; -use Microsoft\Kiota\Abstractions\Store\BackingStore; -use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; -class AiInteractionPlugin implements AdditionalDataHolder, BackedModel, Parsable +class AiInteractionPlugin extends AiInteractionEntity implements Parsable { - /** - * @var BackingStore $backingStore Stores model information. - */ - private BackingStore $backingStore; - /** * Instantiates a new AiInteractionPlugin and sets the default values. */ public function __construct() { - $this->backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); - $this->setAdditionalData([]); + parent::__construct(); } /** @@ -34,87 +24,14 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): AiInt 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 unique identifier of the plugin. - * @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 display name of the plugin. - * @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 of the plugin used. - * @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'"); + return array_merge(parent::getFieldDeserializers(), [ + ]); } /** @@ -122,59 +39,7 @@ public function getVersion(): ?string { * @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 unique identifier of the plugin. - * @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 display name of the plugin. - * @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 of the plugin used. - * @param string|null $value Value to set for the version property. - */ - public function setVersion(?string $value): void { - $this->getBackingStore()->set('version', $value); + parent::serialize($writer); } } diff --git a/src/Generated/Models/Authentication.php b/src/Generated/Models/Authentication.php index 0d74bad83d5..688b28949be 100644 --- a/src/Generated/Models/Authentication.php +++ b/src/Generated/Models/Authentication.php @@ -39,6 +39,20 @@ public function getEmailMethods(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'emailMethods'"); } + /** + * Gets the externalAuthenticationMethods property value. Represents the external authentication methods registered to a user for authentication using an external identity provider. + * @return array|null + */ + public function getExternalAuthenticationMethods(): ?array { + $val = $this->getBackingStore()->get('externalAuthenticationMethods'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ExternalAuthenticationMethod::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'externalAuthenticationMethods'"); + } + /** * Gets the fido2Methods property value. Represents the FIDO2 security keys registered to a user for authentication. * @return array|null @@ -61,6 +75,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'emailMethods' => fn(ParseNode $n) => $o->setEmailMethods($n->getCollectionOfObjectValues([EmailAuthenticationMethod::class, 'createFromDiscriminatorValue'])), + 'externalAuthenticationMethods' => fn(ParseNode $n) => $o->setExternalAuthenticationMethods($n->getCollectionOfObjectValues([ExternalAuthenticationMethod::class, 'createFromDiscriminatorValue'])), 'fido2Methods' => fn(ParseNode $n) => $o->setFido2Methods($n->getCollectionOfObjectValues([Fido2AuthenticationMethod::class, 'createFromDiscriminatorValue'])), 'methods' => fn(ParseNode $n) => $o->setMethods($n->getCollectionOfObjectValues([AuthenticationMethod::class, 'createFromDiscriminatorValue'])), 'microsoftAuthenticatorMethods' => fn(ParseNode $n) => $o->setMicrosoftAuthenticatorMethods($n->getCollectionOfObjectValues([MicrosoftAuthenticatorAuthenticationMethod::class, 'createFromDiscriminatorValue'])), @@ -207,6 +222,7 @@ public function getWindowsHelloForBusinessMethods(): ?array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeCollectionOfObjectValues('emailMethods', $this->getEmailMethods()); + $writer->writeCollectionOfObjectValues('externalAuthenticationMethods', $this->getExternalAuthenticationMethods()); $writer->writeCollectionOfObjectValues('fido2Methods', $this->getFido2Methods()); $writer->writeCollectionOfObjectValues('methods', $this->getMethods()); $writer->writeCollectionOfObjectValues('microsoftAuthenticatorMethods', $this->getMicrosoftAuthenticatorMethods()); @@ -227,6 +243,14 @@ public function setEmailMethods(?array $value): void { $this->getBackingStore()->set('emailMethods', $value); } + /** + * Sets the externalAuthenticationMethods property value. Represents the external authentication methods registered to a user for authentication using an external identity provider. + * @param array|null $value Value to set for the externalAuthenticationMethods property. + */ + public function setExternalAuthenticationMethods(?array $value): void { + $this->getBackingStore()->set('externalAuthenticationMethods', $value); + } + /** * Sets the fido2Methods property value. Represents the FIDO2 security keys registered to a user for authentication. * @param array|null $value Value to set for the fido2Methods property. diff --git a/src/Generated/Models/AuthenticationMethod.php b/src/Generated/Models/AuthenticationMethod.php index 686a343255e..c5bd4f0bdb4 100644 --- a/src/Generated/Models/AuthenticationMethod.php +++ b/src/Generated/Models/AuthenticationMethod.php @@ -2,6 +2,7 @@ namespace Microsoft\Graph\Generated\Models; +use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -26,6 +27,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Authe $mappingValue = $mappingValueNode->getStringValue(); switch ($mappingValue) { case '#microsoft.graph.emailAuthenticationMethod': return new EmailAuthenticationMethod(); + case '#microsoft.graph.externalAuthenticationMethod': return new ExternalAuthenticationMethod(); case '#microsoft.graph.fido2AuthenticationMethod': return new Fido2AuthenticationMethod(); case '#microsoft.graph.microsoftAuthenticatorAuthenticationMethod': return new MicrosoftAuthenticatorAuthenticationMethod(); case '#microsoft.graph.passwordAuthenticationMethod': return new PasswordAuthenticationMethod(); @@ -39,6 +41,18 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Authe return new AuthenticationMethod(); } + /** + * Gets the createdDateTime property value. Represents the date and time when an entity was created. 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'"); + } + /** * The deserialization information for the current model * @return array @@ -46,6 +60,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Authe public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ + 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), ]); } @@ -55,6 +70,15 @@ public function getFieldDeserializers(): array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); + } + + /** + * Sets the createdDateTime property value. Represents the date and time when an entity was created. Read-only. + * @param DateTime|null $value Value to set for the createdDateTime property. + */ + public function setCreatedDateTime(?DateTime $value): void { + $this->getBackingStore()->set('createdDateTime', $value); } } diff --git a/src/Generated/Models/CloudPcDomainJoinConfiguration.php b/src/Generated/Models/CloudPcDomainJoinConfiguration.php index 783614462a5..4517388e5b2 100644 --- a/src/Generated/Models/CloudPcDomainJoinConfiguration.php +++ b/src/Generated/Models/CloudPcDomainJoinConfiguration.php @@ -107,7 +107,7 @@ public function getOnPremisesConnectionId(): ?string { } /** - * Gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. The possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. + * Gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. * @return CloudPcRegionGroup|null */ public function getRegionGroup(): ?CloudPcRegionGroup { @@ -184,7 +184,7 @@ public function setOnPremisesConnectionId(?string $value): void { } /** - * Sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. The possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea. Read-only. + * Sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. * @param CloudPcRegionGroup|null $value Value to set for the regionGroup property. */ public function setRegionGroup(?CloudPcRegionGroup $value): void { diff --git a/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php b/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php index a1892df81fd..3639d44e6eb 100644 --- a/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php +++ b/src/Generated/Models/CloudPcOnPremisesConnectionHealthCheck.php @@ -105,7 +105,7 @@ public function getEndDateTime(): ?DateTime { } /** - * Gets the errorType property value. The type of error that occurred during this health check. The possible values are: endpointConnectivityCheckCloudPcUrlNotAllowListed, endpointConnectivityCheckWVDUrlNotAllowListed, etc. (The all possible values can refer to cloudPcOnPremisesConnectionHealthCheckErrorType) Read-Only. + * Gets the errorType property value. The type of error that occurred during this health check. Read-only. * @return CloudPcOnPremisesConnectionHealthCheckErrorType|null */ public function getErrorType(): ?CloudPcOnPremisesConnectionHealthCheckErrorType { @@ -249,7 +249,7 @@ public function setEndDateTime(?DateTime $value): void { } /** - * Sets the errorType property value. The type of error that occurred during this health check. The possible values are: endpointConnectivityCheckCloudPcUrlNotAllowListed, endpointConnectivityCheckWVDUrlNotAllowListed, etc. (The all possible values can refer to cloudPcOnPremisesConnectionHealthCheckErrorType) Read-Only. + * Sets the errorType property value. The type of error that occurred during this health check. Read-only. * @param CloudPcOnPremisesConnectionHealthCheckErrorType|null $value Value to set for the errorType property. */ public function setErrorType(?CloudPcOnPremisesConnectionHealthCheckErrorType $value): void { diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index 5a1fee4fe3f..7824e4212a1 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -125,7 +125,10 @@ use Microsoft\Graph\Generated\Models\Security\WhoisBaseRecord; use Microsoft\Graph\Generated\Models\Security\WhoisHistoryRecord; use Microsoft\Graph\Generated\Models\Security\WhoisRecord; +use Microsoft\Graph\Generated\Models\TeamsAdministration\PolicyIdentifierDetail; use Microsoft\Graph\Generated\Models\TeamsAdministration\TeamsAdminRoot; +use Microsoft\Graph\Generated\Models\TeamsAdministration\TeamsPolicyAssignment; +use Microsoft\Graph\Generated\Models\TeamsAdministration\TeamsPolicyUserAssignment; use Microsoft\Graph\Generated\Models\TeamsAdministration\TeamsUserConfiguration; use Microsoft\Graph\Generated\Models\TermStore\Group; use Microsoft\Graph\Generated\Models\TermStore\Relation; @@ -497,6 +500,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.exchangeRestoreSession': return new ExchangeRestoreSession(); case '#microsoft.graph.extension': return new Extension(); case '#microsoft.graph.extensionProperty': return new ExtensionProperty(); + case '#microsoft.graph.externalAuthenticationMethod': return new ExternalAuthenticationMethod(); case '#microsoft.graph.externalConnectors.connectionOperation': return new ConnectionOperation(); case '#microsoft.graph.externalConnectors.externalActivity': return new ExternalActivity(); case '#microsoft.graph.externalConnectors.externalActivityResult': return new ExternalActivityResult(); @@ -682,6 +686,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.oAuth2PermissionGrant': return new OAuth2PermissionGrant(); case '#microsoft.graph.offerShiftRequest': return new OfferShiftRequest(); case '#microsoft.graph.officeGraphInsights': return new OfficeGraphInsights(); + case '#microsoft.graph.oidcIdentityProvider': return new OidcIdentityProvider(); case '#microsoft.graph.onAttributeCollectionListener': return new OnAttributeCollectionListener(); case '#microsoft.graph.onAttributeCollectionStartCustomExtension': return new OnAttributeCollectionStartCustomExtension(); case '#microsoft.graph.onAttributeCollectionStartListener': return new OnAttributeCollectionStartListener(); @@ -1009,7 +1014,10 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.taskFileAttachment': return new TaskFileAttachment(); case '#microsoft.graph.team': return new Team(); case '#microsoft.graph.teamInfo': return new TeamInfo(); + case '#microsoft.graph.teamsAdministration.policyIdentifierDetail': return new PolicyIdentifierDetail(); case '#microsoft.graph.teamsAdministration.teamsAdminRoot': return new TeamsAdminRoot(); + case '#microsoft.graph.teamsAdministration.teamsPolicyAssignment': return new TeamsPolicyAssignment(); + case '#microsoft.graph.teamsAdministration.teamsPolicyUserAssignment': return new TeamsPolicyUserAssignment(); case '#microsoft.graph.teamsAdministration.teamsUserConfiguration': return new TeamsUserConfiguration(); case '#microsoft.graph.teamsApp': return new TeamsApp(); case '#microsoft.graph.teamsAppDefinition': return new TeamsAppDefinition(); diff --git a/src/Generated/Models/ExternalAuthenticationMethod.php b/src/Generated/Models/ExternalAuthenticationMethod.php new file mode 100644 index 00000000000..9e2b1d6a0a6 --- /dev/null +++ b/src/Generated/Models/ExternalAuthenticationMethod.php @@ -0,0 +1,90 @@ +setOdataType('#microsoft.graph.externalAuthenticationMethod'); + } + + /** + * 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 ExternalAuthenticationMethod + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ExternalAuthenticationMethod { + return new ExternalAuthenticationMethod(); + } + + /** + * Gets the configurationId property value. A unique identifier used to manage the external auth method within Microsoft Entra ID. + * @return string|null + */ + public function getConfigurationId(): ?string { + $val = $this->getBackingStore()->get('configurationId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'configurationId'"); + } + + /** + * Gets the displayName property value. Custom name given to the registered external authentication method. + * @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(), [ + 'configurationId' => fn(ParseNode $n) => $o->setConfigurationId($n->getStringValue()), + 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), + ]); + } + + /** + * 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('configurationId', $this->getConfigurationId()); + $writer->writeStringValue('displayName', $this->getDisplayName()); + } + + /** + * Sets the configurationId property value. A unique identifier used to manage the external auth method within Microsoft Entra ID. + * @param string|null $value Value to set for the configurationId property. + */ + public function setConfigurationId(?string $value): void { + $this->getBackingStore()->set('configurationId', $value); + } + + /** + * Sets the displayName property value. Custom name given to the registered external authentication method. + * @param string|null $value Value to set for the displayName property. + */ + public function setDisplayName(?string $value): void { + $this->getBackingStore()->set('displayName', $value); + } + +} diff --git a/src/Generated/Models/ExternalAuthenticationMethodCollectionResponse.php b/src/Generated/Models/ExternalAuthenticationMethodCollectionResponse.php new file mode 100644 index 00000000000..f4100681e68 --- /dev/null +++ b/src/Generated/Models/ExternalAuthenticationMethodCollectionResponse.php @@ -0,0 +1,70 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ExternalAuthenticationMethod::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, ExternalAuthenticationMethod::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/Fido2AuthenticationMethod.php b/src/Generated/Models/Fido2AuthenticationMethod.php index b20b7d7989b..4dde84b60df 100644 --- a/src/Generated/Models/Fido2AuthenticationMethod.php +++ b/src/Generated/Models/Fido2AuthenticationMethod.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Models; -use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -65,18 +64,6 @@ public function getAttestationLevel(): ?AttestationLevel { throw new \UnexpectedValueException("Invalid type found in backing store for 'attestationLevel'"); } - /** - * Gets the createdDateTime property value. The timestamp when this key was registered to the user. - * @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. The display name of the key as given by the user. * @return string|null @@ -106,7 +93,6 @@ public function getFieldDeserializers(): array { $this->setAttestationCertificates($val); }, 'attestationLevel' => fn(ParseNode $n) => $o->setAttestationLevel($n->getEnumValue(AttestationLevel::class)), - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'model' => fn(ParseNode $n) => $o->setModel($n->getStringValue()), ]); @@ -133,7 +119,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('aaGuid', $this->getAaGuid()); $writer->writeCollectionOfPrimitiveValues('attestationCertificates', $this->getAttestationCertificates()); $writer->writeEnumValue('attestationLevel', $this->getAttestationLevel()); - $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('model', $this->getModel()); } @@ -162,14 +147,6 @@ public function setAttestationLevel(?AttestationLevel $value): void { $this->getBackingStore()->set('attestationLevel', $value); } - /** - * Sets the createdDateTime property value. The timestamp when this key was registered to the user. - * @param DateTime|null $value Value to set for the createdDateTime property. - */ - public function setCreatedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('createdDateTime', $value); - } - /** * Sets the displayName property value. The display name of the key as given by the user. * @param string|null $value Value to set for the displayName property. diff --git a/src/Generated/Models/IdentityProviderBase.php b/src/Generated/Models/IdentityProviderBase.php index e2b804ea46b..4be91e1106f 100644 --- a/src/Generated/Models/IdentityProviderBase.php +++ b/src/Generated/Models/IdentityProviderBase.php @@ -28,6 +28,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Ident case '#microsoft.graph.appleManagedIdentityProvider': return new AppleManagedIdentityProvider(); case '#microsoft.graph.builtInIdentityProvider': return new BuiltInIdentityProvider(); case '#microsoft.graph.internalDomainFederation': return new InternalDomainFederation(); + case '#microsoft.graph.oidcIdentityProvider': return new OidcIdentityProvider(); case '#microsoft.graph.samlOrWsFedExternalDomainFederation': return new SamlOrWsFedExternalDomainFederation(); case '#microsoft.graph.samlOrWsFedProvider': return new SamlOrWsFedProvider(); case '#microsoft.graph.socialIdentityProvider': return new SocialIdentityProvider(); diff --git a/src/Generated/Models/MicrosoftAuthenticatorAuthenticationMethod.php b/src/Generated/Models/MicrosoftAuthenticatorAuthenticationMethod.php index a98d1cad041..f12642fa360 100644 --- a/src/Generated/Models/MicrosoftAuthenticatorAuthenticationMethod.php +++ b/src/Generated/Models/MicrosoftAuthenticatorAuthenticationMethod.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Models; -use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -26,18 +25,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Micro return new MicrosoftAuthenticatorAuthenticationMethod(); } - /** - * Gets the createdDateTime property value. The date and time that this app was registered. This property is null if the device isn't registered for passwordless Phone Sign-In. - * @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 device property value. The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. * @return Device|null @@ -81,7 +68,6 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'device' => fn(ParseNode $n) => $o->setDevice($n->getObjectValue([Device::class, 'createFromDiscriminatorValue'])), 'deviceTag' => fn(ParseNode $n) => $o->setDeviceTag($n->getStringValue()), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), @@ -107,21 +93,12 @@ public function getPhoneAppVersion(): ?string { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeObjectValue('device', $this->getDevice()); $writer->writeStringValue('deviceTag', $this->getDeviceTag()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeStringValue('phoneAppVersion', $this->getPhoneAppVersion()); } - /** - * Sets the createdDateTime property value. The date and time that this app was registered. This property is null if the device isn't registered for passwordless Phone Sign-In. - * @param DateTime|null $value Value to set for the createdDateTime property. - */ - public function setCreatedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('createdDateTime', $value); - } - /** * Sets the device property value. The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In. * @param Device|null $value Value to set for the device property. diff --git a/src/Generated/Models/OidcAddressInboundClaims.php b/src/Generated/Models/OidcAddressInboundClaims.php new file mode 100644 index 00000000000..422b3f3cbab --- /dev/null +++ b/src/Generated/Models/OidcAddressInboundClaims.php @@ -0,0 +1,224 @@ +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 OidcAddressInboundClaims + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OidcAddressInboundClaims { + return new OidcAddressInboundClaims(); + } + + /** + * 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 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'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'country' => fn(ParseNode $n) => $o->setCountry($n->getStringValue()), + 'locality' => fn(ParseNode $n) => $o->setLocality($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'postal_code' => fn(ParseNode $n) => $o->setPostalCode($n->getStringValue()), + 'region' => fn(ParseNode $n) => $o->setRegion($n->getStringValue()), + 'street_address' => fn(ParseNode $n) => $o->setStreetAddress($n->getStringValue()), + ]; + } + + /** + * Gets the locality property value. The locality property + * @return string|null + */ + public function getLocality(): ?string { + $val = $this->getBackingStore()->get('locality'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'locality'"); + } + + /** + * 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 postal_code property value. The postal_code property + * @return string|null + */ + public function getPostalCode(): ?string { + $val = $this->getBackingStore()->get('postal_code'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'postal_code'"); + } + + /** + * Gets the region property value. The region property + * @return string|null + */ + public function getRegion(): ?string { + $val = $this->getBackingStore()->get('region'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'region'"); + } + + /** + * Gets the street_address property value. The street_address property + * @return string|null + */ + public function getStreetAddress(): ?string { + $val = $this->getBackingStore()->get('street_address'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'street_address'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeStringValue('country', $this->getCountry()); + $writer->writeStringValue('locality', $this->getLocality()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('postal_code', $this->getPostalCode()); + $writer->writeStringValue('region', $this->getRegion()); + $writer->writeStringValue('street_address', $this->getStreetAddress()); + $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 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 locality property value. The locality property + * @param string|null $value Value to set for the locality property. + */ + public function setLocality(?string $value): void { + $this->getBackingStore()->set('locality', $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 postal_code property value. The postal_code property + * @param string|null $value Value to set for the postal_code property. + */ + public function setPostalCode(?string $value): void { + $this->getBackingStore()->set('postal_code', $value); + } + + /** + * Sets the region property value. The region property + * @param string|null $value Value to set for the region property. + */ + public function setRegion(?string $value): void { + $this->getBackingStore()->set('region', $value); + } + + /** + * Sets the street_address property value. The street_address property + * @param string|null $value Value to set for the street_address property. + */ + public function setStreetAddress(?string $value): void { + $this->getBackingStore()->set('street_address', $value); + } + +} diff --git a/src/Generated/Models/OidcClientAuthentication.php b/src/Generated/Models/OidcClientAuthentication.php new file mode 100644 index 00000000000..6800c064de5 --- /dev/null +++ b/src/Generated/Models/OidcClientAuthentication.php @@ -0,0 +1,122 @@ +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 OidcClientAuthentication + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OidcClientAuthentication { + $mappingValueNode = $parseNode->getChildNode("@odata.type"); + if ($mappingValueNode !== null) { + $mappingValue = $mappingValueNode->getStringValue(); + switch ($mappingValue) { + case '#microsoft.graph.oidcClientSecretAuthentication': return new OidcClientSecretAuthentication(); + case '#microsoft.graph.oidcPrivateJwtKeyClientAuthentication': return new OidcPrivateJwtKeyClientAuthentication(); + } + } + return new OidcClientAuthentication(); + } + + /** + * 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/OidcClientSecretAuthentication.php b/src/Generated/Models/OidcClientSecretAuthentication.php new file mode 100644 index 00000000000..d79ff0567e0 --- /dev/null +++ b/src/Generated/Models/OidcClientSecretAuthentication.php @@ -0,0 +1,68 @@ +setOdataType('#microsoft.graph.oidcClientSecretAuthentication'); + } + + /** + * 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 OidcClientSecretAuthentication + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OidcClientSecretAuthentication { + return new OidcClientSecretAuthentication(); + } + + /** + * Gets the clientSecret property value. The clientSecret property + * @return string|null + */ + public function getClientSecret(): ?string { + $val = $this->getBackingStore()->get('clientSecret'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clientSecret'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'clientSecret' => fn(ParseNode $n) => $o->setClientSecret($n->getStringValue()), + ]); + } + + /** + * 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('clientSecret', $this->getClientSecret()); + } + + /** + * Sets the clientSecret property value. The clientSecret property + * @param string|null $value Value to set for the clientSecret property. + */ + public function setClientSecret(?string $value): void { + $this->getBackingStore()->set('clientSecret', $value); + } + +} diff --git a/src/Generated/Models/OidcIdentityProvider.php b/src/Generated/Models/OidcIdentityProvider.php new file mode 100644 index 00000000000..2545be7ee61 --- /dev/null +++ b/src/Generated/Models/OidcIdentityProvider.php @@ -0,0 +1,200 @@ +setOdataType('#microsoft.graph.oidcIdentityProvider'); + } + + /** + * 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 OidcIdentityProvider + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OidcIdentityProvider { + return new OidcIdentityProvider(); + } + + /** + * Gets the clientAuthentication property value. The clientAuthentication property + * @return OidcClientAuthentication|null + */ + public function getClientAuthentication(): ?OidcClientAuthentication { + $val = $this->getBackingStore()->get('clientAuthentication'); + if (is_null($val) || $val instanceof OidcClientAuthentication) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clientAuthentication'"); + } + + /** + * Gets the clientId property value. The clientId property + * @return string|null + */ + public function getClientId(): ?string { + $val = $this->getBackingStore()->get('clientId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'clientId'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'clientAuthentication' => fn(ParseNode $n) => $o->setClientAuthentication($n->getObjectValue([OidcClientAuthentication::class, 'createFromDiscriminatorValue'])), + 'clientId' => fn(ParseNode $n) => $o->setClientId($n->getStringValue()), + 'inboundClaimMapping' => fn(ParseNode $n) => $o->setInboundClaimMapping($n->getObjectValue([OidcInboundClaimMappingOverride::class, 'createFromDiscriminatorValue'])), + 'issuer' => fn(ParseNode $n) => $o->setIssuer($n->getStringValue()), + 'responseType' => fn(ParseNode $n) => $o->setResponseType($n->getEnumValue(OidcResponseType::class)), + 'scope' => fn(ParseNode $n) => $o->setScope($n->getStringValue()), + 'wellKnownEndpoint' => fn(ParseNode $n) => $o->setWellKnownEndpoint($n->getStringValue()), + ]); + } + + /** + * Gets the inboundClaimMapping property value. The inboundClaimMapping property + * @return OidcInboundClaimMappingOverride|null + */ + public function getInboundClaimMapping(): ?OidcInboundClaimMappingOverride { + $val = $this->getBackingStore()->get('inboundClaimMapping'); + if (is_null($val) || $val instanceof OidcInboundClaimMappingOverride) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'inboundClaimMapping'"); + } + + /** + * Gets the issuer property value. The issuer property + * @return string|null + */ + public function getIssuer(): ?string { + $val = $this->getBackingStore()->get('issuer'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'issuer'"); + } + + /** + * Gets the responseType property value. The responseType property + * @return OidcResponseType|null + */ + public function getResponseType(): ?OidcResponseType { + $val = $this->getBackingStore()->get('responseType'); + if (is_null($val) || $val instanceof OidcResponseType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'responseType'"); + } + + /** + * Gets the scope property value. The scope property + * @return string|null + */ + public function getScope(): ?string { + $val = $this->getBackingStore()->get('scope'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scope'"); + } + + /** + * Gets the wellKnownEndpoint property value. The wellKnownEndpoint property + * @return string|null + */ + public function getWellKnownEndpoint(): ?string { + $val = $this->getBackingStore()->get('wellKnownEndpoint'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'wellKnownEndpoint'"); + } + + /** + * 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('clientAuthentication', $this->getClientAuthentication()); + $writer->writeStringValue('clientId', $this->getClientId()); + $writer->writeObjectValue('inboundClaimMapping', $this->getInboundClaimMapping()); + $writer->writeStringValue('issuer', $this->getIssuer()); + $writer->writeEnumValue('responseType', $this->getResponseType()); + $writer->writeStringValue('scope', $this->getScope()); + $writer->writeStringValue('wellKnownEndpoint', $this->getWellKnownEndpoint()); + } + + /** + * Sets the clientAuthentication property value. The clientAuthentication property + * @param OidcClientAuthentication|null $value Value to set for the clientAuthentication property. + */ + public function setClientAuthentication(?OidcClientAuthentication $value): void { + $this->getBackingStore()->set('clientAuthentication', $value); + } + + /** + * Sets the clientId property value. The clientId property + * @param string|null $value Value to set for the clientId property. + */ + public function setClientId(?string $value): void { + $this->getBackingStore()->set('clientId', $value); + } + + /** + * Sets the inboundClaimMapping property value. The inboundClaimMapping property + * @param OidcInboundClaimMappingOverride|null $value Value to set for the inboundClaimMapping property. + */ + public function setInboundClaimMapping(?OidcInboundClaimMappingOverride $value): void { + $this->getBackingStore()->set('inboundClaimMapping', $value); + } + + /** + * Sets the issuer property value. The issuer property + * @param string|null $value Value to set for the issuer property. + */ + public function setIssuer(?string $value): void { + $this->getBackingStore()->set('issuer', $value); + } + + /** + * Sets the responseType property value. The responseType property + * @param OidcResponseType|null $value Value to set for the responseType property. + */ + public function setResponseType(?OidcResponseType $value): void { + $this->getBackingStore()->set('responseType', $value); + } + + /** + * Sets the scope property value. The scope property + * @param string|null $value Value to set for the scope property. + */ + public function setScope(?string $value): void { + $this->getBackingStore()->set('scope', $value); + } + + /** + * Sets the wellKnownEndpoint property value. The wellKnownEndpoint property + * @param string|null $value Value to set for the wellKnownEndpoint property. + */ + public function setWellKnownEndpoint(?string $value): void { + $this->getBackingStore()->set('wellKnownEndpoint', $value); + } + +} diff --git a/src/Generated/Models/OidcInboundClaimMappingOverride.php b/src/Generated/Models/OidcInboundClaimMappingOverride.php new file mode 100644 index 00000000000..e2ae54c9ba1 --- /dev/null +++ b/src/Generated/Models/OidcInboundClaimMappingOverride.php @@ -0,0 +1,312 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return OidcInboundClaimMappingOverride + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OidcInboundClaimMappingOverride { + return new OidcInboundClaimMappingOverride(); + } + + /** + * 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 address property value. The address property + * @return OidcAddressInboundClaims|null + */ + public function getAddress(): ?OidcAddressInboundClaims { + $val = $this->getBackingStore()->get('address'); + if (is_null($val) || $val instanceof OidcAddressInboundClaims) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'address'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the email property value. The email property + * @return string|null + */ + public function getEmail(): ?string { + $val = $this->getBackingStore()->get('email'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'email'"); + } + + /** + * Gets the email_verified property value. The email_verified property + * @return string|null + */ + public function getEmailVerified(): ?string { + $val = $this->getBackingStore()->get('email_verified'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'email_verified'"); + } + + /** + * Gets the family_name property value. The family_name property + * @return string|null + */ + public function getFamilyName(): ?string { + $val = $this->getBackingStore()->get('family_name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'family_name'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'address' => fn(ParseNode $n) => $o->setAddress($n->getObjectValue([OidcAddressInboundClaims::class, 'createFromDiscriminatorValue'])), + 'email' => fn(ParseNode $n) => $o->setEmail($n->getStringValue()), + 'email_verified' => fn(ParseNode $n) => $o->setEmailVerified($n->getStringValue()), + 'family_name' => fn(ParseNode $n) => $o->setFamilyName($n->getStringValue()), + 'given_name' => fn(ParseNode $n) => $o->setGivenName($n->getStringValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'phone_number' => fn(ParseNode $n) => $o->setPhoneNumber($n->getStringValue()), + 'phone_number_verified' => fn(ParseNode $n) => $o->setPhoneNumberVerified($n->getStringValue()), + 'sub' => fn(ParseNode $n) => $o->setSub($n->getStringValue()), + ]; + } + + /** + * Gets the given_name property value. The given_name property + * @return string|null + */ + public function getGivenName(): ?string { + $val = $this->getBackingStore()->get('given_name'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'given_name'"); + } + + /** + * 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 phone_number property value. The phone_number property + * @return string|null + */ + public function getPhoneNumber(): ?string { + $val = $this->getBackingStore()->get('phone_number'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'phone_number'"); + } + + /** + * Gets the phone_number_verified property value. The phone_number_verified property + * @return string|null + */ + public function getPhoneNumberVerified(): ?string { + $val = $this->getBackingStore()->get('phone_number_verified'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'phone_number_verified'"); + } + + /** + * Gets the sub property value. The sub property + * @return string|null + */ + public function getSub(): ?string { + $val = $this->getBackingStore()->get('sub'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sub'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeObjectValue('address', $this->getAddress()); + $writer->writeStringValue('email', $this->getEmail()); + $writer->writeStringValue('email_verified', $this->getEmailVerified()); + $writer->writeStringValue('family_name', $this->getFamilyName()); + $writer->writeStringValue('given_name', $this->getGivenName()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeStringValue('phone_number', $this->getPhoneNumber()); + $writer->writeStringValue('phone_number_verified', $this->getPhoneNumberVerified()); + $writer->writeStringValue('sub', $this->getSub()); + $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 address property value. The address property + * @param OidcAddressInboundClaims|null $value Value to set for the address property. + */ + public function setAddress(?OidcAddressInboundClaims $value): void { + $this->getBackingStore()->set('address', $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 email property value. The email property + * @param string|null $value Value to set for the email property. + */ + public function setEmail(?string $value): void { + $this->getBackingStore()->set('email', $value); + } + + /** + * Sets the email_verified property value. The email_verified property + * @param string|null $value Value to set for the email_verified property. + */ + public function setEmailVerified(?string $value): void { + $this->getBackingStore()->set('email_verified', $value); + } + + /** + * Sets the family_name property value. The family_name property + * @param string|null $value Value to set for the family_name property. + */ + public function setFamilyName(?string $value): void { + $this->getBackingStore()->set('family_name', $value); + } + + /** + * Sets the given_name property value. The given_name property + * @param string|null $value Value to set for the given_name property. + */ + public function setGivenName(?string $value): void { + $this->getBackingStore()->set('given_name', $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 phone_number property value. The phone_number property + * @param string|null $value Value to set for the phone_number property. + */ + public function setPhoneNumber(?string $value): void { + $this->getBackingStore()->set('phone_number', $value); + } + + /** + * Sets the phone_number_verified property value. The phone_number_verified property + * @param string|null $value Value to set for the phone_number_verified property. + */ + public function setPhoneNumberVerified(?string $value): void { + $this->getBackingStore()->set('phone_number_verified', $value); + } + + /** + * Sets the sub property value. The sub property + * @param string|null $value Value to set for the sub property. + */ + public function setSub(?string $value): void { + $this->getBackingStore()->set('sub', $value); + } + +} diff --git a/src/Generated/Models/OidcPrivateJwtKeyClientAuthentication.php b/src/Generated/Models/OidcPrivateJwtKeyClientAuthentication.php new file mode 100644 index 00000000000..71bbe47ca5c --- /dev/null +++ b/src/Generated/Models/OidcPrivateJwtKeyClientAuthentication.php @@ -0,0 +1,46 @@ +setOdataType('#microsoft.graph.oidcPrivateJwtKeyClientAuthentication'); + } + + /** + * 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 OidcPrivateJwtKeyClientAuthentication + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): OidcPrivateJwtKeyClientAuthentication { + return new OidcPrivateJwtKeyClientAuthentication(); + } + + /** + * 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/OidcResponseType.php b/src/Generated/Models/OidcResponseType.php new file mode 100644 index 00000000000..9dfea7a3ca9 --- /dev/null +++ b/src/Generated/Models/OidcResponseType.php @@ -0,0 +1,12 @@ +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 @@ -45,7 +32,6 @@ public function getCreatedDateTime(): ?DateTime { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'password' => fn(ParseNode $n) => $o->setPassword($n->getStringValue()), ]); } @@ -68,18 +54,9 @@ public function getPassword(): ?string { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeStringValue('password', $this->getPassword()); } - /** - * Sets the createdDateTime property value. The date and time when this password was last updated. This property is currently not populated. Read-only. 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. - * @param DateTime|null $value Value to set for the createdDateTime property. - */ - public function setCreatedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('createdDateTime', $value); - } - /** * Sets the password property value. For security, the password is always returned as null from a LIST or GET operation. * @param string|null $value Value to set for the password property. diff --git a/src/Generated/Models/PlatformCredentialAuthenticationMethod.php b/src/Generated/Models/PlatformCredentialAuthenticationMethod.php index bf43a29d5ea..2f2e069e6ff 100644 --- a/src/Generated/Models/PlatformCredentialAuthenticationMethod.php +++ b/src/Generated/Models/PlatformCredentialAuthenticationMethod.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Models; -use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -26,18 +25,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Platf return new PlatformCredentialAuthenticationMethod(); } - /** - * Gets the createdDateTime property value. The date and time that this Platform Credential Key was registered. - * @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 device property value. The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. * @return Device|null @@ -69,7 +56,6 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'device' => fn(ParseNode $n) => $o->setDevice($n->getObjectValue([Device::class, 'createFromDiscriminatorValue'])), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'keyStrength' => fn(ParseNode $n) => $o->setKeyStrength($n->getEnumValue(AuthenticationMethodKeyStrength::class)), @@ -107,21 +93,12 @@ public function getPlatform(): ?AuthenticationMethodPlatform { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeObjectValue('device', $this->getDevice()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeEnumValue('keyStrength', $this->getKeyStrength()); $writer->writeEnumValue('platform', $this->getPlatform()); } - /** - * Sets the createdDateTime property value. The date and time that this Platform Credential Key was registered. - * @param DateTime|null $value Value to set for the createdDateTime property. - */ - public function setCreatedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('createdDateTime', $value); - } - /** * Sets the device property value. The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. * @param Device|null $value Value to set for the device property. diff --git a/src/Generated/Models/ProcessConversationMetadata.php b/src/Generated/Models/ProcessConversationMetadata.php index ba3ec5d5dfd..6097f55e48d 100644 --- a/src/Generated/Models/ProcessConversationMetadata.php +++ b/src/Generated/Models/ProcessConversationMetadata.php @@ -40,6 +40,34 @@ public function getAccessedResources(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'accessedResources'"); } + /** + * Gets the accessedResources_v2 property value. The accessedResources_v2 property + * @return array|null + */ + public function getAccessedResourcesV2(): ?array { + $val = $this->getBackingStore()->get('accessedResources_v2'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ResourceAccessDetail::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'accessedResources_v2'"); + } + + /** + * Gets the agents property value. The agents property + * @return array|null + */ + public function getAgents(): ?array { + $val = $this->getBackingStore()->get('agents'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, AiAgentInfo::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'agents'"); + } + /** * The deserialization information for the current model * @return array @@ -55,6 +83,8 @@ public function getFieldDeserializers(): array { /** @var array|null $val */ $this->setAccessedResources($val); }, + 'accessedResources_v2' => fn(ParseNode $n) => $o->setAccessedResourcesV2($n->getCollectionOfObjectValues([ResourceAccessDetail::class, 'createFromDiscriminatorValue'])), + 'agents' => fn(ParseNode $n) => $o->setAgents($n->getCollectionOfObjectValues([AiAgentInfo::class, 'createFromDiscriminatorValue'])), 'parentMessageId' => fn(ParseNode $n) => $o->setParentMessageId($n->getStringValue()), 'plugins' => fn(ParseNode $n) => $o->setPlugins($n->getCollectionOfObjectValues([AiInteractionPlugin::class, 'createFromDiscriminatorValue'])), ]); @@ -93,6 +123,8 @@ public function getPlugins(): ?array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeCollectionOfPrimitiveValues('accessedResources', $this->getAccessedResources()); + $writer->writeCollectionOfObjectValues('accessedResources_v2', $this->getAccessedResourcesV2()); + $writer->writeCollectionOfObjectValues('agents', $this->getAgents()); $writer->writeStringValue('parentMessageId', $this->getParentMessageId()); $writer->writeCollectionOfObjectValues('plugins', $this->getPlugins()); } @@ -105,6 +137,22 @@ public function setAccessedResources(?array $value): void { $this->getBackingStore()->set('accessedResources', $value); } + /** + * Sets the accessedResources_v2 property value. The accessedResources_v2 property + * @param array|null $value Value to set for the accessedResources_v2 property. + */ + public function setAccessedResourcesV2(?array $value): void { + $this->getBackingStore()->set('accessedResources_v2', $value); + } + + /** + * Sets the agents property value. The agents property + * @param array|null $value Value to set for the agents property. + */ + public function setAgents(?array $value): void { + $this->getBackingStore()->set('agents', $value); + } + /** * Sets the parentMessageId property value. Identifier of the parent message in a threaded conversation, if applicable. * @param string|null $value Value to set for the parentMessageId property. diff --git a/src/Generated/Models/ResourceAccessDetail.php b/src/Generated/Models/ResourceAccessDetail.php new file mode 100644 index 00000000000..43a0079d5de --- /dev/null +++ b/src/Generated/Models/ResourceAccessDetail.php @@ -0,0 +1,290 @@ +backingStore = BackingStoreFactorySingleton::getInstance()->createBackingStore(); + $this->setAdditionalData([]); + } + + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param ParseNode $parseNode The parse node to use to read the discriminator value and create the object + * @return ResourceAccessDetail + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): ResourceAccessDetail { + return new ResourceAccessDetail(); + } + + /** + * Gets the accessType property value. The accessType property + * @return ResourceAccessType|null + */ + public function getAccessType(): ?ResourceAccessType { + $val = $this->getBackingStore()->get('accessType'); + if (is_null($val) || $val instanceof ResourceAccessType) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'accessType'"); + } + + /** + * 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 [ + 'accessType' => fn(ParseNode $n) => $o->setAccessType($n->getEnumValue(ResourceAccessType::class)), + 'identifier' => fn(ParseNode $n) => $o->setIdentifier($n->getStringValue()), + 'isCrossPromptInjectionDetected' => fn(ParseNode $n) => $o->setIsCrossPromptInjectionDetected($n->getBooleanValue()), + 'labelId' => fn(ParseNode $n) => $o->setLabelId($n->getStringValue()), + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + '@odata.type' => fn(ParseNode $n) => $o->setOdataType($n->getStringValue()), + 'status' => fn(ParseNode $n) => $o->setStatus($n->getEnumValue(ResourceAccessStatus::class)), + 'storageId' => fn(ParseNode $n) => $o->setStorageId($n->getStringValue()), + 'url' => fn(ParseNode $n) => $o->setUrl($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 isCrossPromptInjectionDetected property value. The isCrossPromptInjectionDetected property + * @return bool|null + */ + public function getIsCrossPromptInjectionDetected(): ?bool { + $val = $this->getBackingStore()->get('isCrossPromptInjectionDetected'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isCrossPromptInjectionDetected'"); + } + + /** + * Gets the labelId property value. The labelId property + * @return string|null + */ + public function getLabelId(): ?string { + $val = $this->getBackingStore()->get('labelId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'labelId'"); + } + + /** + * Gets the 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 status property value. The status property + * @return ResourceAccessStatus|null + */ + public function getStatus(): ?ResourceAccessStatus { + $val = $this->getBackingStore()->get('status'); + if (is_null($val) || $val instanceof ResourceAccessStatus) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'status'"); + } + + /** + * Gets the storageId property value. The storageId property + * @return string|null + */ + public function getStorageId(): ?string { + $val = $this->getBackingStore()->get('storageId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'storageId'"); + } + + /** + * Gets the url property value. The url property + * @return string|null + */ + public function getUrl(): ?string { + $val = $this->getBackingStore()->get('url'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'url'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeEnumValue('accessType', $this->getAccessType()); + $writer->writeStringValue('identifier', $this->getIdentifier()); + $writer->writeBooleanValue('isCrossPromptInjectionDetected', $this->getIsCrossPromptInjectionDetected()); + $writer->writeStringValue('labelId', $this->getLabelId()); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('@odata.type', $this->getOdataType()); + $writer->writeEnumValue('status', $this->getStatus()); + $writer->writeStringValue('storageId', $this->getStorageId()); + $writer->writeStringValue('url', $this->getUrl()); + $writer->writeAdditionalData($this->getAdditionalData()); + } + + /** + * Sets the accessType property value. The accessType property + * @param ResourceAccessType|null $value Value to set for the accessType property. + */ + public function setAccessType(?ResourceAccessType $value): void { + $this->getBackingStore()->set('accessType', $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 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 isCrossPromptInjectionDetected property value. The isCrossPromptInjectionDetected property + * @param bool|null $value Value to set for the isCrossPromptInjectionDetected property. + */ + public function setIsCrossPromptInjectionDetected(?bool $value): void { + $this->getBackingStore()->set('isCrossPromptInjectionDetected', $value); + } + + /** + * Sets the labelId property value. The labelId property + * @param string|null $value Value to set for the labelId property. + */ + public function setLabelId(?string $value): void { + $this->getBackingStore()->set('labelId', $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 status property value. The status property + * @param ResourceAccessStatus|null $value Value to set for the status property. + */ + public function setStatus(?ResourceAccessStatus $value): void { + $this->getBackingStore()->set('status', $value); + } + + /** + * Sets the storageId property value. The storageId property + * @param string|null $value Value to set for the storageId property. + */ + public function setStorageId(?string $value): void { + $this->getBackingStore()->set('storageId', $value); + } + + /** + * Sets the url property value. The url property + * @param string|null $value Value to set for the url property. + */ + public function setUrl(?string $value): void { + $this->getBackingStore()->set('url', $value); + } + +} diff --git a/src/Generated/Models/ResourceAccessStatus.php b/src/Generated/Models/ResourceAccessStatus.php new file mode 100644 index 00000000000..a952955f913 --- /dev/null +++ b/src/Generated/Models/ResourceAccessStatus.php @@ -0,0 +1,12 @@ + fn(ParseNode $n) => $o->setReportFileMetadata($n->getCollectionOfObjectValues([ReportFileMetadata::class, 'createFromDiscriminatorValue'])), ]); } + /** + * Gets the reportFileMetadata property value. The purge job report file metadata. It contains the properties for report file metadata, including downloadUrl, fileName, and size. + * @return array|null + */ + public function getReportFileMetadata(): ?array { + $val = $this->getBackingStore()->get('reportFileMetadata'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ReportFileMetadata::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'reportFileMetadata'"); + } + /** * 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('reportFileMetadata', $this->getReportFileMetadata()); + } + + /** + * Sets the reportFileMetadata property value. The purge job report file metadata. It contains the properties for report file metadata, including downloadUrl, fileName, and size. + * @param array|null $value Value to set for the reportFileMetadata property. + */ + public function setReportFileMetadata(?array $value): void { + $this->getBackingStore()->set('reportFileMetadata', $value); } } diff --git a/src/Generated/Models/Security/Incident.php b/src/Generated/Models/Security/Incident.php index 3f0f832220d..d19d8076447 100644 --- a/src/Generated/Models/Security/Incident.php +++ b/src/Generated/Models/Security/Incident.php @@ -222,7 +222,7 @@ public function getLastUpdateDateTime(): ?DateTime { } /** - * Gets the priorityScore property value. The priorityScore property + * Gets the priorityScore property value. A priority score for the incident from 0 to 100, with > 85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. * @return int|null */ public function getPriorityScore(): ?int { @@ -444,7 +444,7 @@ public function setLastUpdateDateTime(?DateTime $value): void { } /** - * Sets the priorityScore property value. The priorityScore property + * Sets the priorityScore property value. A priority score for the incident from 0 to 100, with > 85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. * @param int|null $value Value to set for the priorityScore property. */ public function setPriorityScore(?int $value): void { diff --git a/src/Generated/Models/TeamsAdministration/PolicyIdentifierDetail.php b/src/Generated/Models/TeamsAdministration/PolicyIdentifierDetail.php new file mode 100644 index 00000000000..1b58cbeac3d --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/PolicyIdentifierDetail.php @@ -0,0 +1,90 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'name' => fn(ParseNode $n) => $o->setName($n->getStringValue()), + 'policyId' => fn(ParseNode $n) => $o->setPolicyId($n->getStringValue()), + ]); + } + + /** + * Gets the name property value. The display name of the policy instance. + * @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 policyId property value. The unique ID associated with the policy instance. + * @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 { + parent::serialize($writer); + $writer->writeStringValue('name', $this->getName()); + $writer->writeStringValue('policyId', $this->getPolicyId()); + } + + /** + * Sets the name property value. The display name of the policy instance. + * @param string|null $value Value to set for the name property. + */ + public function setName(?string $value): void { + $this->getBackingStore()->set('name', $value); + } + + /** + * Sets the policyId property value. The unique ID associated with the policy instance. + * @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 55f216b654e..6a5e4c36827 100644 --- a/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php +++ b/src/Generated/Models/TeamsAdministration/TeamsAdminRoot.php @@ -33,12 +33,25 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Teams 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'])), ]); } /** - * Gets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams. + * Gets the policy property value. Represents a navigation property to the Teams policy assignment object. + * @return TeamsPolicyAssignment|null + */ + public function getPolicy(): ?TeamsPolicyAssignment { + $val = $this->getBackingStore()->get('policy'); + if (is_null($val) || $val instanceof TeamsPolicyAssignment) { + return $val; + } + 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 { @@ -57,11 +70,20 @@ public function getUserConfigurations(): ?array { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); + $writer->writeObjectValue('policy', $this->getPolicy()); $writer->writeCollectionOfObjectValues('userConfigurations', $this->getUserConfigurations()); } /** - * Sets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams. + * Sets the policy property value. Represents a navigation property to the Teams policy assignment object. + * @param TeamsPolicyAssignment|null $value Value to set for the policy property. + */ + 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 { diff --git a/src/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.php b/src/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.php new file mode 100644 index 00000000000..81d4f3f3066 --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/TeamsPolicyAssignment.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'userAssignments' => fn(ParseNode $n) => $o->setUserAssignments($n->getCollectionOfObjectValues([TeamsPolicyUserAssignment::class, 'createFromDiscriminatorValue'])), + ]); + } + + /** + * Gets the userAssignments property value. The collection of user policy assignments. + * @return array|null + */ + public function getUserAssignments(): ?array { + $val = $this->getBackingStore()->get('userAssignments'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, TeamsPolicyUserAssignment::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userAssignments'"); + } + + /** + * 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('userAssignments', $this->getUserAssignments()); + } + + /** + * Sets the userAssignments property value. The collection of user policy assignments. + * @param array|null $value Value to set for the userAssignments property. + */ + public function setUserAssignments(?array $value): void { + $this->getBackingStore()->set('userAssignments', $value); + } + +} diff --git a/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.php b/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.php new file mode 100644 index 00000000000..ab26b71e838 --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignment.php @@ -0,0 +1,112 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'policyId' => fn(ParseNode $n) => $o->setPolicyId($n->getStringValue()), + 'policyType' => fn(ParseNode $n) => $o->setPolicyType($n->getStringValue()), + 'userId' => fn(ParseNode $n) => $o->setUserId($n->getStringValue()), + ]); + } + + /** + * Gets the policyId property value. The unique identifier (GUID) of the policy within the specified policy type. + * @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'"); + } + + /** + * Gets the policyType property value. The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. + * @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'"); + } + + /** + * Gets the userId property value. The unique identifier (GUID) of the user. + * @return string|null + */ + public function getUserId(): ?string { + $val = $this->getBackingStore()->get('userId'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'userId'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeStringValue('policyId', $this->getPolicyId()); + $writer->writeStringValue('policyType', $this->getPolicyType()); + $writer->writeStringValue('userId', $this->getUserId()); + } + + /** + * Sets the policyId property value. The unique identifier (GUID) of the policy within the specified policy type. + * @param string|null $value Value to set for the policyId property. + */ + public function setPolicyId(?string $value): void { + $this->getBackingStore()->set('policyId', $value); + } + + /** + * Sets the policyType property value. The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. + * @param string|null $value Value to set for the policyType property. + */ + public function setPolicyType(?string $value): void { + $this->getBackingStore()->set('policyType', $value); + } + + /** + * Sets the userId property value. The unique identifier (GUID) of the user. + * @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/TeamsAdministration/TeamsPolicyUserAssignmentCollectionResponse.php b/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignmentCollectionResponse.php new file mode 100644 index 00000000000..231706c24c1 --- /dev/null +++ b/src/Generated/Models/TeamsAdministration/TeamsPolicyUserAssignmentCollectionResponse.php @@ -0,0 +1,71 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([TeamsPolicyUserAssignment::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, TeamsPolicyUserAssignment::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/TemporaryAccessPassAuthenticationMethod.php b/src/Generated/Models/TemporaryAccessPassAuthenticationMethod.php index a344a5a61ac..5028109a956 100644 --- a/src/Generated/Models/TemporaryAccessPassAuthenticationMethod.php +++ b/src/Generated/Models/TemporaryAccessPassAuthenticationMethod.php @@ -26,18 +26,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Tempo return new TemporaryAccessPassAuthenticationMethod(); } - /** - * Gets the createdDateTime property value. The date and time when the Temporary Access Pass 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 @@ -45,7 +33,6 @@ public function getCreatedDateTime(): ?DateTime { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'isUsable' => fn(ParseNode $n) => $o->setIsUsable($n->getBooleanValue()), 'isUsableOnce' => fn(ParseNode $n) => $o->setIsUsableOnce($n->getBooleanValue()), 'lifetimeInMinutes' => fn(ParseNode $n) => $o->setLifetimeInMinutes($n->getIntegerValue()), @@ -133,7 +120,6 @@ public function getTemporaryAccessPass(): ?string { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeBooleanValue('isUsable', $this->getIsUsable()); $writer->writeBooleanValue('isUsableOnce', $this->getIsUsableOnce()); $writer->writeIntegerValue('lifetimeInMinutes', $this->getLifetimeInMinutes()); @@ -142,14 +128,6 @@ public function serialize(SerializationWriter $writer): void { $writer->writeStringValue('temporaryAccessPass', $this->getTemporaryAccessPass()); } - /** - * Sets the createdDateTime property value. The date and time when the Temporary Access Pass 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 isUsable property value. The state of the authentication method that indicates whether it's currently usable by the user. * @param bool|null $value Value to set for the isUsable property. diff --git a/src/Generated/Models/UsageRights.php b/src/Generated/Models/UsageRights.php index 50ebc754d69..8ada3a939ca 100644 --- a/src/Generated/Models/UsageRights.php +++ b/src/Generated/Models/UsageRights.php @@ -25,5 +25,6 @@ class UsageRights extends Enum { public const ENCRYPTED_PROTECTION_TYPE_NOT_SUPPORTED_EXCEPTION = "encryptedProtectionTypeNotSupportedException"; public const PURVIEW_CLAIMS_CHALLENGE_NOT_SUPPORTED_EXCEPTION = "purviewClaimsChallengeNotSupportedException"; public const EXCEPTION = "exception"; + public const LABEL_NOT_FOUND_EXCEPTION = "labelNotFoundException"; public const UNKNOWN_FUTURE_VALUE = "unknownFutureValue"; } diff --git a/src/Generated/Models/WindowsHelloForBusinessAuthenticationMethod.php b/src/Generated/Models/WindowsHelloForBusinessAuthenticationMethod.php index c032ddb94bf..463bedb5064 100644 --- a/src/Generated/Models/WindowsHelloForBusinessAuthenticationMethod.php +++ b/src/Generated/Models/WindowsHelloForBusinessAuthenticationMethod.php @@ -2,7 +2,6 @@ namespace Microsoft\Graph\Generated\Models; -use DateTime; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter; @@ -26,18 +25,6 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Windo return new WindowsHelloForBusinessAuthenticationMethod(); } - /** - * Gets the createdDateTime property value. The date and time that this Windows Hello for Business key was registered. - * @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 device property value. The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. * @return Device|null @@ -69,7 +56,6 @@ public function getDisplayName(): ?string { public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ - 'createdDateTime' => fn(ParseNode $n) => $o->setCreatedDateTime($n->getDateTimeValue()), 'device' => fn(ParseNode $n) => $o->setDevice($n->getObjectValue([Device::class, 'createFromDiscriminatorValue'])), 'displayName' => fn(ParseNode $n) => $o->setDisplayName($n->getStringValue()), 'keyStrength' => fn(ParseNode $n) => $o->setKeyStrength($n->getEnumValue(AuthenticationMethodKeyStrength::class)), @@ -94,20 +80,11 @@ public function getKeyStrength(): ?AuthenticationMethodKeyStrength { */ public function serialize(SerializationWriter $writer): void { parent::serialize($writer); - $writer->writeDateTimeValue('createdDateTime', $this->getCreatedDateTime()); $writer->writeObjectValue('device', $this->getDevice()); $writer->writeStringValue('displayName', $this->getDisplayName()); $writer->writeEnumValue('keyStrength', $this->getKeyStrength()); } - /** - * Sets the createdDateTime property value. The date and time that this Windows Hello for Business key was registered. - * @param DateTime|null $value Value to set for the createdDateTime property. - */ - public function setCreatedDateTime(?DateTime $value): void { - $this->getBackingStore()->set('createdDateTime', $value); - } - /** * Sets the device property value. The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. * @param Device|null $value Value to set for the device property. diff --git a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php index 7f2da938805..4abfe2193d5 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.php @@ -52,7 +52,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * Read the properties and relationships of an externalAuthenticationMethodConfiguration object. * @param AuthenticationMethodConfigurationsRequestBuilderGetRequestConfiguration|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(AuthenticationMethodConfiguration $body, ?AuthenticationMet } /** - * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * Read the properties and relationships of an externalAuthenticationMethodConfiguration object. * @param AuthenticationMethodConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilderGetQueryParameters.php index 32e49743e2a..c2e40fecf9a 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * Read the properties and relationships of an externalAuthenticationMethodConfiguration object. */ class AuthenticationMethodConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php index a773908de00..237f2b9e5e8 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.php @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete navigation property authenticationMethodConfigurations for policies + * Delete an externalAuthenticationMethodConfiguration object. * @param AuthenticationMethodConfigurationItemRequestBuilderDeleteRequestConfiguration|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/externalauthenticationmethodconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?AuthenticationMethodConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -45,10 +46,11 @@ public function delete(?AuthenticationMethodConfigurationItemRequestBuilderDelet } /** - * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * Read the properties and relationships of an externalAuthenticationMethodConfiguration object. * @param AuthenticationMethodConfigurationItemRequestBuilderGetRequestConfiguration|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/externalauthenticationmethodconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?AuthenticationMethodConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -59,11 +61,12 @@ public function get(?AuthenticationMethodConfigurationItemRequestBuilderGetReque } /** - * Update the navigation property authenticationMethodConfigurations in policies + * Update the properties of an externalAuthenticationMethodConfiguration object. * @param AuthenticationMethodConfiguration $body The request body * @param AuthenticationMethodConfigurationItemRequestBuilderPatchRequestConfiguration|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/externalauthenticationmethodconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(AuthenticationMethodConfiguration $body, ?AuthenticationMethodConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -74,7 +77,7 @@ public function patch(AuthenticationMethodConfiguration $body, ?AuthenticationMe } /** - * Delete navigation property authenticationMethodConfigurations for policies + * Delete an externalAuthenticationMethodConfiguration object. * @param AuthenticationMethodConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -92,7 +95,7 @@ public function toDeleteRequestInformation(?AuthenticationMethodConfigurationIte } /** - * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * Read the properties and relationships of an externalAuthenticationMethodConfiguration object. * @param AuthenticationMethodConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -113,7 +116,7 @@ public function toGetRequestInformation(?AuthenticationMethodConfigurationItemRe } /** - * Update the navigation property authenticationMethodConfigurations in policies + * Update the properties of an externalAuthenticationMethodConfiguration object. * @param AuthenticationMethodConfiguration $body The request body * @param AuthenticationMethodConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilderGetQueryParameters.php index 47bd1a04f9b..a45b866e01d 100644 --- a/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. + * Read the properties and relationships of an externalAuthenticationMethodConfiguration object. */ class AuthenticationMethodConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php b/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php index 646777a67cd..5449b7d7157 100644 --- a/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php +++ b/src/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Models\Authentication; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Users\Item\Authentication\EmailMethods\EmailMethodsRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Authentication\ExternalAuthenticationMethods\ExternalAuthenticationMethodsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Authentication\Fido2Methods\Fido2MethodsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Authentication\Methods\MethodsRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Authentication\MicrosoftAuthenticatorMethods\MicrosoftAuthenticatorMethodsRequestBuilder; @@ -34,6 +35,13 @@ public function emailMethods(): EmailMethodsRequestBuilder { return new EmailMethodsRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. + */ + public function externalAuthenticationMethods(): ExternalAuthenticationMethodsRequestBuilder { + return new ExternalAuthenticationMethodsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. */ diff --git a/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilder.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilder.php new file mode 100644 index 00000000000..d5a9697bcd6 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/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}/authentication/externalAuthenticationMethods/$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/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..f3336502ca5 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +filter = $filter; + $this->search = $search; + } + +} diff --git a/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Count/CountRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3e4bada2c4c --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/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/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.php new file mode 100644 index 00000000000..6b80a70d90a --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilder.php @@ -0,0 +1,134 @@ +pathParameters, $this->requestAdapter); + } + + /** + * Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. + * @param string $externalAuthenticationMethodId The unique identifier of externalAuthenticationMethod + * @return ExternalAuthenticationMethodItemRequestBuilder + */ + public function byExternalAuthenticationMethodId(string $externalAuthenticationMethodId): ExternalAuthenticationMethodItemRequestBuilder { + $urlTplParams = $this->pathParameters; + $urlTplParams['externalAuthenticationMethod%2Did'] = $externalAuthenticationMethodId; + return new ExternalAuthenticationMethodItemRequestBuilder($urlTplParams, $this->requestAdapter); + } + + /** + * Instantiates a new ExternalAuthenticationMethodsRequestBuilder 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/externalAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * @param ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExternalAuthenticationMethodCollectionResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Create a new externalAuthenticationMethod object. This API doesn't support self-service operations. + * @param ExternalAuthenticationMethod $body The request body + * @param ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration|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-post-externalauthenticationmethods?view=graph-rest-1.0 Find more info here + */ + public function post(ExternalAuthenticationMethod $body, ?ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExternalAuthenticationMethod::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * @param ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration $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 externalAuthenticationMethod object. This API doesn't support self-service operations. + * @param ExternalAuthenticationMethod $body The request body + * @param ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(ExternalAuthenticationMethod $body, ?ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration $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 ExternalAuthenticationMethodsRequestBuilder + */ + public function withUrl(string $rawUrl): ExternalAuthenticationMethodsRequestBuilder { + return new ExternalAuthenticationMethodsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..1c9f599e9b1 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderGetQueryParameters.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 ExternalAuthenticationMethodsRequestBuilderGetQueryParameters 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/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..00ccc2cd98f --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,45 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ExternalAuthenticationMethodsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ExternalAuthenticationMethodsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ExternalAuthenticationMethodsRequestBuilderGetQueryParameters. + * @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 ExternalAuthenticationMethodsRequestBuilderGetQueryParameters + */ + 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): ExternalAuthenticationMethodsRequestBuilderGetQueryParameters { + return new ExternalAuthenticationMethodsRequestBuilderGetQueryParameters($count, $expand, $filter, $orderby, $search, $select, $skip, $top); + } + +} diff --git a/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..fba6412be29 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration.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/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.php new file mode 100644 index 00000000000..928930fa0b6 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilder.php @@ -0,0 +1,145 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods/{externalAuthenticationMethod%2Did}{?%24expand,%24select}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete an externalAuthenticationMethod object. This API doesn't support self-service operations. + * @param ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|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-externalauthenticationmethods?view=graph-rest-1.0 Find more info here + */ + public function delete(?ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * @param ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExternalAuthenticationMethod::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property externalAuthenticationMethods in users + * @param ExternalAuthenticationMethod $body The request body + * @param ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(ExternalAuthenticationMethod $body, ?ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [ExternalAuthenticationMethod::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete an externalAuthenticationMethod object. This API doesn't support self-service operations. + * @param ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Represents the external authentication methods registered to a user for authentication using an external identity provider. + * @param ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration $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 externalAuthenticationMethods in users + * @param ExternalAuthenticationMethod $body The request body + * @param ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(ExternalAuthenticationMethod $body, ?ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration $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 ExternalAuthenticationMethodItemRequestBuilder + */ + public function withUrl(string $rawUrl): ExternalAuthenticationMethodItemRequestBuilder { + return new ExternalAuthenticationMethodItemRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..9787fbb4d82 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration.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/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..34536ff2849 --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters.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 ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters 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/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..03585d256ae --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters { + return new ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..e215ea466bf --- /dev/null +++ b/src/Generated/Users/Item/Authentication/ExternalAuthenticationMethods/Item/ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration.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/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 4e55a5b2285..aec500c2429 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -1148,12 +1148,175 @@ Microsoft\Graph\Generated.admin.sharepoint.sharepointRequestBuilderGetRequestCon Microsoft\Graph\Generated.admin.sharepoint.sharepointRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):SharepointRequestBuilderGetQueryParameters Microsoft\Graph\Generated.admin.sharepoint.sharepointRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.admin.sharepoint.sharepointRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.getPolicyIdWithTypeWithNameGetResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.getPolicyIdWithTypeWithNameGetResponse::|public|constructor():void +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.getPolicyIdWithTypeWithNameGetResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.getPolicyIdWithTypeWithNameGetResponse::|public|getValue():array +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.getPolicyIdWithTypeWithNameGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.getPolicyIdWithTypeWithNameGetResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.getPolicyIdWithTypeWithNameGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):GetPolicyIdWithTypeWithNameGetResponse +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter; name?:string; type?:string):void +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|Get(requestConfiguration?:MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration):GetPolicyIdWithTypeWithNameGetResponse +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder::|public|WithUrl(rawUrl:string):MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration::|public|queryParameters:MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName.microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|Delete(requestConfiguration?:PolicyRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|Get(requestConfiguration?:PolicyRequestBuilderGetRequestConfiguration):TeamsPolicyAssignment +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(name:string; type:string):MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|Patch(body:TeamsPolicyAssignment; requestConfiguration?:PolicyRequestBuilderPatchRequestConfiguration):TeamsPolicyAssignment +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:PolicyRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:PolicyRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|ToPatchRequestInformation(body:TeamsPolicyAssignment; requestConfiguration?:PolicyRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|userAssignments:UserAssignmentsRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.PolicyRequestBuilder::|public|WithUrl(rawUrl:string):PolicyRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:PolicyRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderGetRequestConfiguration::|public|queryParameters:PolicyRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):PolicyRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.policyRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|Delete(requestConfiguration?:TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|Get(requestConfiguration?:TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration):TeamsPolicyUserAssignment +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|Patch(body:TeamsPolicyUserAssignment; requestConfiguration?:TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration):TeamsPolicyUserAssignment +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:TeamsPolicyUserAssignment; requestConfiguration?:TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):TeamsPolicyUserAssignmentItemRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):TeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.item.TeamsPolicyUserAssignmentItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|getValue():array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|public|setValue(value?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AssignPostRequestBody +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.assignPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.MicrosoftGraphTeamsAdministrationAssignRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.MicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.MicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.MicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|Post(body:AssignPostRequestBody; requestConfiguration?:MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.MicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.MicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|ToPostRequestInformation(body:AssignPostRequestBody; requestConfiguration?:MicrosoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.MicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.MicrosoftGraphTeamsAdministrationAssignRequestBuilder::|public|WithUrl(rawUrl:string):MicrosoftGraphTeamsAdministrationAssignRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.microsoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationAssign.microsoftGraphTeamsAdministrationAssignRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.MicrosoftGraphTeamsAdministrationUnassignRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.MicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.MicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.MicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|Post(body:UnassignPostRequestBody; requestConfiguration?:MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.MicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.MicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|ToPostRequestInformation(body:UnassignPostRequestBody; requestConfiguration?:MicrosoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.MicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.MicrosoftGraphTeamsAdministrationUnassignRequestBuilder::|public|WithUrl(rawUrl:string):MicrosoftGraphTeamsAdministrationUnassignRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.microsoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.microsoftGraphTeamsAdministrationUnassignRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|getValue():array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|public|setValue(value?:array):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):UnassignPostRequestBody +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.microsoftGraphTeamsAdministrationUnassign.unassignPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|ByTeamsPolicyUserAssignmentId(teamsPolicyUserAssignmentId:string):TeamsPolicyUserAssignmentItemRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|Get(requestConfiguration?:UserAssignmentsRequestBuilderGetRequestConfiguration):TeamsPolicyUserAssignmentCollectionResponse +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationAssign:MicrosoftGraphTeamsAdministrationAssignRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationUnassign:MicrosoftGraphTeamsAdministrationUnassignRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|Post(body:TeamsPolicyUserAssignment; requestConfiguration?:UserAssignmentsRequestBuilderPostRequestConfiguration):TeamsPolicyUserAssignment +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:UserAssignmentsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:TeamsPolicyUserAssignment; requestConfiguration?:UserAssignmentsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.UserAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):UserAssignmentsRequestBuilder +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:UserAssignmentsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:UserAssignmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):UserAssignmentsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.admin.teams.policy.userAssignments.userAssignmentsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|Delete(requestConfiguration?:TeamsRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|Get(requestConfiguration?:TeamsRequestBuilderGetRequestConfiguration):TeamsAdminRoot Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|Patch(body:TeamsAdminRoot; requestConfiguration?:TeamsRequestBuilderPatchRequestConfiguration):TeamsAdminRoot Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|policy:PolicyRequestBuilder Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:TeamsRequestBuilderDeleteRequestConfiguration):RequestInformation Microsoft\Graph\Generated.admin.teams.TeamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:TeamsRequestBuilderGetRequestConfiguration):RequestInformation @@ -114585,6 +114748,14 @@ Microsoft\Graph\Generated.models.agreementFileVersionCollectionResponse::|public Microsoft\Graph\Generated.models.agreementFileVersionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.agreementFileVersionCollectionResponse::|public|setValue(value?:array):void Microsoft\Graph\Generated.models.agreementFileVersionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AgreementFileVersionCollectionResponse +Microsoft\Graph\Generated.models.aiAgentInfo-->AiInteractionEntity +Microsoft\Graph\Generated.models.aiAgentInfo::|public|constructor():void +Microsoft\Graph\Generated.models.aiAgentInfo::|public|getBlueprintId():string +Microsoft\Graph\Generated.models.aiAgentInfo::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.aiAgentInfo::|public|OdataType:string +Microsoft\Graph\Generated.models.aiAgentInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.aiAgentInfo::|public|setBlueprintId(value?:string):void +Microsoft\Graph\Generated.models.aiAgentInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiAgentInfo Microsoft\Graph\Generated.models.aiInteraction-->Entity Microsoft\Graph\Generated.models.aiInteraction::|public|constructor():void Microsoft\Graph\Generated.models.aiInteraction::|public|getAppClass():string @@ -114657,6 +114828,23 @@ Microsoft\Graph\Generated.models.aiInteractionContext::|public|setDisplayName(va Microsoft\Graph\Generated.models.aiInteractionContext::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.aiInteractionContext::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionContext Microsoft\Graph\Generated.models.aiInteractionContext~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|constructor():void +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|getIdentifier():string +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|getName():string +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|getOdataType():string +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|getVersion():string +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|setIdentifier(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionEntity::|public|setVersion(value?:string):void +Microsoft\Graph\Generated.models.aiInteractionEntity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionEntity +Microsoft\Graph\Generated.models.aiInteractionEntity~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.aiInteractionHistory-->Entity Microsoft\Graph\Generated.models.aiInteractionHistory::|public|constructor():void Microsoft\Graph\Generated.models.aiInteractionHistory::|public|GetFieldDeserializers():array @@ -114707,23 +114895,12 @@ Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|setC Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|public|setTag(value?:TeamworkTagIdentity):void Microsoft\Graph\Generated.models.aiInteractionMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionMentionedIdentitySet Microsoft\Graph\Generated.models.aiInteractionMention~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.aiInteractionPlugin-->AiInteractionEntity Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|constructor():void -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getAdditionalData():array -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getBackingStore():BackingStore Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|GetFieldDeserializers():array -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getIdentifier():string -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getName():string -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getOdataType():string -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|getVersion():string +Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|OdataType:string Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setAdditionalData(value?:array):void -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setBackingStore(value:BackingStore):void -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setIdentifier(value?:string):void -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setName(value?:string):void -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setOdataType(value?:string):void -Microsoft\Graph\Generated.models.aiInteractionPlugin::|public|setVersion(value?:string):void Microsoft\Graph\Generated.models.aiInteractionPlugin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AiInteractionPlugin -Microsoft\Graph\Generated.models.aiInteractionPlugin~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.aiInteractionType::0000-userPrompt Microsoft\Graph\Generated.models.aiInteractionType::0001-aiResponse Microsoft\Graph\Generated.models.aiInteractionType::0002-unknownFutureValue @@ -117136,6 +117313,7 @@ Microsoft\Graph\Generated.models.authContext::|static|public|CreateFromDiscrimin Microsoft\Graph\Generated.models.authentication-->Entity Microsoft\Graph\Generated.models.authentication::|public|constructor():void Microsoft\Graph\Generated.models.authentication::|public|getEmailMethods():array +Microsoft\Graph\Generated.models.authentication::|public|getExternalAuthenticationMethods():array Microsoft\Graph\Generated.models.authentication::|public|getFido2Methods():array Microsoft\Graph\Generated.models.authentication::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.authentication::|public|getMethods():array @@ -117150,6 +117328,7 @@ Microsoft\Graph\Generated.models.authentication::|public|getWindowsHelloForBusin Microsoft\Graph\Generated.models.authentication::|public|OdataType:string Microsoft\Graph\Generated.models.authentication::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.authentication::|public|setEmailMethods(value?:array):void +Microsoft\Graph\Generated.models.authentication::|public|setExternalAuthenticationMethods(value?:array):void Microsoft\Graph\Generated.models.authentication::|public|setFido2Methods(value?:array):void Microsoft\Graph\Generated.models.authentication::|public|setMethods(value?:array):void Microsoft\Graph\Generated.models.authentication::|public|setMicrosoftAuthenticatorMethods(value?:array):void @@ -117419,9 +117598,11 @@ Microsoft\Graph\Generated.models.authenticationFlowsPolicy::|static|public|Creat Microsoft\Graph\Generated.models.authenticationFlow~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.authenticationMethod-->Entity Microsoft\Graph\Generated.models.authenticationMethod::|public|constructor():void +Microsoft\Graph\Generated.models.authenticationMethod::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.authenticationMethod::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.authenticationMethod::|public|OdataType:string Microsoft\Graph\Generated.models.authenticationMethod::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.authenticationMethod::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.authenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):AuthenticationMethod Microsoft\Graph\Generated.models.authenticationMethodCollectionResponse-->BaseCollectionPaginationCountResponse Microsoft\Graph\Generated.models.authenticationMethodCollectionResponse::|public|constructor():void @@ -129288,6 +129469,23 @@ Microsoft\Graph\Generated.models.extensionSchemaProperty~~>AdditionalDataHolder; Microsoft\Graph\Generated.models.externalAudienceScope::0000-none Microsoft\Graph\Generated.models.externalAudienceScope::0001-contactsOnly Microsoft\Graph\Generated.models.externalAudienceScope::0002-all +Microsoft\Graph\Generated.models.externalAuthenticationMethod-->AuthenticationMethod +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|public|constructor():void +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|public|getConfigurationId():string +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|public|getDisplayName():string +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|public|OdataType:string +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|public|setConfigurationId(value?:string):void +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|public|setDisplayName(value?:string):void +Microsoft\Graph\Generated.models.externalAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExternalAuthenticationMethod +Microsoft\Graph\Generated.models.externalAuthenticationMethodCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.externalAuthenticationMethodCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.externalAuthenticationMethodCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.externalAuthenticationMethodCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.externalAuthenticationMethodCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.externalAuthenticationMethodCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.externalAuthenticationMethodCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ExternalAuthenticationMethodCollectionResponse Microsoft\Graph\Generated.models.externalConnectors.accessType::0000-grant Microsoft\Graph\Generated.models.externalConnectors.accessType::0001-deny Microsoft\Graph\Generated.models.externalConnectors.accessType::0002-unknownFutureValue @@ -129850,7 +130048,6 @@ Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|constructor( Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|getAaGuid():string Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|getAttestationCertificates():array Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|getAttestationLevel():AttestationLevel -Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|getDisplayName():string Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|getModel():string @@ -129859,7 +130056,6 @@ Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|Serialize(wr Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|setAaGuid(value?:string):void Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|setAttestationCertificates(value?:array):void Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|setAttestationLevel(value?:AttestationLevel):void -Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|public|setModel(value?:string):void Microsoft\Graph\Generated.models.fido2AuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Fido2AuthenticationMethod @@ -136552,7 +136748,6 @@ Microsoft\Graph\Generated.models.microsoftAccountUserConversationMember::|public Microsoft\Graph\Generated.models.microsoftAccountUserConversationMember::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):MicrosoftAccountUserConversationMember Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod-->AuthenticationMethod Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|constructor():void -Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|getDevice():Device Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|getDeviceTag():string Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|getDisplayName():string @@ -136560,7 +136755,6 @@ Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|pu Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|getPhoneAppVersion():string Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|OdataType:string Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|setDevice(value?:Device):void Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|setDeviceTag(value?:string):void Microsoft\Graph\Generated.models.microsoftAuthenticatorAuthenticationMethod::|public|setDisplayName(value?:string):void @@ -137683,6 +137877,105 @@ Microsoft\Graph\Generated.models.officeGraphInsights::|public|setShared(value?:a Microsoft\Graph\Generated.models.officeGraphInsights::|public|setTrending(value?:array):void Microsoft\Graph\Generated.models.officeGraphInsights::|public|setUsed(value?:array):void Microsoft\Graph\Generated.models.officeGraphInsights::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OfficeGraphInsights +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|constructor():void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|getCountry():string +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|getLocality():string +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|getOdataType():string +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|getPostalCode():string +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|getRegion():string +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|getStreetAddress():string +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|setCountry(value?:string):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|setLocality(value?:string):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|setPostalCode(value?:string):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|setRegion(value?:string):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|public|setStreetAddress(value?:string):void +Microsoft\Graph\Generated.models.oidcAddressInboundClaims::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OidcAddressInboundClaims +Microsoft\Graph\Generated.models.oidcAddressInboundClaims~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|constructor():void +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|getOdataType():string +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.oidcClientAuthentication::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.oidcClientAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OidcClientAuthentication +Microsoft\Graph\Generated.models.oidcClientAuthentication~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.oidcClientSecretAuthentication-->OidcClientAuthentication +Microsoft\Graph\Generated.models.oidcClientSecretAuthentication::|public|constructor():void +Microsoft\Graph\Generated.models.oidcClientSecretAuthentication::|public|getClientSecret():string +Microsoft\Graph\Generated.models.oidcClientSecretAuthentication::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.oidcClientSecretAuthentication::|public|OdataType:string +Microsoft\Graph\Generated.models.oidcClientSecretAuthentication::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.oidcClientSecretAuthentication::|public|setClientSecret(value?:string):void +Microsoft\Graph\Generated.models.oidcClientSecretAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OidcClientSecretAuthentication +Microsoft\Graph\Generated.models.oidcIdentityProvider-->IdentityProviderBase +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|constructor():void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|getClientAuthentication():OidcClientAuthentication +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|getClientId():string +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|getInboundClaimMapping():OidcInboundClaimMappingOverride +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|getIssuer():string +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|getResponseType():OidcResponseType +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|getScope():string +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|getWellKnownEndpoint():string +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|OdataType:string +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|setClientAuthentication(value?:OidcClientAuthentication):void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|setClientId(value?:string):void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|setInboundClaimMapping(value?:OidcInboundClaimMappingOverride):void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|setIssuer(value?:string):void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|setResponseType(value?:OidcResponseType):void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|setScope(value?:string):void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|public|setWellKnownEndpoint(value?:string):void +Microsoft\Graph\Generated.models.oidcIdentityProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OidcIdentityProvider +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|constructor():void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getAddress():OidcAddressInboundClaims +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getEmail():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getEmailVerified():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getFamilyName():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getGivenName():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getName():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getOdataType():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getPhoneNumber():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getPhoneNumberVerified():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|getSub():string +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setAddress(value?:OidcAddressInboundClaims):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setEmail(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setEmailVerified(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setFamilyName(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setGivenName(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setPhoneNumber(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setPhoneNumberVerified(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|public|setSub(value?:string):void +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OidcInboundClaimMappingOverride +Microsoft\Graph\Generated.models.oidcInboundClaimMappingOverride~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.oidcPrivateJwtKeyClientAuthentication-->OidcClientAuthentication +Microsoft\Graph\Generated.models.oidcPrivateJwtKeyClientAuthentication::|public|constructor():void +Microsoft\Graph\Generated.models.oidcPrivateJwtKeyClientAuthentication::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.oidcPrivateJwtKeyClientAuthentication::|public|OdataType:string +Microsoft\Graph\Generated.models.oidcPrivateJwtKeyClientAuthentication::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.oidcPrivateJwtKeyClientAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):OidcPrivateJwtKeyClientAuthentication +Microsoft\Graph\Generated.models.oidcResponseType::0000-code +Microsoft\Graph\Generated.models.oidcResponseType::0001-id_token +Microsoft\Graph\Generated.models.oidcResponseType::0002-token +Microsoft\Graph\Generated.models.oidcResponseType::0003-unknownFutureValue Microsoft\Graph\Generated.models.omaSetting::|public|constructor():void Microsoft\Graph\Generated.models.omaSetting::|public|getAdditionalData():array Microsoft\Graph\Generated.models.omaSetting::|public|getBackingStore():BackingStore @@ -139489,12 +139782,10 @@ Microsoft\Graph\Generated.models.partnerTenantType::0005-valueAddedResellerPartn Microsoft\Graph\Generated.models.partnerTenantType::0006-unknownFutureValue Microsoft\Graph\Generated.models.passwordAuthenticationMethod-->AuthenticationMethod Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|public|constructor():void -Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|public|getPassword():string Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|public|OdataType:string Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|public|setPassword(value?:string):void Microsoft\Graph\Generated.models.passwordAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PasswordAuthenticationMethod Microsoft\Graph\Generated.models.passwordAuthenticationMethodCollectionResponse-->BaseCollectionPaginationCountResponse @@ -140582,7 +140873,6 @@ Microsoft\Graph\Generated.models.plannerUserIds::|static|public|CreateFromDiscri Microsoft\Graph\Generated.models.plannerUserIds~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod-->AuthenticationMethod Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|constructor():void -Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|getDevice():Device Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|getDisplayName():string Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|GetFieldDeserializers():array @@ -140590,7 +140880,6 @@ Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|getPlatform():AuthenticationMethodPlatform Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|OdataType:string Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|setDevice(value?:Device):void Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.platformCredentialAuthenticationMethod::|public|setKeyStrength(value?:AuthenticationMethodKeyStrength):void @@ -142954,12 +143243,16 @@ Microsoft\Graph\Generated.models.processContentResponse~~>AdditionalDataHolder; Microsoft\Graph\Generated.models.processConversationMetadata-->ProcessContentMetadataBase Microsoft\Graph\Generated.models.processConversationMetadata::|public|constructor():void Microsoft\Graph\Generated.models.processConversationMetadata::|public|getAccessedResources():array +Microsoft\Graph\Generated.models.processConversationMetadata::|public|getAccessedResourcesV2():array +Microsoft\Graph\Generated.models.processConversationMetadata::|public|getAgents():array Microsoft\Graph\Generated.models.processConversationMetadata::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.processConversationMetadata::|public|getParentMessageId():string Microsoft\Graph\Generated.models.processConversationMetadata::|public|getPlugins():array Microsoft\Graph\Generated.models.processConversationMetadata::|public|OdataType:string Microsoft\Graph\Generated.models.processConversationMetadata::|public|Serialize(writer:ISerializationWriter):void Microsoft\Graph\Generated.models.processConversationMetadata::|public|setAccessedResources(value?:array):void +Microsoft\Graph\Generated.models.processConversationMetadata::|public|setAccessedResourcesV2(value?:array):void +Microsoft\Graph\Generated.models.processConversationMetadata::|public|setAgents(value?:array):void Microsoft\Graph\Generated.models.processConversationMetadata::|public|setParentMessageId(value?:string):void Microsoft\Graph\Generated.models.processConversationMetadata::|public|setPlugins(value?:array):void Microsoft\Graph\Generated.models.processConversationMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ProcessConversationMetadata @@ -144541,6 +144834,42 @@ Microsoft\Graph\Generated.models.resourceAccess::|public|setId(value?:string):vo Microsoft\Graph\Generated.models.resourceAccess::|public|setOdataType(value?:string):void Microsoft\Graph\Generated.models.resourceAccess::|public|setType(value?:string):void Microsoft\Graph\Generated.models.resourceAccess::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ResourceAccess +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|constructor():void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getAccessType():ResourceAccessType +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getAdditionalData():array +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getIdentifier():string +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getIsCrossPromptInjectionDetected():bool +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getLabelId():string +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getName():string +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getOdataType():string +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getStatus():ResourceAccessStatus +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getStorageId():string +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|getUrl():string +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setAccessType(value?:ResourceAccessType):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setIdentifier(value?:string):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setIsCrossPromptInjectionDetected(value?:bool):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setLabelId(value?:string):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setOdataType(value?:string):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setStatus(value?:ResourceAccessStatus):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setStorageId(value?:string):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|public|setUrl(value?:string):void +Microsoft\Graph\Generated.models.resourceAccessDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):ResourceAccessDetail +Microsoft\Graph\Generated.models.resourceAccessDetail~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.resourceAccessStatus::0000-none +Microsoft\Graph\Generated.models.resourceAccessStatus::0001-failure +Microsoft\Graph\Generated.models.resourceAccessStatus::0002-success +Microsoft\Graph\Generated.models.resourceAccessStatus::0003-unknownFutureValue +Microsoft\Graph\Generated.models.resourceAccessType::0000-none +Microsoft\Graph\Generated.models.resourceAccessType::0001-read +Microsoft\Graph\Generated.models.resourceAccessType::0002-write +Microsoft\Graph\Generated.models.resourceAccessType::0003-create +Microsoft\Graph\Generated.models.resourceAccessType::0004-unknownFutureValue Microsoft\Graph\Generated.models.resourceAccess~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.resourceAction::|public|constructor():void Microsoft\Graph\Generated.models.resourceAction::|public|getAdditionalData():array @@ -147554,8 +147883,10 @@ Microsoft\Graph\Generated.models.security.ediscoveryNoncustodialDataSourceCollec Microsoft\Graph\Generated.models.security.ediscoveryPurgeDataOperation-->CaseOperation Microsoft\Graph\Generated.models.security.ediscoveryPurgeDataOperation::|public|constructor():void Microsoft\Graph\Generated.models.security.ediscoveryPurgeDataOperation::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.security.ediscoveryPurgeDataOperation::|public|getReportFileMetadata():array Microsoft\Graph\Generated.models.security.ediscoveryPurgeDataOperation::|public|OdataType:string Microsoft\Graph\Generated.models.security.ediscoveryPurgeDataOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.security.ediscoveryPurgeDataOperation::|public|setReportFileMetadata(value?:array):void Microsoft\Graph\Generated.models.security.ediscoveryPurgeDataOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):EdiscoveryPurgeDataOperation Microsoft\Graph\Generated.models.security.ediscoveryReviewSet-->DataSet Microsoft\Graph\Generated.models.security.ediscoveryReviewSet::|public|constructor():void @@ -154137,14 +154468,53 @@ Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|s Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|public|setPolicyId(value?:string):void Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyAssignment Microsoft\Graph\Generated.models.teamsAdministration.policyAssignment~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail-->Entity +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|public|getName():string +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|public|getPolicyId():string +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|public|OdataType:string +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|public|setName(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|public|setPolicyId(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.policyIdentifierDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):PolicyIdentifierDetail Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot-->Entity Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|constructor():void Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|getPolicy():TeamsPolicyAssignment Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|getUserConfigurations():array Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|OdataType:string Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|setPolicy(value?:TeamsPolicyAssignment):void Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|public|setUserConfigurations(value?:array):void Microsoft\Graph\Generated.models.teamsAdministration.teamsAdminRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsAdminRoot +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyAssignment-->Entity +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|getUserAssignments():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|OdataType:string +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyAssignment::|public|setUserAssignments(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsPolicyAssignment +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment-->Entity +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|getPolicyId():string +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|getPolicyType():string +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|getUserId():string +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|OdataType:string +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|setPolicyId(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|setPolicyType(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|public|setUserId(value?:string):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsPolicyUserAssignment +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignmentCollectionResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignmentCollectionResponse::|public|constructor():void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignmentCollectionResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignmentCollectionResponse::|public|getValue():array +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignmentCollectionResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.models.teamsAdministration.teamsPolicyUserAssignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):TeamsPolicyUserAssignmentCollectionResponse Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration-->Entity Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|constructor():void Microsoft\Graph\Generated.models.teamsAdministration.teamsUserConfiguration::|public|getAccountType():AccountType @@ -154799,7 +155169,6 @@ Microsoft\Graph\Generated.models.templateScenarios::0005-emergingThreats Microsoft\Graph\Generated.models.templateScenarios::0006-unknownFutureValue Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod-->AuthenticationMethod Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|constructor():void -Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|getIsUsable():bool Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|getIsUsableOnce():bool @@ -154809,7 +155178,6 @@ Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|publi Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|getTemporaryAccessPass():string Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|OdataType:string Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|setIsUsable(value?:bool):void Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|setIsUsableOnce(value?:bool):void Microsoft\Graph\Generated.models.temporaryAccessPassAuthenticationMethod::|public|setLifetimeInMinutes(value?:int):void @@ -156764,7 +157132,8 @@ Microsoft\Graph\Generated.models.usageRights::0016-userDefinedProtectionTypeNotS Microsoft\Graph\Generated.models.usageRights::0017-encryptedProtectionTypeNotSupportedException Microsoft\Graph\Generated.models.usageRights::0018-purviewClaimsChallengeNotSupportedException Microsoft\Graph\Generated.models.usageRights::0019-exception -Microsoft\Graph\Generated.models.usageRights::0020-unknownFutureValue +Microsoft\Graph\Generated.models.usageRights::0020-labelNotFoundException +Microsoft\Graph\Generated.models.usageRights::0021-unknownFutureValue Microsoft\Graph\Generated.models.usageRightsIncluded-->Entity Microsoft\Graph\Generated.models.usageRightsIncluded::|public|constructor():void Microsoft\Graph\Generated.models.usageRightsIncluded::|public|GetFieldDeserializers():array @@ -160759,14 +161128,12 @@ Microsoft\Graph\Generated.models.windowsFirewallNetworkProfile::|static|public|C Microsoft\Graph\Generated.models.windowsFirewallNetworkProfile~~>AdditionalDataHolder; BackedModel; Parsable Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod-->AuthenticationMethod Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|constructor():void -Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|getCreatedDateTime():DateTime Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|getDevice():Device Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|getDisplayName():string Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|GetFieldDeserializers():array Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|getKeyStrength():AuthenticationMethodKeyStrength Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|OdataType:string Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void -Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|setCreatedDateTime(value?:DateTime):void Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|setDevice(value?:Device):void Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|setDisplayName(value?:string):void Microsoft\Graph\Generated.models.windowsHelloForBusinessAuthenticationMethod::|public|setKeyStrength(value?:AuthenticationMethodKeyStrength):void @@ -214011,6 +214378,7 @@ Microsoft\Graph\Generated.users.item.authentication.AuthenticationRequestBuilder Microsoft\Graph\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|Delete(requestConfiguration?:AuthenticationRequestBuilderDeleteRequestConfiguration):void Microsoft\Graph\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|emailMethods:EmailMethodsRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|externalAuthenticationMethods:ExternalAuthenticationMethodsRequestBuilder Microsoft\Graph\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|fido2Methods:Fido2MethodsRequestBuilder Microsoft\Graph\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|Get(requestConfiguration?:AuthenticationRequestBuilderGetRequestConfiguration):Authentication Microsoft\Graph\Generated.users.item.authentication.AuthenticationRequestBuilder::|public|methods:MethodsRequestBuilder @@ -214106,6 +214474,71 @@ Microsoft\Graph\Generated.users.item.authentication.emailMethods.item.EmailAuthe Microsoft\Graph\Generated.users.item.authentication.emailMethods.item.EmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):EmailAuthenticationMethodItemRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.authentication.emailMethods.item.EmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.authentication.emailMethods.item.EmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilder::|public|WithUrl(rawUrl:string):CountRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilderGetQueryParameters::|public|constructor(filter?:string; search?:string):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:CountRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilderGetRequestConfiguration::|public|queryParameters:CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.count.CountRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(filter?:string; search?:string):CountRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|ByExternalAuthenticationMethodId(externalAuthenticationMethodId:string):ExternalAuthenticationMethodItemRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|Count:CountRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|Get(requestConfiguration?:ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration):ExternalAuthenticationMethodCollectionResponse +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|Post(body:ExternalAuthenticationMethod; requestConfiguration?:ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration):ExternalAuthenticationMethod +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|ToPostRequestInformation(body:ExternalAuthenticationMethod; requestConfiguration?:ExternalAuthenticationMethodsRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.ExternalAuthenticationMethodsRequestBuilder::|public|WithUrl(rawUrl:string):ExternalAuthenticationMethodsRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|constructor(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|count:bool +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|filter:string +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|orderby:array +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|search:string +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|skip:int +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetQueryParameters::|public|top:int +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ExternalAuthenticationMethodsRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetRequestConfiguration::|public|queryParameters:ExternalAuthenticationMethodsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):ExternalAuthenticationMethodsRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.externalAuthenticationMethodsRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|Delete(requestConfiguration?:ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|Get(requestConfiguration?:ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration):ExternalAuthenticationMethod +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|Patch(body:ExternalAuthenticationMethod; requestConfiguration?:ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration):ExternalAuthenticationMethod +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|ToPatchRequestInformation(body:ExternalAuthenticationMethod; requestConfiguration?:ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):ExternalAuthenticationMethodItemRequestBuilder +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|constructor(expand?:array; select?:array):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|expand:array +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|select:array +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|public|constructor(headers?:array; options?:array; queryParameters?:ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters):void +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|public|queryParameters:ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(expand?:array; select?:array):ExternalAuthenticationMethodItemRequestBuilderGetQueryParameters +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.authentication.externalAuthenticationMethods.item.ExternalAuthenticationMethodItemRequestBuilderPatchRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.authentication.fido2Methods.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.authentication.fido2Methods.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.authentication.fido2Methods.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 5d2f04e20ba..82efb35d594 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "B02CED4D519DAD7AEE3434A50C96EA210737F35497DEDEB8E7604CCBC9B0E4C9C9387FBD5AA8BDCD61AF3F723790969091A25F0BB6E7AF2D2ED117718910B5FC", + "descriptionHash": "EE655C46667963A6B56284D80428908D898ADF7596E1B9840E2353EEE838BF5BDD1519D02373734226B3D8607AA86D05BD7FA51B4D709F95127054A6D86E6D4D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.30.0", + "kiotaVersion": "1.31.0", "clientClassName": "BaseGraphClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft\\Graph\\Generated",