From 43a031f34cfe02d9eaa99431b846e8400db4d7b2 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 31 Dec 2024 10:35:04 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 175190 --- .../Item/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Item/Messages/MessagesRequestBuilder.php | 6 +- .../DeviceAppManagementRequestBuilder.php | 4 +- .../ManagedAppPoliciesRequestBuilder.php | 6 +- ...liciesRequestBuilderGetQueryParameters.php | 2 +- ...nagedAppRegistrationItemRequestBuilder.php | 6 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../ManagedAppStatusItemRequestBuilder.php | 6 +- ...usItemRequestBuilderGetQueryParameters.php | 2 +- .../ManagedAppStatusesRequestBuilder.php | 6 +- ...atusesRequestBuilderGetQueryParameters.php | 2 +- .../Assignments/AssignmentsRequestBuilder.php | 12 +- ...nmentsRequestBuilderGetQueryParameters.php | 2 +- ...nagedEBookAssignmentItemRequestBuilder.php | 6 +- ...ntItemRequestBuilderGetQueryParameters.php | 2 +- ...bileAppConfigurationItemRequestBuilder.php | 6 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../MobileAppConfigurationsRequestBuilder.php | 6 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../Item/MobileAppItemRequestBuilder.php | 18 +- ...ppItemRequestBuilderGetQueryParameters.php | 2 +- .../MobileApps/MobileAppsRequestBuilder.php | 12 +- ...leAppsRequestBuilderGetQueryParameters.php | 2 +- ...DeviceCompliancePoliciesRequestBuilder.php | 6 +- ...viceCompliancePolicyItemRequestBuilder.php | 18 +- ...cyItemRequestBuilderGetQueryParameters.php | 2 +- .../DeviceConfigurationsRequestBuilder.php | 12 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../DeviceConfigurationItemRequestBuilder.php | 18 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- ...EnrollmentConfigurationsRequestBuilder.php | 6 +- ...ollmentConfigurationItemRequestBuilder.php | 18 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/RoleDefinitionItemRequestBuilder.php | 18 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../RetentionLabelRequestBuilder.php | 6 +- .../Names/Item/Range/RangeRequestBuilder.php | 6 +- .../Names/Item/Range/RangeRequestBuilder.php | 6 +- .../GroupLifecyclePoliciesRequestBuilder.php | 4 +- .../Item/AddGroup/AddGroupRequestBuilder.php | 4 +- .../Item/ConversationItemRequestBuilder.php | 8 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/AddGroup/AddGroupRequestBuilder.php | 4 +- .../Item/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Team/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../ConversationThreadItemRequestBuilder.php | 2 +- .../Item/NamedLocationItemRequestBuilder.php | 12 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/AccessPackageItemRequestBuilder.php | 6 +- ...geItemRequestBuilderGetQueryParameters.php | 2 +- ...stomCalloutExtensionItemRequestBuilder.php | 18 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/AgreementItemRequestBuilder.php | 6 +- ...ntItemRequestBuilderGetQueryParameters.php | 2 +- src/Generated/Models/ActionResultPart.php | 4 +- src/Generated/Models/ConversationMember.php | 4 +- src/Generated/Models/Quota.php | 4 +- src/Generated/Models/Team.php | 20 +- src/Generated/Models/WorkbookRangeView.php | 4 +- .../BannerLogo/BannerLogoRequestBuilder.php | 6 +- .../Item/OrganizationItemRequestBuilder.php | 12 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../OrganizationRequestBuilder.php | 6 +- ...zationRequestBuilderGetQueryParameters.php | 2 +- .../Lists/Item/ListItemRequestBuilder.php | 6 +- ...stItemRequestBuilderGetQueryParameters.php | 2 +- src/Generated/Sites/SitesRequestBuilder.php | 6 +- .../SitesRequestBuilderGetQueryParameters.php | 2 +- .../ConversationMemberItemRequestBuilder.php | 12 +- .../Item/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../Item/Messages/MessagesRequestBuilder.php | 6 +- .../Item/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Item/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Item/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Item/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Item/Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Members/MembersRequestBuilder.php | 8 + .../Members/Remove/RemovePostRequestBody.php | 118 ++++++ .../Members/Remove/RemovePostResponse.php | 72 ++++ .../Members/Remove/RemoveRequestBuilder.php | 77 ++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Item/Presence/PresenceRequestBuilder.php | 6 +- ...esenceRequestBuilderGetQueryParameters.php | 2 +- .../Users/Item/UserItemRequestBuilder.php | 8 +- src/Generated/Users/UsersRequestBuilder.php | 6 +- .../UsersRequestBuilderGetQueryParameters.php | 2 +- ...ersWithUserPrincipalNameRequestBuilder.php | 8 +- src/Generated/kiota-dom-export.txt | 348 ++++++++++++++++++ src/Generated/kiota-lock.json | 2 +- 136 files changed, 4137 insertions(+), 225 deletions(-) create mode 100644 src/Generated/Chats/Item/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Chats/Item/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Chats/Item/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Chats/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Groups/Item/Team/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Groups/Item/Team/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teams/Item/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Teams/Item/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Teams/Item/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Teams/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php create mode 100644 src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php diff --git a/src/Generated/Chats/Item/Members/MembersRequestBuilder.php b/src/Generated/Chats/Item/Members/MembersRequestBuilder.php index 8ff3e723bb5..4226ec173b3 100644 --- a/src/Generated/Chats/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/MembersRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Chats\Item\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Chats\Item\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Chats\Item\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Chats\Item\Members\Remove\RemoveRequestBuilder; use Microsoft\Graph\Generated\Models\ConversationMember; use Microsoft\Graph\Generated\Models\ConversationMemberCollectionResponse; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.chat entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Chats/Item/Members/Remove/RemovePostRequestBody.php b/src/Generated/Chats/Item/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..d77682678a5 --- /dev/null +++ b/src/Generated/Chats/Item/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Chats/Item/Members/Remove/RemovePostResponse.php b/src/Generated/Chats/Item/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..f57294a331a --- /dev/null +++ b/src/Generated/Chats/Item/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::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/Chats/Item/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Chats/Item/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..394a4d387da --- /dev/null +++ b/src/Generated/Chats/Item/Members/Remove/RemoveRequestBuilder.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}/chats/{chat%2Did}/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Chats/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Chats/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..e2832b643d0 --- /dev/null +++ b/src/Generated/Chats/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.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/Chats/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php index 32f40e89a8e..fc210c496a2 100644 --- a/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/MessagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index d93deca6748..86c0603660b 100644 --- a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php @@ -155,7 +155,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceAppManagementRequestBuilderGetRequestConfiguration|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/intune-books-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -171,7 +171,7 @@ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $r * @param DeviceAppManagementRequestBuilderPatchRequestConfiguration|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/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceAppManagement $body, ?DeviceAppManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php index f328140e310..8f7f96bcc46 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppProtection objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|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/intune-mam-targetedmanagedappprotection-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppProtection objects. * @param ManagedAppPoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php index 2d262d4c8b1..9d829b0f939 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppProtection objects. */ class ManagedAppPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php index f2aeb41e1d8..8fffbf674ef 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -69,11 +69,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|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/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -117,7 +117,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui } /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. * @param ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php index bae004f29fe..92858399e1b 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the androidManagedAppRegistration object. + * Read properties and relationships of the iosManagedAppRegistration object. */ class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index 1b81a537200..767ab2c7107 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?ManagedAppStatusItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|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/intune-mam-managedappstatusraw-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -93,7 +93,7 @@ public function toDeleteRequestInformation(?ManagedAppStatusItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. * @param ManagedAppStatusItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php index e257e0cbe70..1a778e35b25 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppStatusRaw object. + * Read properties and relationships of the managedAppStatus object. */ class ManagedAppStatusItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php index 09583ad8d7a..1b6706769e5 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|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/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppStatusesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -82,7 +82,7 @@ public function post(ManagedAppStatus $body, ?ManagedAppStatusesRequestBuilderPo } /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. * @param ManagedAppStatusesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php index 02671246a61..1de2629bd1c 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the managedAppStatusRaw objects. + * List properties and relationships of the managedAppStatus objects. */ class ManagedAppStatusesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php index bf46e5a230f..01a4d78f3e1 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|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/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0 Find more info here */ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|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/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 Find more info here */ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPos } /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } /** - * Create a new iosVppEBookAssignment object. + * Create a new managedEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param AssignmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php index 166b758024b..fcec5d957a0 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosVppEBookAssignment objects. + * List properties and relationships of the managedEBookAssignment objects. */ class AssignmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php index 28836c49d2a..724f1b87c4e 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|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/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui } /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php index fa920db8c52..854e051c551 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosVppEBookAssignment object. + * Read properties and relationships of the managedEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php index 6cfa31634c9..3e80867291c 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.php @@ -94,11 +94,11 @@ public function delete(?ManagedDeviceMobileAppConfigurationItemRequestBuilderDel } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|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/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -143,7 +143,7 @@ public function toDeleteRequestInformation(?ManagedDeviceMobileAppConfigurationI } /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. * @param ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php index 4b0240dadba..22dd29d03d8 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the iosMobileAppConfiguration object. + * Read properties and relationships of the managedDeviceMobileAppConfiguration object. */ class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php index b7f2940d11f..feacdc9ddcd 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|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/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -83,7 +83,7 @@ public function post(ManagedDeviceMobileAppConfiguration $body, ?MobileAppConfig } /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. * @param MobileAppConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php index 804ed807506..b6d9410cd6a 100644 --- a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the iosMobileAppConfiguration objects. + * List properties and relationships of the managedDeviceMobileAppConfiguration objects. */ class MobileAppConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index 11373f19724..8cf95d1d071 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php @@ -183,11 +183,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosStoreApp. + * Deletes a microsoftStoreForBusinessApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|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/intune-apps-iosstoreapp-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -198,11 +198,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the windowsWebApp object. + * Read properties and relationships of the iosStoreApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|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/intune-apps-windowswebapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -213,12 +213,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a androidLobApp object. + * Update the properties of a webApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|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/intune-apps-androidlobapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-webapp-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -229,7 +229,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a iosStoreApp. + * Deletes a microsoftStoreForBusinessApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -247,7 +247,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the windowsWebApp object. + * Read properties and relationships of the iosStoreApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -268,7 +268,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a androidLobApp object. + * Update the properties of a webApp object. * @param MobileApp $body The request body * @param MobileAppItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php index 743090e3234..0c383048134 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the windowsWebApp object. + * Read properties and relationships of the iosStoreApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index 5150517e0ae..86d1ecbf2c7 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php @@ -180,11 +180,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the androidLobApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|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/intune-apps-webapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-androidlobapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -195,12 +195,12 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new macOSOfficeSuiteApp object. + * Create a new microsoftStoreForBusinessApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|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/intune-apps-macosofficesuiteapp-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-microsoftstoreforbusinessapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -211,7 +211,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the androidLobApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -232,7 +232,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new macOSOfficeSuiteApp object. + * Create a new microsoftStoreForBusinessApp object. * @param MobileApp $body The request body * @param MobileAppsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php index f8d66f3b494..2b610ebea01 100644 --- a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the webApp objects. + * List properties and relationships of the androidLobApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index 168276aedb0..c41f35534d6 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new androidCompliancePolicy object. + * Create a new windows10CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|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/intune-deviceconfig-androidcompliancepolicy-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new androidCompliancePolicy object. + * Create a new windows10CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 3d74f9de614..972624e2b34 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php @@ -103,11 +103,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a iosCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|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/intune-deviceconfig-windows10mobilecompliancepolicy-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -118,11 +118,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the windowsPhone81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|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/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-devicecompliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,12 +133,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a windows10CompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|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/intune-deviceconfig-windows10compliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -149,7 +149,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a iosCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -167,7 +167,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the windowsPhone81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -188,7 +188,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a windows10CompliancePolicy object. + * Update the properties of a windows81CompliancePolicy object. * @param DeviceCompliancePolicy $body The request body * @param DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php index 39aca32b9e0..d7debf15f83 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the windowsPhone81CompliancePolicy object. + * Read properties and relationships of the deviceCompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index 3ca4ba102b1..51cd64ad085 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the androidGeneralDeviceConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|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/intune-deviceconfig-androidgeneraldeviceconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,12 +67,12 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new windows81GeneralConfiguration object. + * Create a new macOSDeviceFeaturesConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|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/intune-deviceconfig-windows81generalconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -83,7 +83,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the androidGeneralDeviceConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new windows81GeneralConfiguration object. + * Create a new macOSDeviceFeaturesConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php index 9c9dbbc8bdc..8afa054954e 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the androidGeneralDeviceConfiguration objects. + * List properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index 7b0e0b7e82a..a69dade331b 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php @@ -88,11 +88,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a iosUpdateConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|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/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosupdateconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -103,11 +103,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the androidCustomConfiguration object. + * Read properties and relationships of the editionUpgradeConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|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/intune-deviceconfig-androidcustomconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -127,12 +127,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a windows10SecureAssessmentConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|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/intune-deviceconfig-windows10secureassessmentconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-editionupgradeconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -143,7 +143,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a iosUpdateConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -161,7 +161,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the androidCustomConfiguration object. + * Read properties and relationships of the editionUpgradeConfiguration object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -182,7 +182,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a windows10SecureAssessmentConfiguration object. + * Update the properties of a editionUpgradeConfiguration object. * @param DeviceConfiguration $body The request body * @param DeviceConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php index 5e790bd1ae3..52c029c8296 100644 --- a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the androidCustomConfiguration object. + * Read properties and relationships of the editionUpgradeConfiguration object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index a0221999506..c5007ad6acd 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -67,12 +67,12 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|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/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -104,7 +104,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentLimitConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php index 3595b908420..8f66bf5a304 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.php @@ -55,11 +55,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|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/intune-onboarding-deviceenrollmentlimitconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -70,11 +70,11 @@ public function delete(?DeviceEnrollmentConfigurationItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|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/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -85,12 +85,12 @@ public function get(?DeviceEnrollmentConfigurationItemRequestBuilderGetRequestCo } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|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/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -101,7 +101,7 @@ public function patch(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConf } /** - * Deletes a deviceEnrollmentLimitConfiguration. + * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. * @param DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?DeviceEnrollmentConfigurationItemReq } /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. * @param DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -140,7 +140,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationItemReques } /** - * Update the properties of a deviceEnrollmentLimitConfiguration object. + * Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. * @param DeviceEnrollmentConfiguration $body The request body * @param DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php index 12796689b55..382c8125da1 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the deviceEnrollmentLimitConfiguration object. + * Read properties and relationships of the deviceEnrollmentConfiguration object. */ class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php index 3a5609743b5..ced2af61043 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -39,11 +39,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|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/intune-rbac-deviceandappmanagementroledefinition-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-delete?view=graph-rest-1.0 Find more info here */ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -54,11 +54,11 @@ public function delete(?RoleDefinitionItemRequestBuilderDeleteRequestConfigurati } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|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/intune-rbac-roledefinition-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 Find more info here */ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -69,12 +69,12 @@ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|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/intune-rbac-roledefinition-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 Find more info here */ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPat } /** - * Deletes a deviceAndAppManagementRoleDefinition. + * Deletes a roleDefinition. * @param RoleDefinitionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -103,7 +103,7 @@ public function toDeleteRequestInformation(?RoleDefinitionItemRequestBuilderDele } /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. * @param RoleDefinitionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -124,7 +124,7 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } /** - * Update the properties of a roleDefinition object. + * Update the properties of a deviceAndAppManagementRoleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php index 6ab7af424b5..66802fd4f88 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the roleDefinition object. + * Read properties and relationships of the deviceAndAppManagementRoleDefinition object. */ class RoleDefinitionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php index 47be9ad9743..419c92ac755 100644 --- a/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.php @@ -60,12 +60,12 @@ public function get(?RetentionLabelRequestBuilderGetRequestConfiguration $reques } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0 Find more info here */ public function patch(ItemRetentionLabel $body, ?RetentionLabelRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -115,7 +115,7 @@ public function toGetRequestInformation(?RetentionLabelRequestBuilderGetRequestC } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param ItemRetentionLabel $body The request body * @param RetentionLabelRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php index 4dafeecbb5c..d7734badcaf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php index ba3fdf2c10f..cbc3fbbce5d 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Range/RangeRequestBuilder.php @@ -241,11 +241,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 Find more info here */ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -312,7 +312,7 @@ public function rowWithRow(int $row): RowWithRowRequestBuilder { } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php b/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php index 0e1fc167692..9a9857b2c98 100644 --- a/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.php @@ -67,7 +67,7 @@ public function get(?GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration } /** - * Creates a new groupLifecyclePolicy. + * Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. * @param GroupLifecyclePolicy $body The request body * @param GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -104,7 +104,7 @@ public function toGetRequestInformation(?GroupLifecyclePoliciesRequestBuilderGet } /** - * Creates a new groupLifecyclePolicy. + * Creates a new groupLifecyclePolicy. Only one policy exists in the tenant. * @param GroupLifecyclePolicy $body The request body * @param GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php b/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php index 7a0d304133a..00d1917fa87 100644 --- a/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php +++ b/src/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + * Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. * @param AddGroupPostRequestBody $body The request body * @param AddGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(AddGroupPostRequestBody $body, ?AddGroupRequestBuilderPostR } /** - * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + * Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. * @param AddGroupPostRequestBody $body The request body * @param AddGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php index 964d49d05dc..7ed4daa3440 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.php @@ -43,7 +43,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ConversationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -54,11 +54,11 @@ public function delete(?ConversationItemRequestBuilderDeleteRequestConfiguration } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 Find more info here */ public function get(?ConversationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -87,7 +87,7 @@ public function toDeleteRequestInformation(?ConversationItemRequestBuilderDelete } /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. * @param ConversationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php index 54b516ea9f8..7065f9e0262 100644 --- a/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * The group's conversations. + * Retrieve the properties and relationships of conversation object. */ class ConversationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php index ed9104b73ac..ff83ea1faa7 100644 --- a/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php +++ b/src/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.php @@ -30,7 +30,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + * Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. * @param AddGroupPostRequestBody $body The request body * @param AddGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise @@ -46,7 +46,7 @@ public function post(AddGroupPostRequestBody $body, ?AddGroupRequestBuilderPostR } /** - * Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. + * Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected. * @param AddGroupPostRequestBody $body The request body * @param AddGroupRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php index c38b1a52972..dc1c0a25aee 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Groups\Item\Team\Channels\Item\Members\Remove\RemoveRequestBuilder; use Microsoft\Graph\Generated\Models\ConversationMember; use Microsoft\Graph\Generated\Models\ConversationMemberCollectionResponse; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostRequestBody.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..5d7e395b30e --- /dev/null +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostResponse.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..0371901d026 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..8d680f1d052 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..8f0c2e3e824 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php index 08d411e001d..e2969c82c95 100644 --- a/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Members/MembersRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Groups\Item\Team\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Groups\Item\Team\Members\Remove\RemoveRequestBuilder; use Microsoft\Graph\Generated\Models\ConversationMember; use Microsoft\Graph\Generated\Models\ConversationMemberCollectionResponse; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.team entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Groups/Item/Team/Members/Remove/RemovePostRequestBody.php b/src/Generated/Groups/Item/Team/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..a14aec2a5df --- /dev/null +++ b/src/Generated/Groups/Item/Team/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Members/Remove/RemovePostResponse.php b/src/Generated/Groups/Item/Team/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..5bdeaed6872 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..9db5251cd6d --- /dev/null +++ b/src/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..7772f9a6bb8 --- /dev/null +++ b/src/Generated/Groups/Item/Team/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php index 6a3bdbc3b64..3b1b6b0f957 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.php @@ -7,6 +7,7 @@ use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Groups\Item\Team\PrimaryChannel\Members\Remove\RemoveRequestBuilder; use Microsoft\Graph\Generated\Models\ConversationMember; use Microsoft\Graph\Generated\Models\ConversationMemberCollectionResponse; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostRequestBody.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..1abfb5d8f31 --- /dev/null +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostResponse.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..6791298a352 --- /dev/null +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..dbd224049ae --- /dev/null +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..85a6b40d0d9 --- /dev/null +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index 5d9dc5868e9..ed15aa44905 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -51,7 +51,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ConversationThreadItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index 41c0899528b..8d3637033fb 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -46,11 +46,11 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-1.0 Find more info here */ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $req } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param NamedLocation $body The request body * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 Find more info here */ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?NamedLocationItemRequestBuilderGetReque } /** - * Update the properties of a countryNamedLocation object. + * Update the properties of an ipNamedLocation object. * @param NamedLocation $body The request body * @param NamedLocationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php index 7286eb829a7..a8d1c5b81e0 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an ipNamedLocation object. + * Retrieve the properties and relationships of a countryNamedLocation object. */ class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php index 7ed57d3f26d..1ade86add76 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -102,11 +102,11 @@ public function delete(?AccessPackageItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 Find more info here */ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -151,7 +151,7 @@ public function toDeleteRequestInformation(?AccessPackageItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. * @param AccessPackageItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php index b0dedf46c49..95e920d4be4 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an accessPackage object. + * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. */ class AccessPackageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 7f26d59ce82..3ba70d05b9c 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|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/accesspackageassignmentworkflowextension-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 Find more info here */ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -46,11 +46,11 @@ public function delete(?CustomCalloutExtensionItemRequestBuilderDeleteRequestCon } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 Find more info here */ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfigura } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 Find more info here */ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -77,7 +77,7 @@ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemR } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: + * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: * @param CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -95,7 +95,7 @@ public function toDeleteRequestInformation(?CustomCalloutExtensionItemRequestBui } /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. * @param CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } /** - * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + * Update the properties of an accessPackageAssignmentWorkflowExtension object. * @param CustomCalloutExtension $body The request body * @param CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php index e76ab2b8876..dae8c9ba9e5 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + * Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. */ class CustomCalloutExtensionItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index 4e607afdbae..943430a02e7 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -70,11 +70,11 @@ public function delete(?AgreementItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 Find more info here */ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -119,7 +119,7 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq } /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. * @param AgreementItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php index 3ba58bfc831..c02c9925684 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve the properties and relationships of an agreement object. + * Retrieve all files related to an agreement. This includes the default file and all localized files. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/ActionResultPart.php b/src/Generated/Models/ActionResultPart.php index 05158bae187..9d010028d98 100644 --- a/src/Generated/Models/ActionResultPart.php +++ b/src/Generated/Models/ActionResultPart.php @@ -63,7 +63,7 @@ public function getBackingStore(): BackingStore { } /** - * Gets the error property value. The error that occurred, if any, during the course of the bulk operation. + * Gets the error property value. The error that occurred, if any, during the bulk operation. * @return PublicError|null */ public function getError(): ?PublicError { @@ -125,7 +125,7 @@ public function setBackingStore(BackingStore $value): void { } /** - * Sets the error property value. The error that occurred, if any, during the course of the bulk operation. + * Sets the error property value. The error that occurred, if any, during the bulk operation. * @param PublicError|null $value Value to set for the error property. */ public function setError(?PublicError $value): void { diff --git a/src/Generated/Models/ConversationMember.php b/src/Generated/Models/ConversationMember.php index 818c5d88b49..2936fc1716f 100644 --- a/src/Generated/Models/ConversationMember.php +++ b/src/Generated/Models/ConversationMember.php @@ -71,7 +71,7 @@ public function getFieldDeserializers(): array { } /** - * Gets the roles property value. The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. + * Gets the roles property value. The roles for that user. This property contains more qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member shouldn't have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. * @return array|null */ public function getRoles(): ?array { @@ -116,7 +116,7 @@ public function setDisplayName(?string $value): void { } /** - * Sets the roles property value. The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member should not have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. + * Sets the roles property value. The roles for that user. This property contains more qualifiers only when relevant - for example, if the member has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant guest, the roles property contains guest as one of the values. A basic member shouldn't have any values specified in the roles property. An Out-of-tenant external member is assigned the owner role. * @param array|null $value Value to set for the roles property. */ public function setRoles(?array $value): void { diff --git a/src/Generated/Models/Quota.php b/src/Generated/Models/Quota.php index 49180539acc..076e72ba0bb 100644 --- a/src/Generated/Models/Quota.php +++ b/src/Generated/Models/Quota.php @@ -97,7 +97,7 @@ public function getOdataType(): ?string { } /** - * Gets the remaining property value. Total space remaining before reaching the quota limit, in bytes. Read-only. + * Gets the remaining property value. Total space remaining before reaching the capacity limit, in bytes. Read-only. * @return int|null */ public function getRemaining(): ?int { @@ -204,7 +204,7 @@ public function setOdataType(?string $value): void { } /** - * Sets the remaining property value. Total space remaining before reaching the quota limit, in bytes. Read-only. + * Sets the remaining property value. Total space remaining before reaching the capacity limit, in bytes. Read-only. * @param int|null $value Value to set for the remaining property. */ public function setRemaining(?int $value): void { diff --git a/src/Generated/Models/Team.php b/src/Generated/Models/Team.php index ccbe859f9de..57460b936a1 100644 --- a/src/Generated/Models/Team.php +++ b/src/Generated/Models/Team.php @@ -55,7 +55,7 @@ public function getChannels(): ?array { } /** - * Gets the classification property value. An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory. + * Gets the classification property value. An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory. * @return string|null */ public function getClassification(): ?string { @@ -79,7 +79,7 @@ public function getCreatedDateTime(): ?DateTime { } /** - * Gets the description property value. An optional description for the team. Maximum length: 1024 characters. + * Gets the description property value. An optional description for the team. Maximum length: 1,024 characters. * @return string|null */ public function getDescription(): ?string { @@ -205,7 +205,7 @@ public function getInstalledApps(): ?array { } /** - * Gets the internalId property value. A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API. + * Gets the internalId property value. A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API. * @return string|null */ public function getInternalId(): ?string { @@ -331,7 +331,7 @@ public function getSchedule(): ?Schedule { } /** - * Gets the specialization property value. Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. + * Gets the specialization property value. Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. * @return TeamSpecialization|null */ public function getSpecialization(): ?TeamSpecialization { @@ -405,7 +405,7 @@ public function getVisibility(): ?TeamVisibilityType { } /** - * Gets the webUrl property value. A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. + * Gets the webUrl property value. A hyperlink that goes to the team in the Microsoft Teams client. You get this URL when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. * @return string|null */ public function getWebUrl(): ?string { @@ -469,7 +469,7 @@ public function setChannels(?array $value): void { } /** - * Sets the classification property value. An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory. + * Sets the classification property value. An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory. * @param string|null $value Value to set for the classification property. */ public function setClassification(?string $value): void { @@ -485,7 +485,7 @@ public function setCreatedDateTime(?DateTime $value): void { } /** - * Sets the description property value. An optional description for the team. Maximum length: 1024 characters. + * Sets the description property value. An optional description for the team. Maximum length: 1,024 characters. * @param string|null $value Value to set for the description property. */ public function setDescription(?string $value): void { @@ -541,7 +541,7 @@ public function setInstalledApps(?array $value): void { } /** - * Sets the internalId property value. A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API. + * Sets the internalId property value. A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API. * @param string|null $value Value to set for the internalId property. */ public function setInternalId(?string $value): void { @@ -621,7 +621,7 @@ public function setSchedule(?Schedule $value): void { } /** - * Sets the specialization property value. Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. + * Sets the specialization property value. Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case. * @param TeamSpecialization|null $value Value to set for the specialization property. */ public function setSpecialization(?TeamSpecialization $value): void { @@ -669,7 +669,7 @@ public function setVisibility(?TeamVisibilityType $value): void { } /** - * Sets the webUrl property value. A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. + * Sets the webUrl property value. A hyperlink that goes to the team in the Microsoft Teams client. You get this URL when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed. * @param string|null $value Value to set for the webUrl property. */ public function setWebUrl(?string $value): void { diff --git a/src/Generated/Models/WorkbookRangeView.php b/src/Generated/Models/WorkbookRangeView.php index 70a7c9bd79f..169c1add234 100644 --- a/src/Generated/Models/WorkbookRangeView.php +++ b/src/Generated/Models/WorkbookRangeView.php @@ -76,7 +76,7 @@ public function getRowCount(): ?int { } /** - * Gets the rows property value. The collection of range views associated with the range. Read-only. Read-only. + * Gets the rows property value. The collection of range views associated with the range. Read-only.Read-only. * @return array|null */ public function getRows(): ?array { @@ -126,7 +126,7 @@ public function setRowCount(?int $value): void { } /** - * Sets the rows property value. The collection of range views associated with the range. Read-only. Read-only. + * Sets the rows property value. The collection of range views associated with the range. Read-only.Read-only. * @param array|null $value Value to set for the rows property. */ public function setRows(?array $value): void { diff --git a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php index 319b02c2e3d..f2a5a2103ea 100644 --- a/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php +++ b/src/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.php @@ -45,11 +45,11 @@ public function delete(?BannerLogoRequestBuilderDeleteRequestConfiguration $requ } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param BannerLogoRequestBuilderGetRequestConfiguration|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/organizationalbranding-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 Find more info here */ public function get(?BannerLogoRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -99,7 +99,7 @@ public function toDeleteRequestInformation(?BannerLogoRequestBuilderDeleteReques } /** - * Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. + * Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. * @param BannerLogoRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index 7b3508bdb1f..739ed13cbf9 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -117,11 +117,11 @@ public function delete(?OrganizationItemRequestBuilderDeleteRequestConfiguration } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|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/organization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -132,12 +132,12 @@ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requ } /** - * Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + * Update the properties of a organization object. * @param Organization $body The request body * @param OrganizationItemRequestBuilderPatchRequestConfiguration|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/organization-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-update?view=graph-rest-1.0 Find more info here */ public function patch(Organization $body, ?OrganizationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -166,7 +166,7 @@ public function toDeleteRequestInformation(?OrganizationItemRequestBuilderDelete } /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -187,7 +187,7 @@ public function toGetRequestInformation(?OrganizationItemRequestBuilderGetReques } /** - * Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + * Update the properties of a organization object. * @param Organization $body The request body * @param OrganizationItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php index 4f144e8136a..8c22067b457 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + * Read properties and relationships of the organization object. */ class OrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/OrganizationRequestBuilder.php b/src/Generated/Organization/OrganizationRequestBuilder.php index 219b772dec8..ac128723db2 100644 --- a/src/Generated/Organization/OrganizationRequestBuilder.php +++ b/src/Generated/Organization/OrganizationRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param OrganizationRequestBuilderGetRequestConfiguration|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/intune-onboarding-organization-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -114,7 +114,7 @@ public function post(Organization $body, ?OrganizationRequestBuilderPostRequestC } /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. * @param OrganizationRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php index dbe1dd5d054..10597c442ed 100644 --- a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the organization objects. + * Retrieve a list of organization objects. There's only one organization object in the collection. */ class OrganizationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php index 624c79020e2..c03e7cf99ff 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.php @@ -109,11 +109,11 @@ public function delete(?ListItemRequestBuilderDeleteRequestConfiguration $reques } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0 Find more info here */ public function get(?ListItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -157,7 +157,7 @@ public function toDeleteRequestInformation(?ListItemRequestBuilderDeleteRequestC } /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. * @param ListItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php index 779041bf847..aed7732a9cd 100644 --- a/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/Item/Lists/Item/ListItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a list of rich long-running operations associated with a list. + * Returns the metadata for a list. */ class ListItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Sites/SitesRequestBuilder.php b/src/Generated/Sites/SitesRequestBuilder.php index 3d7f8acc4b4..5762865a54b 100644 --- a/src/Generated/Sites/SitesRequestBuilder.php +++ b/src/Generated/Sites/SitesRequestBuilder.php @@ -83,11 +83,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/site-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 Find more info here */ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -98,7 +98,7 @@ public function get(?SitesRequestBuilderGetRequestConfiguration $requestConfigur } /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. * @param SitesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php index 66d728ca0a9..8e8b1c7a645 100644 --- a/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php +++ b/src/Generated/Sites/SitesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + * Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. */ class SitesRequestBuilderGetQueryParameters { diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php index a110dbbb245..e9cb83ccfe1 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationmember-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0 Find more info here */ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -61,12 +61,12 @@ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration } /** - * Update the role of a conversationMember in a team or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 Find more info here */ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -77,7 +77,7 @@ public function patch(ConversationMember $body, ?ConversationMemberItemRequestBu } /** - * Delete a conversationMember from a channel. + * Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMemberItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -116,7 +116,7 @@ public function toGetRequestInformation(?ConversationMemberItemRequestBuilderGet } /** - * Update the role of a conversationMember in a team or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param ConversationMember $body The request body * @param ConversationMemberItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php index b5e1fd33fed..9c38996ccac 100644 --- a/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Teams\Item\Channels\Item\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\Item\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Channels\Item\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Teams\Item\Channels\Item\Members\Remove\RemoveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php b/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..8db592e5c59 --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostResponse.php b/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..05173a49448 --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::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/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..14dd3e1d974 --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..85a594a711e --- /dev/null +++ b/src/Generated/Teams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index a9a419c07bb..ba88609dded 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|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/channel-post-messagereply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Create a new reply to a chatMessage in a specified channel. + * Send a new reply to a chatMessage in a specified channel. * @param ChatMessage $body The request body * @param RepliesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php index 53df36713d4..f324450624a 100644 --- a/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.php @@ -75,12 +75,12 @@ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfi } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?MessagesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -112,7 +112,7 @@ public function toGetRequestInformation(?MessagesRequestBuilderGetRequestConfigu } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param ChatMessage $body The request body * @param MessagesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Teams/Item/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/Members/MembersRequestBuilder.php index 57b5e2e9273..85a4c5fdbe3 100644 --- a/src/Generated/Teams/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/Members/MembersRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Teams\Item\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Teams\Item\Members\Remove\RemoveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.team entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Teams/Item/Members/Remove/RemovePostRequestBody.php b/src/Generated/Teams/Item/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..7392fe7016a --- /dev/null +++ b/src/Generated/Teams/Item/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Teams/Item/Members/Remove/RemovePostResponse.php b/src/Generated/Teams/Item/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..6c58d9e64dc --- /dev/null +++ b/src/Generated/Teams/Item/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::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/Teams/Item/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Teams/Item/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..8fa333ad7be --- /dev/null +++ b/src/Generated/Teams/Item/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..0e8c15ed2a6 --- /dev/null +++ b/src/Generated/Teams/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php index 3fed950881a..30ec3812042 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Teams\Item\PrimaryChannel\Members\Remove\RemoveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..e6b824327a4 --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..5c8a6b44021 --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::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/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..e6586404b06 --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teams/{team%2Did}/primaryChannel/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..f0195b904d7 --- /dev/null +++ b/src/Generated/Teams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php index 996b25fbb7a..44fc900d1c3 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Teamwork\DeletedTeams\Item\Channels\Item\Members\Remove\RemoveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..14519c53bd8 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..f216c698668 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::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/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..c452712f7e5 --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..2db1514e7fe --- /dev/null +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php index 30ec614274d..14c41bc4e5d 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Users\Item\Chats\Item\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Chats\Item\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Users\Item\Chats\Item\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\Chats\Item\Members\Remove\RemoveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.chat entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostRequestBody.php b/src/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..1d646e96e64 --- /dev/null +++ b/src/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostResponse.php b/src/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..ffbe2b9d231 --- /dev/null +++ b/src/Generated/Users/Item/Chats/Item/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..335690c3b23 --- /dev/null +++ b/src/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..76db899e173 --- /dev/null +++ b/src/Generated/Users/Item/Chats/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.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/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php index 7f02ceea2f5..7a9732bc355 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Channels\Item\Members\Remove\RemoveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..4d3ce27b0c1 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..d0fd4c398d3 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..51abea7d9e8 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..54d074ef5aa --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.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/JoinedTeams/Item/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php index 164d291ef8e..1d84cd5c150 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\Members\Remove\RemoveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.team entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..cad29873e3a --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostResponse.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..13b99df5f55 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..0f65e846187 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ba256fa4357 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.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/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php index 60b427e5a24..1ad77fe09fb 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.php @@ -10,6 +10,7 @@ use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\Members\Add\AddRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\Members\Count\CountRequestBuilder; use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\Members\Item\ConversationMemberItemRequestBuilder; +use Microsoft\Graph\Generated\Users\Item\JoinedTeams\Item\PrimaryChannel\Members\Remove\RemoveRequestBuilder; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; use Microsoft\Kiota\Abstractions\HttpMethod; use Microsoft\Kiota\Abstractions\RequestAdapter; @@ -34,6 +35,13 @@ public function count(): CountRequestBuilder { return new CountRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the remove method. + */ + public function remove(): RemoveRequestBuilder { + return new RemoveRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the members property of the microsoft.graph.channel entity. * @param string $conversationMemberId The unique identifier of conversationMember diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.php new file mode 100644 index 00000000000..022a78e2f51 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostRequestBody.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 RemovePostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): RemovePostRequestBody { + return new RemovePostRequestBody(); + } + + /** + * 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 [ + 'values' => fn(ParseNode $n) => $o->setValues($n->getCollectionOfObjectValues([ConversationMember::class, 'createFromDiscriminatorValue'])), + ]; + } + + /** + * Gets the values property value. The values property + * @return array|null + */ + public function getValues(): ?array { + $val = $this->getBackingStore()->get('values'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, ConversationMember::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'values'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeCollectionOfObjectValues('values', $this->getValues()); + $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 values property value. The values property + * @param array|null $value Value to set for the values property. + */ + public function setValues(?array $value): void { + $this->getBackingStore()->set('values', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.php new file mode 100644 index 00000000000..3488c2f7b6b --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemovePostResponse.php @@ -0,0 +1,72 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'value' => fn(ParseNode $n) => $o->setValue($n->getCollectionOfObjectValues([ActionResultPart::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, ActionResultPart::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'value'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeCollectionOfObjectValues('value', $this->getValue()); + } + + /** + * Sets the value property value. The value property + * @param array|null $value Value to set for the value property. + */ + public function setValue(?array $value): void { + $this->getBackingStore()->set('value', $value); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php new file mode 100644 index 00000000000..2fe263cec19 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilder.php @@ -0,0 +1,77 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/members/remove'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/conversationmember-remove?view=graph-rest-1.0 Find more info here + */ + public function post(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + 'XXX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [RemovePostResponse::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + * @param RemovePostRequestBody $body The request body + * @param RemoveRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(RemovePostRequestBody $body, ?RemoveRequestBuilderPostRequestConfiguration $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 RemoveRequestBuilder + */ + public function withUrl(string $rawUrl): RemoveRequestBuilder { + return new RemoveRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..1d76c36c425 --- /dev/null +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Remove/RemoveRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php index 9d61c5f6f27..d964ee26acc 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilder.php @@ -85,11 +85,11 @@ public function delete(?PresenceRequestBuilderDeleteRequestConfiguration $reques } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 Find more info here */ public function get(?PresenceRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -133,7 +133,7 @@ public function toDeleteRequestInformation(?PresenceRequestBuilderDeleteRequestC } /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. * @param PresenceRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php index 7aecc5f7422..3794e0b7d32 100644 --- a/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Presence/PresenceRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Set a presence status message for a user. An optional expiration date and time can be supplied. + * Get a user's presence information. */ class PresenceRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index 840a4ecd3e7..f650bb836ca 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -625,11 +625,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a user. + * Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. * @param UserItemRequestBuilderDeleteRequestConfiguration|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/intune-onboarding-user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UserItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -670,7 +670,7 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi * @param UserItemRequestBuilderPatchRequestConfiguration|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/user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UserItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -691,7 +691,7 @@ public function reminderViewWithStartDateTimeWithEndDateTime(string $endDateTime } /** - * Deletes a user. + * Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index 346eefac4c2..06425a513f1 100644 --- a/src/Generated/Users/UsersRequestBuilder.php +++ b/src/Generated/Users/UsersRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|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/user-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -115,7 +115,7 @@ public function post(User $body, ?UsersRequestBuilderPostRequestConfiguration $r } /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. * @param UsersRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php index 1e989d3b59e..3e762ac4482 100644 --- a/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/UsersRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of user objects. + * List properties and relationships of the user objects. */ class UsersRequestBuilderGetQueryParameters { diff --git a/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php b/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php index 8ef59584edc..929ebcc12e6 100644 --- a/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php +++ b/src/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.php @@ -34,11 +34,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a user. + * Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. * @param UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration|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/intune-onboarding-user-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0 Find more info here */ public function delete(?UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -69,7 +69,7 @@ public function get(?UsersWithUserPrincipalNameRequestBuilderGetRequestConfigura * @param UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration|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/user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-user-update?view=graph-rest-1.0 Find more info here */ public function patch(User $body, ?UsersWithUserPrincipalNameRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(User $body, ?UsersWithUserPrincipalNameRequestBuilderPatch } /** - * Deletes a user. + * Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. * @param UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/kiota-dom-export.txt b/src/Generated/kiota-dom-export.txt index 5c8c34af6e3..d7db4371276 100644 --- a/src/Generated/kiota-dom-export.txt +++ b/src/Generated/kiota-dom-export.txt @@ -4831,6 +4831,7 @@ Microsoft\Graph\Generated.chats.item.members.MembersRequestBuilder::|public|Coun Microsoft\Graph\Generated.chats.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.chats.item.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.chats.item.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.chats.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.chats.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.chats.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.chats.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -4851,6 +4852,34 @@ Microsoft\Graph\Generated.chats.item.members.membersRequestBuilderGetRequestConf Microsoft\Graph\Generated.chats.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.chats.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.chats.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.chats.item.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.chats.item.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.chats.item.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.chats.item.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.chats.item.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.chats.item.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.chats.item.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.chats.item.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.chats.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.chats.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.chats.item.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.chats.item.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.chats.item.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.chats.item.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.chats.item.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.chats.item.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.chats.item.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.chats.item.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.chats.item.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.chats.item.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.chats.item.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -87110,6 +87139,7 @@ Microsoft\Graph\Generated.groups.item.team.channels.item.members.MembersRequestB Microsoft\Graph\Generated.groups.item.team.channels.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.groups.item.team.channels.item.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.groups.item.team.channels.item.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.groups.item.team.channels.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.groups.item.team.channels.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.groups.item.team.channels.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.groups.item.team.channels.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -87130,6 +87160,34 @@ Microsoft\Graph\Generated.groups.item.team.channels.item.members.membersRequestB Microsoft\Graph\Generated.groups.item.team.channels.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.groups.item.team.channels.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.groups.item.team.channels.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.channels.item.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.groups.item.team.channels.item.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.groups.item.team.channels.item.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.groups.item.team.channels.item.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -88207,6 +88265,7 @@ Microsoft\Graph\Generated.groups.item.team.members.MembersRequestBuilder::|publi Microsoft\Graph\Generated.groups.item.team.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.groups.item.team.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.groups.item.team.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.groups.item.team.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.groups.item.team.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.groups.item.team.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.groups.item.team.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -88227,6 +88286,34 @@ Microsoft\Graph\Generated.groups.item.team.members.membersRequestBuilderGetReque Microsoft\Graph\Generated.groups.item.team.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.groups.item.team.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.groups.item.team.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.groups.item.team.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.groups.item.team.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.groups.item.team.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.groups.item.team.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.groups.item.team.operations.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.groups.item.team.operations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.groups.item.team.operations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -88565,6 +88652,7 @@ Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.MembersRequest Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -88585,6 +88673,34 @@ Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.membersRequest Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.groups.item.team.primaryChannel.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.groups.item.team.primaryChannel.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.groups.item.team.primaryChannel.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.groups.item.team.primaryChannel.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -196680,6 +196796,7 @@ Microsoft\Graph\Generated.teams.item.channels.item.members.MembersRequestBuilder Microsoft\Graph\Generated.teams.item.channels.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.teams.item.channels.item.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.teams.item.channels.item.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.teams.item.channels.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.teams.item.channels.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.teams.item.channels.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.teams.item.channels.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -196700,6 +196817,34 @@ Microsoft\Graph\Generated.teams.item.channels.item.members.membersRequestBuilder Microsoft\Graph\Generated.teams.item.channels.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.teams.item.channels.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.teams.item.channels.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.channels.item.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.teams.item.channels.item.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.teams.item.channels.item.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.teams.item.channels.item.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -197777,6 +197922,7 @@ Microsoft\Graph\Generated.teams.item.members.MembersRequestBuilder::|public|Coun Microsoft\Graph\Generated.teams.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.teams.item.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.teams.item.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.teams.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.teams.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.teams.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.teams.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -197797,6 +197943,34 @@ Microsoft\Graph\Generated.teams.item.members.membersRequestBuilderGetRequestConf Microsoft\Graph\Generated.teams.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.teams.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.teams.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.teams.item.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.teams.item.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.teams.item.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.teams.item.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.teams.item.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.teams.item.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.teams.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.teams.item.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.teams.item.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.teams.item.operations.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.teams.item.operations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.teams.item.operations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -198135,6 +198309,7 @@ Microsoft\Graph\Generated.teams.item.primaryChannel.members.MembersRequestBuilde Microsoft\Graph\Generated.teams.item.primaryChannel.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.teams.item.primaryChannel.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.teams.item.primaryChannel.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.teams.item.primaryChannel.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.teams.item.primaryChannel.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.teams.item.primaryChannel.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.teams.item.primaryChannel.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -198155,6 +198330,34 @@ Microsoft\Graph\Generated.teams.item.primaryChannel.members.membersRequestBuilde Microsoft\Graph\Generated.teams.item.primaryChannel.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.teams.item.primaryChannel.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.teams.item.primaryChannel.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teams.item.primaryChannel.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.teams.item.primaryChannel.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.teams.item.primaryChannel.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.teams.item.primaryChannel.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -200345,6 +200548,7 @@ Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.Membe Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -200365,6 +200569,34 @@ Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.membe Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.teamwork.deletedTeams.item.channels.item.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -209742,6 +209974,7 @@ Microsoft\Graph\Generated.users.item.chats.item.members.MembersRequestBuilder::| Microsoft\Graph\Generated.users.item.chats.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.users.item.chats.item.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.users.item.chats.item.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.users.item.chats.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.users.item.chats.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.users.item.chats.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.chats.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -209762,6 +209995,34 @@ Microsoft\Graph\Generated.users.item.chats.item.members.membersRequestBuilderGet Microsoft\Graph\Generated.users.item.chats.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.chats.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.chats.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.users.item.chats.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.chats.item.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.chats.item.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.chats.item.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.chats.item.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.chats.item.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -213997,6 +214258,7 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.Memb Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -214017,6 +214279,34 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.memb Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.joinedTeams.item.channels.item.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -215094,6 +215384,7 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.members.MembersRequestBuil Microsoft\Graph\Generated.users.item.joinedTeams.item.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.users.item.joinedTeams.item.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.users.item.joinedTeams.item.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.users.item.joinedTeams.item.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.joinedTeams.item.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -215114,6 +215405,34 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.members.membersRequestBuil Microsoft\Graph\Generated.users.item.joinedTeams.item.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.joinedTeams.item.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.joinedTeams.item.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.joinedTeams.item.operations.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.operations.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.joinedTeams.item.operations.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int @@ -215452,6 +215771,7 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.Mem Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.MembersRequestBuilder::|public|Get(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):ConversationMemberCollectionResponse Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.MembersRequestBuilder::|public|pathParameters:array Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.MembersRequestBuilder::|public|Post(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):ConversationMember +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.MembersRequestBuilder::|public|remove:RemoveRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.MembersRequestBuilder::|public|requestAdapter:RequestAdapter Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.MembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:MembersRequestBuilderGetRequestConfiguration):RequestInformation Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.MembersRequestBuilder::|public|ToPostRequestInformation(body:ConversationMember; requestConfiguration?:MembersRequestBuilderPostRequestConfiguration):RequestInformation @@ -215472,6 +215792,34 @@ Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.mem Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.membersRequestBuilderGetRequestConfiguration::|static|public|createQueryParameters(count?:bool; expand?:array; filter?:string; orderby?:array; search?:string; select?:array; skip?:int; top?:int):MembersRequestBuilderGetQueryParameters Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.membersRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.membersRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|getAdditionalData():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|getBackingStore():BackingStore +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|getValues():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|setAdditionalData(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|setBackingStore(value:BackingStore):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|public|setValues(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostRequestBody +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostResponse-->BaseCollectionPaginationCountResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostResponse::|public|constructor():void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostResponse::|public|GetFieldDeserializers():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostResponse::|public|getValue():array +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostResponse::|public|setValue(value?:array):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):RemovePostResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.RemoveRequestBuilder-->BaseRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|pathParameters:array +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|Post(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RemovePostResponse +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|requestAdapter:RequestAdapter +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|ToPostRequestInformation(body:RemovePostRequestBody; requestConfiguration?:RemoveRequestBuilderPostRequestConfiguration):RequestInformation +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|urlTemplate:string +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.RemoveRequestBuilder::|public|WithUrl(rawUrl:string):RemoveRequestBuilder +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removeRequestBuilderPostRequestConfiguration-->BaseRequestConfiguration +Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.members.remove.removeRequestBuilderPostRequestConfiguration::|public|constructor(headers?:array; options?:array):void Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.messages.count.CountRequestBuilder-->BaseRequestBuilder Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.messages.count.CountRequestBuilder::|public|constructor(pathParameters:array; requestAdapter:RequestAdapter):void Microsoft\Graph\Generated.users.item.joinedTeams.item.primaryChannel.messages.count.CountRequestBuilder::|public|Get(requestConfiguration?:CountRequestBuilderGetRequestConfiguration):int diff --git a/src/Generated/kiota-lock.json b/src/Generated/kiota-lock.json index 9e609052139..d9ea3a85fbb 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "0D10478CC5AE4EC6098852A872AE786DED9F45C1918ED35870E3017BFA60F4EA8C5A59A80C9DB74303CDDBD302EAFA5D7BBB8F5AA4730264459AE9A8DF1205F8", + "descriptionHash": "36DAF43A4E4EA20C97905B09C9E2291DBE80845EF0BE4D539FDDE691C6D93FBA0A10D98BECC30970531126749C7B01E815A0759418A6120BC51A3A0FDBEFD95A", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.22.0",