From 4a9efac753319986d87bbe1fc33d15ec5d1d3e4d Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 12 Dec 2023 10:29:58 +0000 Subject: [PATCH] Update generated files with build 130446 --- .../Admin/People/PeopleRequestBuilder.php | 44 +-- .../Pronouns/PronounsRequestBuilder.php | 116 ++++++++ ...onounsRequestBuilderGetQueryParameters.php | 34 +++ ...sRequestBuilderGetRequestConfiguration.php | 39 +++ ...questBuilderPatchRequestConfiguration.php} | 6 +- .../AppManagementPoliciesRequestBuilder.php | 2 +- .../Item/Owners/OwnersRequestBuilder.php | 2 +- .../TokenIssuancePoliciesRequestBuilder.php | 2 +- .../TokenLifetimePoliciesRequestBuilder.php | 2 +- .../ConversationMemberItemRequestBuilder.php | 6 +- ...erItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../Invite/InviteRequestBuilder.php | 6 +- .../DeviceAppManagementRequestBuilder.php | 4 +- .../ManagedAppPolicyItemRequestBuilder.php | 6 +- ...cyItemRequestBuilderGetQueryParameters.php | 2 +- .../TargetApps/TargetAppsRequestBuilder.php | 2 +- .../ManagedAppPoliciesRequestBuilder.php | 6 +- ...liciesRequestBuilderGetQueryParameters.php | 2 +- .../TargetApps/TargetAppsRequestBuilder.php | 2 +- .../TargetApps/TargetAppsRequestBuilder.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 | 18 +- ...ntItemRequestBuilderGetQueryParameters.php | 2 +- .../MobileAppConfigurationsRequestBuilder.php | 6 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../Item/MobileAppItemRequestBuilder.php | 18 +- ...ppItemRequestBuilderGetQueryParameters.php | 2 +- .../MobileApps/MobileAppsRequestBuilder.php | 12 +- ...leAppsRequestBuilderGetQueryParameters.php | 2 +- ...DeviceCompliancePoliciesRequestBuilder.php | 12 +- ...liciesRequestBuilderGetQueryParameters.php | 2 +- ...viceCompliancePolicyItemRequestBuilder.php | 18 +- ...cyItemRequestBuilderGetQueryParameters.php | 2 +- .../DeviceConfigurationsRequestBuilder.php | 12 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../DeviceConfigurationItemRequestBuilder.php | 18 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- ...EnrollmentConfigurationsRequestBuilder.php | 12 +- ...ationsRequestBuilderGetQueryParameters.php | 2 +- .../DeviceManagementRequestBuilder.php | 12 +- .../Item/RoleDefinitionItemRequestBuilder.php | 6 +- .../RoleDefinitionsRequestBuilder.php | 6 +- .../VirtualEndpointRequestBuilder.php | 147 ++++++++++ ...questBuilderDeleteRequestConfiguration.php | 22 ++ ...dpointRequestBuilderGetQueryParameters.php | 34 +++ ...tRequestBuilderGetRequestConfiguration.php | 39 +++ ...equestBuilderPatchRequestConfiguration.php | 22 ++ .../RegisteredOwnersRequestBuilder.php | 2 +- .../RegisteredUsersRequestBuilder.php | 2 +- .../Item/Members/MembersRequestBuilder.php | 2 +- .../Item/Members/MembersRequestBuilder.php | 2 +- .../CreateLink/CreateLinkPostRequestBody.php | 273 ++++++++++++++++++ .../CreateLink/CreateLinkRequestBuilder.php | 78 +++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Items/Item/ListItemItemRequestBuilder.php | 8 + .../CreateLink/CreateLinkPostRequestBody.php | 48 +++ .../Names/Item/Range/RangeRequestBuilder.php | 6 +- .../Workbook/Tables/Add/AddRequestBuilder.php | 6 +- .../Item/Columns/ColumnsRequestBuilder.php | 2 +- .../Tables/Item/Rows/RowsRequestBuilder.php | 2 +- .../Item/Points/PointsRequestBuilder.php | 6 +- ...PointsRequestBuilderGetQueryParameters.php | 2 +- .../Item/Series/SeriesRequestBuilder.php | 2 +- .../Names/Item/Range/RangeRequestBuilder.php | 6 +- .../Item/Tables/Add/AddRequestBuilder.php | 6 +- .../Item/Columns/ColumnsRequestBuilder.php | 2 +- .../Tables/Item/Rows/RowsRequestBuilder.php | 2 +- .../Worksheets/WorksheetsRequestBuilder.php | 2 +- .../Categories/CategoriesRequestBuilder.php | 2 +- .../Item/Members/MembersRequestBuilder.php | 2 +- .../Item/Teachers/TeachersRequestBuilder.php | 2 +- .../Categories/CategoriesRequestBuilder.php | 2 +- .../Item/Classes/ClassesRequestBuilder.php | 2 +- .../Item/Users/UsersRequestBuilder.php | 2 +- .../Categories/CategoriesRequestBuilder.php | 2 +- .../AllowedGroupsRequestBuilder.php | 2 +- .../AllowedUsersRequestBuilder.php | 2 +- .../AcceptedSendersRequestBuilder.php | 2 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../InReplyTo/Reply/ReplyRequestBuilder.php | 6 +- .../Posts/Item/Reply/ReplyRequestBuilder.php | 6 +- .../Item/Posts/PostsRequestBuilder.php | 6 +- .../PostsRequestBuilderGetQueryParameters.php | 2 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Item/Members/MembersRequestBuilder.php | 2 +- .../Item/Owners/OwnersRequestBuilder.php | 2 +- .../RejectedSendersRequestBuilder.php | 2 +- .../CreateLink/CreateLinkPostRequestBody.php | 273 ++++++++++++++++++ .../CreateLink/CreateLinkRequestBuilder.php | 78 +++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Items/Item/ListItemItemRequestBuilder.php | 8 + .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../ConversationThreadItemRequestBuilder.php | 6 +- ...adItemRequestBuilderGetQueryParameters.php | 2 +- .../InReplyTo/Reply/ReplyRequestBuilder.php | 6 +- .../Posts/Item/Reply/ReplyRequestBuilder.php | 6 +- .../Item/Posts/PostsRequestBuilder.php | 6 +- .../PostsRequestBuilderGetQueryParameters.php | 2 +- ...serFlowIdentityProvidersRequestBuilder.php | 2 +- .../Item/NamedLocationItemRequestBuilder.php | 12 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- ...ewScheduleDefinitionItemRequestBuilder.php | 17 +- ...RequestBuilderPutRequestConfiguration.php} | 4 +- .../Item/AccessPackageItemRequestBuilder.php | 6 +- ...geItemRequestBuilderGetQueryParameters.php | 2 +- ...compatibleAccessPackagesRequestBuilder.php | 2 +- .../IncompatibleGroupsRequestBuilder.php | 2 +- ...stomCalloutExtensionItemRequestBuilder.php | 6 +- .../ExternalSponsorsRequestBuilder.php | 2 +- .../InternalSponsorsRequestBuilder.php | 2 +- ...stomCalloutExtensionItemRequestBuilder.php | 6 +- .../Item/AgreementItemRequestBuilder.php | 6 +- ...ntItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/History/HistoryRequestBuilder.php | 6 +- ...istoryRequestBuilderGetQueryParameters.php | 2 +- .../AppliedConditionalAccessPolicyResult.php | 4 + src/Generated/Models/DeviceManagement.php | 22 ++ src/Generated/Models/Entity.php | 2 + src/Generated/Models/PeopleAdminSettings.php | 22 ++ src/Generated/Models/PronounsSettings.php | 67 +++++ src/Generated/Models/VirtualEndpoint.php | 45 +++ .../Item/OrganizationItemRequestBuilder.php | 12 +- ...onItemRequestBuilderGetQueryParameters.php | 2 +- .../OrganizationRequestBuilder.php | 6 +- ...zationRequestBuilderGetQueryParameters.php | 2 +- .../AppliesTo/AppliesToRequestBuilder.php | 2 +- .../ClaimsMappingPoliciesRequestBuilder.php | 2 +- ...meRealmDiscoveryPoliciesRequestBuilder.php | 2 +- .../Item/Owners/OwnersRequestBuilder.php | 2 +- .../CreateLink/CreateLinkPostRequestBody.php | 273 ++++++++++++++++++ .../CreateLink/CreateLinkRequestBuilder.php | 78 +++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Items/Item/ListItemItemRequestBuilder.php | 8 + .../CreateLink/CreateLinkPostRequestBody.php | 273 ++++++++++++++++++ .../CreateLink/CreateLinkRequestBuilder.php | 78 +++++ ...RequestBuilderPostRequestConfiguration.php | 22 ++ .../Items/Item/ListItemItemRequestBuilder.php | 8 + src/Generated/Sites/SitesRequestBuilder.php | 6 +- .../SitesRequestBuilderGetQueryParameters.php | 2 +- .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../ActivityHistoryItemItemRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../ConversationMemberItemRequestBuilder.php | 6 +- ...erItemRequestBuilderGetQueryParameters.php | 2 +- .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 6 +- .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../Item/Replies/RepliesRequestBuilder.php | 6 +- .../ChildFoldersRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 12 +- ...hmentsRequestBuilderGetQueryParameters.php | 2 +- .../Item/MailFolderItemRequestBuilder.php | 6 +- .../Attachments/AttachmentsRequestBuilder.php | 12 +- ...hmentsRequestBuilderGetQueryParameters.php | 2 +- .../Attachments/AttachmentsRequestBuilder.php | 12 +- ...hmentsRequestBuilderGetQueryParameters.php | 2 +- .../Item/MessageItemRequestBuilder.php | 14 +- .../Item/Value/ContentRequestBuilder.php | 2 +- .../Item/Messages/MessagesRequestBuilder.php | 2 +- .../Users/Item/UserItemRequestBuilder.php | 18 +- ...erItemRequestBuilderGetQueryParameters.php | 2 +- src/Generated/Users/UsersRequestBuilder.php | 6 +- .../UsersRequestBuilderGetQueryParameters.php | 2 +- src/Generated/kiota-lock.json | 4 +- 195 files changed, 2609 insertions(+), 443 deletions(-) create mode 100644 src/Generated/Admin/People/Pronouns/PronounsRequestBuilder.php create mode 100644 src/Generated/Admin/People/Pronouns/PronounsRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/Admin/People/Pronouns/PronounsRequestBuilderGetRequestConfiguration.php rename src/Generated/Admin/People/{PeopleRequestBuilderPatchRequestConfiguration.php => Pronouns/PronounsRequestBuilderPatchRequestConfiguration.php} (67%) create mode 100644 src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.php create mode 100644 src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderDeleteRequestConfiguration.php create mode 100644 src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderGetQueryParameters.php create mode 100644 src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderGetRequestConfiguration.php create mode 100644 src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderPatchRequestConfiguration.php create mode 100644 src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php create mode 100644 src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php create mode 100644 src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php create mode 100644 src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php create mode 100644 src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php rename src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/{AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration.php => AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration.php} (79%) create mode 100644 src/Generated/Models/PronounsSettings.php create mode 100644 src/Generated/Models/VirtualEndpoint.php create mode 100644 src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php create mode 100644 src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php create mode 100644 src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php create mode 100644 src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php create mode 100644 src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php create mode 100644 src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php diff --git a/src/Generated/Admin/People/PeopleRequestBuilder.php b/src/Generated/Admin/People/PeopleRequestBuilder.php index 1c479a99547..7db5203727b 100644 --- a/src/Generated/Admin/People/PeopleRequestBuilder.php +++ b/src/Generated/Admin/People/PeopleRequestBuilder.php @@ -5,6 +5,7 @@ use Exception; use Http\Promise\Promise; use Microsoft\Graph\Generated\Admin\People\ProfileCardProperties\ProfileCardPropertiesRequestBuilder; +use Microsoft\Graph\Generated\Admin\People\Pronouns\PronounsRequestBuilder; use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Models\PeopleAdminSettings; use Microsoft\Kiota\Abstractions\BaseRequestBuilder; @@ -24,6 +25,13 @@ public function profileCardProperties(): ProfileCardPropertiesRequestBuilder { return new ProfileCardPropertiesRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. + */ + public function pronouns(): PronounsRequestBuilder { + return new PronounsRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Instantiates a new PeopleRequestBuilder and sets the default values. * @param array|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. @@ -54,22 +62,6 @@ public function get(?PeopleRequestBuilderGetRequestConfiguration $requestConfigu return $this->requestAdapter->sendAsync($requestInfo, [PeopleAdminSettings::class, 'createFromDiscriminatorValue'], $errorMappings); } - /** - * Update the navigation property people in admin - * @param PeopleAdminSettings $body The request body - * @param PeopleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return Promise - * @throws Exception - */ - public function patch(PeopleAdminSettings $body, ?PeopleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); - $errorMappings = [ - '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], - '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], - ]; - return $this->requestAdapter->sendAsync($requestInfo, [PeopleAdminSettings::class, 'createFromDiscriminatorValue'], $errorMappings); - } - /** * Retrieve the properties and relationships of a peopleAdminSettings object. * @param PeopleRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. @@ -91,26 +83,6 @@ public function toGetRequestInformation(?PeopleRequestBuilderGetRequestConfigura return $requestInfo; } - /** - * Update the navigation property people in admin - * @param PeopleAdminSettings $body The request body - * @param PeopleRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return RequestInformation - */ - public function toPatchRequestInformation(PeopleAdminSettings $body, ?PeopleRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { - $requestInfo = new RequestInformation(); - $requestInfo->urlTemplate = $this->urlTemplate; - $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; - if ($requestConfiguration !== null) { - $requestInfo->addHeaders($requestConfiguration->headers); - $requestInfo->addRequestOptions(...$requestConfiguration->options); - } - $requestInfo->tryAddHeader('Accept', "application/json"); - $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); - return $requestInfo; - } - /** * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param string $rawUrl The raw URL to use for the request builder. diff --git a/src/Generated/Admin/People/Pronouns/PronounsRequestBuilder.php b/src/Generated/Admin/People/Pronouns/PronounsRequestBuilder.php new file mode 100644 index 00000000000..81ccb2a0a4b --- /dev/null +++ b/src/Generated/Admin/People/Pronouns/PronounsRequestBuilder.php @@ -0,0 +1,116 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/admin/people/pronouns{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. + * @param PronounsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + * @link https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns?view=graph-rest-1.0 Find more info here + */ + public function get(?PronounsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [PronounsSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. + * @param PronounsSettings $body The request body + * @param PronounsRequestBuilderPatchRequestConfiguration|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/pronounssettings-update?view=graph-rest-1.0 Find more info here + */ + public function patch(PronounsSettings $body, ?PronounsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [PronounsSettings::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. + * @param PronounsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?PronounsRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. + * @param PronounsSettings $body The request body + * @param PronounsRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(PronounsSettings $body, ?PronounsRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return PronounsRequestBuilder + */ + public function withUrl(string $rawUrl): PronounsRequestBuilder { + return new PronounsRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Admin/People/Pronouns/PronounsRequestBuilderGetQueryParameters.php b/src/Generated/Admin/People/Pronouns/PronounsRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..5b55f7d6bcb --- /dev/null +++ b/src/Generated/Admin/People/Pronouns/PronounsRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new pronounsRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/Admin/People/Pronouns/PronounsRequestBuilderGetRequestConfiguration.php b/src/Generated/Admin/People/Pronouns/PronounsRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..3748afdabf3 --- /dev/null +++ b/src/Generated/Admin/People/Pronouns/PronounsRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param PronounsRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?PronounsRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new pronounsRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return PronounsRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): PronounsRequestBuilderGetQueryParameters { + return new PronounsRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/Admin/People/PeopleRequestBuilderPatchRequestConfiguration.php b/src/Generated/Admin/People/Pronouns/PronounsRequestBuilderPatchRequestConfiguration.php similarity index 67% rename from src/Generated/Admin/People/PeopleRequestBuilderPatchRequestConfiguration.php rename to src/Generated/Admin/People/Pronouns/PronounsRequestBuilderPatchRequestConfiguration.php index a74d03d0738..e3cffac8952 100644 --- a/src/Generated/Admin/People/PeopleRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/Admin/People/Pronouns/PronounsRequestBuilderPatchRequestConfiguration.php @@ -1,6 +1,6 @@ |string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php b/src/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php index 1b111d3c9a3..232c5d15444 100644 --- a/src/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.applications.item.appManagementPolicies.item collection - * @param string $appManagementPolicyId Unique identifier of the item + * @param string $appManagementPolicyId The unique identifier of appManagementPolicy * @return AppManagementPolicyItemRequestBuilder */ public function byAppManagementPolicyId(string $appManagementPolicyId): AppManagementPolicyItemRequestBuilder { diff --git a/src/Generated/Applications/Item/Owners/OwnersRequestBuilder.php b/src/Generated/Applications/Item/Owners/OwnersRequestBuilder.php index b23ce8324d1..a7a22fd8403 100644 --- a/src/Generated/Applications/Item/Owners/OwnersRequestBuilder.php +++ b/src/Generated/Applications/Item/Owners/OwnersRequestBuilder.php @@ -67,7 +67,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.applications.item.owners.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php b/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php index 240cf213ee0..b2aac566db6 100644 --- a/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.applications.item.tokenIssuancePolicies.item collection - * @param string $tokenIssuancePolicyId Unique identifier of the item + * @param string $tokenIssuancePolicyId The unique identifier of tokenIssuancePolicy * @return TokenIssuancePolicyItemRequestBuilder */ public function byTokenIssuancePolicyId(string $tokenIssuancePolicyId): TokenIssuancePolicyItemRequestBuilder { diff --git a/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php b/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php index ee702d81ca5..b6e97fc3747 100644 --- a/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php +++ b/src/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.applications.item.tokenLifetimePolicies.item collection - * @param string $tokenLifetimePolicyId Unique identifier of the item + * @param string $tokenLifetimePolicyId The unique identifier of tokenLifetimePolicy * @return TokenLifetimePolicyItemRequestBuilder */ public function byTokenLifetimePolicyId(string $tokenLifetimePolicyId): TokenLifetimePolicyItemRequestBuilder { diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 1758bc03da4..4337b414ebf 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -47,11 +47,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|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/chat-get-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here */ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -97,7 +97,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder } /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index 421bd7f2048..13da59c62c1 100644 --- a/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 291ce093e2d..dfb94cade00 100644 --- a/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php index 7e1d99c832b..72989441630 100644 --- a/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php +++ b/src/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 Find more info here */ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -48,7 +48,7 @@ public function post(InvitePostRequestBody $body, ?InviteRequestBuilderPostReque } /** - * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + * Invite participants to the active call. For more information about how to handle operations, see commsOperation. * @param InvitePostRequestBody $body The request body * @param InviteRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php b/src/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.php index ddd94d3ffaf..f69f11fb6a9 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-onboarding-deviceappmanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceAppManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -172,7 +172,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/Item/ManagedAppPolicyItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php index 251a7f5ac53..4d3743b3fd3 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.php @@ -54,11 +54,11 @@ public function delete(?ManagedAppPolicyItemRequestBuilderDeleteRequestConfigura } /** - * Read properties and relationships of the managedAppPolicy object. + * Read properties and relationships of the managedAppProtection object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|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-managedapppolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -104,7 +104,7 @@ public function toDeleteRequestInformation(?ManagedAppPolicyItemRequestBuilderDe } /** - * Read properties and relationships of the managedAppPolicy object. + * Read properties and relationships of the managedAppProtection object. * @param ManagedAppPolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php index 58b0bb0c0c9..93329ca5f7b 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the managedAppPolicy object. + * Read properties and relationships of the managedAppProtection object. */ class ManagedAppPolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 9fce9397687..6350fc5ede7 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.php index 31021abff68..b27c863b04e 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 managedAppPolicy 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-managedapppolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppPoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -84,7 +84,7 @@ public function post(ManagedAppPolicy $body, ?ManagedAppPoliciesRequestBuilderPo } /** - * List properties and relationships of the targetedManagedAppProtection objects. + * List properties and relationships of the managedAppPolicy 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 5501668ceb1..4df728afddc 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 managedAppPolicy objects. */ class ManagedAppPoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index f5034346932..fd1a5c40d70 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php index 5990277e805..97bcbd1dde5 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param TargetAppsRequestBuilderPostRequestConfiguration|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-managedapppolicy-targetapps?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 Find more info here */ public function post(TargetAppsPostRequestBody $body, ?TargetAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php index a127b321845..f61929b4333 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.php @@ -70,11 +70,11 @@ public function delete(?ManagedAppRegistrationItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration 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-iosmanagedappregistration-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -120,7 +120,7 @@ public function toDeleteRequestInformation(?ManagedAppRegistrationItemRequestBui } /** - * Read properties and relationships of the iosManagedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration 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 92858399e1b..bae004f29fe 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 iosManagedAppRegistration object. + * Read properties and relationships of the androidManagedAppRegistration object. */ class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php index cf46f33a39b..a51220469b8 100644 --- a/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.php @@ -46,11 +46,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); @@ -96,7 +96,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 7e47dcd709d..bf8b7ad3019 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); @@ -84,7 +84,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 fee5614f9e6..f23cbad0621 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 920d33847e3..2511370b763 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 managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment 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-managedebookassignment-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0 Find more info here */ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -68,12 +68,12 @@ public function get(?AssignmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Create a new managedEBookAssignment object. + * Create a new iosVppEBookAssignment 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-managedebookassignment-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 Find more info here */ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function post(ManagedEBookAssignment $body, ?AssignmentsRequestBuilderPos } /** - * List properties and relationships of the managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment objects. * @param AssignmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -106,7 +106,7 @@ public function toGetRequestInformation(?AssignmentsRequestBuilderGetRequestConf } /** - * Create a new managedEBookAssignment object. + * Create a new iosVppEBookAssignment 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 bc0ec42f416..286ad40a449 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 managedEBookAssignment objects. + * List properties and relationships of the iosVppEBookAssignment 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 981b2787e61..93374837dbb 100644 --- a/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php +++ b/src/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a iosVppEBookAssignment. + * Deletes a managedEBookAssignment. * @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|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-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0 Find more info here */ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -47,11 +47,11 @@ public function delete(?ManagedEBookAssignmentItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment 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-managedebookassignment-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0 Find more info here */ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -63,12 +63,12 @@ public function get(?ManagedEBookAssignmentItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|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-managedebookassignment-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 Find more info here */ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -80,7 +80,7 @@ public function patch(ManagedEBookAssignment $body, ?ManagedEBookAssignmentItemR } /** - * Deletes a iosVppEBookAssignment. + * Deletes a managedEBookAssignment. * @param ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?ManagedEBookAssignmentItemRequestBui } /** - * Read properties and relationships of the managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. * @param ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -119,7 +119,7 @@ public function toGetRequestInformation(?ManagedEBookAssignmentItemRequestBuilde } /** - * Update the properties of a managedEBookAssignment object. + * Update the properties of a iosVppEBookAssignment object. * @param ManagedEBookAssignment $body The request body * @param ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration|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 854e051c551..fa920db8c52 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 managedEBookAssignment object. + * Read properties and relationships of the iosVppEBookAssignment object. */ class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.php index e30cefc1d92..46ff2936e26 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 managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration 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-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -85,7 +85,7 @@ public function post(ManagedDeviceMobileAppConfiguration $body, ?MobileAppConfig } /** - * List properties and relationships of the managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration 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 ff7c68f0b4a..819202019ad 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 managedDeviceMobileAppConfiguration objects. + * List properties and relationships of the iosMobileAppConfiguration objects. */ class MobileAppConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.php index d763d4f4f03..dc1cbb761c0 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 iosVppApp. + * Deletes a macOSOfficeSuiteApp. * @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-iosvppapp-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -199,11 +199,11 @@ public function delete(?MobileAppItemRequestBuilderDeleteRequestConfiguration $r } /** - * Read properties and relationships of the mobileLobApp object. + * Read properties and relationships of the managedAndroidStoreApp 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-mobilelobapp-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-managedandroidstoreapp-get?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -215,12 +215,12 @@ public function get(?MobileAppItemRequestBuilderGetRequestConfiguration $request } /** - * Update the properties of a managedAndroidLobApp object. + * Update the properties of a macOSLobApp 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-managedandroidlobapp-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-update?view=graph-rest-1.0 Find more info here */ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -232,7 +232,7 @@ public function patch(MobileApp $body, ?MobileAppItemRequestBuilderPatchRequestC } /** - * Deletes a iosVppApp. + * Deletes a macOSOfficeSuiteApp. * @param MobileAppItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -250,7 +250,7 @@ public function toDeleteRequestInformation(?MobileAppItemRequestBuilderDeleteReq } /** - * Read properties and relationships of the mobileLobApp object. + * Read properties and relationships of the managedAndroidStoreApp object. * @param MobileAppItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -271,7 +271,7 @@ public function toGetRequestInformation(?MobileAppItemRequestBuilderGetRequestCo } /** - * Update the properties of a managedAndroidLobApp object. + * Update the properties of a macOSLobApp 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 4256f92c9a7..e04c3aa5c0c 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 mobileLobApp object. + * Read properties and relationships of the managedAndroidStoreApp object. */ class MobileAppItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php b/src/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.php index cafac81ef4d..0027549a053 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 managedIOSStoreApp objects. + * List properties and relationships of the androidStoreApp 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-managediosstoreapp-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-androidstoreapp-list?view=graph-rest-1.0 Find more info here */ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -196,12 +196,12 @@ public function get(?MobileAppsRequestBuilderGetRequestConfiguration $requestCon } /** - * Create a new managedAndroidStoreApp object. + * Create a new windowsMicrosoftEdgeApp 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-managedandroidstoreapp-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-create?view=graph-rest-1.0 Find more info here */ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -213,7 +213,7 @@ public function post(MobileApp $body, ?MobileAppsRequestBuilderPostRequestConfig } /** - * List properties and relationships of the managedIOSStoreApp objects. + * List properties and relationships of the androidStoreApp objects. * @param MobileAppsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -234,7 +234,7 @@ public function toGetRequestInformation(?MobileAppsRequestBuilderGetRequestConfi } /** - * Create a new managedAndroidStoreApp object. + * Create a new windowsMicrosoftEdgeApp 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 b8e83f69939..0b49d0778ab 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 managedIOSStoreApp objects. + * List properties and relationships of the androidStoreApp objects. */ class MobileAppsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php index 96e52a563e7..e9727cc0a9c 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the windows10MobileCompliancePolicy objects. + * List properties and relationships of the windows81CompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|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-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -68,12 +68,12 @@ public function get(?DeviceCompliancePoliciesRequestBuilderGetRequestConfigurati } /** - * Create a new androidCompliancePolicy object. + * Create a new windows81CompliancePolicy 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-windows81compliancepolicy-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function post(DeviceCompliancePolicy $body, ?DeviceCompliancePoliciesRequ } /** - * List properties and relationships of the windows10MobileCompliancePolicy objects. + * List properties and relationships of the windows81CompliancePolicy objects. * @param DeviceCompliancePoliciesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -106,7 +106,7 @@ public function toGetRequestInformation(?DeviceCompliancePoliciesRequestBuilderG } /** - * Create a new androidCompliancePolicy object. + * Create a new windows81CompliancePolicy 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/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php index 5104eadb614..6db7f8ebbde 100644 --- a/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the windows10MobileCompliancePolicy objects. + * List properties and relationships of the windows81CompliancePolicy objects. */ class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.php index 48c7722335c..920e50f9d22 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 macOSCompliancePolicy. * @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-macoscompliancepolicy-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -119,11 +119,11 @@ public function delete(?DeviceCompliancePolicyItemRequestBuilderDeleteRequestCon } /** - * Read properties and relationships of the macOSCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy 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-macoscompliancepolicy-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -135,12 +135,12 @@ public function get(?DeviceCompliancePolicyItemRequestBuilderGetRequestConfigura } /** - * Update the properties of a windowsPhone81CompliancePolicy object. + * Update the properties of a androidCompliancePolicy 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-windowsphone81compliancepolicy-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -152,7 +152,7 @@ public function patch(DeviceCompliancePolicy $body, ?DeviceCompliancePolicyItemR } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a macOSCompliancePolicy. * @param DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -170,7 +170,7 @@ public function toDeleteRequestInformation(?DeviceCompliancePolicyItemRequestBui } /** - * Read properties and relationships of the macOSCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy object. * @param DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -191,7 +191,7 @@ public function toGetRequestInformation(?DeviceCompliancePolicyItemRequestBuilde } /** - * Update the properties of a windowsPhone81CompliancePolicy object. + * Update the properties of a androidCompliancePolicy 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 ea4fc4eba34..72772bb5d47 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 macOSCompliancePolicy object. + * Read properties and relationships of the windows81CompliancePolicy object. */ class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.php index d59f31558d0..5dce414f9ea 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 windowsPhone81GeneralConfiguration objects. + * List properties and relationships of the androidCustomConfiguration 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-windowsphone81generalconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -68,12 +68,12 @@ public function get(?DeviceConfigurationsRequestBuilderGetRequestConfiguration $ } /** - * Create a new androidWorkProfileGeneralDeviceConfiguration object. + * Create a new windowsPhone81GeneralConfiguration 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-androidworkprofilegeneraldeviceconfiguration-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-create?view=graph-rest-1.0 Find more info here */ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -85,7 +85,7 @@ public function post(DeviceConfiguration $body, ?DeviceConfigurationsRequestBuil } /** - * List properties and relationships of the windowsPhone81GeneralConfiguration objects. + * List properties and relationships of the androidCustomConfiguration objects. * @param DeviceConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -106,7 +106,7 @@ public function toGetRequestInformation(?DeviceConfigurationsRequestBuilderGetRe } /** - * Create a new androidWorkProfileGeneralDeviceConfiguration object. + * Create a new windowsPhone81GeneralConfiguration 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 a8ae2f8adf2..05d26603c2f 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 windowsPhone81GeneralConfiguration objects. + * List properties and relationships of the androidCustomConfiguration objects. */ class DeviceConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php b/src/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.php index 758e26db37a..8556ee74167 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 windowsDefenderAdvancedThreatProtectionConfiguration. + * Deletes a iosGeneralDeviceConfiguration. * @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-windowsdefenderadvancedthreatprotectionconfiguration-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-iosgeneraldeviceconfiguration-delete?view=graph-rest-1.0 Find more info here */ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -104,11 +104,11 @@ public function delete(?DeviceConfigurationItemRequestBuilderDeleteRequestConfig } /** - * Read properties and relationships of the iosCertificateProfile object. + * Read properties and relationships of the appleDeviceFeaturesConfigurationBase 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-ioscertificateprofile-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-appledevicefeaturesconfigurationbase-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceConfigurationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -129,12 +129,12 @@ public function getOmaSettingPlainTextValueWithSecretReferenceValueId(string $se } /** - * Update the properties of a sharedPCConfiguration object. + * Update the properties of a windowsUpdateForBusinessConfiguration 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-sharedpcconfiguration-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsupdateforbusinessconfiguration-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -146,7 +146,7 @@ public function patch(DeviceConfiguration $body, ?DeviceConfigurationItemRequest } /** - * Deletes a windowsDefenderAdvancedThreatProtectionConfiguration. + * Deletes a iosGeneralDeviceConfiguration. * @param DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -164,7 +164,7 @@ public function toDeleteRequestInformation(?DeviceConfigurationItemRequestBuilde } /** - * Read properties and relationships of the iosCertificateProfile object. + * Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. * @param DeviceConfigurationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -185,7 +185,7 @@ public function toGetRequestInformation(?DeviceConfigurationItemRequestBuilderGe } /** - * Update the properties of a sharedPCConfiguration object. + * Update the properties of a windowsUpdateForBusinessConfiguration 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 94f7943a648..853cfc2cea1 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 iosCertificateProfile object. + * Read properties and relationships of the appleDeviceFeaturesConfigurationBase object. */ class DeviceConfigurationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php index 86ce5be164b..bbffc01a6d7 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|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-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 Find more info here */ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -68,12 +68,12 @@ public function get(?DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfi } /** - * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration 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-deviceenrollmentwindowshelloforbusinessconfiguration-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); @@ -85,7 +85,7 @@ public function post(DeviceEnrollmentConfiguration $body, ?DeviceEnrollmentConfi } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentConfiguration objects. * @param DeviceEnrollmentConfigurationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -106,7 +106,7 @@ public function toGetRequestInformation(?DeviceEnrollmentConfigurationsRequestBu } /** - * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration 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/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php index e91f50d06be..648974d1478 100644 --- a/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php +++ b/src/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentConfiguration objects. */ class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { diff --git a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php index a893813bb1e..27381f67ee2 100644 --- a/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php +++ b/src/Generated/DeviceManagement/DeviceManagementRequestBuilder.php @@ -60,6 +60,7 @@ use Microsoft\Graph\Generated\DeviceManagement\UserExperienceAnalyticsWorkFromAnywhereMetrics\UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\UserExperienceAnalyticsWorkFromAnywhereModelPerformance\UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\VerifyWindowsEnrollmentAutoDiscoveryWithDomainName\VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder; +use Microsoft\Graph\Generated\DeviceManagement\VirtualEndpoint\VirtualEndpointRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\WindowsAutopilotDeviceIdentities\WindowsAutopilotDeviceIdentitiesRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\WindowsInformationProtectionAppLearningSummaries\WindowsInformationProtectionAppLearningSummariesRequestBuilder; use Microsoft\Graph\Generated\DeviceManagement\WindowsInformationProtectionNetworkLearningSummaries\WindowsInformationProtectionNetworkLearningSummariesRequestBuilder; @@ -454,6 +455,13 @@ public function userExperienceAnalyticsWorkFromAnywhereModelPerformance(): UserE return new UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to manage the virtualEndpoint property of the microsoft.graph.deviceManagement entity. + */ + public function virtualEndpoint(): VirtualEndpointRequestBuilder { + return new VirtualEndpointRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity. */ @@ -501,7 +509,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param DeviceManagementRequestBuilderGetRequestConfiguration|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-policyset-devicemanagement-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-get?view=graph-rest-1.0 Find more info here */ public function get(?DeviceManagementRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -527,7 +535,7 @@ public function getEffectivePermissionsWithScope(string $scope): GetEffectivePer * @param DeviceManagementRequestBuilderPatchRequestConfiguration|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-gpanalyticsservice-devicemanagement-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-companyterms-devicemanagement-update?view=graph-rest-1.0 Find more info here */ public function patch(DeviceManagement $body, ?DeviceManagementRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); diff --git a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php index 710af524134..eb96042dc12 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.php @@ -71,12 +71,12 @@ public function get(?RoleDefinitionItemRequestBuilderGetRequestConfiguration $re } /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition 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-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 Find more info here */ public function patch(RoleDefinition $body, ?RoleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -127,7 +127,7 @@ public function toGetRequestInformation(?RoleDefinitionItemRequestBuilderGetRequ } /** - * Update the properties of a deviceAndAppManagementRoleDefinition object. + * Update the properties of a roleDefinition 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/RoleDefinitionsRequestBuilder.php b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php index f0907044388..02cd19ad956 100644 --- a/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php +++ b/src/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.php @@ -68,12 +68,12 @@ public function get(?RoleDefinitionsRequestBuilderGetRequestConfiguration $reque } /** - * Create a new deviceAndAppManagementRoleDefinition object. + * Create a new roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|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-create?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0 Find more info here */ public function post(RoleDefinition $body, ?RoleDefinitionsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -106,7 +106,7 @@ public function toGetRequestInformation(?RoleDefinitionsRequestBuilderGetRequest } /** - * Create a new deviceAndAppManagementRoleDefinition object. + * Create a new roleDefinition object. * @param RoleDefinition $body The request body * @param RoleDefinitionsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.php b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.php new file mode 100644 index 00000000000..e2f90a69201 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilder.php @@ -0,0 +1,147 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/deviceManagement/virtualEndpoint{?%24select,%24expand}'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Delete navigation property virtualEndpoint for deviceManagement + * @param VirtualEndpointRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function delete(?VirtualEndpointRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendNoContentAsync($requestInfo, $errorMappings); + } + + /** + * Get virtualEndpoint from deviceManagement + * @param VirtualEndpointRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function get(?VirtualEndpointRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toGetRequestInformation($requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEndpoint::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Update the navigation property virtualEndpoint in deviceManagement + * @param VirtualEndpoint $body The request body + * @param VirtualEndpointRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function patch(VirtualEndpoint $body, ?VirtualEndpointRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [VirtualEndpoint::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Delete navigation property virtualEndpoint for deviceManagement + * @param VirtualEndpointRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toDeleteRequestInformation(?VirtualEndpointRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::DELETE; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Get virtualEndpoint from deviceManagement + * @param VirtualEndpointRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toGetRequestInformation(?VirtualEndpointRequestBuilderGetRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::GET; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + if ($requestConfiguration->queryParameters !== null) { + $requestInfo->setQueryParameters($requestConfiguration->queryParameters); + } + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + return $requestInfo; + } + + /** + * Update the navigation property virtualEndpoint in deviceManagement + * @param VirtualEndpoint $body The request body + * @param VirtualEndpointRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPatchRequestInformation(VirtualEndpoint $body, ?VirtualEndpointRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + $requestInfo = new RequestInformation(); + $requestInfo->urlTemplate = $this->urlTemplate; + $requestInfo->pathParameters = $this->pathParameters; + $requestInfo->httpMethod = HttpMethod::PATCH; + if ($requestConfiguration !== null) { + $requestInfo->addHeaders($requestConfiguration->headers); + $requestInfo->addRequestOptions(...$requestConfiguration->options); + } + $requestInfo->tryAddHeader('Accept', "application/json"); + $requestInfo->setContentFromParsable($this->requestAdapter, "application/json", $body); + return $requestInfo; + } + + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param string $rawUrl The raw URL to use for the request builder. + * @return VirtualEndpointRequestBuilder + */ + public function withUrl(string $rawUrl): VirtualEndpointRequestBuilder { + return new VirtualEndpointRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderDeleteRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderDeleteRequestConfiguration.php new file mode 100644 index 00000000000..05d859c1ab5 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderDeleteRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderGetQueryParameters.php b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderGetQueryParameters.php new file mode 100644 index 00000000000..156a4a8c938 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderGetQueryParameters.php @@ -0,0 +1,34 @@ +|null $expand Expand related entities + */ + public ?array $expand = null; + + /** + * @QueryParameter("%24select") + * @var array|null $select Select properties to be returned + */ + public ?array $select = null; + + /** + * Instantiates a new virtualEndpointRequestBuilderGetQueryParameters and sets the default values. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + */ + public function __construct(?array $expand = null, ?array $select = null) { + $this->expand = $expand; + $this->select = $select; + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderGetRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderGetRequestConfiguration.php new file mode 100644 index 00000000000..06b12f569d1 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderGetRequestConfiguration.php @@ -0,0 +1,39 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + * @param VirtualEndpointRequestBuilderGetQueryParameters|null $queryParameters Request query parameters + */ + public function __construct(?array $headers = null, ?array $options = null, ?VirtualEndpointRequestBuilderGetQueryParameters $queryParameters = null) { + parent::__construct($headers ?? [], $options ?? []); + $this->queryParameters = $queryParameters; + } + + /** + * Instantiates a new virtualEndpointRequestBuilderGetQueryParameters. + * @param array|null $expand Expand related entities + * @param array|null $select Select properties to be returned + * @return VirtualEndpointRequestBuilderGetQueryParameters + */ + public static function createQueryParameters(?array $expand = null, ?array $select = null): VirtualEndpointRequestBuilderGetQueryParameters { + return new VirtualEndpointRequestBuilderGetQueryParameters($expand, $select); + } + +} diff --git a/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderPatchRequestConfiguration.php b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderPatchRequestConfiguration.php new file mode 100644 index 00000000000..4a6b687a069 --- /dev/null +++ b/src/Generated/DeviceManagement/VirtualEndpoint/VirtualEndpointRequestBuilderPatchRequestConfiguration.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/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.php b/src/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.php index 1a06a378d44..b8383451b86 100644 --- a/src/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.php @@ -67,7 +67,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.devices.item.registeredOwners.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.php b/src/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.php index ce67d2d73bc..cc19107e768 100644 --- a/src/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.php +++ b/src/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.php @@ -67,7 +67,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.devices.item.registeredUsers.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Directory/AdministrativeUnits/Item/Members/MembersRequestBuilder.php b/src/Generated/Directory/AdministrativeUnits/Item/Members/MembersRequestBuilder.php index 2795cab1f5f..874b1f02e35 100644 --- a/src/Generated/Directory/AdministrativeUnits/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Directory/AdministrativeUnits/Item/Members/MembersRequestBuilder.php @@ -84,7 +84,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.directory.administrativeUnits.item.members.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.php b/src/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.php index 34e51996282..768d8536bf4 100644 --- a/src/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.php @@ -83,7 +83,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.directoryRoles.item.members.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php b/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php new file mode 100644 index 00000000000..ef6a22777e3 --- /dev/null +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php @@ -0,0 +1,273 @@ +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 CreateLinkPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CreateLinkPostRequestBody { + return new CreateLinkPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the expirationDateTime property value. The expirationDateTime property + * @return DateTime|null + */ + public function getExpirationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expirationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expirationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'message' => fn(ParseNode $n) => $o->setMessage($n->getStringValue()), + 'password' => fn(ParseNode $n) => $o->setPassword($n->getStringValue()), + 'recipients' => fn(ParseNode $n) => $o->setRecipients($n->getCollectionOfObjectValues([DriveRecipient::class, 'createFromDiscriminatorValue'])), + 'retainInheritedPermissions' => fn(ParseNode $n) => $o->setRetainInheritedPermissions($n->getBooleanValue()), + 'scope' => fn(ParseNode $n) => $o->setScope($n->getStringValue()), + 'sendNotification' => fn(ParseNode $n) => $o->setSendNotification($n->getBooleanValue()), + 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), + ]; + } + + /** + * Gets the message property value. The message property + * @return string|null + */ + public function getMessage(): ?string { + $val = $this->getBackingStore()->get('message'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'message'"); + } + + /** + * Gets the password property value. The password property + * @return string|null + */ + public function getPassword(): ?string { + $val = $this->getBackingStore()->get('password'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'password'"); + } + + /** + * Gets the recipients property value. The recipients property + * @return array|null + */ + public function getRecipients(): ?array { + $val = $this->getBackingStore()->get('recipients'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DriveRecipient::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recipients'"); + } + + /** + * Gets the retainInheritedPermissions property value. The retainInheritedPermissions property + * @return bool|null + */ + public function getRetainInheritedPermissions(): ?bool { + $val = $this->getBackingStore()->get('retainInheritedPermissions'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'retainInheritedPermissions'"); + } + + /** + * Gets the scope property value. The scope property + * @return string|null + */ + public function getScope(): ?string { + $val = $this->getBackingStore()->get('scope'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scope'"); + } + + /** + * Gets the sendNotification property value. The sendNotification property + * @return bool|null + */ + public function getSendNotification(): ?bool { + $val = $this->getBackingStore()->get('sendNotification'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sendNotification'"); + } + + /** + * Gets the type property value. The type property + * @return string|null + */ + public function getType(): ?string { + $val = $this->getBackingStore()->get('type'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeStringValue('message', $this->getMessage()); + $writer->writeStringValue('password', $this->getPassword()); + $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); + $writer->writeBooleanValue('retainInheritedPermissions', $this->getRetainInheritedPermissions()); + $writer->writeStringValue('scope', $this->getScope()); + $writer->writeBooleanValue('sendNotification', $this->getSendNotification()); + $writer->writeStringValue('type', $this->getType()); + $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 expirationDateTime property value. The expirationDateTime property + * @param DateTime|null $value Value to set for the expirationDateTime property. + */ + public function setExpirationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expirationDateTime', $value); + } + + /** + * Sets the message property value. The message property + * @param string|null $value Value to set for the message property. + */ + public function setMessage(?string $value): void { + $this->getBackingStore()->set('message', $value); + } + + /** + * Sets the password property value. The password property + * @param string|null $value Value to set for the password property. + */ + public function setPassword(?string $value): void { + $this->getBackingStore()->set('password', $value); + } + + /** + * Sets the recipients property value. The recipients property + * @param array|null $value Value to set for the recipients property. + */ + public function setRecipients(?array $value): void { + $this->getBackingStore()->set('recipients', $value); + } + + /** + * Sets the retainInheritedPermissions property value. The retainInheritedPermissions property + * @param bool|null $value Value to set for the retainInheritedPermissions property. + */ + public function setRetainInheritedPermissions(?bool $value): void { + $this->getBackingStore()->set('retainInheritedPermissions', $value); + } + + /** + * Sets the scope property value. The scope property + * @param string|null $value Value to set for the scope property. + */ + public function setScope(?string $value): void { + $this->getBackingStore()->set('scope', $value); + } + + /** + * Sets the sendNotification property value. The sendNotification property + * @param bool|null $value Value to set for the sendNotification property. + */ + public function setSendNotification(?bool $value): void { + $this->getBackingStore()->set('sendNotification', $value); + } + + /** + * Sets the type property value. The type property + * @param string|null $value Value to set for the type property. + */ + public function setType(?string $value): void { + $this->getBackingStore()->set('type', $value); + } + +} diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php new file mode 100644 index 00000000000..9b1dd1775d3 --- /dev/null +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/createLink'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action createLink + * @param CreateLinkPostRequestBody $body The request body + * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action createLink + * @param CreateLinkPostRequestBody $body The request body + * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $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 CreateLinkRequestBuilder + */ + public function withUrl(string $rawUrl): CreateLinkRequestBuilder { + return new CreateLinkRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php b/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..934f57b7c1c --- /dev/null +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.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/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php index 91ce821d0ed..37a4b3f4434 100644 --- a/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Drives/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Drives\Item\EscapedList\Items\Item\Analytics\AnalyticsRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\EscapedList\Items\Item\CreatedByUser\CreatedByUserRequestBuilder; +use Microsoft\Graph\Generated\Drives\Item\EscapedList\Items\Item\CreateLink\CreateLinkRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\EscapedList\Items\Item\DocumentSetVersions\DocumentSetVersionsRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\EscapedList\Items\Item\DriveItem\DriveItemRequestBuilder; use Microsoft\Graph\Generated\Drives\Item\EscapedList\Items\Item\Fields\FieldsRequestBuilder; @@ -39,6 +40,13 @@ public function createdByUser(): CreatedByUserRequestBuilder { return new CreatedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the createLink method. + */ + public function createLink(): CreateLinkRequestBuilder { + return new CreateLinkRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. */ diff --git a/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php b/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php index cd9434ca53f..59530c2038d 100644 --- a/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php +++ b/src/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php @@ -3,6 +3,7 @@ namespace Microsoft\Graph\Generated\Drives\Item\Items\Item\CreateLink; use DateTime; +use Microsoft\Graph\Generated\Models\DriveRecipient; use Microsoft\Kiota\Abstractions\Serialization\AdditionalDataHolder; use Microsoft\Kiota\Abstractions\Serialization\Parsable; use Microsoft\Kiota\Abstractions\Serialization\ParseNode; @@ -10,6 +11,7 @@ use Microsoft\Kiota\Abstractions\Store\BackedModel; use Microsoft\Kiota\Abstractions\Store\BackingStore; use Microsoft\Kiota\Abstractions\Store\BackingStoreFactorySingleton; +use Microsoft\Kiota\Abstractions\Types\TypeUtils; class CreateLinkPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { @@ -78,8 +80,10 @@ public function getFieldDeserializers(): array { 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), 'message' => fn(ParseNode $n) => $o->setMessage($n->getStringValue()), 'password' => fn(ParseNode $n) => $o->setPassword($n->getStringValue()), + 'recipients' => fn(ParseNode $n) => $o->setRecipients($n->getCollectionOfObjectValues([DriveRecipient::class, 'createFromDiscriminatorValue'])), 'retainInheritedPermissions' => fn(ParseNode $n) => $o->setRetainInheritedPermissions($n->getBooleanValue()), 'scope' => fn(ParseNode $n) => $o->setScope($n->getStringValue()), + 'sendNotification' => fn(ParseNode $n) => $o->setSendNotification($n->getBooleanValue()), 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), ]; } @@ -108,6 +112,20 @@ public function getPassword(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'password'"); } + /** + * Gets the recipients property value. The recipients property + * @return array|null + */ + public function getRecipients(): ?array { + $val = $this->getBackingStore()->get('recipients'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DriveRecipient::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recipients'"); + } + /** * Gets the retainInheritedPermissions property value. The retainInheritedPermissions property * @return bool|null @@ -132,6 +150,18 @@ public function getScope(): ?string { throw new \UnexpectedValueException("Invalid type found in backing store for 'scope'"); } + /** + * Gets the sendNotification property value. The sendNotification property + * @return bool|null + */ + public function getSendNotification(): ?bool { + $val = $this->getBackingStore()->get('sendNotification'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sendNotification'"); + } + /** * Gets the type property value. The type property * @return string|null @@ -152,8 +182,10 @@ public function serialize(SerializationWriter $writer): void { $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); $writer->writeStringValue('message', $this->getMessage()); $writer->writeStringValue('password', $this->getPassword()); + $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); $writer->writeBooleanValue('retainInheritedPermissions', $this->getRetainInheritedPermissions()); $writer->writeStringValue('scope', $this->getScope()); + $writer->writeBooleanValue('sendNotification', $this->getSendNotification()); $writer->writeStringValue('type', $this->getType()); $writer->writeAdditionalData($this->getAdditionalData()); } @@ -198,6 +230,14 @@ public function setPassword(?string $value): void { $this->getBackingStore()->set('password', $value); } + /** + * Sets the recipients property value. The recipients property + * @param array|null $value Value to set for the recipients property. + */ + public function setRecipients(?array $value): void { + $this->getBackingStore()->set('recipients', $value); + } + /** * Sets the retainInheritedPermissions property value. The retainInheritedPermissions property * @param bool|null $value Value to set for the retainInheritedPermissions property. @@ -214,6 +254,14 @@ public function setScope(?string $value): void { $this->getBackingStore()->set('scope', $value); } + /** + * Sets the sendNotification property value. The sendNotification property + * @param bool|null $value Value to set for the sendNotification property. + */ + public function setSendNotification(?bool $value): void { + $this->getBackingStore()->set('sendNotification', $value); + } + /** * Sets the type property value. The type property * @param string|null $value Value to set for the type property. diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Range/RangeRequestBuilder.php index ef712d6a944..3e73800a2d9 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 @@ -31,11 +31,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); @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php index 3c8ddc32f8d..dd0b5c02d50 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + * Use this API to create a new Table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + * Use this API to create a new Table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php index d8898cd7a5a..6c249ba8e93 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.php @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ColumnsRequestBuilderGetRequestConfiguration|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/tablecolumn-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 Find more info here */ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php index 980cc0093e8..cb1d3757adf 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.php @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param RowsRequestBuilderGetRequestConfiguration|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/table-list-rows?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here */ public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php index 47e2bd97fe1..b593763d499 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.php @@ -53,11 +53,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. * @param PointsRequestBuilderGetRequestConfiguration|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/chartseries-list-points?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chartpoint-list?view=graph-rest-1.0 Find more info here */ public function get(?PointsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -95,7 +95,7 @@ public function post(WorkbookChartPoint $body, ?PointsRequestBuilderPostRequestC } /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. * @param PointsRequestBuilderGetRequestConfiguration|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/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php index 8b8410d6e7e..5241a3d84b0 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of chartpoints objects. + * Retrieve a list of chartpoint objects. */ class PointsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php index 9fd104a2b8e..21d53614b8f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.php @@ -57,7 +57,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param SeriesRequestBuilderGetRequestConfiguration|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/chart-list-series?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 Find more info here */ public function get(?SeriesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); 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 dc7bd9f3038..c78b61001d0 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 @@ -31,11 +31,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); @@ -47,7 +47,7 @@ public function get(?RangeRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param RangeRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php index 5706354e077..98d972d252f 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.php @@ -31,12 +31,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + * Use this API to create a new Table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 Find more info here */ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -48,7 +48,7 @@ public function post(AddPostRequestBody $body, ?AddRequestBuilderPostRequestConf } /** - * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. + * Use this API to create a new Table. * @param AddPostRequestBody $body The request body * @param AddRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php index 08e7d3147c1..3d3b268df57 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.php @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ColumnsRequestBuilderGetRequestConfiguration|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/tablecolumn-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 Find more info here */ public function get(?ColumnsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php index 040b5abde5d..cd19dcc31a3 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.php @@ -65,7 +65,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param RowsRequestBuilderGetRequestConfiguration|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/table-list-rows?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 Find more info here */ public function get(?RowsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php index c0b917f6ca1..e403402319b 100644 --- a/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php +++ b/src/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.php @@ -64,7 +64,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param WorksheetsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/worksheet-list?view=graph-rest-1.0 Find more info here */ public function get(?WorksheetsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php index fe0062ab03a..7686f23aa3a 100644 --- a/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -44,7 +44,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.education.classes.item.assignments.item.categories.item collection - * @param string $educationCategoryId Unique identifier of the item + * @param string $educationCategoryId The unique identifier of educationCategory * @return EducationCategoryItemRequestBuilder */ public function byEducationCategoryId(string $educationCategoryId): EducationCategoryItemRequestBuilder { diff --git a/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php b/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php index 4ba2077d9d6..1e4befd6b58 100644 --- a/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Members/MembersRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.education.classes.item.members.item collection - * @param string $educationUserId Unique identifier of the item + * @param string $educationUserId The unique identifier of educationUser * @return EducationUserItemRequestBuilder */ public function byEducationUserId(string $educationUserId): EducationUserItemRequestBuilder { diff --git a/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php b/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php index aa1fe4b8ae6..463806bc85f 100644 --- a/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php +++ b/src/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.education.classes.item.teachers.item collection - * @param string $educationUserId Unique identifier of the item + * @param string $educationUserId The unique identifier of educationUser * @return EducationUserItemRequestBuilder */ public function byEducationUserId(string $educationUserId): EducationUserItemRequestBuilder { diff --git a/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php b/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php index 1c9c1e1332b..612afbe4b40 100644 --- a/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -44,7 +44,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.education.me.assignments.item.categories.item collection - * @param string $educationCategoryId Unique identifier of the item + * @param string $educationCategoryId The unique identifier of educationCategory * @return EducationCategoryItemRequestBuilder */ public function byEducationCategoryId(string $educationCategoryId): EducationCategoryItemRequestBuilder { diff --git a/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php b/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php index aa349003255..1bb7c62f9fb 100644 --- a/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.education.schools.item.classes.item collection - * @param string $educationClassId Unique identifier of the item + * @param string $educationClassId The unique identifier of educationClass * @return EducationClassItemRequestBuilder */ public function byEducationClassId(string $educationClassId): EducationClassItemRequestBuilder { diff --git a/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php b/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php index 5181543ced2..594ac642114 100644 --- a/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php +++ b/src/Generated/Education/Schools/Item/Users/UsersRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.education.schools.item.users.item collection - * @param string $educationUserId Unique identifier of the item + * @param string $educationUserId The unique identifier of educationUser * @return EducationUserItemRequestBuilder */ public function byEducationUserId(string $educationUserId): EducationUserItemRequestBuilder { diff --git a/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php b/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php index dd99dd29995..3b631f8584f 100644 --- a/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php +++ b/src/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.php @@ -44,7 +44,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.education.users.item.assignments.item.categories.item collection - * @param string $educationCategoryId Unique identifier of the item + * @param string $educationCategoryId The unique identifier of educationCategory * @return EducationCategoryItemRequestBuilder */ public function byEducationCategoryId(string $educationCategoryId): EducationCategoryItemRequestBuilder { diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php index 410ac126822..baad2ea4cf3 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.print.shares.item.allowedGroups.item collection - * @param string $groupId Unique identifier of the item + * @param string $groupId The unique identifier of group * @return GroupItemRequestBuilder */ public function byGroupId(string $groupId): GroupItemRequestBuilder { diff --git a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php index 089001a3623..7652d77fc93 100644 --- a/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php +++ b/src/Generated/EscapedPrint/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.print.shares.item.allowedUsers.item collection - * @param string $userId Unique identifier of the item + * @param string $userId The unique identifier of user * @return UserItemRequestBuilder */ public function byUserId(string $userId): UserItemRequestBuilder { diff --git a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php index 217ad0f171a..a68b2256f9a 100644 --- a/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php +++ b/src/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.groups.item.acceptedSenders.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 98659c0a174..80ce6843473 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index e3d718e4ae2..70b5fe57d3f 100644 --- a/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php index 8f90e94f536..c2fb2d2e93f 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 445fac1e779..ee9e089c5ea 100644 --- a/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 243145d2a13..01ca346a1df 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 1bc13caf167..6f515327117 100644 --- a/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php index 6b687e70286..f78dcf9050e 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php index 7b4275fb371..a633b287e7d 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php index 060929ac8dc..ed1d17b52c7 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -51,11 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @param PostsRequestBuilderGetRequestConfiguration|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/conversationthread-list-posts?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 Find more info here */ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,7 +67,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index 29feeb1465f..c4eb742c284 100644 --- a/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index bdbe303f863..1a8d9550147 100644 --- a/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 6d0c2b0063c..2c07f28d6f9 100644 --- a/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Members/MembersRequestBuilder.php b/src/Generated/Groups/Item/Members/MembersRequestBuilder.php index eaa1ae17cbf..bcf0079d5c2 100644 --- a/src/Generated/Groups/Item/Members/MembersRequestBuilder.php +++ b/src/Generated/Groups/Item/Members/MembersRequestBuilder.php @@ -83,7 +83,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.groups.item.members.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Groups/Item/Owners/OwnersRequestBuilder.php b/src/Generated/Groups/Item/Owners/OwnersRequestBuilder.php index 475d9d0f0a8..d2ec6e86fa5 100644 --- a/src/Generated/Groups/Item/Owners/OwnersRequestBuilder.php +++ b/src/Generated/Groups/Item/Owners/OwnersRequestBuilder.php @@ -83,7 +83,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.groups.item.owners.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php index d2d61a12324..a8d12cd9b89 100644 --- a/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php +++ b/src/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.groups.item.rejectedSenders.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php new file mode 100644 index 00000000000..3274301454a --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php @@ -0,0 +1,273 @@ +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 CreateLinkPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CreateLinkPostRequestBody { + return new CreateLinkPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the expirationDateTime property value. The expirationDateTime property + * @return DateTime|null + */ + public function getExpirationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expirationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expirationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'message' => fn(ParseNode $n) => $o->setMessage($n->getStringValue()), + 'password' => fn(ParseNode $n) => $o->setPassword($n->getStringValue()), + 'recipients' => fn(ParseNode $n) => $o->setRecipients($n->getCollectionOfObjectValues([DriveRecipient::class, 'createFromDiscriminatorValue'])), + 'retainInheritedPermissions' => fn(ParseNode $n) => $o->setRetainInheritedPermissions($n->getBooleanValue()), + 'scope' => fn(ParseNode $n) => $o->setScope($n->getStringValue()), + 'sendNotification' => fn(ParseNode $n) => $o->setSendNotification($n->getBooleanValue()), + 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), + ]; + } + + /** + * Gets the message property value. The message property + * @return string|null + */ + public function getMessage(): ?string { + $val = $this->getBackingStore()->get('message'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'message'"); + } + + /** + * Gets the password property value. The password property + * @return string|null + */ + public function getPassword(): ?string { + $val = $this->getBackingStore()->get('password'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'password'"); + } + + /** + * Gets the recipients property value. The recipients property + * @return array|null + */ + public function getRecipients(): ?array { + $val = $this->getBackingStore()->get('recipients'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DriveRecipient::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recipients'"); + } + + /** + * Gets the retainInheritedPermissions property value. The retainInheritedPermissions property + * @return bool|null + */ + public function getRetainInheritedPermissions(): ?bool { + $val = $this->getBackingStore()->get('retainInheritedPermissions'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'retainInheritedPermissions'"); + } + + /** + * Gets the scope property value. The scope property + * @return string|null + */ + public function getScope(): ?string { + $val = $this->getBackingStore()->get('scope'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scope'"); + } + + /** + * Gets the sendNotification property value. The sendNotification property + * @return bool|null + */ + public function getSendNotification(): ?bool { + $val = $this->getBackingStore()->get('sendNotification'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sendNotification'"); + } + + /** + * Gets the type property value. The type property + * @return string|null + */ + public function getType(): ?string { + $val = $this->getBackingStore()->get('type'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeStringValue('message', $this->getMessage()); + $writer->writeStringValue('password', $this->getPassword()); + $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); + $writer->writeBooleanValue('retainInheritedPermissions', $this->getRetainInheritedPermissions()); + $writer->writeStringValue('scope', $this->getScope()); + $writer->writeBooleanValue('sendNotification', $this->getSendNotification()); + $writer->writeStringValue('type', $this->getType()); + $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 expirationDateTime property value. The expirationDateTime property + * @param DateTime|null $value Value to set for the expirationDateTime property. + */ + public function setExpirationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expirationDateTime', $value); + } + + /** + * Sets the message property value. The message property + * @param string|null $value Value to set for the message property. + */ + public function setMessage(?string $value): void { + $this->getBackingStore()->set('message', $value); + } + + /** + * Sets the password property value. The password property + * @param string|null $value Value to set for the password property. + */ + public function setPassword(?string $value): void { + $this->getBackingStore()->set('password', $value); + } + + /** + * Sets the recipients property value. The recipients property + * @param array|null $value Value to set for the recipients property. + */ + public function setRecipients(?array $value): void { + $this->getBackingStore()->set('recipients', $value); + } + + /** + * Sets the retainInheritedPermissions property value. The retainInheritedPermissions property + * @param bool|null $value Value to set for the retainInheritedPermissions property. + */ + public function setRetainInheritedPermissions(?bool $value): void { + $this->getBackingStore()->set('retainInheritedPermissions', $value); + } + + /** + * Sets the scope property value. The scope property + * @param string|null $value Value to set for the scope property. + */ + public function setScope(?string $value): void { + $this->getBackingStore()->set('scope', $value); + } + + /** + * Sets the sendNotification property value. The sendNotification property + * @param bool|null $value Value to set for the sendNotification property. + */ + public function setSendNotification(?bool $value): void { + $this->getBackingStore()->set('sendNotification', $value); + } + + /** + * Sets the type property value. The type property + * @param string|null $value Value to set for the type property. + */ + public function setType(?string $value): void { + $this->getBackingStore()->set('type', $value); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php new file mode 100644 index 00000000000..b5dc2450b0e --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/createLink'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action createLink + * @param CreateLinkPostRequestBody $body The request body + * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action createLink + * @param CreateLinkPostRequestBody $body The request body + * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $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 CreateLinkRequestBuilder + */ + public function withUrl(string $rawUrl): CreateLinkRequestBuilder { + return new CreateLinkRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..605df20868d --- /dev/null +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php index be79a8dd7ec..a2736215731 100644 --- a/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php @@ -6,6 +6,7 @@ use Http\Promise\Promise; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\Lists\Item\Items\Item\Analytics\AnalyticsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\Lists\Item\Items\Item\CreatedByUser\CreatedByUserRequestBuilder; +use Microsoft\Graph\Generated\Groups\Item\Sites\Item\Lists\Item\Items\Item\CreateLink\CreateLinkRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\Lists\Item\Items\Item\DocumentSetVersions\DocumentSetVersionsRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\Lists\Item\Items\Item\DriveItem\DriveItemRequestBuilder; use Microsoft\Graph\Generated\Groups\Item\Sites\Item\Lists\Item\Items\Item\Fields\FieldsRequestBuilder; @@ -39,6 +40,13 @@ public function createdByUser(): CreatedByUserRequestBuilder { return new CreatedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the createLink method. + */ + public function createLink(): CreateLinkRequestBuilder { + return new CreateLinkRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. */ diff --git a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 6221b888602..15ab26014b5 100644 --- a/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index 313d63da2b5..1ff3a36a703 100644 --- a/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php index 8056f094ffd..92aac018b70 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.php @@ -63,11 +63,11 @@ public function delete(?ConversationThreadItemRequestBuilderDeleteRequestConfigu } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|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/conversationthread-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 Find more info here */ public function get(?ConversationThreadItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -114,7 +114,7 @@ public function toDeleteRequestInformation(?ConversationThreadItemRequestBuilder } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @param ConversationThreadItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php index 73df95ff242..acb3425410f 100644 --- a/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. */ class ConversationThreadItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php index 52e10e7daf7..da270ce4e81 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php index 8f172453109..f6985ac547a 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.php @@ -30,12 +30,12 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 Find more info here */ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -47,7 +47,7 @@ public function post(ReplyPostRequestBody $body, ?ReplyRequestBuilderPostRequest } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param ReplyPostRequestBody $body The request body * @param ReplyRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php index 3fcee487a77..7bccb1b6018 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.php @@ -51,11 +51,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @param PostsRequestBuilderGetRequestConfiguration|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/conversationthread-list-posts?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 Find more info here */ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -67,7 +67,7 @@ public function get(?PostsRequestBuilderGetRequestConfiguration $requestConfigur } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @param PostsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php index 91ed3aa47ec..9259e8b6123 100644 --- a/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. */ class PostsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.php b/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.php index 9af150ca2e2..2700acbd518 100644 --- a/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.php +++ b/src/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.identity.b2xUserFlows.item.userFlowIdentityProviders.item collection - * @param string $identityProviderBaseId Unique identifier of the item + * @param string $identityProviderBaseId The unique identifier of identityProviderBase * @return IdentityProviderBaseItemRequestBuilder */ public function byIdentityProviderBaseId(string $identityProviderBaseId): IdentityProviderBaseItemRequestBuilder { diff --git a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php index 710a781a52d..0a4eec6f211 100644 --- a/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php +++ b/src/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.php @@ -31,11 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete an ipNamedLocation object. + * Delete a namedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 Find more info here */ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -47,11 +47,11 @@ public function delete(?NamedLocationItemRequestBuilderDeleteRequestConfiguratio } /** - * Retrieve the properties and relationships of a countryNamedLocation object. + * Retrieve the properties and relationships of a namedLocation 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/countrynamedlocation-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0 Find more info here */ public function get(?NamedLocationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -80,7 +80,7 @@ public function patch(NamedLocation $body, ?NamedLocationItemRequestBuilderPatch } /** - * Delete an ipNamedLocation object. + * Delete a namedLocation object. * @param NamedLocationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -98,7 +98,7 @@ public function toDeleteRequestInformation(?NamedLocationItemRequestBuilderDelet } /** - * Retrieve the properties and relationships of a countryNamedLocation object. + * Retrieve the properties and relationships of a namedLocation object. * @param NamedLocationItemRequestBuilderGetRequestConfiguration|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 a8d1c5b81e0..1082619bb8a 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 a countryNamedLocation object. + * Retrieve the properties and relationships of a namedLocation object. */ class NamedLocationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php index afd1202dffe..57f51b8b6c8 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.php @@ -79,15 +79,14 @@ public function get(?AccessReviewScheduleDefinitionItemRequestBuilderGetRequestC } /** - * Update an existing accessReviewScheduleDefinition object to change one or more of its properties. + * Update the navigation property definitions in identityGovernance * @param AccessReviewScheduleDefinition $body The request body - * @param AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @param AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration|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/accessreviewscheduledefinition-update?view=graph-rest-1.0 Find more info here */ - public function patch(AccessReviewScheduleDefinition $body, ?AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { - $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); + public function put(AccessReviewScheduleDefinition $body, ?AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPutRequestInformation($body, $requestConfiguration); $errorMappings = [ '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], @@ -135,16 +134,16 @@ public function toGetRequestInformation(?AccessReviewScheduleDefinitionItemReque } /** - * Update an existing accessReviewScheduleDefinition object to change one or more of its properties. + * Update the navigation property definitions in identityGovernance * @param AccessReviewScheduleDefinition $body The request body - * @param AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @param AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ - public function toPatchRequestInformation(AccessReviewScheduleDefinition $body, ?AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): RequestInformation { + public function toPutRequestInformation(AccessReviewScheduleDefinition $body, ?AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration $requestConfiguration = null): RequestInformation { $requestInfo = new RequestInformation(); $requestInfo->urlTemplate = $this->urlTemplate; $requestInfo->pathParameters = $this->pathParameters; - $requestInfo->httpMethod = HttpMethod::PATCH; + $requestInfo->httpMethod = HttpMethod::PUT; if ($requestConfiguration !== null) { $requestInfo->addHeaders($requestConfiguration->headers); $requestInfo->addRequestOptions(...$requestConfiguration->options); diff --git a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration.php b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration.php similarity index 79% rename from src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration.php rename to src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration.php index 920512efeeb..72a9ddf7d20 100644 --- a/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration.php +++ b/src/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration.php @@ -8,10 +8,10 @@ /** * Configuration for the request such as headers, query parameters, and middleware options. */ -class AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration extends BaseRequestConfiguration +class AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration extends BaseRequestConfiguration { /** - * Instantiates a new AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration and sets the default values. + * Instantiates a new AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration and sets the default values. * @param array|string>|null $headers Request headers * @param array|null $options Request options */ diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php index 51137f14483..0bd84e850e1 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.php @@ -103,11 +103,11 @@ public function delete(?AccessPackageItemRequestBuilderDeleteRequestConfiguratio } /** - * 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. + * Retrieve the properties and relationships of an accessPackage object. * @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-list-resourcerolescopes?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 Find more info here */ public function get(?AccessPackageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -154,7 +154,7 @@ public function toDeleteRequestInformation(?AccessPackageItemRequestBuilderDelet } /** - * 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. + * Retrieve the properties and relationships of an accessPackage object. * @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 95e920d4be4..b0dedf46c49 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 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. + * Retrieve the properties and relationships of an accessPackage object. */ class AccessPackageItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php index 97eadf0680e..e7f1e66e067 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.identityGovernance.entitlementManagement.accessPackages.item.incompatibleAccessPackages.item collection - * @param string $accessPackageId1 Unique identifier of the item + * @param string $accessPackageId1 The unique identifier of accessPackage * @return AccessPackageItemRequestBuilder */ public function byAccessPackageId1(string $accessPackageId1): AccessPackageItemRequestBuilder { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php index c2753a38292..2d54d934642 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.identityGovernance.entitlementManagement.accessPackages.item.incompatibleGroups.item collection - * @param string $groupId Unique identifier of the item + * @param string $groupId The unique identifier of group * @return GroupItemRequestBuilder */ public function byGroupId(string $groupId): GroupItemRequestBuilder { 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 3f7b28dab8d..1c712bec44e 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -63,12 +63,12 @@ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfigura } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension 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/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 Find more info here */ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -119,7 +119,7 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension 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/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php index 58aa2b39db3..44ebe0010c2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.identityGovernance.entitlementManagement.connectedOrganizations.item.externalSponsors.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php index a7ad2894d21..8a224494916 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.identityGovernance.entitlementManagement.connectedOrganizations.item.internalSponsors.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php index 085b0100197..dbaadd987f2 100644 --- a/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.php @@ -63,12 +63,12 @@ public function get(?CustomCalloutExtensionItemRequestBuilderGetRequestConfigura } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension 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/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 Find more info here */ public function patch(CustomCalloutExtension $body, ?CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -119,7 +119,7 @@ public function toGetRequestInformation(?CustomCalloutExtensionItemRequestBuilde } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension 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/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php index bbd6ffb4255..a2723a6b06f 100644 --- a/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php +++ b/src/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.php @@ -71,11 +71,11 @@ public function delete(?AgreementItemRequestBuilderDeleteRequestConfiguration $r } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @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-list-files?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 Find more info here */ public function get(?AgreementItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -122,7 +122,7 @@ public function toDeleteRequestInformation(?AgreementItemRequestBuilderDeleteReq } /** - * Retrieve all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. * @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 c02c9925684..3ba58bfc831 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 all files related to an agreement. This includes the default file and all localized files. + * Retrieve the properties and relationships of an agreement object. */ class AgreementItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php index eaca1ef2550..e60294a31fa 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.php @@ -52,11 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Get the riskyUserHistoryItems from the history navigation property. + * Read the properties and relationships of a riskyUserHistoryItem object. * @param HistoryRequestBuilderGetRequestConfiguration|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/riskyuser-list-history?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/riskyuser-get-riskyuserhistoryitem?view=graph-rest-1.0 Find more info here */ public function get(?HistoryRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -84,7 +84,7 @@ public function post(RiskyUserHistoryItem $body, ?HistoryRequestBuilderPostReque } /** - * Get the riskyUserHistoryItems from the history navigation property. + * Read the properties and relationships of a riskyUserHistoryItem object. * @param HistoryRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php index f2cc9e19d99..0d4165af3bc 100644 --- a/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php +++ b/src/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Get the riskyUserHistoryItems from the history navigation property. + * Read the properties and relationships of a riskyUserHistoryItem object. */ class HistoryRequestBuilderGetQueryParameters { diff --git a/src/Generated/Models/AppliedConditionalAccessPolicyResult.php b/src/Generated/Models/AppliedConditionalAccessPolicyResult.php index d782a1b46e6..d4da6b7fea7 100644 --- a/src/Generated/Models/AppliedConditionalAccessPolicyResult.php +++ b/src/Generated/Models/AppliedConditionalAccessPolicyResult.php @@ -11,4 +11,8 @@ class AppliedConditionalAccessPolicyResult extends Enum { public const NOT_ENABLED = 'notEnabled'; public const UNKNOWN = 'unknown'; public const UNKNOWN_FUTURE_VALUE = 'unknownFutureValue'; + public const REPORT_ONLY_SUCCESS = 'reportOnlySuccess'; + public const REPORT_ONLY_FAILURE = 'reportOnlyFailure'; + public const REPORT_ONLY_NOT_APPLIED = 'reportOnlyNotApplied'; + public const REPORT_ONLY_INTERRUPTED = 'reportOnlyInterrupted'; } diff --git a/src/Generated/Models/DeviceManagement.php b/src/Generated/Models/DeviceManagement.php index e4d50e0056b..732918da421 100644 --- a/src/Generated/Models/DeviceManagement.php +++ b/src/Generated/Models/DeviceManagement.php @@ -294,6 +294,7 @@ public function getFieldDeserializers(): array { 'userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric' => fn(ParseNode $n) => $o->setUserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric($n->getObjectValue([UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric::class, 'createFromDiscriminatorValue'])), 'userExperienceAnalyticsWorkFromAnywhereMetrics' => fn(ParseNode $n) => $o->setUserExperienceAnalyticsWorkFromAnywhereMetrics($n->getCollectionOfObjectValues([UserExperienceAnalyticsWorkFromAnywhereMetric::class, 'createFromDiscriminatorValue'])), 'userExperienceAnalyticsWorkFromAnywhereModelPerformance' => fn(ParseNode $n) => $o->setUserExperienceAnalyticsWorkFromAnywhereModelPerformance($n->getCollectionOfObjectValues([UserExperienceAnalyticsWorkFromAnywhereModelPerformance::class, 'createFromDiscriminatorValue'])), + 'virtualEndpoint' => fn(ParseNode $n) => $o->setVirtualEndpoint($n->getObjectValue([VirtualEndpoint::class, 'createFromDiscriminatorValue'])), 'windowsAutopilotDeviceIdentities' => fn(ParseNode $n) => $o->setWindowsAutopilotDeviceIdentities($n->getCollectionOfObjectValues([WindowsAutopilotDeviceIdentity::class, 'createFromDiscriminatorValue'])), 'windowsInformationProtectionAppLearningSummaries' => fn(ParseNode $n) => $o->setWindowsInformationProtectionAppLearningSummaries($n->getCollectionOfObjectValues([WindowsInformationProtectionAppLearningSummary::class, 'createFromDiscriminatorValue'])), 'windowsInformationProtectionNetworkLearningSummaries' => fn(ParseNode $n) => $o->setWindowsInformationProtectionNetworkLearningSummaries($n->getCollectionOfObjectValues([WindowsInformationProtectionNetworkLearningSummary::class, 'createFromDiscriminatorValue'])), @@ -896,6 +897,18 @@ public function getUserExperienceAnalyticsWorkFromAnywhereModelPerformance(): ?a throw new \UnexpectedValueException("Invalid type found in backing store for 'userExperienceAnalyticsWorkFromAnywhereModelPerformance'"); } + /** + * Gets the virtualEndpoint property value. The virtualEndpoint property + * @return VirtualEndpoint|null + */ + public function getVirtualEndpoint(): ?VirtualEndpoint { + $val = $this->getBackingStore()->get('virtualEndpoint'); + if (is_null($val) || $val instanceof VirtualEndpoint) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'virtualEndpoint'"); + } + /** * Gets the windowsAutopilotDeviceIdentities property value. The Windows autopilot device identities contained collection. * @return array|null @@ -1029,6 +1042,7 @@ public function serialize(SerializationWriter $writer): void { $writer->writeObjectValue('userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric', $this->getUserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric()); $writer->writeCollectionOfObjectValues('userExperienceAnalyticsWorkFromAnywhereMetrics', $this->getUserExperienceAnalyticsWorkFromAnywhereMetrics()); $writer->writeCollectionOfObjectValues('userExperienceAnalyticsWorkFromAnywhereModelPerformance', $this->getUserExperienceAnalyticsWorkFromAnywhereModelPerformance()); + $writer->writeObjectValue('virtualEndpoint', $this->getVirtualEndpoint()); $writer->writeCollectionOfObjectValues('windowsAutopilotDeviceIdentities', $this->getWindowsAutopilotDeviceIdentities()); $writer->writeCollectionOfObjectValues('windowsInformationProtectionAppLearningSummaries', $this->getWindowsInformationProtectionAppLearningSummaries()); $writer->writeCollectionOfObjectValues('windowsInformationProtectionNetworkLearningSummaries', $this->getWindowsInformationProtectionNetworkLearningSummaries()); @@ -1508,6 +1522,14 @@ public function setUserExperienceAnalyticsWorkFromAnywhereModelPerformance(?arra $this->getBackingStore()->set('userExperienceAnalyticsWorkFromAnywhereModelPerformance', $value); } + /** + * Sets the virtualEndpoint property value. The virtualEndpoint property + * @param VirtualEndpoint|null $value Value to set for the virtualEndpoint property. + */ + public function setVirtualEndpoint(?VirtualEndpoint $value): void { + $this->getBackingStore()->set('virtualEndpoint', $value); + } + /** * Sets the windowsAutopilotDeviceIdentities property value. The Windows autopilot device identities contained collection. * @param array|null $value Value to set for the windowsAutopilotDeviceIdentities property. diff --git a/src/Generated/Models/Entity.php b/src/Generated/Models/Entity.php index eab94bf37cc..7efb3c04eb3 100644 --- a/src/Generated/Models/Entity.php +++ b/src/Generated/Models/Entity.php @@ -615,6 +615,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.privilegedAccessScheduleRequest': return new PrivilegedAccessScheduleRequest(); case '#microsoft.graph.profileCardProperty': return new ProfileCardProperty(); case '#microsoft.graph.profilePhoto': return new ProfilePhoto(); + case '#microsoft.graph.pronounsSettings': return new PronounsSettings(); case '#microsoft.graph.provisioningObjectSummary': return new ProvisioningObjectSummary(); case '#microsoft.graph.rbacApplication': return new RbacApplication(); case '#microsoft.graph.recordOperation': return new RecordOperation(); @@ -854,6 +855,7 @@ public static function createFromDiscriminatorValue(ParseNode $parseNode): Entit case '#microsoft.graph.userSettings': return new UserSettings(); case '#microsoft.graph.userSignInInsight': return new UserSignInInsight(); case '#microsoft.graph.userTeamwork': return new UserTeamwork(); + case '#microsoft.graph.virtualEndpoint': return new VirtualEndpoint(); case '#microsoft.graph.virtualEvent': return new VirtualEvent(); case '#microsoft.graph.virtualEventRegistration': return new VirtualEventRegistration(); case '#microsoft.graph.virtualEventSession': return new VirtualEventSession(); diff --git a/src/Generated/Models/PeopleAdminSettings.php b/src/Generated/Models/PeopleAdminSettings.php index 2f3ff5ca10a..d381764c8ea 100644 --- a/src/Generated/Models/PeopleAdminSettings.php +++ b/src/Generated/Models/PeopleAdminSettings.php @@ -33,6 +33,7 @@ public function getFieldDeserializers(): array { $o = $this; return array_merge(parent::getFieldDeserializers(), [ 'profileCardProperties' => fn(ParseNode $n) => $o->setProfileCardProperties($n->getCollectionOfObjectValues([ProfileCardProperty::class, 'createFromDiscriminatorValue'])), + 'pronouns' => fn(ParseNode $n) => $o->setPronouns($n->getObjectValue([PronounsSettings::class, 'createFromDiscriminatorValue'])), ]); } @@ -50,6 +51,18 @@ public function getProfileCardProperties(): ?array { throw new \UnexpectedValueException("Invalid type found in backing store for 'profileCardProperties'"); } + /** + * Gets the pronouns property value. Represents administrator settings that manage the support of pronouns in an organization. + * @return PronounsSettings|null + */ + public function getPronouns(): ?PronounsSettings { + $val = $this->getBackingStore()->get('pronouns'); + if (is_null($val) || $val instanceof PronounsSettings) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'pronouns'"); + } + /** * Serializes information the current object * @param SerializationWriter $writer Serialization writer to use to serialize this model @@ -57,6 +70,7 @@ public function getProfileCardProperties(): ?array { public function serialize(SerializationWriter $writer): void { parent::serialize($writer); $writer->writeCollectionOfObjectValues('profileCardProperties', $this->getProfileCardProperties()); + $writer->writeObjectValue('pronouns', $this->getPronouns()); } /** @@ -67,4 +81,12 @@ public function setProfileCardProperties(?array $value): void { $this->getBackingStore()->set('profileCardProperties', $value); } + /** + * Sets the pronouns property value. Represents administrator settings that manage the support of pronouns in an organization. + * @param PronounsSettings|null $value Value to set for the pronouns property. + */ + public function setPronouns(?PronounsSettings $value): void { + $this->getBackingStore()->set('pronouns', $value); + } + } diff --git a/src/Generated/Models/PronounsSettings.php b/src/Generated/Models/PronounsSettings.php new file mode 100644 index 00000000000..c6dd5ade83b --- /dev/null +++ b/src/Generated/Models/PronounsSettings.php @@ -0,0 +1,67 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + 'isEnabledInOrganization' => fn(ParseNode $n) => $o->setIsEnabledInOrganization($n->getBooleanValue()), + ]); + } + + /** + * Gets the isEnabledInOrganization property value. true to enable pronouns in the organization; otherwise, false. The default value is false, and pronouns are disabled. + * @return bool|null + */ + public function getIsEnabledInOrganization(): ?bool { + $val = $this->getBackingStore()->get('isEnabledInOrganization'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'isEnabledInOrganization'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + $writer->writeBooleanValue('isEnabledInOrganization', $this->getIsEnabledInOrganization()); + } + + /** + * Sets the isEnabledInOrganization property value. true to enable pronouns in the organization; otherwise, false. The default value is false, and pronouns are disabled. + * @param bool|null $value Value to set for the isEnabledInOrganization property. + */ + public function setIsEnabledInOrganization(?bool $value): void { + $this->getBackingStore()->set('isEnabledInOrganization', $value); + } + +} diff --git a/src/Generated/Models/VirtualEndpoint.php b/src/Generated/Models/VirtualEndpoint.php new file mode 100644 index 00000000000..3660e9d6eb7 --- /dev/null +++ b/src/Generated/Models/VirtualEndpoint.php @@ -0,0 +1,45 @@ + + */ + public function getFieldDeserializers(): array { + $o = $this; + return array_merge(parent::getFieldDeserializers(), [ + ]); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + parent::serialize($writer); + } + +} diff --git a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php index ece09a20893..fd0628b4599 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilder.php @@ -118,11 +118,11 @@ public function delete(?OrganizationItemRequestBuilderDeleteRequestConfiguration } /** - * Read properties and relationships of the organization object. + * 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. * @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/intune-onboarding-organization-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -134,12 +134,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); @@ -169,7 +169,7 @@ public function toDeleteRequestInformation(?OrganizationItemRequestBuilderDelete } /** - * Read properties and relationships of the organization object. + * 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. * @param OrganizationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -190,7 +190,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 8c22067b457..4f144e8136a 100644 --- a/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/Item/OrganizationItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the organization object. + * 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. */ class OrganizationItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Organization/OrganizationRequestBuilder.php b/src/Generated/Organization/OrganizationRequestBuilder.php index 31277d22dcf..31afe222a54 100644 --- a/src/Generated/Organization/OrganizationRequestBuilder.php +++ b/src/Generated/Organization/OrganizationRequestBuilder.php @@ -84,11 +84,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of organization objects. There's only one organization object in the collection. + * List properties and relationships of the organization objects. * @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/organization-list?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 Find more info here */ public function get(?OrganizationRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -116,7 +116,7 @@ public function post(Organization $body, ?OrganizationRequestBuilderPostRequestC } /** - * Retrieve a list of organization objects. There's only one organization object in the collection. + * List properties and relationships of the organization objects. * @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 c012795b3d2..16dd0675ddc 100644 --- a/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php +++ b/src/Generated/Organization/OrganizationRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of organization objects. There's only one organization object in the collection. + * List properties and relationships of the organization objects. */ class OrganizationRequestBuilderGetQueryParameters { diff --git a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php index 8ca1fe21779..7c1876a0976 100644 --- a/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php +++ b/src/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.php @@ -36,7 +36,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.policies.featureRolloutPolicies.item.appliesTo.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php index 384a7a353bd..906eff62b29 100644 --- a/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.servicePrincipals.item.claimsMappingPolicies.item collection - * @param string $claimsMappingPolicyId Unique identifier of the item + * @param string $claimsMappingPolicyId The unique identifier of claimsMappingPolicy * @return ClaimsMappingPolicyItemRequestBuilder */ public function byClaimsMappingPolicyId(string $claimsMappingPolicyId): ClaimsMappingPolicyItemRequestBuilder { diff --git a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php index 73e16487ad4..13a1fc80788 100644 --- a/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.php @@ -35,7 +35,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.servicePrincipals.item.homeRealmDiscoveryPolicies.item collection - * @param string $homeRealmDiscoveryPolicyId Unique identifier of the item + * @param string $homeRealmDiscoveryPolicyId The unique identifier of homeRealmDiscoveryPolicy * @return HomeRealmDiscoveryPolicyItemRequestBuilder */ public function byHomeRealmDiscoveryPolicyId(string $homeRealmDiscoveryPolicyId): HomeRealmDiscoveryPolicyItemRequestBuilder { diff --git a/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php b/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php index a7f6597c9cb..a6d86cbff19 100644 --- a/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php +++ b/src/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.php @@ -67,7 +67,7 @@ public function ref(): RefRequestBuilder { /** * Gets an item from the Microsoft/Graph/Generated.servicePrincipals.item.owners.item collection - * @param string $directoryObjectId Unique identifier of the item + * @param string $directoryObjectId The unique identifier of directoryObject * @return DirectoryObjectItemRequestBuilder */ public function byDirectoryObjectId(string $directoryObjectId): DirectoryObjectItemRequestBuilder { diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php b/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php new file mode 100644 index 00000000000..b3c073830be --- /dev/null +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkPostRequestBody.php @@ -0,0 +1,273 @@ +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 CreateLinkPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CreateLinkPostRequestBody { + return new CreateLinkPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the expirationDateTime property value. The expirationDateTime property + * @return DateTime|null + */ + public function getExpirationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expirationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expirationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'message' => fn(ParseNode $n) => $o->setMessage($n->getStringValue()), + 'password' => fn(ParseNode $n) => $o->setPassword($n->getStringValue()), + 'recipients' => fn(ParseNode $n) => $o->setRecipients($n->getCollectionOfObjectValues([DriveRecipient::class, 'createFromDiscriminatorValue'])), + 'retainInheritedPermissions' => fn(ParseNode $n) => $o->setRetainInheritedPermissions($n->getBooleanValue()), + 'scope' => fn(ParseNode $n) => $o->setScope($n->getStringValue()), + 'sendNotification' => fn(ParseNode $n) => $o->setSendNotification($n->getBooleanValue()), + 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), + ]; + } + + /** + * Gets the message property value. The message property + * @return string|null + */ + public function getMessage(): ?string { + $val = $this->getBackingStore()->get('message'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'message'"); + } + + /** + * Gets the password property value. The password property + * @return string|null + */ + public function getPassword(): ?string { + $val = $this->getBackingStore()->get('password'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'password'"); + } + + /** + * Gets the recipients property value. The recipients property + * @return array|null + */ + public function getRecipients(): ?array { + $val = $this->getBackingStore()->get('recipients'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DriveRecipient::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recipients'"); + } + + /** + * Gets the retainInheritedPermissions property value. The retainInheritedPermissions property + * @return bool|null + */ + public function getRetainInheritedPermissions(): ?bool { + $val = $this->getBackingStore()->get('retainInheritedPermissions'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'retainInheritedPermissions'"); + } + + /** + * Gets the scope property value. The scope property + * @return string|null + */ + public function getScope(): ?string { + $val = $this->getBackingStore()->get('scope'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scope'"); + } + + /** + * Gets the sendNotification property value. The sendNotification property + * @return bool|null + */ + public function getSendNotification(): ?bool { + $val = $this->getBackingStore()->get('sendNotification'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sendNotification'"); + } + + /** + * Gets the type property value. The type property + * @return string|null + */ + public function getType(): ?string { + $val = $this->getBackingStore()->get('type'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeStringValue('message', $this->getMessage()); + $writer->writeStringValue('password', $this->getPassword()); + $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); + $writer->writeBooleanValue('retainInheritedPermissions', $this->getRetainInheritedPermissions()); + $writer->writeStringValue('scope', $this->getScope()); + $writer->writeBooleanValue('sendNotification', $this->getSendNotification()); + $writer->writeStringValue('type', $this->getType()); + $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 expirationDateTime property value. The expirationDateTime property + * @param DateTime|null $value Value to set for the expirationDateTime property. + */ + public function setExpirationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expirationDateTime', $value); + } + + /** + * Sets the message property value. The message property + * @param string|null $value Value to set for the message property. + */ + public function setMessage(?string $value): void { + $this->getBackingStore()->set('message', $value); + } + + /** + * Sets the password property value. The password property + * @param string|null $value Value to set for the password property. + */ + public function setPassword(?string $value): void { + $this->getBackingStore()->set('password', $value); + } + + /** + * Sets the recipients property value. The recipients property + * @param array|null $value Value to set for the recipients property. + */ + public function setRecipients(?array $value): void { + $this->getBackingStore()->set('recipients', $value); + } + + /** + * Sets the retainInheritedPermissions property value. The retainInheritedPermissions property + * @param bool|null $value Value to set for the retainInheritedPermissions property. + */ + public function setRetainInheritedPermissions(?bool $value): void { + $this->getBackingStore()->set('retainInheritedPermissions', $value); + } + + /** + * Sets the scope property value. The scope property + * @param string|null $value Value to set for the scope property. + */ + public function setScope(?string $value): void { + $this->getBackingStore()->set('scope', $value); + } + + /** + * Sets the sendNotification property value. The sendNotification property + * @param bool|null $value Value to set for the sendNotification property. + */ + public function setSendNotification(?bool $value): void { + $this->getBackingStore()->set('sendNotification', $value); + } + + /** + * Sets the type property value. The type property + * @param string|null $value Value to set for the type property. + */ + public function setType(?string $value): void { + $this->getBackingStore()->set('type', $value); + } + +} diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php new file mode 100644 index 00000000000..25337c18b51 --- /dev/null +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/createLink'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action createLink + * @param CreateLinkPostRequestBody $body The request body + * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action createLink + * @param CreateLinkPostRequestBody $body The request body + * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $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 CreateLinkRequestBuilder + */ + public function withUrl(string $rawUrl): CreateLinkRequestBuilder { + return new CreateLinkRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php b/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..ce2a87d8beb --- /dev/null +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.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/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php index 4d878398f59..5c8c0058110 100644 --- a/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Shares/Item/EscapedList/Items/Item/ListItemItemRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Shares\Item\EscapedList\Items\Item\Analytics\AnalyticsRequestBuilder; use Microsoft\Graph\Generated\Shares\Item\EscapedList\Items\Item\CreatedByUser\CreatedByUserRequestBuilder; +use Microsoft\Graph\Generated\Shares\Item\EscapedList\Items\Item\CreateLink\CreateLinkRequestBuilder; use Microsoft\Graph\Generated\Shares\Item\EscapedList\Items\Item\DocumentSetVersions\DocumentSetVersionsRequestBuilder; use Microsoft\Graph\Generated\Shares\Item\EscapedList\Items\Item\DriveItem\DriveItemRequestBuilder; use Microsoft\Graph\Generated\Shares\Item\EscapedList\Items\Item\Fields\FieldsRequestBuilder; @@ -39,6 +40,13 @@ public function createdByUser(): CreatedByUserRequestBuilder { return new CreatedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the createLink method. + */ + public function createLink(): CreateLinkRequestBuilder { + return new CreateLinkRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. */ diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php new file mode 100644 index 00000000000..c3bbc653fe3 --- /dev/null +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkPostRequestBody.php @@ -0,0 +1,273 @@ +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 CreateLinkPostRequestBody + */ + public static function createFromDiscriminatorValue(ParseNode $parseNode): CreateLinkPostRequestBody { + return new CreateLinkPostRequestBody(); + } + + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return array|null + */ + public function getAdditionalData(): ?array { + $val = $this->getBackingStore()->get('additionalData'); + if (is_null($val) || is_array($val)) { + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'additionalData'"); + } + + /** + * Gets the BackingStore property value. Stores model information. + * @return BackingStore + */ + public function getBackingStore(): BackingStore { + return $this->backingStore; + } + + /** + * Gets the expirationDateTime property value. The expirationDateTime property + * @return DateTime|null + */ + public function getExpirationDateTime(): ?DateTime { + $val = $this->getBackingStore()->get('expirationDateTime'); + if (is_null($val) || $val instanceof DateTime) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'expirationDateTime'"); + } + + /** + * The deserialization information for the current model + * @return array + */ + public function getFieldDeserializers(): array { + $o = $this; + return [ + 'expirationDateTime' => fn(ParseNode $n) => $o->setExpirationDateTime($n->getDateTimeValue()), + 'message' => fn(ParseNode $n) => $o->setMessage($n->getStringValue()), + 'password' => fn(ParseNode $n) => $o->setPassword($n->getStringValue()), + 'recipients' => fn(ParseNode $n) => $o->setRecipients($n->getCollectionOfObjectValues([DriveRecipient::class, 'createFromDiscriminatorValue'])), + 'retainInheritedPermissions' => fn(ParseNode $n) => $o->setRetainInheritedPermissions($n->getBooleanValue()), + 'scope' => fn(ParseNode $n) => $o->setScope($n->getStringValue()), + 'sendNotification' => fn(ParseNode $n) => $o->setSendNotification($n->getBooleanValue()), + 'type' => fn(ParseNode $n) => $o->setType($n->getStringValue()), + ]; + } + + /** + * Gets the message property value. The message property + * @return string|null + */ + public function getMessage(): ?string { + $val = $this->getBackingStore()->get('message'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'message'"); + } + + /** + * Gets the password property value. The password property + * @return string|null + */ + public function getPassword(): ?string { + $val = $this->getBackingStore()->get('password'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'password'"); + } + + /** + * Gets the recipients property value. The recipients property + * @return array|null + */ + public function getRecipients(): ?array { + $val = $this->getBackingStore()->get('recipients'); + if (is_array($val) || is_null($val)) { + TypeUtils::validateCollectionValues($val, DriveRecipient::class); + /** @var array|null $val */ + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'recipients'"); + } + + /** + * Gets the retainInheritedPermissions property value. The retainInheritedPermissions property + * @return bool|null + */ + public function getRetainInheritedPermissions(): ?bool { + $val = $this->getBackingStore()->get('retainInheritedPermissions'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'retainInheritedPermissions'"); + } + + /** + * Gets the scope property value. The scope property + * @return string|null + */ + public function getScope(): ?string { + $val = $this->getBackingStore()->get('scope'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'scope'"); + } + + /** + * Gets the sendNotification property value. The sendNotification property + * @return bool|null + */ + public function getSendNotification(): ?bool { + $val = $this->getBackingStore()->get('sendNotification'); + if (is_null($val) || is_bool($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'sendNotification'"); + } + + /** + * Gets the type property value. The type property + * @return string|null + */ + public function getType(): ?string { + $val = $this->getBackingStore()->get('type'); + if (is_null($val) || is_string($val)) { + return $val; + } + throw new \UnexpectedValueException("Invalid type found in backing store for 'type'"); + } + + /** + * Serializes information the current object + * @param SerializationWriter $writer Serialization writer to use to serialize this model + */ + public function serialize(SerializationWriter $writer): void { + $writer->writeDateTimeValue('expirationDateTime', $this->getExpirationDateTime()); + $writer->writeStringValue('message', $this->getMessage()); + $writer->writeStringValue('password', $this->getPassword()); + $writer->writeCollectionOfObjectValues('recipients', $this->getRecipients()); + $writer->writeBooleanValue('retainInheritedPermissions', $this->getRetainInheritedPermissions()); + $writer->writeStringValue('scope', $this->getScope()); + $writer->writeBooleanValue('sendNotification', $this->getSendNotification()); + $writer->writeStringValue('type', $this->getType()); + $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 expirationDateTime property value. The expirationDateTime property + * @param DateTime|null $value Value to set for the expirationDateTime property. + */ + public function setExpirationDateTime(?DateTime $value): void { + $this->getBackingStore()->set('expirationDateTime', $value); + } + + /** + * Sets the message property value. The message property + * @param string|null $value Value to set for the message property. + */ + public function setMessage(?string $value): void { + $this->getBackingStore()->set('message', $value); + } + + /** + * Sets the password property value. The password property + * @param string|null $value Value to set for the password property. + */ + public function setPassword(?string $value): void { + $this->getBackingStore()->set('password', $value); + } + + /** + * Sets the recipients property value. The recipients property + * @param array|null $value Value to set for the recipients property. + */ + public function setRecipients(?array $value): void { + $this->getBackingStore()->set('recipients', $value); + } + + /** + * Sets the retainInheritedPermissions property value. The retainInheritedPermissions property + * @param bool|null $value Value to set for the retainInheritedPermissions property. + */ + public function setRetainInheritedPermissions(?bool $value): void { + $this->getBackingStore()->set('retainInheritedPermissions', $value); + } + + /** + * Sets the scope property value. The scope property + * @param string|null $value Value to set for the scope property. + */ + public function setScope(?string $value): void { + $this->getBackingStore()->set('scope', $value); + } + + /** + * Sets the sendNotification property value. The sendNotification property + * @param bool|null $value Value to set for the sendNotification property. + */ + public function setSendNotification(?bool $value): void { + $this->getBackingStore()->set('sendNotification', $value); + } + + /** + * Sets the type property value. The type property + * @param string|null $value Value to set for the type property. + */ + public function setType(?string $value): void { + $this->getBackingStore()->set('type', $value); + } + +} diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php new file mode 100644 index 00000000000..7c552f52cb7 --- /dev/null +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.php @@ -0,0 +1,78 @@ +|string $pathParametersOrRawUrl Path parameters for the request or a String representing the raw URL. + * @param RequestAdapter $requestAdapter The request adapter to use to execute the requests. + */ + public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdapter) { + parent::__construct($requestAdapter, [], '{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/createLink'); + if (is_array($pathParametersOrRawUrl)) { + $this->pathParameters = $pathParametersOrRawUrl; + } else { + $this->pathParameters = ['request-raw-url' => $pathParametersOrRawUrl]; + } + } + + /** + * Invoke action createLink + * @param CreateLinkPostRequestBody $body The request body + * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return Promise + * @throws Exception + */ + public function post(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { + $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); + $errorMappings = [ + '4XX' => [ODataError::class, 'createFromDiscriminatorValue'], + '5XX' => [ODataError::class, 'createFromDiscriminatorValue'], + ]; + return $this->requestAdapter->sendAsync($requestInfo, [Permission::class, 'createFromDiscriminatorValue'], $errorMappings); + } + + /** + * Invoke action createLink + * @param CreateLinkPostRequestBody $body The request body + * @param CreateLinkRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return RequestInformation + */ + public function toPostRequestInformation(CreateLinkPostRequestBody $body, ?CreateLinkRequestBuilderPostRequestConfiguration $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 CreateLinkRequestBuilder + */ + public function withUrl(string $rawUrl): CreateLinkRequestBuilder { + return new CreateLinkRequestBuilder($rawUrl, $this->requestAdapter); + } + +} diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php new file mode 100644 index 00000000000..fea5460a3c8 --- /dev/null +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/CreateLink/CreateLinkRequestBuilderPostRequestConfiguration.php @@ -0,0 +1,22 @@ +|string>|null $headers Request headers + * @param array|null $options Request options + */ + public function __construct(?array $headers = null, ?array $options = null) { + parent::__construct($headers ?? [], $options ?? []); + } + +} diff --git a/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php b/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php index 185dac45b19..6530b86abd8 100644 --- a/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php +++ b/src/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.php @@ -8,6 +8,7 @@ use Microsoft\Graph\Generated\Models\ODataErrors\ODataError; use Microsoft\Graph\Generated\Sites\Item\Lists\Item\Items\Item\Analytics\AnalyticsRequestBuilder; use Microsoft\Graph\Generated\Sites\Item\Lists\Item\Items\Item\CreatedByUser\CreatedByUserRequestBuilder; +use Microsoft\Graph\Generated\Sites\Item\Lists\Item\Items\Item\CreateLink\CreateLinkRequestBuilder; use Microsoft\Graph\Generated\Sites\Item\Lists\Item\Items\Item\DocumentSetVersions\DocumentSetVersionsRequestBuilder; use Microsoft\Graph\Generated\Sites\Item\Lists\Item\Items\Item\DriveItem\DriveItemRequestBuilder; use Microsoft\Graph\Generated\Sites\Item\Lists\Item\Items\Item\Fields\FieldsRequestBuilder; @@ -39,6 +40,13 @@ public function createdByUser(): CreatedByUserRequestBuilder { return new CreatedByUserRequestBuilder($this->pathParameters, $this->requestAdapter); } + /** + * Provides operations to call the createLink method. + */ + public function createLink(): CreateLinkRequestBuilder { + return new CreateLinkRequestBuilder($this->pathParameters, $this->requestAdapter); + } + /** * Provides operations to manage the documentSetVersions property of the microsoft.graph.listItem entity. */ diff --git a/src/Generated/Sites/SitesRequestBuilder.php b/src/Generated/Sites/SitesRequestBuilder.php index 25afa92aa2b..3708bd887e1 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); @@ -99,7 +99,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 506a8ea794a..c298e6752ad 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/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 2c039cd1d08..b6cf4763801 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 @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index a5eb0d50eb6..fc00e215271 100644 --- a/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index 843f19f936d..938a9d4eb02 100644 --- a/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php b/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php index 381b8b92dbd..73db3faaa78 100644 --- a/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php +++ b/src/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.php @@ -69,12 +69,12 @@ public function get(?ActivityHistoryItemItemRequestBuilderGetRequestConfiguratio } /** - * Delete an existing history item for an existing user activity. + * Create a new or replace an existing history item for an existing user activity. * @param ActivityHistoryItem $body The request body * @param ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration|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/projectrome-delete-historyitem?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/projectrome-put-historyitem?view=graph-rest-1.0 Find more info here */ public function patch(ActivityHistoryItem $body, ?ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -125,7 +125,7 @@ public function toGetRequestInformation(?ActivityHistoryItemItemRequestBuilderGe } /** - * Delete an existing history item for an existing user activity. + * Create a new or replace an existing history item for an existing user activity. * @param ActivityHistoryItem $body The request body * @param ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index f85e02cbf4c..6196acfd5eb 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 57ea644da04..6c070cfdd7d 100644 --- a/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php index db8dc3d46da..ff261cf0f2b 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index a82597abf90..93174d3f59e 100644 --- a/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 92e4eeb267a..e44e7ffaefa 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index c77d2eb87f7..a5328c922e2 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index 6e34e551593..20c38843b2a 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 4de706d65a2..96ca284d5bd 100644 --- a/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index af70ae4a49a..b9e15d576d4 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 3e6f996521e..60aa53490d2 100644 --- a/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php index 673e4ae5917..5b9dfa860ce 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 60a775d9885..6a55cfb3a22 100644 --- a/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index f695d88c9e7..6dc634f6659 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index a9fdf8c3518..f41f61b44bc 100644 --- a/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php index 6d22c03065e..e69bb697979 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.php @@ -47,11 +47,11 @@ public function delete(?ConversationMemberItemRequestBuilderDeleteRequestConfigu } /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|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/chat-get-members?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0 Find more info here */ public function get(?ConversationMemberItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -97,7 +97,7 @@ public function toDeleteRequestInformation(?ConversationMemberItemRequestBuilder } /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. * @param ConversationMemberItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ diff --git a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php index d7b88b4d16a..c9323edd171 100644 --- a/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a conversationMember from a chat. + * Retrieve a conversationMember from a chat or channel. */ class ConversationMemberItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php index cc8186658dc..a136a3c54e6 100644 --- a/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php index 920e625f55a..eb0b698ec14 100644 --- a/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php index 6a805323d47..b7c7110eb7a 100644 --- a/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/event-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. + * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php index a24a7d6aea5..81100b416de 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php index 56bc5275791..94d9251c2f5 100644 --- a/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php +++ b/src/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?RepliesRequestBuilderGetRequestConfiguration $requestConfig } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/chatmessage-post-replies?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 Find more info here */ public function post(ChatMessage $body, ?RepliesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?RepliesRequestBuilderGetRequestConfigur } /** - * Send a new reply to a chatMessage in a specified channel. + * Create 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/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php index 73ebf070f86..ffc6f271526 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.php @@ -76,12 +76,12 @@ public function get(?ChildFoldersRequestBuilderGetRequestConfiguration $requestC } /** - * Create a new mailSearchFolder in the specified user's mailbox. + * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. * @param MailFolder $body The request body * @param ChildFoldersRequestBuilderPostRequestConfiguration|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/mailsearchfolder-post?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0 Find more info here */ public function post(MailFolder $body, ?ChildFoldersRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -114,7 +114,7 @@ public function toGetRequestInformation(?ChildFoldersRequestBuilderGetRequestCon } /** - * Create a new mailSearchFolder in the specified user's mailbox. + * Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. * @param MailFolder $body The request body * @param ChildFoldersRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index f75d3952460..d8c9c64550c 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|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/eventmessage-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 86f7e885226..adfe384f1e1 100644 --- a/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php index 1ceab24c104..4af8a8e7cbc 100644 --- a/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.php @@ -103,12 +103,12 @@ public function get(?MailFolderItemRequestBuilderGetRequestConfiguration $reques } /** - * Update the writable properties of a mailSearchFolder object. + * Update the properties of mailfolder object. * @param MailFolder $body The request body * @param MailFolderItemRequestBuilderPatchRequestConfiguration|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/mailsearchfolder-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/mailfolder-update?view=graph-rest-1.0 Find more info here */ public function patch(MailFolder $body, ?MailFolderItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -159,7 +159,7 @@ public function toGetRequestInformation(?MailFolderItemRequestBuilderGetRequestC } /** - * Update the writable properties of a mailSearchFolder object. + * Update the properties of mailfolder object. * @param MailFolder $body The request body * @param MailFolderItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index f53e42e11b2..9fbdcbce7ad 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|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/eventmessage-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index b214ea913ff..024ee112581 100644 --- a/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php index 56e532dcf3d..46a27d278cd 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.php @@ -60,11 +60,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|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/eventmessage-list-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 Find more info here */ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -76,12 +76,12 @@ public function get(?AttachmentsRequestBuilderGetRequestConfiguration $requestCo } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|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/eventmessage-post-attachments?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-post-attachments?view=graph-rest-1.0 Find more info here */ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPostRequestInformation($body, $requestConfiguration); @@ -93,7 +93,7 @@ public function post(Attachment $body, ?AttachmentsRequestBuilderPostRequestConf } /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. * @param AttachmentsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -114,7 +114,7 @@ public function toGetRequestInformation(?AttachmentsRequestBuilderGetRequestConf } /** - * Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + * Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. * @param Attachment $body The request body * @param AttachmentsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php index 694b8df12b0..185c6a1ec04 100644 --- a/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Retrieve a list of attachment objects. + * Retrieve a list of attachment objects attached to a message. */ class AttachmentsRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php index 37a2d4665fe..26e6c57f176 100644 --- a/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.php @@ -127,11 +127,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. + * Delete eventMessage. * @param MessageItemRequestBuilderDeleteRequestConfiguration|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/message-delete?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0 Find more info here */ public function delete(?MessageItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toDeleteRequestInformation($requestConfiguration); @@ -147,7 +147,7 @@ public function delete(?MessageItemRequestBuilderDeleteRequestConfiguration $req * @param MessageItemRequestBuilderGetRequestConfiguration|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/eventmessage-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-get?view=graph-rest-1.0 Find more info here */ public function get(?MessageItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -159,12 +159,12 @@ public function get(?MessageItemRequestBuilderGetRequestConfiguration $requestCo } /** - * Update the properties of an eventMessage object. + * Update the properties of a message object. * @param Message $body The request body * @param MessageItemRequestBuilderPatchRequestConfiguration|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/eventmessage-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0 Find more info here */ public function patch(Message $body, ?MessageItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration); @@ -176,7 +176,7 @@ public function patch(Message $body, ?MessageItemRequestBuilderPatchRequestConfi } /** - * Delete a message in the specified user's mailbox, or delete a relationship of the message. + * Delete eventMessage. * @param MessageItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -215,7 +215,7 @@ public function toGetRequestInformation(?MessageItemRequestBuilderGetRequestConf } /** - * Update the properties of an eventMessage object. + * Update the properties of a message object. * @param Message $body The request body * @param MessageItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php b/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php index dad243d081a..c2aad59a8c1 100644 --- a/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.php @@ -35,7 +35,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param ContentRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return Promise * @throws Exception - * @link https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 Find more info here */ public function get(?ContentRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php index 76ce3c9b2e7..a8340968ded 100644 --- a/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php +++ b/src/Generated/Users/Item/Messages/MessagesRequestBuilder.php @@ -64,7 +64,7 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap * @param MessagesRequestBuilderGetRequestConfiguration|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-messages?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 Find more info here */ public function get(?MessagesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); diff --git a/src/Generated/Users/Item/UserItemRequestBuilder.php b/src/Generated/Users/Item/UserItemRequestBuilder.php index 2666b9b9dc6..774d10e1220 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilder.php +++ b/src/Generated/Users/Item/UserItemRequestBuilder.php @@ -593,11 +593,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap } /** - * Deletes a user. + * Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, 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-mam-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); @@ -619,11 +619,11 @@ public function exportDeviceAndAppManagementDataWithSkipWithTop(int $skip, int $ } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. * @param UserItemRequestBuilderGetRequestConfiguration|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-user-get?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 Find more info here */ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -635,12 +635,12 @@ public function get(?UserItemRequestBuilderGetRequestConfiguration $requestConfi } /** - * Update the properties of a user object. + * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. * @param User $body The request body * @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/intune-mam-user-update?view=graph-rest-1.0 Find more info here + * @link https://learn.microsoft.com/graph/api/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); @@ -662,7 +662,7 @@ public function reminderViewWithStartDateTimeWithEndDateTime(string $endDateTime } /** - * Deletes a user. + * Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. * @param UserItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -680,7 +680,7 @@ public function toDeleteRequestInformation(?UserItemRequestBuilderDeleteRequestC } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. * @param UserItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation */ @@ -701,7 +701,7 @@ public function toGetRequestInformation(?UserItemRequestBuilderGetRequestConfigu } /** - * Update the properties of a user object. + * Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. * @param User $body The request body * @param UserItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return RequestInformation diff --git a/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php b/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php index 4ffb975bcb1..13f627030d0 100644 --- a/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php +++ b/src/Generated/Users/Item/UserItemRequestBuilderGetQueryParameters.php @@ -5,7 +5,7 @@ use Microsoft\Kiota\Abstractions\QueryParameter; /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. */ class UserItemRequestBuilderGetQueryParameters { diff --git a/src/Generated/Users/UsersRequestBuilder.php b/src/Generated/Users/UsersRequestBuilder.php index ff613827dcc..3fb9d5e8212 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-onboarding-user-list?view=graph-rest-1.0 Find more info here */ public function get(?UsersRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise { $requestInfo = $this->toGetRequestInformation($requestConfiguration); @@ -117,7 +117,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 bb173f6b850..f6cde86ae8e 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/kiota-lock.json b/src/Generated/kiota-lock.json index 2b2b545405f..dc65d6ec44a 100644 --- a/src/Generated/kiota-lock.json +++ b/src/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "2AE191309E6F039F7F78B8E1B78F7A4A7198834C0DFBFD25DC4CE8D4785B5CB823040D19B3597CB637268BB38B155BB79118F6BBA3E62B203BDC3669C478C072", + "descriptionHash": "1A2EC9B85AF656A207E9D1A367742B384CFF56F7A0A6F76C104205ADB7ECF6E57BF9BFE9830127B3E9E44CCCB7A5C18F45B048A0477048FC3EB6C372AACAA288", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.9.0", + "kiotaVersion": "1.10.0", "clientClassName": "BaseGraphClient", "clientNamespaceName": "Microsoft\\Graph\\Generated", "language": "PHP",